Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoSubDialogViz.h File Reference

Go to the source code of this file.

Macros

#define MAX_DIMENSION   65535
 
#define FIELD_SENSOR(field)    SoFieldSensor* SO__CONCAT(field, Sensor)
 
#define SENSOR(field)    SO__CONCAT(field, Sensor)
 
#define SO_DG_HEADER(className)    SO_KIT_HEADER(className)
 
#define SO_DG_SOURCE(className)    SO_KIT_SOURCE(className)
 
#define SO_DG_CONSTRUCTOR(className)    SO_KIT_CONSTRUCTOR(className)
 
#define SO_DG_ADD_FIELD(fieldName, defValue)    SO_KIT_ADD_FIELD(fieldName, defValue)
 
#define SO_DG_ADD_CATALOG_ENTRY(partName, partClassName, nullByDefault, parentName, rightName, isPublicPart)    SO_KIT_ADD_CATALOG_ENTRY(partName, partClassName, nullByDefault, parentName, rightName, isPublicPart)
 
#define SO_DG_DEFINE_ENUM_VALUE(field, value)   SO_KIT_DEFINE_ENUM_VALUE(field, value)
 
#define SO_DG_SET_SF_ENUM_TYPE(field, typeStruct)   SO_KIT_SET_SF_ENUM_TYPE(field, typeStruct)
 
#define SO_DG_CATALOG_ENTRY_HEADER(resource)   SO_KIT_CATALOG_ENTRY_HEADER(resource)
 
#define SO_DG_INIT_INSTANCE()    SO_KIT_INIT_INSTANCE()
 
#define SO__DG_INIT_CLASS(className, parentPrintClass, parentClass)    SO__KIT_INIT_CLASS(className, parentPrintClass, parentClass)
 
#define SO_DG_INIT_CLASS(className, parentClass, parentPrintClass)    SO_KIT_INIT_CLASS(className, parentClass, parentPrintClass)
 
#define SO__DG_EXIT_CLASS(className)    SO__KIT_EXIT_CLASS(className)
 
#define SO_DG_EXIT_CLASS(className)    SO__KIT_EXIT_CLASS(className)
 
#define ATTACH_FIELD(field)
 
#define DETACH_FIELD(field)
 
#define ADD_FIELD_SENSOR(field)    SO__CONCAT(field, Sensor) = NULL
 
#define DELETE_FIELD_SENSOR(field)
 
#define INIT_FIELD_SENSOR(field)
 
#define DG_FONT   char*
 

Macro Definition Documentation

◆ ADD_FIELD_SENSOR

#define ADD_FIELD_SENSOR (   field)     SO__CONCAT(field, Sensor) = NULL

Definition at line 86 of file SoSubDialogViz.h.

◆ ATTACH_FIELD

#define ATTACH_FIELD (   field)
Value:
if (SO__CONCAT(field, Sensor) && SO__CONCAT(field, Sensor)->getAttachedField() != &field) \
SO__CONCAT(field, Sensor)->attach(&field)

Definition at line 78 of file SoSubDialogViz.h.

◆ DELETE_FIELD_SENSOR

#define DELETE_FIELD_SENSOR (   field)
Value:
if (SO__CONCAT(field, Sensor)) \
delete SO__CONCAT(field, Sensor)

Definition at line 89 of file SoSubDialogViz.h.

◆ DETACH_FIELD

#define DETACH_FIELD (   field)
Value:
if (SO__CONCAT(field, Sensor) && SO__CONCAT(field, Sensor)->getAttachedField()) \
SO__CONCAT(field, Sensor)->detach()

Definition at line 82 of file SoSubDialogViz.h.

◆ DG_FONT

#define DG_FONT   char*

Definition at line 103 of file SoSubDialogViz.h.

◆ FIELD_SENSOR

#define FIELD_SENSOR (   field)     SoFieldSensor* SO__CONCAT(field, Sensor)

Definition at line 33 of file SoSubDialogViz.h.

◆ INIT_FIELD_SENSOR

#define INIT_FIELD_SENSOR (   field)
Value:
if (SO__CONCAT(field, Sensor) == NULL) { \
SO__CONCAT(field, Sensor) = new SoFieldSensor(fieldChangedCB, this); \
SO__CONCAT(field, Sensor)->setPriority(0); \
ATTACH_FIELD(field); }
Sensor class that can be attached to Open Inventor fields.

Definition at line 93 of file SoSubDialogViz.h.

◆ MAX_DIMENSION

#define MAX_DIMENSION   65535

Definition at line 27 of file SoSubDialogViz.h.

◆ SENSOR

#define SENSOR (   field)     SO__CONCAT(field, Sensor)

Definition at line 36 of file SoSubDialogViz.h.

◆ SO__DG_EXIT_CLASS

#define SO__DG_EXIT_CLASS (   className)     SO__KIT_EXIT_CLASS(className)

Definition at line 72 of file SoSubDialogViz.h.

◆ SO__DG_INIT_CLASS

#define SO__DG_INIT_CLASS (   className,
  parentPrintClass,
  parentClass 
)     SO__KIT_INIT_CLASS(className, parentPrintClass, parentClass)

Definition at line 66 of file SoSubDialogViz.h.

◆ SO_DG_ADD_CATALOG_ENTRY

#define SO_DG_ADD_CATALOG_ENTRY (   partName,
  partClassName,
  nullByDefault,
  parentName,
  rightName,
  isPublicPart 
)     SO_KIT_ADD_CATALOG_ENTRY(partName, partClassName, nullByDefault, parentName, rightName, isPublicPart)

Definition at line 51 of file SoSubDialogViz.h.

◆ SO_DG_ADD_FIELD

#define SO_DG_ADD_FIELD (   fieldName,
  defValue 
)     SO_KIT_ADD_FIELD(fieldName, defValue)

Definition at line 48 of file SoSubDialogViz.h.

◆ SO_DG_CATALOG_ENTRY_HEADER

#define SO_DG_CATALOG_ENTRY_HEADER (   resource)    SO_KIT_CATALOG_ENTRY_HEADER(resource)

Definition at line 60 of file SoSubDialogViz.h.

◆ SO_DG_CONSTRUCTOR

#define SO_DG_CONSTRUCTOR (   className)     SO_KIT_CONSTRUCTOR(className)

Definition at line 45 of file SoSubDialogViz.h.

◆ SO_DG_DEFINE_ENUM_VALUE

#define SO_DG_DEFINE_ENUM_VALUE (   field,
  value 
)    SO_KIT_DEFINE_ENUM_VALUE(field, value)

Definition at line 54 of file SoSubDialogViz.h.

◆ SO_DG_EXIT_CLASS

#define SO_DG_EXIT_CLASS (   className)     SO__KIT_EXIT_CLASS(className)

Definition at line 75 of file SoSubDialogViz.h.

◆ SO_DG_HEADER

#define SO_DG_HEADER (   className)     SO_KIT_HEADER(className)

Definition at line 39 of file SoSubDialogViz.h.

◆ SO_DG_INIT_CLASS

#define SO_DG_INIT_CLASS (   className,
  parentClass,
  parentPrintClass 
)     SO_KIT_INIT_CLASS(className, parentClass, parentPrintClass)

Definition at line 69 of file SoSubDialogViz.h.

◆ SO_DG_INIT_INSTANCE

#define SO_DG_INIT_INSTANCE ( )     SO_KIT_INIT_INSTANCE()

Definition at line 63 of file SoSubDialogViz.h.

◆ SO_DG_SET_SF_ENUM_TYPE

#define SO_DG_SET_SF_ENUM_TYPE (   field,
  typeStruct 
)    SO_KIT_SET_SF_ENUM_TYPE(field, typeStruct)

Definition at line 57 of file SoSubDialogViz.h.

◆ SO_DG_SOURCE

#define SO_DG_SOURCE (   className)     SO_KIT_SOURCE(className)

Definition at line 42 of file SoSubDialogViz.h.