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

#include <SOP_GroupPromote.proto.h>

+ Inheritance diagram for SOP_GroupPromoteParms:

Classes

struct  Promotions
 

Public Types

using Fromtype = SOP_GroupPromoteEnums::Fromtype
 
using Totype = SOP_GroupPromoteEnums::Totype
 
- 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

UT_StringHolder createString (const UT_Array< Promotions > &list) const
 
 SOP_GroupPromoteParms ()
 
 SOP_GroupPromoteParms (const SOP_GroupPromoteParms &)=default
 
virtual ~SOP_GroupPromoteParms ()
 
bool operator== (const SOP_GroupPromoteParms &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_Array< Promotions > & getPromotions () const
 
void setPromotions (const UT_Array< Promotions > &val)
 
exint opPromotions (const SOP_NodeVerb::CookParms &cookparms) const
 
bool opPromotions_enable (const SOP_NodeVerb::CookParms &cookparms, exint _idx) const
 
int64 opPromotions_fromtype (const SOP_NodeVerb::CookParms &cookparms, exint _idx) const
 
int64 opPromotions_totype (const SOP_NodeVerb::CookParms &cookparms, exint _idx) const
 
UT_StringHolder opPromotions_group (const SOP_NodeVerb::CookParms &cookparms, exint _idx) const
 
UT_StringHolder opPromotions_newname (const SOP_NodeVerb::CookParms &cookparms, exint _idx) const
 
bool opPromotions_preserve (const SOP_NodeVerb::CookParms &cookparms, exint _idx) const
 
bool opPromotions_onlyfull (const SOP_NodeVerb::CookParms &cookparms, exint _idx) const
 
bool opPromotions_toattrib (const SOP_NodeVerb::CookParms &cookparms, exint _idx) 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 41 of file SOP_GroupPromote.proto.h.

Member Typedef Documentation

Constructor & Destructor Documentation

SOP_GroupPromoteParms::SOP_GroupPromoteParms ( )
inline

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

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

Definition at line 128 of file SOP_GroupPromote.proto.h.

Member Function Documentation

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

Definition at line 141 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 192 of file SOP_GroupPromote.proto.h.

UT_StringHolder SOP_GroupPromoteParms::createString ( const UT_Array< Promotions > &  list) const
inline

Definition at line 86 of file SOP_GroupPromote.proto.h.

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

Definition at line 199 of file SOP_GroupPromote.proto.h.

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

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

virtual exint SOP_GroupPromoteParms::getNumParms ( ) const
inlinevirtual

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

Reimplemented from SOP_NodeParms.

Definition at line 263 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 268 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

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

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

Reimplemented from SOP_NodeParms.

Definition at line 207 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 209 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 211 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 213 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 215 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 217 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 219 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 221 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 223 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 225 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

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

const UT_Array<Promotions>& SOP_GroupPromoteParms::getPromotions ( ) const
inline

Definition at line 446 of file SOP_GroupPromote.proto.h.

bool SOP_GroupPromoteParms::load ( UT_IStream is)
inline

Definition at line 416 of file SOP_GroupPromote.proto.h.

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

Definition at line 289 of file SOP_GroupPromote.proto.h.

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

Definition at line 291 of file SOP_GroupPromote.proto.h.

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

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

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

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

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

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

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

Definition at line 300 of file SOP_GroupPromote.proto.h.

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

Definition at line 303 of file SOP_GroupPromote.proto.h.

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

Definition at line 305 of file SOP_GroupPromote.proto.h.

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

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

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

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

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

Definition at line 311 of file SOP_GroupPromote.proto.h.

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

Definition at line 314 of file SOP_GroupPromote.proto.h.

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

Definition at line 317 of file SOP_GroupPromote.proto.h.

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

Definition at line 319 of file SOP_GroupPromote.proto.h.

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

Definition at line 330 of file SOP_GroupPromote.proto.h.

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

Implements SOP_NodeParms.

Definition at line 186 of file SOP_GroupPromote.proto.h.

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

Definition at line 130 of file SOP_GroupPromote.proto.h.

exint SOP_GroupPromoteParms::opPromotions ( const SOP_NodeVerb::CookParms cookparms) const
inline

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

bool SOP_GroupPromoteParms::opPromotions_enable ( const SOP_NodeVerb::CookParms cookparms,
exint  _idx 
) const
inline

Definition at line 456 of file SOP_GroupPromote.proto.h.

int64 SOP_GroupPromoteParms::opPromotions_fromtype ( const SOP_NodeVerb::CookParms cookparms,
exint  _idx 
) const
inline

Definition at line 465 of file SOP_GroupPromote.proto.h.

UT_StringHolder SOP_GroupPromoteParms::opPromotions_group ( const SOP_NodeVerb::CookParms cookparms,
exint  _idx 
) const
inline

Definition at line 483 of file SOP_GroupPromote.proto.h.

UT_StringHolder SOP_GroupPromoteParms::opPromotions_newname ( const SOP_NodeVerb::CookParms cookparms,
exint  _idx 
) const
inline

Definition at line 492 of file SOP_GroupPromote.proto.h.

bool SOP_GroupPromoteParms::opPromotions_onlyfull ( const SOP_NodeVerb::CookParms cookparms,
exint  _idx 
) const
inline

Definition at line 510 of file SOP_GroupPromote.proto.h.

bool SOP_GroupPromoteParms::opPromotions_preserve ( const SOP_NodeVerb::CookParms cookparms,
exint  _idx 
) const
inline

Definition at line 501 of file SOP_GroupPromote.proto.h.

bool SOP_GroupPromoteParms::opPromotions_toattrib ( const SOP_NodeVerb::CookParms cookparms,
exint  _idx 
) const
inline

Definition at line 519 of file SOP_GroupPromote.proto.h.

int64 SOP_GroupPromoteParms::opPromotions_totype ( const SOP_NodeVerb::CookParms cookparms,
exint  _idx 
) const
inline

Definition at line 474 of file SOP_GroupPromote.proto.h.

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

Definition at line 393 of file SOP_GroupPromote.proto.h.

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

Definition at line 350 of file SOP_GroupPromote.proto.h.

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

Definition at line 352 of file SOP_GroupPromote.proto.h.

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

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

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

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

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

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

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

Definition at line 361 of file SOP_GroupPromote.proto.h.

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

Definition at line 364 of file SOP_GroupPromote.proto.h.

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

Definition at line 366 of file SOP_GroupPromote.proto.h.

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

Definition at line 368 of file SOP_GroupPromote.proto.h.

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

Definition at line 370 of file SOP_GroupPromote.proto.h.

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

Definition at line 372 of file SOP_GroupPromote.proto.h.

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

Definition at line 379 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 240 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 242 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 244 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 246 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 248 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 250 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 252 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 254 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 256 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 258 of file SOP_GroupPromote.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 260 of file SOP_GroupPromote.proto.h.

void SOP_GroupPromoteParms::setPromotions ( const UT_Array< Promotions > &  val)
inline

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

static int SOP_GroupPromoteParms::version ( )
inlinestatic

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


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