HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_NodeParmsOptions Class Reference

#include <SOP_NodeParmsOptions.h>

+ Inheritance diagram for SOP_NodeParmsOptions:

Classes

class  ParmDescr
 

Public Member Functions

 SOP_NodeParmsOptions (const PRM_Template *tmpl)
 
 ~SOP_NodeParmsOptions () override
 
void setManagesDataIDs (bool manages)
 
bool getManagesDataIDs () const
 
void loadFromOpSubclass (const LoadParms &loadparms) override
 
void copyFrom (const OP_NodeParms *src) override
 
exint getNestNumParms (TempIndex idx) const override
 
const char * getNestParmName (TempIndex idx) const override
 
ParmType getNestParmType (TempIndex idx) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, exint &value) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, fpreal &value) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const exint &value) override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const fpreal &value) override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
 
const UT_OptionEntrygetOptionEntry (const UT_StringRef &name) const
 
const PRM_TemplategetTemplates () const
 
- Public Member Functions inherited from SOP_NodeParms
 SOP_NodeParms ()
 
bool applyGeometryOverride (GU_ConstDetailHandle gdh)
 
bool applyGeometryOverrideFromNode (SOP_Node *node, OP_Context &context, SOP_NodeCache *cache)
 
- Public Member Functions inherited from OP_NodeParms
 OP_NodeParms ()
 
virtual ~OP_NodeParms ()
 
void loadFromOp (const LoadParms &loadparms)
 
bool applyOptionsOverride (const UT_Options *options)
 
virtual exint getNumParms () const
 
virtual const char * getParmName (exint idx) const
 
virtual ParmType getParmType (exint idx) const
 
virtual bool isParmColorRamp (exint idx) const
 
virtual void getParmValue (exint idx, exint &value) const
 
virtual void getParmValue (exint idx, fpreal &value) const
 
virtual void getParmValue (exint idx, UT_Vector2D &value) const
 
virtual void getParmValue (exint idx, UT_Vector3D &value) const
 
virtual void getParmValue (exint idx, UT_Vector4D &value) const
 
virtual void getParmValue (exint idx, UT_Matrix2D &value) const
 
virtual void getParmValue (exint idx, UT_Matrix3D &value) const
 
virtual void getParmValue (exint idx, UT_Matrix4D &value) const
 
virtual void getParmValue (exint idx, UT_StringHolder &value) const
 
virtual void getParmValue (exint idx, UT_SharedPtr< UT_Ramp > &value) const
 
virtual void getParmValue (exint idx, PRM_DataItemHandle &value) const
 
virtual void setParmValue (exint idx, const exint &value)
 
virtual void setParmValue (exint idx, const fpreal &value)
 
virtual void setParmValue (exint idx, const UT_Vector2D &value)
 
virtual void setParmValue (exint idx, const UT_Vector3D &value)
 
virtual void setParmValue (exint idx, const UT_Vector4D &value)
 
virtual void setParmValue (exint idx, const UT_Matrix2D &value)
 
virtual void setParmValue (exint idx, const UT_Matrix3D &value)
 
virtual void setParmValue (exint idx, const UT_Matrix4D &value)
 
virtual void setParmValue (exint idx, const UT_StringHolder &value)
 
virtual void setParmValue (exint idx, const UT_SharedPtr< UT_Ramp > &value)
 
virtual void setParmValue (exint idx, const PRM_DataItemHandle &value)
 
virtual int64 getMemoryUsage (bool inclusive) const
 
template<>
void coerceValue (exint &result, const exint &src) const
 
template<>
void coerceValue (bool &result, const exint &src) const
 
template<>
void coerceValue (exint &result, const bool &src) const
 
template<>
void coerceValue (bool &result, const bool &src) const
 
template<>
void coerceValue (fpreal &result, const fpreal &src) const
 
template<>
void coerceValue (UT_Vector2D &result, const UT_Vector2D &src) const
 
template<>
void coerceValue (UT_Vector3D &result, const UT_Vector3D &src) const
 
template<>
void coerceValue (UT_Vector4D &result, const UT_Vector4D &src) const
 
template<>
void coerceValue (UT_Matrix2D &result, const UT_Matrix2D &src) const
 
template<>
void coerceValue (UT_Matrix3D &result, const UT_Matrix3D &src) const
 
template<>
void coerceValue (UT_Matrix4D &result, const UT_Matrix4D &src) const
 
template<>
void coerceValue (UT_StringHolder &result, const UT_StringHolder &src) const
 
template<>
void coerceValue (UT_SharedPtr< UT_Ramp > &result, const UT_SharedPtr< UT_Ramp > &src) const
 
template<>
void coerceValue (PRM_DataItemHandle &result, const PRM_DataItemHandle &src) const
 
template<>
void coerceValue (UT_Vector2I &result, const UT_Vector2D &src) const
 
template<>
void coerceValue (UT_Vector2D &result, const UT_Vector2I &src) const
 
template<>
void coerceValue (UT_Vector3I &result, const UT_Vector3D &src) const
 
template<>
void coerceValue (UT_Vector3D &result, const UT_Vector3I &src) const
 
template<>
void coerceValue (UT_Vector4I &result, const UT_Vector4D &src) const
 
template<>
void coerceValue (UT_Vector4D &result, const UT_Vector4I &src) const
 
template<>
exint clampMinValue (fpreal clamp, const exint &src) const
 
template<>
bool clampMinValue (fpreal clamp, const bool &src) const
 
template<>
fpreal clampMinValue (fpreal clamp, const fpreal &src) const
 
template<>
UT_Vector2D clampMinValue (fpreal clamp, const UT_Vector2D &src) const
 
template<>
UT_Vector3D clampMinValue (fpreal clamp, const UT_Vector3D &src) const
 
template<>
UT_Vector4D clampMinValue (fpreal clamp, const UT_Vector4D &src) const
 
template<>
UT_Matrix2D clampMinValue (fpreal clamp, const UT_Matrix2D &src) const
 
template<>
UT_Matrix3D clampMinValue (fpreal clamp, const UT_Matrix3D &src) const
 
template<>
UT_Matrix4D clampMinValue (fpreal clamp, const UT_Matrix4D &src) const
 
template<>
UT_Vector2I clampMinValue (fpreal clamp, const UT_Vector2I &src) const
 
template<>
UT_Vector3I clampMinValue (fpreal clamp, const UT_Vector3I &src) const
 
template<>
UT_Vector4I clampMinValue (fpreal clamp, const UT_Vector4I &src) const
 
template<>
UT_SharedPtr< UT_RampclampMinValue (fpreal clamp, const UT_SharedPtr< UT_Ramp > &src) const
 
template<>
exint clampMaxValue (fpreal clamp, const exint &src) const
 
template<>
bool clampMaxValue (fpreal clamp, const bool &src) const
 
template<>
fpreal clampMaxValue (fpreal clamp, const fpreal &src) const
 
template<>
UT_Vector2D clampMaxValue (fpreal clamp, const UT_Vector2D &src) const
 
template<>
UT_Vector3D clampMaxValue (fpreal clamp, const UT_Vector3D &src) const
 
template<>
UT_Vector4D clampMaxValue (fpreal clamp, const UT_Vector4D &src) const
 
template<>
UT_Matrix2D clampMaxValue (fpreal clamp, const UT_Matrix2D &src) const
 
template<>
UT_Matrix3D clampMaxValue (fpreal clamp, const UT_Matrix3D &src) const
 
template<>
UT_Matrix4D clampMaxValue (fpreal clamp, const UT_Matrix4D &src) const
 
template<>
UT_Vector2I clampMaxValue (fpreal clamp, const UT_Vector2I &src) const
 
template<>
UT_Vector3I clampMaxValue (fpreal clamp, const UT_Vector3I &src) const
 
template<>
UT_Vector4I clampMaxValue (fpreal clamp, const UT_Vector4I &src) const
 

Protected Member Functions

template<typename T >
void internalGetNestParmValue (TempIndex idx, TempIndex instance, T &value) const
 
- Protected Member Functions inherited from OP_NodeParms
 OP_NodeParms (const OP_NodeParms &)=default
 
OP_NodeParmsoperator= (const OP_NodeParms &)=default
 
template<typename T , typename S >
void coerceValue (T &result, const S &src) const
 
template<typename T >
T clampMinValue (fpreal minvalue, const T &src) const
 
template<typename T >
T clampMaxValue (fpreal maxvalue, const T &src) const
 

Protected Attributes

bool myManagesDataIDs
 
OP_Options myOptions
 
UT_Array< ParmDescrmyParmDescr
 
const PRM_TemplatemyTemplates
 
fpreal myTime
 

Friends

class SOP_NodeCacheOptions
 

Additional Inherited Members

- Public Types inherited from OP_NodeParms
enum  ParmType {
  PARM_INTEGER, PARM_FLOAT, PARM_VECTOR2, PARM_VECTOR3,
  PARM_VECTOR4, PARM_MATRIX2, PARM_MATRIX3, PARM_MATRIX4,
  PARM_STRING, PARM_RAMP, PARM_DATA, PARM_MULTIPARM,
  PARM_UNSUPPORTED
}
 
- Static Public Member Functions inherited from SOP_NodeParms
static bool nodeHasGeometryOverride (SOP_Node *node, OP_Context &context)
 

Detailed Description

Definition at line 22 of file SOP_NodeParmsOptions.h.

Constructor & Destructor Documentation

SOP_NodeParmsOptions::SOP_NodeParmsOptions ( const PRM_Template tmpl)
SOP_NodeParmsOptions::~SOP_NodeParmsOptions ( )
override

Member Function Documentation

void SOP_NodeParmsOptions::copyFrom ( const OP_NodeParms src)
overridevirtual

Reimplemented from OP_NodeParms.

bool SOP_NodeParmsOptions::getManagesDataIDs ( ) const
inline

Definition at line 29 of file SOP_NodeParmsOptions.h.

exint SOP_NodeParmsOptions::getNestNumParms ( TempIndex  idx) const
overridevirtual

Marshalling interface to rest of world These all use index based notation.

Reimplemented from OP_NodeParms.

const char* SOP_NodeParmsOptions::getNestParmName ( TempIndex  idx) const
overridevirtual

Reimplemented from OP_NodeParms.

ParmType SOP_NodeParmsOptions::getNestParmType ( TempIndex  idx) const
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
exint value 
) const
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
fpreal value 
) const
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
UT_Vector2D value 
) const
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
UT_Vector3D value 
) const
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
UT_Vector4D value 
) const
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
UT_Matrix2D value 
) const
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
UT_Matrix3D value 
) const
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
UT_Matrix4D value 
) const
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
UT_StringHolder value 
) const
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
UT_SharedPtr< UT_Ramp > &  value 
) const
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
PRM_DataItemHandle value 
) const
overridevirtual

Reimplemented from OP_NodeParms.

const UT_OptionEntry* SOP_NodeParmsOptions::getOptionEntry ( const UT_StringRef name) const
inline

Definition at line 65 of file SOP_NodeParmsOptions.h.

const PRM_Template* SOP_NodeParmsOptions::getTemplates ( ) const
inline

Definition at line 68 of file SOP_NodeParmsOptions.h.

template<typename T >
void SOP_NodeParmsOptions::internalGetNestParmValue ( TempIndex  idx,
TempIndex  instance,
T value 
) const
protected
void SOP_NodeParmsOptions::loadFromOpSubclass ( const LoadParms loadparms)
overridevirtual

Implements OP_NodeParms.

void SOP_NodeParmsOptions::setManagesDataIDs ( bool  manages)
inline

Definition at line 28 of file SOP_NodeParmsOptions.h.

void SOP_NodeParmsOptions::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const exint value 
)
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const fpreal value 
)
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const UT_Vector2D value 
)
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const UT_Vector3D value 
)
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const UT_Vector4D value 
)
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const UT_Matrix2D value 
)
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const UT_Matrix3D value 
)
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const UT_Matrix4D value 
)
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const UT_StringHolder value 
)
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const UT_SharedPtr< UT_Ramp > &  value 
)
overridevirtual

Reimplemented from OP_NodeParms.

void SOP_NodeParmsOptions::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const PRM_DataItemHandle value 
)
overridevirtual

Reimplemented from OP_NodeParms.

Friends And Related Function Documentation

friend class SOP_NodeCacheOptions
friend

Definition at line 89 of file SOP_NodeParmsOptions.h.

Member Data Documentation

bool SOP_NodeParmsOptions::myManagesDataIDs
protected

Definition at line 84 of file SOP_NodeParmsOptions.h.

OP_Options SOP_NodeParmsOptions::myOptions
protected

Definition at line 85 of file SOP_NodeParmsOptions.h.

UT_Array<ParmDescr> SOP_NodeParmsOptions::myParmDescr
protected

Definition at line 86 of file SOP_NodeParmsOptions.h.

const PRM_Template* SOP_NodeParmsOptions::myTemplates
protected

Definition at line 87 of file SOP_NodeParmsOptions.h.

fpreal SOP_NodeParmsOptions::myTime
protected

Definition at line 88 of file SOP_NodeParmsOptions.h.


The documentation for this class was generated from the following file: