HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_EnumMacros.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define UT_TO_STRING(name)   #name
 
#define UT_STRING(name)   UT_TO_STRING(name)
 
#define UT_CAT2(a, b)   a ## b
 
#define UT_CAT(a, b)   UT_CAT2(a,b)
 
#define UT_SWITCH_CASE_TO_HOM_EXPR(ENUM, EVALUE, CPPEVALUE, UNUSED, UNUSED2)   case CPPEVALUE: {str_status = "hou." UT_STRING(ENUM) "." UT_STRING(EVALUE); break;}
 
#define UT_UIEVENT_REASON_CODE_GENERATOR(MACRO)
 
#define UT_UIEVENT_VALUE_CODE_GENERATOR(MACRO)
 
#define UT_DRAWABLE_PRIMITIVE_CODE_GENERATOR(MACRO)
 
#define UT_RESOURCE_EVENTMESSAGE_GENERATOR(MACRO)
 
#define UT_RESOURCE_RESOURCETYPE_GENERATOR(MACRO)
 
#define UT_SNAP_PRIORITY_GENERATOR(MACRO)
 
#define UT_TRIGGER_SELECTOR_GENERATOR(MACRO)
 
#define UT_GEOMETRY_DRAWABLE_TYPE_GENERATOR(MACRO)
 
#define UT_TEXT_DRAWABLE_ORIGIN_GENERATOR(MACRO)
 
#define UT_GEOMETRY_DRAWABLE_FACESTYLE_GENERATOR(MACRO)
 
#define UT_GEOMETRY_DRAWABLE_LINESTYLE_GENERATOR(MACRO)
 
#define UT_GEOMETRY_DRAWABLE_POINTSTYLE_GENERATOR(MACRO)
 
#define UT_GEOMETRY_DRAWABLE_RAMPCLAMP_GENERATOR(MACRO)
 
#define UT_GEOMETRY_DRAWABLE_HIGHLIGHT_MODE_GENERATOR(MACRO)
 
#define UT_RESOURCE_EVENT_GENERATOR(MACRO)
 
#define UT_VIEWERSTATE_EVENT_GENERATOR(MACRO)
 
#define UT_VIEWERHANDLE_EVENT_GENERATOR(MACRO)
 
#define UT_SECURE_SELECTION_OPTIONS_GENERATOR(MACRO)
 

Macro Definition Documentation

#define UT_CAT (   a,
  b 
)    UT_CAT2(a,b)

Definition at line 16 of file UT_EnumMacros.h.

#define UT_CAT2 (   a,
  b 
)    a ## b

Definition at line 15 of file UT_EnumMacros.h.

#define UT_DRAWABLE_PRIMITIVE_CODE_GENERATOR (   MACRO)
Value:
MACRO(drawablePrimitive, Circle, DM_DrawablePrimitive::Circle, "", 1)\
MACRO(drawablePrimitive, Sphere, DM_DrawablePrimitive::Sphere, "", 0)\
MACRO(drawablePrimitive, Tube, DM_DrawablePrimitive::Tube, "", 2)

Definition at line 56 of file UT_EnumMacros.h.

#define UT_GEOMETRY_DRAWABLE_FACESTYLE_GENERATOR (   MACRO)
Value:
MACRO(drawableGeometryFaceStyle, Plain, DM_Widget::FaceHighlighter::Styles::PLAIN, "", 0)\
MACRO(drawableGeometryFaceStyle, Columns, DM_Widget::FaceHighlighter::Styles::COLUMNS,"", 1)\
MACRO(drawableGeometryFaceStyle, Rows, DM_Widget::FaceHighlighter::Styles::ROWS, "", 2)\
MACRO(drawableGeometryFaceStyle, Checker, DM_Widget::FaceHighlighter::Styles::CHECKER,"", 3)\
MACRO(drawableGeometryFaceStyle, Circle, DM_Widget::FaceHighlighter::Styles::CIRCLES,"", 4)

Definition at line 115 of file UT_EnumMacros.h.

#define UT_GEOMETRY_DRAWABLE_HIGHLIGHT_MODE_GENERATOR (   MACRO)
Value:
MACRO(drawableHighlightMode, Glow, DM_Widget::HighlightMode::GLOW_ONLY, "", 0)\
MACRO(drawableHighlightMode, Matte, DM_Widget::HighlightMode::MATTE_ONLY, "", 1)\
MACRO(drawableHighlightMode, GlowMinusMatte, DM_Widget::HighlightMode::GLOW_MINUS_MATTE, "", 2)\
MACRO(drawableHighlightMode, MatteOverGlow, DM_Widget::HighlightMode::MATTE_OVER_GLOW, "", 3)

Definition at line 146 of file UT_EnumMacros.h.

#define UT_GEOMETRY_DRAWABLE_LINESTYLE_GENERATOR (   MACRO)
Value:
MACRO(drawableGeometryLineStyle, Plain, DM_Widget::LineHighlighter::Styles::PLAIN, "", 0)\
MACRO(drawableGeometryLineStyle, Dash1, DM_Widget::LineHighlighter::Styles::DASH_1_2, "", 1)\
MACRO(drawableGeometryLineStyle, Dash2, DM_Widget::LineHighlighter::Styles::DASH_1_3, "", 2)\
MACRO(drawableGeometryLineStyle, Dash3, DM_Widget::LineHighlighter::Styles::DASH_1_4, "", 3)\
MACRO(drawableGeometryLineStyle, Dot1, DM_Widget::LineHighlighter::Styles::DOT_1, "", 4)\
MACRO(drawableGeometryLineStyle, Dot2, DM_Widget::LineHighlighter::Styles::DOT_1_2, "", 5)\
MACRO(drawableGeometryLineStyle, Dot3, DM_Widget::LineHighlighter::Styles::DOT_1_4, "", 6)\
MACRO(drawableGeometryLineStyle, Dot4, DM_Widget::LineHighlighter::Styles::DOT_1_8, "", 7)

Definition at line 122 of file UT_EnumMacros.h.

#define UT_GEOMETRY_DRAWABLE_POINTSTYLE_GENERATOR (   MACRO)
Value:
MACRO(drawableGeometryPointStyle, LinearCircle, DM_Widget::PointHighlighter::Styles::LINEAR_CIRCLE, "", 0)\
MACRO(drawableGeometryPointStyle, LinearSquare, DM_Widget::PointHighlighter::Styles::LINEAR_SQUARE, "", 1)\
MACRO(drawableGeometryPointStyle, SmoothCircle, DM_Widget::PointHighlighter::Styles::SMOOTH_CIRCLE, "", 2)\
MACRO(drawableGeometryPointStyle, SmoothSquare, DM_Widget::PointHighlighter::Styles::SMOOTH_SQUARE, "", 3)\
MACRO(drawableGeometryPointStyle, RingsCircle, DM_Widget::PointHighlighter::Styles::RINGS_CIRCLE, "", 4)\
MACRO(drawableGeometryPointStyle, RingsSquare, DM_Widget::PointHighlighter::Styles::RINGS_SQUARE, "", 5)

Definition at line 132 of file UT_EnumMacros.h.

#define UT_GEOMETRY_DRAWABLE_RAMPCLAMP_GENERATOR (   MACRO)
Value:
MACRO(drawableRampClamp, Repeat, RE_TexClampType::RE_CLAMP_REPEAT, "", 0)\
MACRO(drawableRampClamp, Border, RE_TexClampType::RE_CLAMP_BORDER, "", 1)\
MACRO(drawableRampClamp, Edge, RE_TexClampType::RE_CLAMP_EDGE, "", 2)\
MACRO(drawableRampClamp, Mirror, RE_TexClampType::RE_CLAMP_MIRROR, "", 3)

Definition at line 140 of file UT_EnumMacros.h.

#define UT_GEOMETRY_DRAWABLE_TYPE_GENERATOR (   MACRO)
Value:
MACRO(drawableGeometryType, Line, DM_Widget::Widget::HighlighterType::Line, "", 0)\
MACRO(drawableGeometryType, Face, DM_Widget::Widget::HighlighterType::Face, "", 1)\
MACRO(drawableGeometryType, Point, DM_Widget::Widget::HighlighterType::Point, "", 2)\
MACRO(drawableGeometryType, Vector, DM_Widget::Widget::HighlighterType::Vector, "", 3)

Definition at line 99 of file UT_EnumMacros.h.

#define UT_RESOURCE_EVENT_GENERATOR (   MACRO)

Definition at line 152 of file UT_EnumMacros.h.

#define UT_RESOURCE_EVENTMESSAGE_GENERATOR (   MACRO)
Value:
MACRO(resourceEventMessage, NoEventType, PI_PythonResource::EventMessage::Type::None, "", 0)\
MACRO(resourceEventMessage, OnCustomEvent, PI_PythonResource::EventMessage::Type::OnCustomEvent, "", 10)\
MACRO(resourceEventMessage, OnEnter, PI_PythonResource::EventMessage::Type::OnEnter, "", 1)\
MACRO(resourceEventMessage, OnExit, PI_PythonResource::EventMessage::Type::OnExit, "", 2)\
MACRO(resourceEventMessage, OnGenerate, PI_PythonResource::EventMessage::Type::OnGenerate, "", 8)\
MACRO(resourceEventMessage, OnInterrupt, PI_PythonResource::EventMessage::Type::OnInterrupt, "", 3)\
MACRO(resourceEventMessage, OnPreEnter, PI_PythonResource::EventMessage::Type::OnPreEnter, "", 12)\
MACRO(resourceEventMessage, OnPrintMessage, PI_PythonResource::EventMessage::Type::OnPrintMessage, "", 9)\
MACRO(resourceEventMessage, OnRegister, PI_PythonResource::EventMessage::Type::OnRegister, "", 5)\
MACRO(resourceEventMessage, OnReload, PI_PythonResource::EventMessage::Type::OnReload, "", 11)\
MACRO(resourceEventMessage, OnResume, PI_PythonResource::EventMessage::Type::OnResume, "", 4)\
MACRO(resourceEventMessage, OnRuntimeError, PI_PythonResource::EventMessage::Type::OnRuntimeError, "", 7)\
MACRO(resourceEventMessage, OnUnregister, PI_PythonResource::EventMessage::Type::OnUnregister, "", 6)\
MACRO(resourceEventMessage, OnActivate, PI_PythonResource::EventMessage::Type::OnActivate, "", 13)\
MACRO(resourceEventMessage, OnDeactivate, PI_PythonResource::EventMessage::Type::OnDeactivate, "", 14)

Definition at line 61 of file UT_EnumMacros.h.

#define UT_RESOURCE_RESOURCETYPE_GENERATOR (   MACRO)
#define UT_SECURE_SELECTION_OPTIONS_GENERATOR (   MACRO)
Value:
MACRO(secureSelectionOption, Ignore, PI_PythonState::SecureSelectionOption::Ignore, "", 0)\
MACRO(secureSelectionOption, Obey, PI_PythonState::SecureSelectionOption::Obey, "", 1)\
MACRO(secureSelectionOption, On, PI_PythonState::SecureSelectionOption::On, "", 2)\
MACRO(secureSelectionOption, Off, PI_PythonState::SecureSelectionOption::Off, "", 3)

Definition at line 234 of file UT_EnumMacros.h.

#define UT_SNAP_PRIORITY_GENERATOR (   MACRO)
Value:
MACRO(snappingPriority, GeoEdge, DM_SnapPriority::GeoEdge, "", 0)\
MACRO(snappingPriority, GeoPoint, DM_SnapPriority::GeoPoint, "", 1)\
MACRO(snappingPriority, GeoPrim, DM_SnapPriority::Primitive, "", 2)\
MACRO(snappingPriority, Midpoint, DM_SnapPriority::Midpoint, "", 3)\
MACRO(snappingPriority, Breakpoint, DM_SnapPriority::BreakPoint, "", 4)\
MACRO(snappingPriority, GridPoint, DM_SnapPriority::GridPoint, "", 5)\
MACRO(snappingPriority, GridEdge, DM_SnapPriority::GridEdge, "", 6)\
MACRO(snappingPriority, PrimGuidePoint, DM_SnapPriority::PrimGuidePoint, "", 7)\
MACRO(snappingPriority, PrimGuideEdge, DM_SnapPriority::PrimGuideEdge, "", 8)

Definition at line 83 of file UT_EnumMacros.h.

#define UT_STRING (   name)    UT_TO_STRING(name)

Definition at line 14 of file UT_EnumMacros.h.

#define UT_SWITCH_CASE_TO_HOM_EXPR (   ENUM,
  EVALUE,
  CPPEVALUE,
  UNUSED,
  UNUSED2 
)    case CPPEVALUE: {str_status = "hou." UT_STRING(ENUM) "." UT_STRING(EVALUE); break;}

Definition at line 25 of file UT_EnumMacros.h.

#define UT_TEXT_DRAWABLE_ORIGIN_GENERATOR (   MACRO)
Value:
MACRO(drawableTextOrigin, BottomLeft, DM_Widget::ReferencePoint::BOTTOM_LEFT, "", 0)\
MACRO(drawableTextOrigin, BottomCenter, DM_Widget::ReferencePoint::BOTTOM_CENTER, "", 1)\
MACRO(drawableTextOrigin, BottomRight, DM_Widget::ReferencePoint::BOTTOM_RIGHT, "", 2)\
MACRO(drawableTextOrigin, LeftCenter, DM_Widget::ReferencePoint::LEFT_CENTER, "", 3)\
MACRO(drawableTextOrigin, RightCenter, DM_Widget::ReferencePoint::RIGHT_CENTER, "", 4)\
MACRO(drawableTextOrigin, UpperLeft, DM_Widget::ReferencePoint::UPPER_LEFT, "", 5)\
MACRO(drawableTextOrigin, UpperCenter, DM_Widget::ReferencePoint::UPPER_CENTER, "", 6)\
MACRO(drawableTextOrigin, UpperRight, DM_Widget::ReferencePoint::UPPER_RIGHT, "", 7)

Definition at line 105 of file UT_EnumMacros.h.

#define UT_TO_STRING (   name)    #name

Definition at line 13 of file UT_EnumMacros.h.

#define UT_TRIGGER_SELECTOR_GENERATOR (   MACRO)
Value:
MACRO(triggerSelectorAction, Start, PI_PythonState::SelectorAction::Start, "", 0)\
MACRO(triggerSelectorAction, Stop, PI_PythonState::SelectorAction::Stop, "", 1)\
MACRO(triggerSelectorAction, Toggle, PI_PythonState::SelectorAction::Toggle, "", 2)

Definition at line 94 of file UT_EnumMacros.h.

#define UT_UIEVENT_REASON_CODE_GENERATOR (   MACRO)
Value:
MACRO(uiEventReason, NoReason, UI_NO_REASON, "", 0)\
MACRO(uiEventReason, Changed, UI_VALUE_CHANGED, "", 1)\
MACRO(uiEventReason, Active, UI_VALUE_ACTIVE, "", 2)\
MACRO(uiEventReason, Start, UI_VALUE_START, "", 3)\
MACRO(uiEventReason, New, UI_VALUE_NEW, "", 4)\
MACRO(uiEventReason, RangeChanged, UI_VALUE_RANGE_CHANGED, "", 5)\
MACRO(uiEventReason, Picked, UI_VALUE_PICKED, "", 6)\
MACRO(uiEventReason, Located, UI_VALUE_LOCATED, "", 7)\
MACRO(uiEventReason, ItemsChanged, UI_VALUE_ITEMS_CHANGED, "", 8)

Definition at line 36 of file UT_EnumMacros.h.

#define UT_UIEVENT_VALUE_CODE_GENERATOR (   MACRO)
Value:
MACRO(uiEventValueType, Float, UI_VALUE_FLOAT, "", 0)\
MACRO(uiEventValueType, Integer, UI_VALUE_INTEGER, "", 1)\
MACRO(uiEventValueType, String, UI_VALUE_STRING, "", 2)\
MACRO(uiEventValueType, FloatArray, UI_VALUE_FLOAT_ARRAY, "", 3)\
MACRO(uiEventValueType, IntArray, UI_VALUE_INT_ARRAY, "", 4)\
MACRO(uiEventValueType, StringArray,UI_VALUE_STRING_ARRAY, "", 5)\
MACRO(uiEventValueType, NoType, UI_VALUE_POINTER, "", 6)
UT_Array< FloatType > FloatArray

Definition at line 47 of file UT_EnumMacros.h.

#define UT_VIEWERHANDLE_EVENT_GENERATOR (   MACRO)
Value:
MACRO(Create, "")\
MACRO(Draw, "")\
MACRO(DrawSetup, "")\
MACRO(Activate, "")\
MACRO(Deactivate, "")\
MACRO(HasAttr, "")\
MACRO(Init, "")\
MACRO(Key, "Event")\
MACRO(KeyTransit, "Event")\
MACRO(MenuAction, "")\
MACRO(MenuPreOpen, "")\
MACRO(Mouse, "Event")\
MACRO(MouseWheel, "Event")\
MACRO(ParmChange, "Event")\
MACRO(Term, "")

Definition at line 217 of file UT_EnumMacros.h.

#define UT_VIEWERSTATE_EVENT_GENERATOR (   MACRO)
Value:
MACRO(BeginHandleToState, "")\
MACRO(Command, "")\
MACRO(Create, "")\
MACRO(DropAccept, "")\
MACRO(DropGetOptions, "")\
MACRO(DragTest, "")\
MACRO(Draw, "")\
MACRO(DrawInterrupt, "")\
MACRO(EndHandleToState, "")\
MACRO(Enter, "")\
MACRO(Exit, "")\
MACRO(Generate, "")\
MACRO(HandleToState, "")\
MACRO(HasAttr, "")\
MACRO(Init, "")\
MACRO(Interrupt, "")\
MACRO(Key, "Event")\
MACRO(KeyTransit, "Event")\
MACRO(MenuAction, "")\
MACRO(MenuPreOpen, "")\
MACRO(Mouse, "Event")\
MACRO(MouseWheel, "Event")\
MACRO(ParmChange, "Event")\
MACRO(Resume, "")\
MACRO(Selection, "")\
MACRO(StartSelection, "")\
MACRO(StopSelection, "")\
MACRO(StateToHandle, "")\
MACRO(Term, "")

Definition at line 186 of file UT_EnumMacros.h.