#include "PRM_API.h"
#include "PRM_Callback.h"
#include <UT/UT_IStream.h>
#include <SYS/SYS_Types.h>
#include <iosfwd>
Go to the source code of this file.
|
enum | PRM_MultiType {
PRM_MULTITYPE_LIST = 0x00000000,
PRM_MULTITYPE_SCROLL = 0x00000001,
PRM_MULTITYPE_SWITCHER = 0x00000002,
PRM_MULTITYPE_NONE = 0x00000004,
PRM_MULTITYPE_RAMP_FLT = 0x00000008,
PRM_MULTITYPE_RAMP_RGB = 0x00000010,
PRM_MULTITYPE_RAMP_MASK = 0x00000018,
PRM_MULTITYPE_TYPEMASK = 0x0FFFFFFF,
PRM_MULTITYPE_NO_CONTROL_UI = 0x10000000
} |
| This type enum defines the different types of multi (dynamic) parameters. More...
|
|
enum | PRM_ColorType {
PRM_COLORTYPE_FLOAT_FIELDS,
PRM_COLORTYPE_RGB_SLIDERS,
PRM_COLORTYPE_HSV_SLIDERS,
PRM_COLORTYPE_TMI_SLIDERS,
PRM_COLORTYPE_HIDE_SLIDERS
} |
|
enum | PRM_RampInterpType {
PRM_RAMP_INTERP_INVALID = -1,
PRM_RAMP_INTERP_CONSTANT = 0,
PRM_RAMP_INTERP_LINEAR,
PRM_RAMP_INTERP_CATMULLROM,
PRM_RAMP_INTERP_MONOTONECUBIC,
PRM_RAMP_INTERP_BEZIER,
PRM_RAMP_INTERP_BSPLINE,
PRM_RAMP_INTERP_HERMITE,
PRM_RAMP_INTERP_ITEMS
} |
|
enum | PRM_RampParmIndex { PRM_RAMP_PARM_POS,
PRM_RAMP_PARM_VAL,
PRM_RAMP_PARM_INTERP,
PRM_RAMP_NUM_PARMS
} |
|
enum | PRM_TypeExtended {
PRM_TYPE_NONE,
PRM_TYPE_TOGGLE_JOIN,
PRM_TYPE_JOIN_PAIR,
PRM_TYPE_VEC_SWITCHER,
PRM_TYPE_NO_LABEL,
PRM_TYPE_MINI_MENU,
PRM_TYPE_JUMP_REFERENCE,
PRM_TYPE_NET_REFERENCE,
PRM_TYPE_WIDE_STRING,
PRM_TYPE_COP2_CHROMAKEY,
PRM_TYPE_COP2_VIDEOKEY,
PRM_TYPE_COP2_TEXMAP,
PRM_TYPE_COP2_CORNERPIN,
PRM_TYPE_COP2_CROP,
PRM_TYPE_COP2_SCALE,
PRM_TYPE_COP2_SEQUENCE,
PRM_TYPE_SHOP_PATH,
PRM_TYPE_DYNAMIC_PATH,
PRM_TYPE_DYNAMIC_PATH_LIST,
PRM_TYPE_UNUSED_1,
PRM_TYPE_FULL_JUMP_REFERENCE,
PRM_TYPE_MATRIX_ROW,
PRM_TYPE_IMAGE_FORMAT_1,
PRM_TYPE_IMAGE_FORMAT_2,
PRM_TYPE_MENU_JOIN,
PRM_TYPE_IMAGE_OPTIONS,
PRM_TYPE_IMAGE_RGBA_OPTIONS
} |
|
|
const PRM_Type | operator| (const PRM_Type &t1, const PRM_Type &t2) |
|
const PRM_Type | operator& (const PRM_Type &t1, const PRM_Type &t2) |
|
const PRM_Type | operator~ (const PRM_Type &t1) |
|
const PRM_Type | PRM_STRIP_UI_TYPE (const PRM_Type &t1) |
|
PRM_API const char * | PRMgetRampInterpToken (PRM_RampInterpType interp) |
|
PRM_API PRM_RampInterpType | PRMgetRampInterpType (const char *token) |
|
PRM_API const char * | PRMgetRampInterpLabel (PRM_RampInterpType interp) |
|
PRM_API PRM_ChoiceList * | PRMgetRampInterpMenu () |
|
PRM_API PRM_Template * | PRMcreateRampTemplate (const char *parent_token, PRM_MultiType multi_type, const PRM_SpareData *parent_spare, PRM_Callback callback, PRM_Template *copy_templates) |
|
PRM_API void | PRMfreeRampTemplate (PRM_Template *templates) |
|
PRM_API int64 | PRMgetRampTemplateMemoryUsage (PRM_Template *templates) |
|
PRM_API void | PRMgetRampChannelToken (const char *parent_token, PRM_MultiType multi_type, PRM_RampParmIndex i, int sub_idx, UT_WorkBuffer &token) |
|
PRM_API int | PRMgetRampChannelCount (PRM_MultiType multi_type, PRM_RampParmIndex i) |
|
PRM_API void | PRMgetRampDecodedParmPrefix (const char *parent_token, UT_WorkBuffer &prefix) |
|
PRM_API size_t | format (char *buffer, size_t buffer_size, const PRM_Type &v) |
|
Enumerator |
---|
PRM_COLORTYPE_FLOAT_FIELDS |
|
PRM_COLORTYPE_RGB_SLIDERS |
|
PRM_COLORTYPE_HSV_SLIDERS |
|
PRM_COLORTYPE_TMI_SLIDERS |
|
PRM_COLORTYPE_HIDE_SLIDERS |
|
Definition at line 434 of file PRM_Type.h.
This type enum defines the different types of multi (dynamic) parameters.
Enumerator |
---|
PRM_MULTITYPE_LIST |
|
PRM_MULTITYPE_SCROLL |
Normal list (WARNING: 0!)
|
PRM_MULTITYPE_SWITCHER |
Put inside a scrollable area.
|
PRM_MULTITYPE_NONE |
Each instance is a tab.
|
PRM_MULTITYPE_RAMP_FLT |
Since "list" is already 0.
|
PRM_MULTITYPE_RAMP_RGB |
Float ramp type.
|
PRM_MULTITYPE_RAMP_MASK |
RGB ramp type.
|
PRM_MULTITYPE_TYPEMASK |
Mask for testing ramp.
|
PRM_MULTITYPE_NO_CONTROL_UI |
Mask for excluding modifiers.
|
Definition at line 417 of file PRM_Type.h.
Enumerator |
---|
PRM_RAMP_INTERP_INVALID |
|
PRM_RAMP_INTERP_CONSTANT |
|
PRM_RAMP_INTERP_LINEAR |
|
PRM_RAMP_INTERP_CATMULLROM |
|
PRM_RAMP_INTERP_MONOTONECUBIC |
|
PRM_RAMP_INTERP_BEZIER |
|
PRM_RAMP_INTERP_BSPLINE |
|
PRM_RAMP_INTERP_HERMITE |
|
PRM_RAMP_INTERP_ITEMS |
|
Definition at line 442 of file PRM_Type.h.
Enumerator |
---|
PRM_RAMP_PARM_POS |
|
PRM_RAMP_PARM_VAL |
|
PRM_RAMP_PARM_INTERP |
|
PRM_RAMP_NUM_PARMS |
|
Definition at line 478 of file PRM_Type.h.
Enumerator |
---|
PRM_TYPE_NONE |
|
PRM_TYPE_TOGGLE_JOIN |
|
PRM_TYPE_JOIN_PAIR |
|
PRM_TYPE_VEC_SWITCHER |
|
PRM_TYPE_NO_LABEL |
|
PRM_TYPE_MINI_MENU |
|
PRM_TYPE_JUMP_REFERENCE |
|
PRM_TYPE_NET_REFERENCE |
|
PRM_TYPE_WIDE_STRING |
|
PRM_TYPE_COP2_CHROMAKEY |
|
PRM_TYPE_COP2_VIDEOKEY |
|
PRM_TYPE_COP2_TEXMAP |
|
PRM_TYPE_COP2_CORNERPIN |
|
PRM_TYPE_COP2_CROP |
|
PRM_TYPE_COP2_SCALE |
|
PRM_TYPE_COP2_SEQUENCE |
|
PRM_TYPE_SHOP_PATH |
|
PRM_TYPE_DYNAMIC_PATH |
|
PRM_TYPE_DYNAMIC_PATH_LIST |
|
PRM_TYPE_UNUSED_1 |
|
PRM_TYPE_FULL_JUMP_REFERENCE |
|
PRM_TYPE_MATRIX_ROW |
|
PRM_TYPE_IMAGE_FORMAT_1 |
|
PRM_TYPE_IMAGE_FORMAT_2 |
|
PRM_TYPE_MENU_JOIN |
|
PRM_TYPE_IMAGE_OPTIONS |
|
PRM_TYPE_IMAGE_RGBA_OPTIONS |
|
Definition at line 510 of file PRM_Type.h.
- Examples:
- CHOP/CHOP_Stair.C, COP2/COP2_FullImageFilter.C, COP2/COP2_SampleFilter.C, SHOP/SHOP_Multi.C, SIM/SIM_ElectricalProperties.C, SIM/SIM_ForceOrbit.C, SIM/SIM_RadialEmit.C, SIM/SNOW_Solver.C, SOP/SOP_BouncyAgent.C, SOP/SOP_BrushHairLen.C, SOP/SOP_CopRaster.C, SOP/SOP_CustomBrush.C, SOP/SOP_DetailAttrib.C, SOP/SOP_Flatten.C, SOP/SOP_IKSample.C, SOP/SOP_PointWave.C, and SOP/SOP_TimeCompare.C.
- Examples:
- CHOP/CHOP_Blend.C, CHOP/CHOP_Spring.C, CHOP/CHOP_Stair.C, COP2/COP2_MultiInputWipe.C, field3d/ROP_Field3D.C, SOP/MSS_BrushHairLen.C, SOP/SOP_BrushHairLen.C, SOP/SOP_CustomBrush.C, SOP/SOP_DualStar.C, SOP/SOP_Flatten.C, SOP/SOP_PrimVOP.C, and VOP/VOP_Switch.C.
- Examples:
- CHOP/CHOP_Stair.C, DOP/DOP_GroupAndApply.C, field3d/ROP_Field3D.C, SHOP/SHOP_Multi.C, SIM/GAS_NetVDBSliceExchange.C, SIM/SIM_GasAdd.C, SIM/SIM_RadialEmit.C, SOP/SOP_ArrayAttrib.C, SOP/SOP_BrushHairLen.C, SOP/SOP_CopRaster.C, SOP/SOP_CustomBrush.C, SOP/SOP_DetailAttrib.C, SOP/SOP_Flatten.C, SOP/SOP_GroupRename.C, SOP/SOP_HDKObject.C, SOP/SOP_PointWave.C, SOP/SOP_PrimVOP.C, and SOP/SOP_TimeCompare.C.
- Examples:
- CHOP/CHOP_Blend.C, CHOP/CHOP_Spring.C, euclid/SOP_Euclid.C, field3d/ROP_Field3D.C, SIM/SIM_ForceOrbit.C, SIM/SNOW_Solver.C, SOP/SOP_CopRaster.C, SOP/SOP_DualStar.C, SOP/SOP_Flatten.C, SOP/SOP_HDKObject.C, and SOP/SOP_Surface.C.