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

#include <SOP_NodeParmsOptions.h>

+ Inheritance diagram for SOP_NodeParmsOptions:

Public Member Functions

 SOP_NodeParmsOptions (const PRM_Template *tmpl)
 
virtual ~SOP_NodeParmsOptions ()
 
virtual void loadFromOpSubclass (const LoadParms &loadparms)
 
virtual void copyFrom (const SOP_NodeParms *src)
 
virtual exint getNumParms () const
 
virtual const char * getParmName (exint idx) const
 
virtual ParmType getParmType (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)
 
const UT_OptionEntrygetOptionEntry (const UT_StringRef &name) const
 
const PRM_TemplategetTemplates () const
 
- Public Member Functions inherited from SOP_NodeParms
 SOP_NodeParms ()
 
virtual ~SOP_NodeParms ()
 
void loadFromOp (const LoadParms &loadparms)
 
bool applyVexpression (const char *vexpression, const UT_Array< GU_ConstDetailHandle > &vexinputs, const LoadParms &loadparm)
 
bool applyVexpressionFromNode (SOP_Node *node, OP_Context &context, SOP_NodeCache *cache)
 
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
 

Protected Attributes

OP_Options myOptions
 
UT_StringArray myParmNames
 
UT_Array< ParmTypemyParmTypes
 
const PRM_TemplatemyTemplates
 
fpreal myTime
 

Friends

class SOP_NodeCacheOptions
 

Additional Inherited Members

- Public Types inherited from SOP_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_UNSUPPORTED
}
 
- Protected Member Functions inherited from SOP_NodeParms
template<typename T , typename S >
void coerceValue (T &result, const S &src) const
 

Detailed Description

Definition at line 22 of file SOP_NodeParmsOptions.h.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual void SOP_NodeParmsOptions::copyFrom ( const SOP_NodeParms src)
virtual

Reimplemented from SOP_NodeParms.

virtual exint SOP_NodeParmsOptions::getNumParms ( ) const
virtual

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

Reimplemented from SOP_NodeParms.

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

Definition at line 62 of file SOP_NodeParmsOptions.h.

virtual const char* SOP_NodeParmsOptions::getParmName ( exint  idx) const
virtual

Reimplemented from SOP_NodeParms.

virtual ParmType SOP_NodeParmsOptions::getParmType ( exint  idx) const
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::getParmValue ( exint  idx,
exint value 
) const
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::getParmValue ( exint  idx,
fpreal value 
) const
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::getParmValue ( exint  idx,
UT_Vector2D value 
) const
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::getParmValue ( exint  idx,
UT_Vector3D value 
) const
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::getParmValue ( exint  idx,
UT_Vector4D value 
) const
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::getParmValue ( exint  idx,
UT_Matrix2D value 
) const
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::getParmValue ( exint  idx,
UT_Matrix3D value 
) const
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::getParmValue ( exint  idx,
UT_Matrix4D value 
) const
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::getParmValue ( exint  idx,
UT_StringHolder value 
) const
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::getParmValue ( exint  idx,
UT_SharedPtr< UT_Ramp > &  value 
) const
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::getParmValue ( exint  idx,
PRM_DataItemHandle value 
) const
virtual

Reimplemented from SOP_NodeParms.

const PRM_Template* SOP_NodeParmsOptions::getTemplates ( ) const
inline

Definition at line 65 of file SOP_NodeParmsOptions.h.

virtual void SOP_NodeParmsOptions::loadFromOpSubclass ( const LoadParms loadparms)
virtual

Implements SOP_NodeParms.

virtual void SOP_NodeParmsOptions::setParmValue ( exint  idx,
const exint value 
)
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::setParmValue ( exint  idx,
const fpreal value 
)
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::setParmValue ( exint  idx,
const UT_Vector2D value 
)
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::setParmValue ( exint  idx,
const UT_Vector3D value 
)
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::setParmValue ( exint  idx,
const UT_Vector4D value 
)
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::setParmValue ( exint  idx,
const UT_Matrix2D value 
)
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::setParmValue ( exint  idx,
const UT_Matrix3D value 
)
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::setParmValue ( exint  idx,
const UT_Matrix4D value 
)
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::setParmValue ( exint  idx,
const UT_StringHolder value 
)
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::setParmValue ( exint  idx,
const UT_SharedPtr< UT_Ramp > &  value 
)
virtual

Reimplemented from SOP_NodeParms.

virtual void SOP_NodeParmsOptions::setParmValue ( exint  idx,
const PRM_DataItemHandle value 
)
virtual

Reimplemented from SOP_NodeParms.

Friends And Related Function Documentation

friend class SOP_NodeCacheOptions
friend

Definition at line 74 of file SOP_NodeParmsOptions.h.

Member Data Documentation

OP_Options SOP_NodeParmsOptions::myOptions
protected

Definition at line 69 of file SOP_NodeParmsOptions.h.

UT_StringArray SOP_NodeParmsOptions::myParmNames
protected

Definition at line 70 of file SOP_NodeParmsOptions.h.

UT_Array<ParmType> SOP_NodeParmsOptions::myParmTypes
protected

Definition at line 71 of file SOP_NodeParmsOptions.h.

const PRM_Template* SOP_NodeParmsOptions::myTemplates
protected

Definition at line 72 of file SOP_NodeParmsOptions.h.

fpreal SOP_NodeParmsOptions::myTime
protected

Definition at line 73 of file SOP_NodeParmsOptions.h.


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