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

#include <SOP_Measure.proto.h>

+ Inheritance diagram for SOP_MeasureParms:

Public Types

using Type = SOP_MeasureEnums::Type
 
using Curvetype = SOP_MeasureEnums::Curvetype
 
- 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
}
 

Public Member Functions

 SOP_MeasureParms ()
 
 SOP_MeasureParms (const SOP_MeasureParms &)=default
 
virtual ~SOP_MeasureParms ()
 
bool operator== (const SOP_MeasureParms &src) const
 
bool operator!= (const SOP_MeasureParms &src) const
 
void buildFromOp (const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
 
virtual void loadFromOpSubclass (const LoadParms &loadparms)
 
virtual void copyFrom (const SOP_NodeParms *src)
 
template<typename T >
void doGetParmValue (exint idx, T &value) const
 
void getParmValue (exint idx, exint &value) const
 
void getParmValue (exint idx, fpreal &value) const
 
void getParmValue (exint idx, UT_Vector2D &value) const
 
void getParmValue (exint idx, UT_Vector3D &value) const
 
void getParmValue (exint idx, UT_Vector4D &value) const
 
void getParmValue (exint idx, UT_Matrix2D &value) const
 
void getParmValue (exint idx, UT_Matrix3D &value) const
 
void getParmValue (exint idx, UT_Matrix4D &value) const
 
void getParmValue (exint idx, UT_StringHolder &value) const
 
void getParmValue (exint idx, UT_SharedPtr< UT_Ramp > &value) const
 
void getParmValue (exint idx, PRM_DataItemHandle &value) const
 
template<typename T >
void doSetParmValue (exint idx, const T &value)
 
void setParmValue (exint idx, const exint &value)
 
void setParmValue (exint idx, const fpreal &value)
 
void setParmValue (exint idx, const UT_Vector2D &value)
 
void setParmValue (exint idx, const UT_Vector3D &value)
 
void setParmValue (exint idx, const UT_Vector4D &value)
 
void setParmValue (exint idx, const UT_Matrix2D &value)
 
void setParmValue (exint idx, const UT_Matrix3D &value)
 
void setParmValue (exint idx, const UT_Matrix4D &value)
 
void setParmValue (exint idx, const UT_StringHolder &value)
 
void setParmValue (exint idx, const UT_SharedPtr< UT_Ramp > &value)
 
void setParmValue (exint idx, const PRM_DataItemHandle &value)
 
virtual exint getNumParms () const
 
virtual const char * getParmName (exint fieldnum) const
 
virtual ParmType getParmType (exint fieldnum) const
 
void save (std::ostream &os) const
 
bool load (UT_IStream &is)
 
const UT_StringHoldergetGroup () const
 
void setGroup (const UT_StringHolder &val)
 
UT_StringHolder opGroup (const SOP_NodeVerb::CookParms &cookparms) const
 
Type getType () const
 
void setType (Type val)
 
Type opType (const SOP_NodeVerb::CookParms &cookparms) const
 
bool getOverride () const
 
void setOverride (bool val)
 
bool opOverride (const SOP_NodeVerb::CookParms &cookparms) const
 
const UT_StringHoldergetAttribname () const
 
void setAttribname (const UT_StringHolder &val)
 
UT_StringHolder opAttribname (const SOP_NodeVerb::CookParms &cookparms) const
 
Curvetype getCurvetype () const
 
void setCurvetype (Curvetype val)
 
Curvetype opCurvetype (const SOP_NodeVerb::CookParms &cookparms) const
 
UT_Vector2D getCurve () const
 
void setCurve (UT_Vector2D val)
 
UT_Vector2D opCurve (const SOP_NodeVerb::CookParms &cookparms) const
 
UT_Vector3D getT () const
 
void setT (UT_Vector3D val)
 
UT_Vector3D opT (const SOP_NodeVerb::CookParms &cookparms) 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
 

Static Public Member Functions

static int version ()
 
static void loadData (UT_IStream &is, int64 &v)
 
static void loadData (UT_IStream &is, bool &v)
 
static void loadData (UT_IStream &is, fpreal64 &v)
 
static void loadData (UT_IStream &is, UT_Vector2D &v)
 
static void loadData (UT_IStream &is, UT_Vector3D &v)
 
static void loadData (UT_IStream &is, UT_Vector4D &v)
 
static void loadData (UT_IStream &is, UT_Matrix2D &v)
 
static void loadData (UT_IStream &is, UT_Matrix3D &v)
 
static void loadData (UT_IStream &is, UT_Matrix4D &v)
 
static void loadData (UT_IStream &is, UT_Vector2I &v)
 
static void loadData (UT_IStream &is, UT_Vector3I &v)
 
static void loadData (UT_IStream &is, UT_Vector4I &v)
 
static void loadData (UT_IStream &is, UT_StringHolder &v)
 
static void loadData (UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
 
static void loadData (UT_IStream &is, PRM_DataItemHandle &v)
 
static void saveData (std::ostream &os, int64 v)
 
static void saveData (std::ostream &os, bool v)
 
static void saveData (std::ostream &os, fpreal64 v)
 
static void saveData (std::ostream &os, UT_Vector2D v)
 
static void saveData (std::ostream &os, UT_Vector3D v)
 
static void saveData (std::ostream &os, UT_Vector4D v)
 
static void saveData (std::ostream &os, UT_Matrix2D v)
 
static void saveData (std::ostream &os, UT_Matrix3D v)
 
static void saveData (std::ostream &os, UT_Matrix4D v)
 
static void saveData (std::ostream &os, UT_StringHolder s)
 
static void saveData (std::ostream &os, UT_SharedPtr< UT_Ramp > s)
 
static void saveData (std::ostream &os, PRM_DataItemHandle s)
 

Additional Inherited Members

- 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 39 of file SOP_Measure.proto.h.

Member Typedef Documentation

Constructor & Destructor Documentation

SOP_MeasureParms::SOP_MeasureParms ( )
inline

Definition at line 44 of file SOP_Measure.proto.h.

SOP_MeasureParms::SOP_MeasureParms ( const SOP_MeasureParms )
explicitdefault
virtual SOP_MeasureParms::~SOP_MeasureParms ( )
inlinevirtual

Definition at line 58 of file SOP_Measure.proto.h.

Member Function Documentation

void SOP_MeasureParms::buildFromOp ( const OP_Node node,
fpreal  time,
DEP_MicroNode depnode 
)
inline

Definition at line 81 of file SOP_Measure.proto.h.

virtual void SOP_MeasureParms::copyFrom ( const SOP_NodeParms src)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 114 of file SOP_Measure.proto.h.

template<typename T >
void SOP_MeasureParms::doGetParmValue ( exint  idx,
T value 
) const
inline

Definition at line 121 of file SOP_Measure.proto.h.

template<typename T >
void SOP_MeasureParms::doSetParmValue ( exint  idx,
const T value 
)
inline

Definition at line 175 of file SOP_Measure.proto.h.

const UT_StringHolder& SOP_MeasureParms::getAttribname ( ) const
inline

Definition at line 447 of file SOP_Measure.proto.h.

UT_Vector2D SOP_MeasureParms::getCurve ( ) const
inline

Definition at line 467 of file SOP_Measure.proto.h.

Curvetype SOP_MeasureParms::getCurvetype ( ) const
inline

Definition at line 457 of file SOP_Measure.proto.h.

const UT_StringHolder& SOP_MeasureParms::getGroup ( ) const
inline

Definition at line 417 of file SOP_Measure.proto.h.

virtual exint SOP_MeasureParms::getNumParms ( ) const
inlinevirtual

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

Reimplemented from SOP_NodeParms.

Definition at line 227 of file SOP_Measure.proto.h.

bool SOP_MeasureParms::getOverride ( ) const
inline

Definition at line 437 of file SOP_Measure.proto.h.

virtual const char* SOP_MeasureParms::getParmName ( exint  fieldnum) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 232 of file SOP_Measure.proto.h.

virtual ParmType SOP_MeasureParms::getParmType ( exint  fieldnum) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 255 of file SOP_Measure.proto.h.

void SOP_MeasureParms::getParmValue ( exint  idx,
exint value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 150 of file SOP_Measure.proto.h.

void SOP_MeasureParms::getParmValue ( exint  idx,
fpreal value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 152 of file SOP_Measure.proto.h.

void SOP_MeasureParms::getParmValue ( exint  idx,
UT_Vector2D value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 154 of file SOP_Measure.proto.h.

void SOP_MeasureParms::getParmValue ( exint  idx,
UT_Vector3D value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 156 of file SOP_Measure.proto.h.

void SOP_MeasureParms::getParmValue ( exint  idx,
UT_Vector4D value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 158 of file SOP_Measure.proto.h.

void SOP_MeasureParms::getParmValue ( exint  idx,
UT_Matrix2D value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 160 of file SOP_Measure.proto.h.

void SOP_MeasureParms::getParmValue ( exint  idx,
UT_Matrix3D value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 162 of file SOP_Measure.proto.h.

void SOP_MeasureParms::getParmValue ( exint  idx,
UT_Matrix4D value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 164 of file SOP_Measure.proto.h.

void SOP_MeasureParms::getParmValue ( exint  idx,
UT_StringHolder value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 166 of file SOP_Measure.proto.h.

void SOP_MeasureParms::getParmValue ( exint  idx,
UT_SharedPtr< UT_Ramp > &  value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 168 of file SOP_Measure.proto.h.

void SOP_MeasureParms::getParmValue ( exint  idx,
PRM_DataItemHandle value 
) const
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 170 of file SOP_Measure.proto.h.

UT_Vector3D SOP_MeasureParms::getT ( ) const
inline

Definition at line 477 of file SOP_Measure.proto.h.

Type SOP_MeasureParms::getType ( void  ) const
inline

Definition at line 427 of file SOP_Measure.proto.h.

bool SOP_MeasureParms::load ( UT_IStream is)
inline

Definition at line 397 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::loadData ( UT_IStream is,
int64 v 
)
inlinestatic

Definition at line 279 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::loadData ( UT_IStream is,
bool &  v 
)
inlinestatic

Definition at line 281 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::loadData ( UT_IStream is,
fpreal64 v 
)
inlinestatic

Definition at line 283 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::loadData ( UT_IStream is,
UT_Vector2D v 
)
inlinestatic

Definition at line 285 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::loadData ( UT_IStream is,
UT_Vector3D v 
)
inlinestatic

Definition at line 287 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::loadData ( UT_IStream is,
UT_Vector4D v 
)
inlinestatic

Definition at line 290 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::loadData ( UT_IStream is,
UT_Matrix2D v 
)
inlinestatic

Definition at line 293 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::loadData ( UT_IStream is,
UT_Matrix3D v 
)
inlinestatic

Definition at line 295 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::loadData ( UT_IStream is,
UT_Matrix4D v 
)
inlinestatic

Definition at line 297 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::loadData ( UT_IStream is,
UT_Vector2I v 
)
inlinestatic

Definition at line 299 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::loadData ( UT_IStream is,
UT_Vector3I v 
)
inlinestatic

Definition at line 301 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::loadData ( UT_IStream is,
UT_Vector4I v 
)
inlinestatic

Definition at line 304 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::loadData ( UT_IStream is,
UT_StringHolder v 
)
inlinestatic

Definition at line 307 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::loadData ( UT_IStream is,
UT_SharedPtr< UT_Ramp > &  v 
)
inlinestatic

Definition at line 309 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::loadData ( UT_IStream is,
PRM_DataItemHandle v 
)
inlinestatic

Definition at line 320 of file SOP_Measure.proto.h.

virtual void SOP_MeasureParms::loadFromOpSubclass ( const LoadParms loadparms)
inlinevirtual

Implements SOP_NodeParms.

Definition at line 108 of file SOP_Measure.proto.h.

UT_StringHolder SOP_MeasureParms::opAttribname ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 449 of file SOP_Measure.proto.h.

UT_Vector2D SOP_MeasureParms::opCurve ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 469 of file SOP_Measure.proto.h.

Curvetype SOP_MeasureParms::opCurvetype ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 459 of file SOP_Measure.proto.h.

bool SOP_MeasureParms::operator!= ( const SOP_MeasureParms src) const
inline

Definition at line 72 of file SOP_Measure.proto.h.

bool SOP_MeasureParms::operator== ( const SOP_MeasureParms src) const
inline

Definition at line 60 of file SOP_Measure.proto.h.

UT_StringHolder SOP_MeasureParms::opGroup ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 419 of file SOP_Measure.proto.h.

bool SOP_MeasureParms::opOverride ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 439 of file SOP_Measure.proto.h.

UT_Vector3D SOP_MeasureParms::opT ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 479 of file SOP_Measure.proto.h.

Type SOP_MeasureParms::opType ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 429 of file SOP_Measure.proto.h.

void SOP_MeasureParms::save ( std::ostream &  os) const
inline

Definition at line 383 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::saveData ( std::ostream &  os,
int64  v 
)
inlinestatic

Definition at line 340 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::saveData ( std::ostream &  os,
bool  v 
)
inlinestatic

Definition at line 342 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::saveData ( std::ostream &  os,
fpreal64  v 
)
inlinestatic

Definition at line 344 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::saveData ( std::ostream &  os,
UT_Vector2D  v 
)
inlinestatic

Definition at line 346 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::saveData ( std::ostream &  os,
UT_Vector3D  v 
)
inlinestatic

Definition at line 348 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::saveData ( std::ostream &  os,
UT_Vector4D  v 
)
inlinestatic

Definition at line 351 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::saveData ( std::ostream &  os,
UT_Matrix2D  v 
)
inlinestatic

Definition at line 354 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::saveData ( std::ostream &  os,
UT_Matrix3D  v 
)
inlinestatic

Definition at line 356 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::saveData ( std::ostream &  os,
UT_Matrix4D  v 
)
inlinestatic

Definition at line 358 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::saveData ( std::ostream &  os,
UT_StringHolder  s 
)
inlinestatic

Definition at line 360 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::saveData ( std::ostream &  os,
UT_SharedPtr< UT_Ramp s 
)
inlinestatic

Definition at line 362 of file SOP_Measure.proto.h.

static void SOP_MeasureParms::saveData ( std::ostream &  os,
PRM_DataItemHandle  s 
)
inlinestatic

Definition at line 369 of file SOP_Measure.proto.h.

void SOP_MeasureParms::setAttribname ( const UT_StringHolder val)
inline

Definition at line 448 of file SOP_Measure.proto.h.

void SOP_MeasureParms::setCurve ( UT_Vector2D  val)
inline

Definition at line 468 of file SOP_Measure.proto.h.

void SOP_MeasureParms::setCurvetype ( Curvetype  val)
inline

Definition at line 458 of file SOP_Measure.proto.h.

void SOP_MeasureParms::setGroup ( const UT_StringHolder val)
inline

Definition at line 418 of file SOP_Measure.proto.h.

void SOP_MeasureParms::setOverride ( bool  val)
inline

Definition at line 438 of file SOP_Measure.proto.h.

void SOP_MeasureParms::setParmValue ( exint  idx,
const exint value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 204 of file SOP_Measure.proto.h.

void SOP_MeasureParms::setParmValue ( exint  idx,
const fpreal value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 206 of file SOP_Measure.proto.h.

void SOP_MeasureParms::setParmValue ( exint  idx,
const UT_Vector2D value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 208 of file SOP_Measure.proto.h.

void SOP_MeasureParms::setParmValue ( exint  idx,
const UT_Vector3D value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 210 of file SOP_Measure.proto.h.

void SOP_MeasureParms::setParmValue ( exint  idx,
const UT_Vector4D value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 212 of file SOP_Measure.proto.h.

void SOP_MeasureParms::setParmValue ( exint  idx,
const UT_Matrix2D value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 214 of file SOP_Measure.proto.h.

void SOP_MeasureParms::setParmValue ( exint  idx,
const UT_Matrix3D value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 216 of file SOP_Measure.proto.h.

void SOP_MeasureParms::setParmValue ( exint  idx,
const UT_Matrix4D value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 218 of file SOP_Measure.proto.h.

void SOP_MeasureParms::setParmValue ( exint  idx,
const UT_StringHolder value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 220 of file SOP_Measure.proto.h.

void SOP_MeasureParms::setParmValue ( exint  idx,
const UT_SharedPtr< UT_Ramp > &  value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 222 of file SOP_Measure.proto.h.

void SOP_MeasureParms::setParmValue ( exint  idx,
const PRM_DataItemHandle value 
)
inlinevirtual

Reimplemented from SOP_NodeParms.

Definition at line 224 of file SOP_Measure.proto.h.

void SOP_MeasureParms::setT ( UT_Vector3D  val)
inline

Definition at line 478 of file SOP_Measure.proto.h.

void SOP_MeasureParms::setType ( Type  val)
inline

Definition at line 428 of file SOP_Measure.proto.h.

static int SOP_MeasureParms::version ( )
inlinestatic

Definition at line 42 of file SOP_Measure.proto.h.


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