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

#include <VEX_GeoCommand.h>

Classes

class  DefaultValue
 

Public Types

enum  DICT_TYPE {
  DICT_DETAIL, DICT_PRIM, DICT_PRIMINTRINSIC, DICT_PRIMGROUP,
  DICT_POINT, DICT_POINTGROUP, DICT_VERTEX, DICT_VERTEXGROUP,
  DICT_INVALID
}
 
enum  TYPEINFO_TYPE {
  TYPEINFO_NOCHANGE = -1, TYPEINFO_NONE = 0, TYPEINFO_POINT, TYPEINFO_HPOINT,
  TYPEINFO_VECTOR, TYPEINFO_NORMAL, TYPEINFO_COLOR, TYPEINFO_TRANSFORM,
  TYPEINFO_QUATERNION, TYPEINFO_INDEXPAIR, TYPEINFO_NONARITHMETIC_INTEGER, TYPEINFO_ARITHMETIC_INTEGER,
  TYPEINFO_TEXTURE_COORD
}
 

Public Member Functions

 VEX_GeoAttribEdit (DICT_TYPE dict, const char *name)
 
 ~VEX_GeoAttribEdit ()
 
void setTypeInfo (exint srcelem, const char *typeinfo)
 
void addAttribute (exint srcelem, VEX_Type type, bool isarray, const DefaultValue &value)
 
void appendEdit (exint srcelem, int objnum, int secnum, VEX_GeoCommand::MODE_TYPE mode, float data)
 
void appendEdit (exint srcelem, int objnum, int secnum, VEX_GeoCommand::MODE_TYPE mode, int data)
 
void appendEdit (exint srcelem, int objnum, int secnum, VEX_GeoCommand::MODE_TYPE mode, UT_Vector2 data)
 
void appendEdit (exint srcelem, int objnum, int secnum, VEX_GeoCommand::MODE_TYPE mode, UT_Vector3 data)
 
void appendEdit (exint srcelem, int objnum, int secnum, VEX_GeoCommand::MODE_TYPE mode, UT_Vector4 data)
 
void appendEdit (exint srcelem, int objnum, int secnum, VEX_GeoCommand::MODE_TYPE mode, UT_Matrix2 data)
 
void appendEdit (exint srcelem, int objnum, int secnum, VEX_GeoCommand::MODE_TYPE mode, UT_Matrix3 data)
 
void appendEdit (exint srcelem, int objnum, int secnum, VEX_GeoCommand::MODE_TYPE mode, UT_Matrix4 data)
 
void appendEdit (exint srcelem, int objnum, int secnum, VEX_GeoCommand::MODE_TYPE mode, const char *data)
 
void appendEdit (exint srcelem, int objnum, int secnum, VEX_GeoCommand::MODE_TYPE mode, const UT_Array< float > *data)
 
void appendEdit (exint srcelem, int objnum, int secnum, VEX_GeoCommand::MODE_TYPE mode, const UT_Array< UT_Vector2 > *data)
 
void appendEdit (exint srcelem, int objnum, int secnum, VEX_GeoCommand::MODE_TYPE mode, const UT_Array< UT_Vector3 > *data)
 
void appendEdit (exint srcelem, int objnum, int secnum, VEX_GeoCommand::MODE_TYPE mode, const UT_Array< UT_Vector4 > *data)
 
void appendEdit (exint srcelem, int objnum, int secnum, VEX_GeoCommand::MODE_TYPE mode, const UT_Array< UT_Matrix2 > *data)
 
void appendEdit (exint srcelem, int objnum, int secnum, VEX_GeoCommand::MODE_TYPE mode, const UT_Array< UT_Matrix3 > *data)
 
void appendEdit (exint srcelem, int objnum, int secnum, VEX_GeoCommand::MODE_TYPE mode, const UT_Array< UT_Matrix4 > *data)
 
void appendEdit (exint srcelem, int objnum, int secnum, VEX_GeoCommand::MODE_TYPE mode, const UT_Array< int > *data)
 
void appendEdit (exint srcelem, int objnum, int secnum, VEX_GeoCommand::MODE_TYPE mode, const UT_Array< const char * > *data)
 
void merge (VEX_GeoAttribEdit &src)
 
void sort ()
 
void clear ()
 
UT_Array
< VEX_GeoCommandAttribEdit
< float > > * 
fCmd ()
 
UT_Array
< VEX_GeoCommandAttribEdit
< int > > * 
iCmd ()
 
UT_Array
< VEX_GeoCommandAttribEdit
< UT_Vector2 > > * 
v2Cmd ()
 
UT_Array
< VEX_GeoCommandAttribEdit
< UT_Vector3 > > * 
v3Cmd ()
 
UT_Array
< VEX_GeoCommandAttribEdit
< UT_Vector4 > > * 
v4Cmd ()
 
UT_Array
< VEX_GeoCommandAttribEdit
< UT_Matrix2 > > * 
m2Cmd ()
 
UT_Array
< VEX_GeoCommandAttribEdit
< UT_Matrix3 > > * 
m3Cmd ()
 
UT_Array
< VEX_GeoCommandAttribEdit
< UT_Matrix4 > > * 
m4Cmd ()
 
UT_Array
< VEX_GeoCommandAttribEdit
< const char * > > * 
sCmd ()
 
UT_Array
< VEX_GeoCommandAttribEdit
< const UT_Array< float > * > > * 
afCmd ()
 
UT_Array
< VEX_GeoCommandAttribEdit
< const UT_Array< UT_Vector2 > * > > * 
av2Cmd ()
 
UT_Array
< VEX_GeoCommandAttribEdit
< const UT_Array< UT_Vector3 > * > > * 
av3Cmd ()
 
UT_Array
< VEX_GeoCommandAttribEdit
< const UT_Array< UT_Vector4 > * > > * 
av4Cmd ()
 
UT_Array
< VEX_GeoCommandAttribEdit
< const UT_Array< UT_Matrix2 > * > > * 
am2Cmd ()
 
UT_Array
< VEX_GeoCommandAttribEdit
< const UT_Array< UT_Matrix3 > * > > * 
am3Cmd ()
 
UT_Array
< VEX_GeoCommandAttribEdit
< const UT_Array< UT_Matrix4 > * > > * 
am4Cmd ()
 
UT_Array
< VEX_GeoCommandAttribEdit
< const UT_Array< int > * > > * 
aiCmd ()
 
UT_Array
< VEX_GeoCommandAttribEdit
< const UT_Array< const char * > * > > * 
asCmd ()
 
DICT_TYPE dict () const
 
const char * name () const
 
VEX_Type type () const
 
bool isArray () const
 
bool shouldcreate () const
 
TYPEINFO_TYPE typeinfo () const
 
const DefaultValuedefaultValue () const
 

Static Public Member Functions

static DICT_TYPE dictFromString (const char *dict)
 
static TYPEINFO_TYPE typeinfoFromString (const char *info)
 

Protected Attributes

exint myDefiningElem
 
DICT_TYPE myDict
 
UT_String myName
 
VEX_Type myType
 
bool myIsArray
 
exint myTypeInfoElem
 
TYPEINFO_TYPE myTypeInfo
 
voidmyCmdList
 
exint myCreationElem
 
bool myDoCreate
 
DefaultValue myDefValue
 

Detailed Description

Definition at line 318 of file VEX_GeoCommand.h.

Member Enumeration Documentation

Enumerator
DICT_DETAIL 
DICT_PRIM 
DICT_PRIMINTRINSIC 
DICT_PRIMGROUP 
DICT_POINT 
DICT_POINTGROUP 
DICT_VERTEX 
DICT_VERTEXGROUP 
DICT_INVALID 

Definition at line 322 of file VEX_GeoCommand.h.

Enumerator
TYPEINFO_NOCHANGE 
TYPEINFO_NONE 
TYPEINFO_POINT 
TYPEINFO_HPOINT 
TYPEINFO_VECTOR 
TYPEINFO_NORMAL 
TYPEINFO_COLOR 
TYPEINFO_TRANSFORM 
TYPEINFO_QUATERNION 
TYPEINFO_INDEXPAIR 
TYPEINFO_NONARITHMETIC_INTEGER 
TYPEINFO_ARITHMETIC_INTEGER 
TYPEINFO_TEXTURE_COORD 

Definition at line 338 of file VEX_GeoCommand.h.

Constructor & Destructor Documentation

VEX_GeoAttribEdit::VEX_GeoAttribEdit ( DICT_TYPE  dict,
const char *  name 
)
VEX_GeoAttribEdit::~VEX_GeoAttribEdit ( )

Member Function Documentation

void VEX_GeoAttribEdit::addAttribute ( exint  srcelem,
VEX_Type  type,
bool  isarray,
const DefaultValue value 
)
UT_Array<VEX_GeoCommandAttribEdit<const UT_Array<float> *> >* VEX_GeoAttribEdit::afCmd ( )
inline

Definition at line 540 of file VEX_GeoCommand.h.

UT_Array<VEX_GeoCommandAttribEdit<const UT_Array<int> *> >* VEX_GeoAttribEdit::aiCmd ( )
inline

Definition at line 583 of file VEX_GeoCommand.h.

UT_Array<VEX_GeoCommandAttribEdit<const UT_Array<UT_Matrix2> *> >* VEX_GeoAttribEdit::am2Cmd ( )
inline

Definition at line 564 of file VEX_GeoCommand.h.

UT_Array<VEX_GeoCommandAttribEdit<const UT_Array<UT_Matrix3> *> >* VEX_GeoAttribEdit::am3Cmd ( )
inline

Definition at line 570 of file VEX_GeoCommand.h.

UT_Array<VEX_GeoCommandAttribEdit<const UT_Array<UT_Matrix4> *> >* VEX_GeoAttribEdit::am4Cmd ( )
inline

Definition at line 576 of file VEX_GeoCommand.h.

void VEX_GeoAttribEdit::appendEdit ( exint  srcelem,
int  objnum,
int  secnum,
VEX_GeoCommand::MODE_TYPE  mode,
float  data 
)
void VEX_GeoAttribEdit::appendEdit ( exint  srcelem,
int  objnum,
int  secnum,
VEX_GeoCommand::MODE_TYPE  mode,
int  data 
)
void VEX_GeoAttribEdit::appendEdit ( exint  srcelem,
int  objnum,
int  secnum,
VEX_GeoCommand::MODE_TYPE  mode,
UT_Vector2  data 
)
void VEX_GeoAttribEdit::appendEdit ( exint  srcelem,
int  objnum,
int  secnum,
VEX_GeoCommand::MODE_TYPE  mode,
UT_Vector3  data 
)
void VEX_GeoAttribEdit::appendEdit ( exint  srcelem,
int  objnum,
int  secnum,
VEX_GeoCommand::MODE_TYPE  mode,
UT_Vector4  data 
)
void VEX_GeoAttribEdit::appendEdit ( exint  srcelem,
int  objnum,
int  secnum,
VEX_GeoCommand::MODE_TYPE  mode,
UT_Matrix2  data 
)
void VEX_GeoAttribEdit::appendEdit ( exint  srcelem,
int  objnum,
int  secnum,
VEX_GeoCommand::MODE_TYPE  mode,
UT_Matrix3  data 
)
void VEX_GeoAttribEdit::appendEdit ( exint  srcelem,
int  objnum,
int  secnum,
VEX_GeoCommand::MODE_TYPE  mode,
UT_Matrix4  data 
)
void VEX_GeoAttribEdit::appendEdit ( exint  srcelem,
int  objnum,
int  secnum,
VEX_GeoCommand::MODE_TYPE  mode,
const char *  data 
)
void VEX_GeoAttribEdit::appendEdit ( exint  srcelem,
int  objnum,
int  secnum,
VEX_GeoCommand::MODE_TYPE  mode,
const UT_Array< float > *  data 
)
void VEX_GeoAttribEdit::appendEdit ( exint  srcelem,
int  objnum,
int  secnum,
VEX_GeoCommand::MODE_TYPE  mode,
const UT_Array< UT_Vector2 > *  data 
)
void VEX_GeoAttribEdit::appendEdit ( exint  srcelem,
int  objnum,
int  secnum,
VEX_GeoCommand::MODE_TYPE  mode,
const UT_Array< UT_Vector3 > *  data 
)
void VEX_GeoAttribEdit::appendEdit ( exint  srcelem,
int  objnum,
int  secnum,
VEX_GeoCommand::MODE_TYPE  mode,
const UT_Array< UT_Vector4 > *  data 
)
void VEX_GeoAttribEdit::appendEdit ( exint  srcelem,
int  objnum,
int  secnum,
VEX_GeoCommand::MODE_TYPE  mode,
const UT_Array< UT_Matrix2 > *  data 
)
void VEX_GeoAttribEdit::appendEdit ( exint  srcelem,
int  objnum,
int  secnum,
VEX_GeoCommand::MODE_TYPE  mode,
const UT_Array< UT_Matrix3 > *  data 
)
void VEX_GeoAttribEdit::appendEdit ( exint  srcelem,
int  objnum,
int  secnum,
VEX_GeoCommand::MODE_TYPE  mode,
const UT_Array< UT_Matrix4 > *  data 
)
void VEX_GeoAttribEdit::appendEdit ( exint  srcelem,
int  objnum,
int  secnum,
VEX_GeoCommand::MODE_TYPE  mode,
const UT_Array< int > *  data 
)
void VEX_GeoAttribEdit::appendEdit ( exint  srcelem,
int  objnum,
int  secnum,
VEX_GeoCommand::MODE_TYPE  mode,
const UT_Array< const char * > *  data 
)
UT_Array<VEX_GeoCommandAttribEdit<const UT_Array<const char *> *> >* VEX_GeoAttribEdit::asCmd ( )
inline

Definition at line 590 of file VEX_GeoCommand.h.

UT_Array<VEX_GeoCommandAttribEdit<const UT_Array<UT_Vector2> *> >* VEX_GeoAttribEdit::av2Cmd ( )
inline

Definition at line 546 of file VEX_GeoCommand.h.

UT_Array<VEX_GeoCommandAttribEdit<const UT_Array<UT_Vector3> *> >* VEX_GeoAttribEdit::av3Cmd ( )
inline

Definition at line 552 of file VEX_GeoCommand.h.

UT_Array<VEX_GeoCommandAttribEdit<const UT_Array<UT_Vector4> *> >* VEX_GeoAttribEdit::av4Cmd ( )
inline

Definition at line 558 of file VEX_GeoCommand.h.

void VEX_GeoAttribEdit::clear ( )
const DefaultValue& VEX_GeoAttribEdit::defaultValue ( ) const
inline

Definition at line 604 of file VEX_GeoCommand.h.

DICT_TYPE VEX_GeoAttribEdit::dict ( ) const
inline

Definition at line 598 of file VEX_GeoCommand.h.

static DICT_TYPE VEX_GeoAttribEdit::dictFromString ( const char *  dict)
static
UT_Array<VEX_GeoCommandAttribEdit<float> >* VEX_GeoAttribEdit::fCmd ( )
inline

Definition at line 486 of file VEX_GeoCommand.h.

UT_Array<VEX_GeoCommandAttribEdit<int> >* VEX_GeoAttribEdit::iCmd ( )
inline

Definition at line 492 of file VEX_GeoCommand.h.

bool VEX_GeoAttribEdit::isArray ( ) const
inline

Definition at line 601 of file VEX_GeoCommand.h.

UT_Array<VEX_GeoCommandAttribEdit<UT_Matrix2> >* VEX_GeoAttribEdit::m2Cmd ( )
inline

Definition at line 516 of file VEX_GeoCommand.h.

UT_Array<VEX_GeoCommandAttribEdit<UT_Matrix3> >* VEX_GeoAttribEdit::m3Cmd ( )
inline

Definition at line 522 of file VEX_GeoCommand.h.

UT_Array<VEX_GeoCommandAttribEdit<UT_Matrix4> >* VEX_GeoAttribEdit::m4Cmd ( )
inline

Definition at line 528 of file VEX_GeoCommand.h.

void VEX_GeoAttribEdit::merge ( VEX_GeoAttribEdit src)
const char* VEX_GeoAttribEdit::name ( void  ) const
inline

Definition at line 599 of file VEX_GeoCommand.h.

UT_Array<VEX_GeoCommandAttribEdit<const char *> >* VEX_GeoAttribEdit::sCmd ( )
inline

Definition at line 534 of file VEX_GeoCommand.h.

void VEX_GeoAttribEdit::setTypeInfo ( exint  srcelem,
const char *  typeinfo 
)
bool VEX_GeoAttribEdit::shouldcreate ( ) const
inline

Definition at line 602 of file VEX_GeoCommand.h.

void VEX_GeoAttribEdit::sort ( )
VEX_Type VEX_GeoAttribEdit::type ( ) const
inline

Definition at line 600 of file VEX_GeoCommand.h.

TYPEINFO_TYPE VEX_GeoAttribEdit::typeinfo ( ) const
inline

Definition at line 603 of file VEX_GeoCommand.h.

static TYPEINFO_TYPE VEX_GeoAttribEdit::typeinfoFromString ( const char *  info)
static
UT_Array<VEX_GeoCommandAttribEdit<UT_Vector2> >* VEX_GeoAttribEdit::v2Cmd ( )
inline

Definition at line 498 of file VEX_GeoCommand.h.

UT_Array<VEX_GeoCommandAttribEdit<UT_Vector3> >* VEX_GeoAttribEdit::v3Cmd ( )
inline

Definition at line 504 of file VEX_GeoCommand.h.

UT_Array<VEX_GeoCommandAttribEdit<UT_Vector4> >* VEX_GeoAttribEdit::v4Cmd ( )
inline

Definition at line 510 of file VEX_GeoCommand.h.

Member Data Documentation

void* VEX_GeoAttribEdit::myCmdList
protected

Definition at line 619 of file VEX_GeoCommand.h.

exint VEX_GeoAttribEdit::myCreationElem
protected

Definition at line 621 of file VEX_GeoCommand.h.

exint VEX_GeoAttribEdit::myDefiningElem
protected

Definition at line 608 of file VEX_GeoCommand.h.

DefaultValue VEX_GeoAttribEdit::myDefValue
protected

Definition at line 623 of file VEX_GeoCommand.h.

DICT_TYPE VEX_GeoAttribEdit::myDict
protected

Definition at line 609 of file VEX_GeoCommand.h.

bool VEX_GeoAttribEdit::myDoCreate
protected

Definition at line 622 of file VEX_GeoCommand.h.

bool VEX_GeoAttribEdit::myIsArray
protected

Definition at line 612 of file VEX_GeoCommand.h.

UT_String VEX_GeoAttribEdit::myName
protected

Definition at line 610 of file VEX_GeoCommand.h.

VEX_Type VEX_GeoAttribEdit::myType
protected

Definition at line 611 of file VEX_GeoCommand.h.

TYPEINFO_TYPE VEX_GeoAttribEdit::myTypeInfo
protected

Definition at line 617 of file VEX_GeoCommand.h.

exint VEX_GeoAttribEdit::myTypeInfoElem
protected

Definition at line 616 of file VEX_GeoCommand.h.


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