HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VEX_GeoCommandQueue< PREC > Class Template Reference

#include <CVEX_Context.h>

Classes

struct  VariableEntry
 

Public Types

typedef UT_PageArray< VEXint
< PREC >, 1, true, false,
10, exint
BlockArray
 

Public Member Functions

 VEX_GeoCommandQueue ()
 
 ~VEX_GeoCommandQueue ()
 
const char * hardenString (const char *str)
 
const UT_Array< VEXfloat< PREC > > * hardenArray (const UT_Array< VEXfloat< PREC >> &arr)
 
const UT_Array< VEXvec2< PREC > > * hardenArray (const UT_Array< VEXvec2< PREC >> &arr)
 
const UT_Array< VEXvec3< PREC > > * hardenArray (const UT_Array< VEXvec3< PREC >> &arr)
 
const UT_Array< VEXvec4< PREC > > * hardenArray (const UT_Array< VEXvec4< PREC >> &arr)
 
const UT_Array< VEXmat2< PREC > > * hardenArray (const UT_Array< VEXmat2< PREC >> &arr)
 
const UT_Array< VEXmat3< PREC > > * hardenArray (const UT_Array< VEXmat3< PREC >> &arr)
 
const UT_Array< VEXmat4< PREC > > * hardenArray (const UT_Array< VEXmat4< PREC >> &arr)
 
const UT_Array< VEXint< PREC > > * hardenArray (const UT_Array< VEXint< PREC >> &arr)
 
const UT_Array< const char * > * hardenArray (const UT_Array< const char * > &arr)
 
const UT_Array
< UT_OptionsHolder > * 
hardenArray (const UT_Array< UT_OptionsHolder > &arr)
 
void merge (VEX_GeoCommandQueue &src)
 
void sort ()
 
bool isEmpty () const
 
VEXint< PREC > addPrim (exint srcelem, VEX_GeoPrimType primtype)
 
VEXint< PREC > addPoint (exint srcelem, VEXvec3< PREC > pos)
 
VEXint< PREC > addPoint (exint srcelem, VEXint< PREC > srcpt)
 
VEXint< PREC > addVertex (exint srcelem, VEXint< PREC > primnum, VEXint< PREC > ptnum)
 
void setEdgeGroup (exint srcelem, const UT_StringHolder &groupname, VEXint< PREC > ptnum0, VEXint< PREC > ptnum1, VEXint< PREC > data)
 
void addLocalVariable (exint srcelem, const char *attrib, const char *local)
 
void addVisualizer (const UT_StringHolder &visualizer)
 
void rewireVertex (exint srcelem, VEXint< PREC > primum, VEXint< PREC > vtxidx, VEXint< PREC > ptnum)
 
void removeAttrib (VEX_GeoDictType owner, const UT_StringHolder &name)
 
void removePoint (exint srcelem, VEXint< PREC > ptnum, bool includeprims)
 
void removePrim (exint srcelem, VEXint< PREC > primnum, bool includepoints)
 
void removeVertex (exint srcelem, VEXint< PREC > primnum)
 
void setAgentChannelValue (exint srcelem, VEXint< PREC > primnum, VEXfloat< PREC > value, VEXint< PREC > channelidx)
 
void setAgentTransform (exint srcelem, VEXint< PREC > primnum, const VEXmat4< PREC > &xform, VEXint< PREC > xformidx, bool worldspace)
 
void setAgentTransforms (exint srcelem, VEXint< PREC > primnum, const UT_Array< VEXmat4< PREC >> &xforms, bool worldspace)
 
void setAgentClips (exint srcelem, VEXint< PREC > primnum, const UT_Array< VEXint< PREC >> &clipids, const UT_Array< VEXfloat< PREC >> &cliptimes, const UT_Array< VEXfloat< PREC >> &clipweights, const UT_Array< VEXint< PREC >> &clipxformgroupids, const UT_Array< VEXint< PREC >> &cliplayerids, const UT_Array< VEXint< PREC >> &cliplayermodes, const UT_Array< VEXfloat< PREC >> &cliplayerweights, const UT_Array< VEXint< PREC >> &cliplayerparents)
 
void setAgentLayers (exint srcelem, VEXint< PREC > primnum, const UT_Array< VEXint< PREC >> &layer_ids, bool is_collision)
 
void agentAddClip (exint srcelem, VEXint< PREC > primnum, const UT_StringHolder &clip_name, const UT_StringHolder &clip, const bool keep_ref)
 
void primChannelInsertKey (exint srcelem, VEXint< PREC > primnum, float time)
 
void primChannelDestroyKey (exint srcelem, VEXint< PREC > primnum, float time)
 
void primChannelClear (exint srcelem, VEXint< PREC > primnum)
 
void primChannelSetKeyValue (exint srcelem, VEXint< PREC > primnum, float time, float value, VEX_GeoPrimChannelKeyHalf half=VEX_GeoPrimChannelKeyHalf::InOut)
 
void primChannelSetKeySlope (exint srcelem, VEXint< PREC > primnum, float time, float slope, VEX_GeoPrimChannelKeyHalf half=VEX_GeoPrimChannelKeyHalf::InOut)
 
void primChannelSetKeyAccel (exint srcelem, VEXint< PREC > primnum, float time, float accel, VEX_GeoPrimChannelKeyHalf half=VEX_GeoPrimChannelKeyHalf::InOut)
 
VEX_GeoAttribEdit< PREC > * findEdit (VEX_GeoDictType dict, const UT_StringRef &name)
 
VEX_GeoAttribEdit< PREC > * findOrCreateEdit (VEX_GeoDictType dict, const UT_StringRef &name)
 
VEX_UsdEdit< PREC > * findOrCreateUsdEdit (VEX_GeoDictType dict, const UT_StringRef &path, const UT_StringRef &name)
 
VEX_GeoEdgeGroupEdit< PREC > * findOrCreateEdgeGroupEdit (const UT_StringHolder &groupname)
 

Public Attributes

UT_Array
< VEX_GeoCommandPointAdd< PREC > > 
myPointAdd
 
UT_Array
< VEX_GeoCommandPrimAdd< PREC > > 
myPrimAdd
 
UT_Array
< VEX_GeoCommandVertexAdd
< PREC > > 
myVertexAdd
 
UT_StringMap< VariableEntrymyLocalVariables
 
UT_StringSetmyNewVisualizers
 
UT_StringSetmyAttribRemoval [(int) VEX_GeoDictType::INVALID]
 
UT_Array
< VEX_GeoCommandVertexRewire
< PREC > > 
myVertexRewire
 
UT_Array< VEX_GeoAttribEdit
< PREC > * > 
myAttribEdit
 
VEX_AttribEditIndexMap myAttribEditIndexMap
 
UT_Array< VEX_UsdEdit< PREC > * > myUsdEdit
 
VEX_AttribEditIndexMap myUsdEditIndexMap
 
UT_Array< VEX_GeoEdgeGroupEdit
< PREC > * > 
myEdgeGroupEdit
 
UT_Array
< VEX_GeoCommandAgentChannelEdit
< PREC > > 
myAgentChannelEdit
 
UT_Array
< VEX_GeoCommandAgentXformEdit
< PREC > > 
myAgentXformEdit
 
UT_Array
< VEX_GeoCommandAgentClipEdit
< PREC > > 
myAgentClipEdit
 
UT_Array
< VEX_GeoCommandAgentLayerEdit
< PREC > > 
myAgentLayerEdit
 
UT_Array
< VEX_GeoCommandAgentAddClip
< PREC > > 
myAgentAddClip
 
UT_Array
< VEX_GeoCommandPrimChannelEdit
< PREC > > 
myPrimChannelEdit
 
UT_Array
< VEX_GeoCommandObjectRemove
< PREC > > 
myPointRemove
 
UT_Array
< VEX_GeoCommandObjectRemove
< PREC > > 
myPointWithPrimRemove
 
UT_Array
< VEX_GeoCommandObjectRemove
< PREC > > 
myPrimRemove
 
UT_Array
< VEX_GeoCommandObjectRemove
< PREC > > 
myPrimWithPointRemove
 
UT_Array
< VEX_GeoCommandObjectRemove
< PREC > > 
myVertexRemove
 
BlockArray myNetPoints
 
BlockArray myNetPrims
 
BlockArray myNetVertices
 
exint myNumPrim
 
exint myNumPoint
 
exint myNumVertex
 

Detailed Description

template<VEX_Precision PREC>
class VEX_GeoCommandQueue< PREC >

Examples:
SOP/SOP_PrimVOP.C.

Definition at line 29 of file CVEX_Context.h.

Member Typedef Documentation

template<VEX_Precision PREC>
typedef UT_PageArray< VEXint<PREC>, 1, true, false, 10, exint > VEX_GeoCommandQueue< PREC >::BlockArray

Definition at line 1074 of file VEX_GeoCommand.h.

Constructor & Destructor Documentation

template<VEX_Precision PREC>
VEX_GeoCommandQueue< PREC >::VEX_GeoCommandQueue ( )
template<VEX_Precision PREC>
VEX_GeoCommandQueue< PREC >::~VEX_GeoCommandQueue ( )

Member Function Documentation

template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::addLocalVariable ( exint  srcelem,
const char *  attrib,
const char *  local 
)
template<VEX_Precision PREC>
VEXint<PREC> VEX_GeoCommandQueue< PREC >::addPoint ( exint  srcelem,
VEXvec3< PREC >  pos 
)
template<VEX_Precision PREC>
VEXint<PREC> VEX_GeoCommandQueue< PREC >::addPoint ( exint  srcelem,
VEXint< PREC >  srcpt 
)
template<VEX_Precision PREC>
VEXint<PREC> VEX_GeoCommandQueue< PREC >::addPrim ( exint  srcelem,
VEX_GeoPrimType  primtype 
)
template<VEX_Precision PREC>
VEXint<PREC> VEX_GeoCommandQueue< PREC >::addVertex ( exint  srcelem,
VEXint< PREC >  primnum,
VEXint< PREC >  ptnum 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::addVisualizer ( const UT_StringHolder visualizer)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::agentAddClip ( exint  srcelem,
VEXint< PREC >  primnum,
const UT_StringHolder clip_name,
const UT_StringHolder clip,
const bool  keep_ref 
)
template<VEX_Precision PREC>
VEX_GeoAttribEdit<PREC>* VEX_GeoCommandQueue< PREC >::findEdit ( VEX_GeoDictType  dict,
const UT_StringRef name 
)
template<VEX_Precision PREC>
VEX_GeoEdgeGroupEdit<PREC>* VEX_GeoCommandQueue< PREC >::findOrCreateEdgeGroupEdit ( const UT_StringHolder groupname)
template<VEX_Precision PREC>
VEX_GeoAttribEdit<PREC>* VEX_GeoCommandQueue< PREC >::findOrCreateEdit ( VEX_GeoDictType  dict,
const UT_StringRef name 
)
template<VEX_Precision PREC>
VEX_UsdEdit<PREC>* VEX_GeoCommandQueue< PREC >::findOrCreateUsdEdit ( VEX_GeoDictType  dict,
const UT_StringRef path,
const UT_StringRef name 
)
template<VEX_Precision PREC>
const UT_Array<VEXfloat<PREC> >* VEX_GeoCommandQueue< PREC >::hardenArray ( const UT_Array< VEXfloat< PREC >> &  arr)
template<VEX_Precision PREC>
const UT_Array<VEXvec2<PREC> >* VEX_GeoCommandQueue< PREC >::hardenArray ( const UT_Array< VEXvec2< PREC >> &  arr)
template<VEX_Precision PREC>
const UT_Array<VEXvec3<PREC> >* VEX_GeoCommandQueue< PREC >::hardenArray ( const UT_Array< VEXvec3< PREC >> &  arr)
template<VEX_Precision PREC>
const UT_Array<VEXvec4<PREC> >* VEX_GeoCommandQueue< PREC >::hardenArray ( const UT_Array< VEXvec4< PREC >> &  arr)
template<VEX_Precision PREC>
const UT_Array<VEXmat2<PREC> >* VEX_GeoCommandQueue< PREC >::hardenArray ( const UT_Array< VEXmat2< PREC >> &  arr)
template<VEX_Precision PREC>
const UT_Array<VEXmat3<PREC> >* VEX_GeoCommandQueue< PREC >::hardenArray ( const UT_Array< VEXmat3< PREC >> &  arr)
template<VEX_Precision PREC>
const UT_Array<VEXmat4<PREC> >* VEX_GeoCommandQueue< PREC >::hardenArray ( const UT_Array< VEXmat4< PREC >> &  arr)
template<VEX_Precision PREC>
const UT_Array<VEXint<PREC> >* VEX_GeoCommandQueue< PREC >::hardenArray ( const UT_Array< VEXint< PREC >> &  arr)
template<VEX_Precision PREC>
const UT_Array<const char *>* VEX_GeoCommandQueue< PREC >::hardenArray ( const UT_Array< const char * > &  arr)
template<VEX_Precision PREC>
const UT_Array<UT_OptionsHolder>* VEX_GeoCommandQueue< PREC >::hardenArray ( const UT_Array< UT_OptionsHolder > &  arr)
template<VEX_Precision PREC>
const char* VEX_GeoCommandQueue< PREC >::hardenString ( const char *  str)
template<VEX_Precision PREC>
bool VEX_GeoCommandQueue< PREC >::isEmpty ( ) const
inline

Definition at line 897 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::merge ( VEX_GeoCommandQueue< PREC > &  src)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::primChannelClear ( exint  srcelem,
VEXint< PREC >  primnum 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::primChannelDestroyKey ( exint  srcelem,
VEXint< PREC >  primnum,
float  time 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::primChannelInsertKey ( exint  srcelem,
VEXint< PREC >  primnum,
float  time 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::primChannelSetKeyAccel ( exint  srcelem,
VEXint< PREC >  primnum,
float  time,
float  accel,
VEX_GeoPrimChannelKeyHalf  half = VEX_GeoPrimChannelKeyHalf::InOut 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::primChannelSetKeySlope ( exint  srcelem,
VEXint< PREC >  primnum,
float  time,
float  slope,
VEX_GeoPrimChannelKeyHalf  half = VEX_GeoPrimChannelKeyHalf::InOut 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::primChannelSetKeyValue ( exint  srcelem,
VEXint< PREC >  primnum,
float  time,
float  value,
VEX_GeoPrimChannelKeyHalf  half = VEX_GeoPrimChannelKeyHalf::InOut 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::removeAttrib ( VEX_GeoDictType  owner,
const UT_StringHolder name 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::removePoint ( exint  srcelem,
VEXint< PREC >  ptnum,
bool  includeprims 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::removePrim ( exint  srcelem,
VEXint< PREC >  primnum,
bool  includepoints 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::removeVertex ( exint  srcelem,
VEXint< PREC >  primnum 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::rewireVertex ( exint  srcelem,
VEXint< PREC >  primum,
VEXint< PREC >  vtxidx,
VEXint< PREC >  ptnum 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::setAgentChannelValue ( exint  srcelem,
VEXint< PREC >  primnum,
VEXfloat< PREC >  value,
VEXint< PREC >  channelidx 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::setAgentClips ( exint  srcelem,
VEXint< PREC >  primnum,
const UT_Array< VEXint< PREC >> &  clipids,
const UT_Array< VEXfloat< PREC >> &  cliptimes,
const UT_Array< VEXfloat< PREC >> &  clipweights,
const UT_Array< VEXint< PREC >> &  clipxformgroupids,
const UT_Array< VEXint< PREC >> &  cliplayerids,
const UT_Array< VEXint< PREC >> &  cliplayermodes,
const UT_Array< VEXfloat< PREC >> &  cliplayerweights,
const UT_Array< VEXint< PREC >> &  cliplayerparents 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::setAgentLayers ( exint  srcelem,
VEXint< PREC >  primnum,
const UT_Array< VEXint< PREC >> &  layer_ids,
bool  is_collision 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::setAgentTransform ( exint  srcelem,
VEXint< PREC >  primnum,
const VEXmat4< PREC > &  xform,
VEXint< PREC >  xformidx,
bool  worldspace 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::setAgentTransforms ( exint  srcelem,
VEXint< PREC >  primnum,
const UT_Array< VEXmat4< PREC >> &  xforms,
bool  worldspace 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::setEdgeGroup ( exint  srcelem,
const UT_StringHolder groupname,
VEXint< PREC >  ptnum0,
VEXint< PREC >  ptnum1,
VEXint< PREC >  data 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::sort ( )

Member Data Documentation

template<VEX_Precision PREC>
UT_Array<VEX_GeoCommandAgentAddClip<PREC> > VEX_GeoCommandQueue< PREC >::myAgentAddClip

Definition at line 1053 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
UT_Array<VEX_GeoCommandAgentChannelEdit<PREC> > VEX_GeoCommandQueue< PREC >::myAgentChannelEdit

Definition at line 1049 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
UT_Array<VEX_GeoCommandAgentClipEdit<PREC> > VEX_GeoCommandQueue< PREC >::myAgentClipEdit

Definition at line 1051 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
UT_Array<VEX_GeoCommandAgentLayerEdit<PREC> > VEX_GeoCommandQueue< PREC >::myAgentLayerEdit

Definition at line 1052 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
UT_Array<VEX_GeoCommandAgentXformEdit<PREC> > VEX_GeoCommandQueue< PREC >::myAgentXformEdit

Definition at line 1050 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
UT_Array<VEX_GeoAttribEdit<PREC> *> VEX_GeoCommandQueue< PREC >::myAttribEdit

Definition at line 1044 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
VEX_AttribEditIndexMap VEX_GeoCommandQueue< PREC >::myAttribEditIndexMap

Definition at line 1045 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
UT_StringSet* VEX_GeoCommandQueue< PREC >::myAttribRemoval[(int) VEX_GeoDictType::INVALID]

Definition at line 1040 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
UT_Array<VEX_GeoEdgeGroupEdit<PREC> *> VEX_GeoCommandQueue< PREC >::myEdgeGroupEdit

Definition at line 1048 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
UT_StringMap<VariableEntry> VEX_GeoCommandQueue< PREC >::myLocalVariables

Definition at line 1037 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
BlockArray VEX_GeoCommandQueue< PREC >::myNetPoints

Definition at line 1075 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
BlockArray VEX_GeoCommandQueue< PREC >::myNetPrims

Definition at line 1076 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
BlockArray VEX_GeoCommandQueue< PREC >::myNetVertices

Definition at line 1077 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
UT_StringSet* VEX_GeoCommandQueue< PREC >::myNewVisualizers

Definition at line 1039 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
exint VEX_GeoCommandQueue< PREC >::myNumPoint

Definition at line 1079 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
exint VEX_GeoCommandQueue< PREC >::myNumPrim

Definition at line 1079 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
exint VEX_GeoCommandQueue< PREC >::myNumVertex

Definition at line 1079 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
UT_Array<VEX_GeoCommandPointAdd<PREC> > VEX_GeoCommandQueue< PREC >::myPointAdd

Definition at line 1028 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
UT_Array<VEX_GeoCommandObjectRemove<PREC> > VEX_GeoCommandQueue< PREC >::myPointRemove

Definition at line 1061 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
UT_Array<VEX_GeoCommandObjectRemove<PREC> > VEX_GeoCommandQueue< PREC >::myPointWithPrimRemove

Definition at line 1062 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
UT_Array<VEX_GeoCommandPrimAdd<PREC> > VEX_GeoCommandQueue< PREC >::myPrimAdd

Definition at line 1029 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
UT_Array<VEX_GeoCommandPrimChannelEdit<PREC> > VEX_GeoCommandQueue< PREC >::myPrimChannelEdit

Definition at line 1055 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
UT_Array<VEX_GeoCommandObjectRemove<PREC> > VEX_GeoCommandQueue< PREC >::myPrimRemove

Definition at line 1063 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
UT_Array<VEX_GeoCommandObjectRemove<PREC> > VEX_GeoCommandQueue< PREC >::myPrimWithPointRemove

Definition at line 1064 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
UT_Array<VEX_UsdEdit<PREC> *> VEX_GeoCommandQueue< PREC >::myUsdEdit

Definition at line 1046 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
VEX_AttribEditIndexMap VEX_GeoCommandQueue< PREC >::myUsdEditIndexMap

Definition at line 1047 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
UT_Array<VEX_GeoCommandVertexAdd<PREC> > VEX_GeoCommandQueue< PREC >::myVertexAdd

Definition at line 1030 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
UT_Array<VEX_GeoCommandObjectRemove<PREC> > VEX_GeoCommandQueue< PREC >::myVertexRemove

Definition at line 1065 of file VEX_GeoCommand.h.

template<VEX_Precision PREC>
UT_Array<VEX_GeoCommandVertexRewire<PREC> > VEX_GeoCommandQueue< PREC >::myVertexRewire

Definition at line 1043 of file VEX_GeoCommand.h.


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