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, VEXint< PREC > > 
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)
 
void merge (VEX_GeoCommandQueue &src)
 
void sort ()
 
bool isEmpty () const
 
VEXint< PREC > addPrim (VEXint< PREC > srcelem, VEX_GeoPrimType primtype)
 
VEXint< PREC > addPoint (VEXint< PREC > srcelem, VEXvec3< PREC > pos)
 
VEXint< PREC > addPoint (VEXint< PREC > srcelem, VEXint< PREC > srcpt)
 
VEXint< PREC > addVertex (VEXint< PREC > srcelem, VEXint< PREC > primnum, VEXint< PREC > ptnum)
 
void setEdgeGroup (VEXint< PREC > srcelem, const UT_StringHolder &groupname, VEXint< PREC > ptnum0, VEXint< PREC > ptnum1, VEXint< PREC > data)
 
void addLocalVariable (VEXint< PREC > srcelem, const char *attrib, const char *local)
 
void addVisualizer (const UT_StringHolder &visualizer)
 
void rewireVertex (VEXint< PREC > srcelem, VEXint< PREC > primum, VEXint< PREC > vtxidx, VEXint< PREC > ptnum)
 
void removePoint (VEXint< PREC > srcelem, VEXint< PREC > ptnum, bool includeprims)
 
void removePrim (VEXint< PREC > srcelem, VEXint< PREC > primnum, bool includepoints)
 
void setAgentTransform (VEXint< PREC > srcelem, VEXint< PREC > primnum, const VEXmat4< PREC > &xform, VEXint< PREC > xformidx, bool worldspace)
 
void setAgentTransforms (VEXint< PREC > srcelem, VEXint< PREC > primnum, const UT_Array< VEXmat4< PREC >> &xforms, bool worldspace)
 
void setAgentClips (VEXint< PREC > srcelem, VEXint< PREC > primnum, const UT_StringArray &clipnames, const UT_Array< VEXfloat< PREC >> &cliptimes, const UT_Array< VEXfloat< PREC >> &clipweights, const UT_StringArray &clipxformgroups, 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 agentAddClip (VEXint< PREC > srcelem, VEXint< PREC > primnum, const UT_StringHolder &clip_name, const UT_StringHolder &clip, const bool keep_ref)
 
VEX_GeoAttribEdit< PREC > * findEdit (VEX_GeoDictType dict, const char *name)
 
VEX_GeoAttribEdit< PREC > * findOrCreateEdit (VEX_GeoDictType dict, const char *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_Array
< VEX_GeoCommandVertexRewire
< PREC > > 
myVertexRewire
 
UT_Array< VEX_GeoAttribEdit
< PREC > * > 
myAttribEdit
 
UT_Array< VEX_GeoEdgeGroupEdit
< PREC > * > 
myEdgeGroupEdit
 
UT_Array
< VEX_GeoCommandAgentXformEdit
< PREC > > 
myAgentXformEdit
 
UT_Array
< VEX_GeoCommandAgentClipEdit
< PREC > > 
myAgentClipEdit
 
UT_Array
< VEX_GeoCommandAgentAddClip
< PREC > > 
myAgentAddClip
 
UT_Array
< VEX_GeoCommandObjectRemove
< PREC > > 
myPointRemove
 
UT_Array
< VEX_GeoCommandObjectRemove
< PREC > > 
myPointWithPrimRemove
 
UT_Array
< VEX_GeoCommandObjectRemove
< PREC > > 
myPrimRemove
 
UT_Array
< VEX_GeoCommandObjectRemove
< PREC > > 
myPrimWithPointRemove
 
BlockArray myNetPoints
 
BlockArray myNetPrims
 
BlockArray myNetVertices
 
int myNumPrim
 
int myNumPoint
 
int myNumVertex
 

Detailed Description

template<VEX_Precision PREC>
class VEX_GeoCommandQueue< PREC >

Examples:
SOP/SOP_PrimVOP.C.

Definition at line 27 of file CVEX_Context.h.

Member Typedef Documentation

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

Definition at line 800 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 ( VEXint< PREC >  srcelem,
const char *  attrib,
const char *  local 
)
template<VEX_Precision PREC>
VEXint<PREC> VEX_GeoCommandQueue< PREC >::addPoint ( VEXint< PREC >  srcelem,
VEXvec3< PREC >  pos 
)
template<VEX_Precision PREC>
VEXint<PREC> VEX_GeoCommandQueue< PREC >::addPoint ( VEXint< PREC >  srcelem,
VEXint< PREC >  srcpt 
)
template<VEX_Precision PREC>
VEXint<PREC> VEX_GeoCommandQueue< PREC >::addPrim ( VEXint< PREC >  srcelem,
VEX_GeoPrimType  primtype 
)
template<VEX_Precision PREC>
VEXint<PREC> VEX_GeoCommandQueue< PREC >::addVertex ( VEXint< PREC >  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 ( VEXint< PREC >  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 char *  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 char *  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 char* VEX_GeoCommandQueue< PREC >::hardenString ( const char *  str)
template<VEX_Precision PREC>
bool VEX_GeoCommandQueue< PREC >::isEmpty ( ) const
inline

Definition at line 686 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 >::removePoint ( VEXint< PREC >  srcelem,
VEXint< PREC >  ptnum,
bool  includeprims 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::removePrim ( VEXint< PREC >  srcelem,
VEXint< PREC >  primnum,
bool  includepoints 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::rewireVertex ( VEXint< PREC >  srcelem,
VEXint< PREC >  primum,
VEXint< PREC >  vtxidx,
VEXint< PREC >  ptnum 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::setAgentClips ( VEXint< PREC >  srcelem,
VEXint< PREC >  primnum,
const UT_StringArray clipnames,
const UT_Array< VEXfloat< PREC >> &  cliptimes,
const UT_Array< VEXfloat< PREC >> &  clipweights,
const UT_StringArray clipxformgroups,
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 >::setAgentTransform ( VEXint< PREC >  srcelem,
VEXint< PREC >  primnum,
const VEXmat4< PREC > &  xform,
VEXint< PREC >  xformidx,
bool  worldspace 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::setAgentTransforms ( VEXint< PREC >  srcelem,
VEXint< PREC >  primnum,
const UT_Array< VEXmat4< PREC >> &  xforms,
bool  worldspace 
)
template<VEX_Precision PREC>
void VEX_GeoCommandQueue< PREC >::setEdgeGroup ( VEXint< PREC >  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 782 of file VEX_GeoCommand.h.

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

Definition at line 781 of file VEX_GeoCommand.h.

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

Definition at line 780 of file VEX_GeoCommand.h.

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

Definition at line 778 of file VEX_GeoCommand.h.

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

Definition at line 779 of file VEX_GeoCommand.h.

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

Definition at line 772 of file VEX_GeoCommand.h.

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

Definition at line 801 of file VEX_GeoCommand.h.

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

Definition at line 802 of file VEX_GeoCommand.h.

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

Definition at line 803 of file VEX_GeoCommand.h.

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

Definition at line 774 of file VEX_GeoCommand.h.

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

Definition at line 805 of file VEX_GeoCommand.h.

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

Definition at line 805 of file VEX_GeoCommand.h.

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

Definition at line 805 of file VEX_GeoCommand.h.

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

Definition at line 763 of file VEX_GeoCommand.h.

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

Definition at line 788 of file VEX_GeoCommand.h.

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

Definition at line 789 of file VEX_GeoCommand.h.

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

Definition at line 764 of file VEX_GeoCommand.h.

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

Definition at line 790 of file VEX_GeoCommand.h.

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

Definition at line 791 of file VEX_GeoCommand.h.

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

Definition at line 765 of file VEX_GeoCommand.h.

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

Definition at line 777 of file VEX_GeoCommand.h.


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