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

#include <SOP_Line.proto.h>

+ Inheritance diagram for SOP_LineParms:

Public Types

using Type = SOP_LineEnums::Type
 
- 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_LineParms ()
 
 SOP_LineParms (const SOP_LineParms &)=default
 
virtual ~SOP_LineParms ()
 
bool operator== (const SOP_LineParms &src) const
 
bool operator!= (const SOP_LineParms &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)
 
Type getType () const
 
void setType (Type val)
 
Type opType (const SOP_NodeVerb::CookParms &cookparms) const
 
UT_Vector3D getOrigin () const
 
void setOrigin (UT_Vector3D val)
 
UT_Vector3D opOrigin (const SOP_NodeVerb::CookParms &cookparms) const
 
UT_Vector3D getDir () const
 
void setDir (UT_Vector3D val)
 
UT_Vector3D opDir (const SOP_NodeVerb::CookParms &cookparms) const
 
fpreal64 getDist () const
 
void setDist (fpreal64 val)
 
fpreal64 opDist (const SOP_NodeVerb::CookParms &cookparms) const
 
int64 getPoints () const
 
void setPoints (int64 val)
 
int64 opPoints (const SOP_NodeVerb::CookParms &cookparms) const
 
int64 getOrder () const
 
void setOrder (int64 val)
 
int64 opOrder (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 33 of file SOP_Line.proto.h.

Member Typedef Documentation

Definition at line 68 of file SOP_Line.proto.h.

Constructor & Destructor Documentation

SOP_LineParms::SOP_LineParms ( )
inline

Definition at line 38 of file SOP_Line.proto.h.

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

Definition at line 51 of file SOP_Line.proto.h.

Member Function Documentation

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

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

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

Reimplemented from SOP_NodeParms.

Definition at line 102 of file SOP_Line.proto.h.

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

Definition at line 109 of file SOP_Line.proto.h.

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

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

UT_Vector3D SOP_LineParms::getDir ( ) const
inline

Definition at line 413 of file SOP_Line.proto.h.

fpreal64 SOP_LineParms::getDist ( ) const
inline

Definition at line 423 of file SOP_Line.proto.h.

virtual exint SOP_LineParms::getNumParms ( ) const
inlinevirtual

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

Reimplemented from SOP_NodeParms.

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

int64 SOP_LineParms::getOrder ( void  ) const
inline

Definition at line 443 of file SOP_Line.proto.h.

UT_Vector3D SOP_LineParms::getOrigin ( ) const
inline

Definition at line 403 of file SOP_Line.proto.h.

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

Reimplemented from SOP_NodeParms.

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

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

Reimplemented from SOP_NodeParms.

Definition at line 235 of file SOP_Line.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 135 of file SOP_Line.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 137 of file SOP_Line.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 139 of file SOP_Line.proto.h.

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

Reimplemented from SOP_NodeParms.

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

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

Reimplemented from SOP_NodeParms.

Definition at line 143 of file SOP_Line.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 145 of file SOP_Line.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 147 of file SOP_Line.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 149 of file SOP_Line.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 151 of file SOP_Line.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 153 of file SOP_Line.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 155 of file SOP_Line.proto.h.

int64 SOP_LineParms::getPoints ( void  ) const
inline

Definition at line 433 of file SOP_Line.proto.h.

Type SOP_LineParms::getType ( void  ) const
inline

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

bool SOP_LineParms::load ( UT_IStream is)
inline

Definition at line 374 of file SOP_Line.proto.h.

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

Definition at line 257 of file SOP_Line.proto.h.

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

Definition at line 259 of file SOP_Line.proto.h.

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

Definition at line 261 of file SOP_Line.proto.h.

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

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

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

Definition at line 265 of file SOP_Line.proto.h.

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

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

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

Definition at line 271 of file SOP_Line.proto.h.

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

Definition at line 273 of file SOP_Line.proto.h.

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

Definition at line 275 of file SOP_Line.proto.h.

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

Definition at line 277 of file SOP_Line.proto.h.

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

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

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

Definition at line 282 of file SOP_Line.proto.h.

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

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

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

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

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

Definition at line 298 of file SOP_Line.proto.h.

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

Implements SOP_NodeParms.

Definition at line 96 of file SOP_Line.proto.h.

UT_Vector3D SOP_LineParms::opDir ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 415 of file SOP_Line.proto.h.

fpreal64 SOP_LineParms::opDist ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 425 of file SOP_Line.proto.h.

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

Definition at line 64 of file SOP_Line.proto.h.

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

Definition at line 53 of file SOP_Line.proto.h.

int64 SOP_LineParms::opOrder ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 445 of file SOP_Line.proto.h.

UT_Vector3D SOP_LineParms::opOrigin ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 405 of file SOP_Line.proto.h.

int64 SOP_LineParms::opPoints ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 435 of file SOP_Line.proto.h.

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

Definition at line 395 of file SOP_Line.proto.h.

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

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

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

Definition at line 318 of file SOP_Line.proto.h.

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

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

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

Definition at line 322 of file SOP_Line.proto.h.

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

Definition at line 324 of file SOP_Line.proto.h.

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

Definition at line 326 of file SOP_Line.proto.h.

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

Definition at line 329 of file SOP_Line.proto.h.

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

Definition at line 332 of file SOP_Line.proto.h.

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

Definition at line 334 of file SOP_Line.proto.h.

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

Definition at line 336 of file SOP_Line.proto.h.

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

Definition at line 338 of file SOP_Line.proto.h.

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

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

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

Definition at line 347 of file SOP_Line.proto.h.

void SOP_LineParms::setDir ( UT_Vector3D  val)
inline

Definition at line 414 of file SOP_Line.proto.h.

void SOP_LineParms::setDist ( fpreal64  val)
inline

Definition at line 424 of file SOP_Line.proto.h.

void SOP_LineParms::setOrder ( int64  val)
inline

Definition at line 444 of file SOP_Line.proto.h.

void SOP_LineParms::setOrigin ( UT_Vector3D  val)
inline

Definition at line 404 of file SOP_Line.proto.h.

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

Reimplemented from SOP_NodeParms.

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

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

Reimplemented from SOP_NodeParms.

Definition at line 188 of file SOP_Line.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 190 of file SOP_Line.proto.h.

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

Reimplemented from SOP_NodeParms.

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

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

Reimplemented from SOP_NodeParms.

Definition at line 194 of file SOP_Line.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 196 of file SOP_Line.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 198 of file SOP_Line.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 200 of file SOP_Line.proto.h.

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

Reimplemented from SOP_NodeParms.

Definition at line 202 of file SOP_Line.proto.h.

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

Reimplemented from SOP_NodeParms.

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

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

Reimplemented from SOP_NodeParms.

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

void SOP_LineParms::setPoints ( int64  val)
inline

Definition at line 434 of file SOP_Line.proto.h.

void SOP_LineParms::setType ( Type  val)
inline

Definition at line 394 of file SOP_Line.proto.h.

static int SOP_LineParms::version ( )
inlinestatic

Definition at line 36 of file SOP_Line.proto.h.


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