HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_PackedFactory Class Referenceabstract

#include <GU_PackedFactory.h>

Public Types

using CollapseSingletons = GA_IntrinsicManager::CollapseSingletons
 
typedef
GA_PrimitiveDefinition::SharedDataLoader 
SharedDataLoader
 
typedef
GU_PackedFactoryPrivate::IntrinsicDef 
IntrinsicDef
 

Public Member Functions

template<typename CLASS >
GU_PackedImpl::StringArrayGetter StringArrayGetterCast (void(CLASS::*method)(const GU_PrimPacked *, UT_StringArray &) const)
 
 DECL_SET_CAST (const UT_StringArray &, StringArraySetter, StringArraySetterCast) template< typename CLASS > inline GU_PackedImpl
 
 DECL_SET_CAST (const UT_Array< UT_OptionsHolder > &, DictArraySetter, DictArraySetterCast) GU_PackedFactory(const UT_StringHolder &name
 Factory constructor. More...
 
virtual ~GU_PackedFactory ()
 Factory destructor. More...
 
bool isRegistered () const
 
virtual const UT_IntrusivePtr
< GU_PackedImpl > & 
defaultImpl () const =0
 
virtual GU_PackedImplcreate () const =0
 Create new instance of a packed primitive implementation. More...
 
virtual GA_SharedLoadDataloadSharedData (UT_JSONParser &p, const char *type, const char *key, bool isDelayedLoad) const
 
virtual GA_SharedLoadDataStatstatSharedData (UT_JSONParser &parser) const
 
int getIntrinsicCount () const
 
void getIntrinsicDefinition (int idx, UT_String &name, GA_StorageClass &storage, bool &read_only, CollapseSingletons &collapse_singletons) const
 
void getIntrinsicDefinition (int idx, UT_StringHolder &name, GA_StorageClass &storage, bool &read_only, CollapseSingletons &collapse_singletons) const
 
GA_Size getIntrinsicTupleSize (const GU_PrimPacked *proc, int idx) const
 
void registerIntrinsic (const UT_StringHolder &name, GU_PackedImpl::FloatGetter getter, GU_PackedImpl::FloatSetter setter=NULL)
 Register a scalar floating point intrinsic. More...
 
void registerIntrinsic (const UT_StringHolder &name, GU_PackedImpl::IntGetter getter, GU_PackedImpl::IntSetter setter=NULL)
 Register a scalar integer intrinsic. More...
 
void registerIntrinsic (const UT_StringHolder &name, GU_PackedImpl::BoolGetter getter, GU_PackedImpl::BoolSetter setter=NULL)
 Register a scalar boolean intrinsic. More...
 
void registerIntrinsic (const UT_StringHolder &name, GU_PackedImpl::StringGetter getter, GU_PackedImpl::StringSetter setter=NULL)
 Register a scalar string (const UT_StringHolder &) intrinsic. More...
 
void registerIntrinsic (const UT_StringHolder &name, GU_PackedImpl::StdStringGetter getter, GU_PackedImpl::StdStringSetter setter=NULL)
 Register a scalar string (const std::string &) intrinsic. More...
 
void registerIntrinsic (const UT_StringHolder &name, GU_PackedImpl::StringHolderGetter getter, GU_PackedImpl::StringHolderSetter setter=NULL)
 Register a scalar string (const UT_StringHolder &) intrinsic. More...
 
void registerIntrinsic (const UT_StringHolder &name, GU_PackedImpl::DictGetter getter, GU_PackedImpl::DictSetter setter=NULL)
 Register a scalar dictionary (const UT_OptionsHolder &) intrinsic. More...
 
void registerTupleIntrinsic (const UT_StringHolder &name, GU_PackedImpl::IntGetter get_tuple_size, GU_PackedImpl::FloatTupleGetter getter, GU_PackedImpl::FloatTupleSetter setter=NULL, GU_PackedImpl::IntSetter set_tuple_size=NULL, CollapseSingletons collapse=CollapseSingletons::YES)
 Register an intrinsic for a floating point array. More...
 
void registerTupleIntrinsic (const UT_StringHolder &name, GU_PackedImpl::IntGetter get_tuple_size, GU_PackedImpl::IntTupleGetter getter, GU_PackedImpl::IntTupleSetter setter=NULL, GU_PackedImpl::IntSetter set_tuple_size=NULL, CollapseSingletons collapse=CollapseSingletons::YES)
 Register an intrinsic for an integer array. More...
 
void registerTupleIntrinsic (const UT_StringHolder &name, GU_PackedImpl::IntGetter get_tuple_size, GU_PackedImpl::BoolTupleGetter getter, GU_PackedImpl::BoolTupleSetter setter=NULL, GU_PackedImpl::IntSetter set_tuple_size=NULL, CollapseSingletons collapse=CollapseSingletons::YES)
 Register an intrinsic for a boolean array. More...
 
void registerTupleIntrinsic (const UT_StringHolder &name, GU_PackedImpl::IntGetter get_tuple_size, GU_PackedImpl::StringTupleGetter getter, GU_PackedImpl::StringTupleSetter setter=NULL, GU_PackedImpl::IntSetter set_tuple_size=NULL, CollapseSingletons collapse=CollapseSingletons::YES)
 Register an intrinsic for a string (const char *) array. More...
 
void registerTupleIntrinsic (const UT_StringHolder &name, GU_PackedImpl::IntGetter get_tuple_size, GU_PackedImpl::StdStringTupleGetter getter, GU_PackedImpl::StdStringTupleSetter setter=NULL, GU_PackedImpl::IntSetter set_tuple_size=NULL, CollapseSingletons collapse=CollapseSingletons::YES)
 Register an intrinsic for a string (const std::string &) array. More...
 
void registerTupleIntrinsic (const UT_StringHolder &name, GU_PackedImpl::IntGetter get_tuple_size, GU_PackedImpl::StringHolderTupleGetter getter, GU_PackedImpl::StringHolderTupleSetter setter=NULL, GU_PackedImpl::IntSetter set_tuple_size=NULL, CollapseSingletons collapse=CollapseSingletons::YES)
 Register an intrinsic for a string (const StringHolder &) array. More...
 
void registerTupleIntrinsic (const UT_StringHolder &name, GU_PackedImpl::IntGetter get_tuple_size, GU_PackedImpl::DictTupleGetter getter, GU_PackedImpl::DictTupleSetter setter=NULL, GU_PackedImpl::IntSetter set_tuple_size=NULL, CollapseSingletons collapse=CollapseSingletons::YES)
 Register an intrinsic for a dict (const UT_OptionsHolder &) array. More...
 
void registerTupleIntrinsic (const UT_StringHolder &name, GU_PackedImpl::IntGetter get_tuple_size, GU_PackedImpl::F32VectorGetter getter, GU_PackedImpl::F32VectorSetter setter=NULL, GU_PackedImpl::IntSetter set_tuple_size=NULL, CollapseSingletons collapse=CollapseSingletons::YES)
 Register an intrinsic for a floating point array. More...
 
void registerTupleIntrinsic (const UT_StringHolder &name, GU_PackedImpl::IntGetter get_tuple_size, GU_PackedImpl::F64VectorGetter getter, GU_PackedImpl::F64VectorSetter setter=NULL, GU_PackedImpl::IntSetter set_tuple_size=NULL, CollapseSingletons collapse=CollapseSingletons::YES)
 Register an intrinsic for a floating point array. More...
 
void registerTupleIntrinsic (const UT_StringHolder &name, GU_PackedImpl::IntGetter get_tuple_size, GU_PackedImpl::I32VectorGetter getter, GU_PackedImpl::I32VectorSetter setter=NULL, GU_PackedImpl::IntSetter set_tuple_size=NULL, CollapseSingletons collapse=CollapseSingletons::YES)
 Register an intrinsic for an integer array. More...
 
void registerTupleIntrinsic (const UT_StringHolder &name, GU_PackedImpl::IntGetter get_tuple_size, GU_PackedImpl::I64VectorGetter getter, GU_PackedImpl::I64VectorSetter setter=NULL, GU_PackedImpl::IntSetter set_tuple_size=NULL, CollapseSingletons collapse=CollapseSingletons::YES)
 Register an intrinsic for an integer array. More...
 
void registerTupleIntrinsic (const UT_StringHolder &name, GU_PackedImpl::IntGetter get_tuple_size, GU_PackedImpl::BVectorGetter getter, GU_PackedImpl::BVectorSetter setter=NULL, GU_PackedImpl::IntSetter set_tuple_size=NULL, CollapseSingletons collapse=CollapseSingletons::YES)
 Register an intrinsic for a boolean array. More...
 
void registerTupleIntrinsic (const UT_StringHolder &name, GU_PackedImpl::IntGetter get_tuple_size, GU_PackedImpl::StringArrayGetter getter, GU_PackedImpl::StringArraySetter setter=nullptr, GU_PackedImpl::IntSetter set_tuple_size=nullptr, CollapseSingletons collapse=CollapseSingletons::YES)
 Register a string array intrinsic. More...
 
void registerTupleIntrinsic (const UT_StringHolder &name, GU_PackedImpl::IntGetter get_tuple_size, GU_PackedImpl::DictArrayGetter getter, GU_PackedImpl::DictArraySetter setter=nullptr, GU_PackedImpl::IntSetter set_tuple_size=nullptr, CollapseSingletons collapse=CollapseSingletons::YES)
 Register a dict array intrinsic. More...
 
virtual exint clearCachedGeometry ()
 
const UT_StringHoldername () const
 
const UT_StringHolderlabel () const
 
const UT_StringHoldericon () const
 
const GA_PrimitiveDefinitiontypeDef () const
 
GA_Size getIntrinsicValue (const GU_PrimPacked *proc, int idx, fpreal64 *val, GA_Size vsize) const
 
GA_Size getIntrinsicValue (const GU_PrimPacked *proc, int idx, int64 *val, GA_Size vsize) const
 
GA_Size getIntrinsicValue (const GU_PrimPacked *proc, int idx, UT_String &str) const
 
GA_Size getIntrinsicValue (const GU_PrimPacked *proc, int idx, UT_StringHolder &str) const
 
GA_Size getIntrinsicValue (const GU_PrimPacked *proc, int idx, UT_StringArray &strings) const
 
GA_Size getIntrinsicValue (const GU_PrimPacked *proc, int idx, UT_OptionsHolder &str) const
 
GA_Size getIntrinsicValue (const GU_PrimPacked *proc, int idx, UT_Array< UT_OptionsHolder > &str) const
 
GA_Size setIntrinsicValue (GU_PrimPacked *proc, int idx, const fpreal64 *val, GA_Size vsize) const
 
GA_Size setIntrinsicValue (GU_PrimPacked *proc, int idx, const int64 *val, GA_Size vsize) const
 
GA_Size setIntrinsicValue (GU_PrimPacked *proc, int idx, const UT_StringArray &values) const
 
GA_Size setIntrinsicValue (GU_PrimPacked *proc, int idx, const char **values, GA_Size size) const
 
GA_Size setIntrinsicValue (GU_PrimPacked *proc, int idx, const UT_Array< UT_OptionsHolder > &values) const
 
GA_Size setIntrinsicValue (GU_PrimPacked *proc, int idx, const UT_OptionsHolder *values, GA_Size size) const
 

Public Attributes

const UT_StringHolderlabel
 
const UT_StringHolder const
UT_StringHolder
icon =UT_StringHolder())
 

Friends

class GU_PrimPacked
 

Detailed Description

Member Typedef Documentation

typedef GU_PackedFactoryPrivate::IntrinsicDef GU_PackedFactory::IntrinsicDef

Typedefs

Definition at line 33 of file GU_PackedFactory.h.

Constructor & Destructor Documentation

virtual GU_PackedFactory::~GU_PackedFactory ( )
virtual

Factory destructor.

Member Function Documentation

virtual exint GU_PackedFactory::clearCachedGeometry ( )
virtual

Clear any cached geometry. The method should return the number of items cleared, and the default method just returns 0.

virtual GU_PackedImpl* GU_PackedFactory::create ( ) const
pure virtual

Create new instance of a packed primitive implementation.

GU_PackedFactory::DECL_SET_CAST ( const UT_StringArray ,
StringArraySetter  ,
StringArraySetterCast   
)
inline

Definition at line 140 of file GU_PackedFactory.h.

GU_PackedFactory::DECL_SET_CAST ( const UT_Array< UT_OptionsHolder > &  ,
DictArraySetter  ,
DictArraySetterCast   
) const

Factory constructor.

virtual const UT_IntrusivePtr<GU_PackedImpl>& GU_PackedFactory::defaultImpl ( ) const
pure virtual

Return an intrusive pointer to a default-constructed packed primitive implementation of the correct type. Use this instead of create(), to avoid redundantly allocating a new GU_PackedImpl that may just be replaced.

int GU_PackedFactory::getIntrinsicCount ( ) const
inline

Query how many intrinsic attributes are supported by this primitive type Default: return 0

Definition at line 219 of file GU_PackedFactory.h.

void GU_PackedFactory::getIntrinsicDefinition ( int  idx,
UT_String name,
GA_StorageClass storage,
bool &  read_only,
CollapseSingletons collapse_singletons 
) const

Get information about the definition of the Nth intrinsic Default: assert

void GU_PackedFactory::getIntrinsicDefinition ( int  idx,
UT_StringHolder name,
GA_StorageClass storage,
bool &  read_only,
CollapseSingletons collapse_singletons 
) const
GA_Size GU_PackedFactory::getIntrinsicTupleSize ( const GU_PrimPacked proc,
int  idx 
) const

Get the intrinsic tuple size (which might be varying) Default: return 0

GA_Size GU_PackedFactory::getIntrinsicValue ( const GU_PrimPacked proc,
int  idx,
fpreal64 val,
GA_Size  vsize 
) const

Get/Set intrinsic attribute values for a primitive Default: return 0

GA_Size GU_PackedFactory::getIntrinsicValue ( const GU_PrimPacked proc,
int  idx,
int64 val,
GA_Size  vsize 
) const

Get/Set intrinsic attribute values for a primitive Default: return 0

GA_Size GU_PackedFactory::getIntrinsicValue ( const GU_PrimPacked proc,
int  idx,
UT_String str 
) const

Get/Set intrinsic attribute values for a primitive Default: return 0

GA_Size GU_PackedFactory::getIntrinsicValue ( const GU_PrimPacked proc,
int  idx,
UT_StringHolder str 
) const

Get/Set intrinsic attribute values for a primitive Default: return 0

GA_Size GU_PackedFactory::getIntrinsicValue ( const GU_PrimPacked proc,
int  idx,
UT_StringArray strings 
) const

Get/Set intrinsic attribute values for a primitive Default: return 0

GA_Size GU_PackedFactory::getIntrinsicValue ( const GU_PrimPacked proc,
int  idx,
UT_OptionsHolder str 
) const

Get/Set intrinsic attribute values for a primitive Default: return 0

GA_Size GU_PackedFactory::getIntrinsicValue ( const GU_PrimPacked proc,
int  idx,
UT_Array< UT_OptionsHolder > &  str 
) const

Get/Set intrinsic attribute values for a primitive Default: return 0

const UT_StringHolder& GU_PackedFactory::icon ( ) const
inline

Member data accessors

Definition at line 173 of file GU_PackedFactory.h.

bool GU_PackedFactory::isRegistered ( ) const
inline

Definition at line 167 of file GU_PackedFactory.h.

const UT_StringHolder& GU_PackedFactory::label ( ) const
inline

Member data accessors

Definition at line 172 of file GU_PackedFactory.h.

virtual GA_SharedLoadData* GU_PackedFactory::loadSharedData ( UT_JSONParser p,
const char *  type,
const char *  key,
bool  isDelayedLoad 
) const
virtual

Load shared data for the specific implementation. Shared data must be saved in an array containing:

[ "string type", "string key", object ]

The type is used to differentiate between different types of shared primitive data, while the key is used to uniquely identify blocks of shared data.

When loading a geometry file, the type and key will be loaded and passed to this method to resolve the shared data. The code should look something like:

if (!strcmp(type, "typename1"))
{
Typename1Container data;
if (!Typename1Container::load(p, data.myObject))
return false;
loadmap.resolveSharedData(key, data);
}

This assumes that Typename1Container is a sub-class of GA_SharedLoadData and where Typename1Container::myObject is the object which is shared between multiple primitives.

Note that the base class should be called if the type can't be handled by the subclass.

const UT_StringHolder& GU_PackedFactory::name ( ) const
inline

Member data accessors

Definition at line 171 of file GU_PackedFactory.h.

void GU_PackedFactory::registerIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::FloatGetter  getter,
GU_PackedImpl::FloatSetter  setter = NULL 
)

Register a scalar floating point intrinsic.

void GU_PackedFactory::registerIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::IntGetter  getter,
GU_PackedImpl::IntSetter  setter = NULL 
)

Register a scalar integer intrinsic.

void GU_PackedFactory::registerIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::BoolGetter  getter,
GU_PackedImpl::BoolSetter  setter = NULL 
)

Register a scalar boolean intrinsic.

void GU_PackedFactory::registerIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::StringGetter  getter,
GU_PackedImpl::StringSetter  setter = NULL 
)

Register a scalar string (const UT_StringHolder &) intrinsic.

void GU_PackedFactory::registerIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::StdStringGetter  getter,
GU_PackedImpl::StdStringSetter  setter = NULL 
)

Register a scalar string (const std::string &) intrinsic.

void GU_PackedFactory::registerIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::StringHolderGetter  getter,
GU_PackedImpl::StringHolderSetter  setter = NULL 
)

Register a scalar string (const UT_StringHolder &) intrinsic.

void GU_PackedFactory::registerIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::DictGetter  getter,
GU_PackedImpl::DictSetter  setter = NULL 
)

Register a scalar dictionary (const UT_OptionsHolder &) intrinsic.

void GU_PackedFactory::registerTupleIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::IntGetter  get_tuple_size,
GU_PackedImpl::FloatTupleGetter  getter,
GU_PackedImpl::FloatTupleSetter  setter = NULL,
GU_PackedImpl::IntSetter  set_tuple_size = NULL,
CollapseSingletons  collapse = CollapseSingletons::YES 
)

Register an intrinsic for a floating point array.

void GU_PackedFactory::registerTupleIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::IntGetter  get_tuple_size,
GU_PackedImpl::IntTupleGetter  getter,
GU_PackedImpl::IntTupleSetter  setter = NULL,
GU_PackedImpl::IntSetter  set_tuple_size = NULL,
CollapseSingletons  collapse = CollapseSingletons::YES 
)

Register an intrinsic for an integer array.

void GU_PackedFactory::registerTupleIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::IntGetter  get_tuple_size,
GU_PackedImpl::BoolTupleGetter  getter,
GU_PackedImpl::BoolTupleSetter  setter = NULL,
GU_PackedImpl::IntSetter  set_tuple_size = NULL,
CollapseSingletons  collapse = CollapseSingletons::YES 
)

Register an intrinsic for a boolean array.

void GU_PackedFactory::registerTupleIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::IntGetter  get_tuple_size,
GU_PackedImpl::StringTupleGetter  getter,
GU_PackedImpl::StringTupleSetter  setter = NULL,
GU_PackedImpl::IntSetter  set_tuple_size = NULL,
CollapseSingletons  collapse = CollapseSingletons::YES 
)

Register an intrinsic for a string (const char *) array.

void GU_PackedFactory::registerTupleIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::IntGetter  get_tuple_size,
GU_PackedImpl::StdStringTupleGetter  getter,
GU_PackedImpl::StdStringTupleSetter  setter = NULL,
GU_PackedImpl::IntSetter  set_tuple_size = NULL,
CollapseSingletons  collapse = CollapseSingletons::YES 
)

Register an intrinsic for a string (const std::string &) array.

void GU_PackedFactory::registerTupleIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::IntGetter  get_tuple_size,
GU_PackedImpl::StringHolderTupleGetter  getter,
GU_PackedImpl::StringHolderTupleSetter  setter = NULL,
GU_PackedImpl::IntSetter  set_tuple_size = NULL,
CollapseSingletons  collapse = CollapseSingletons::YES 
)

Register an intrinsic for a string (const StringHolder &) array.

void GU_PackedFactory::registerTupleIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::IntGetter  get_tuple_size,
GU_PackedImpl::DictTupleGetter  getter,
GU_PackedImpl::DictTupleSetter  setter = NULL,
GU_PackedImpl::IntSetter  set_tuple_size = NULL,
CollapseSingletons  collapse = CollapseSingletons::YES 
)

Register an intrinsic for a dict (const UT_OptionsHolder &) array.

void GU_PackedFactory::registerTupleIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::IntGetter  get_tuple_size,
GU_PackedImpl::F32VectorGetter  getter,
GU_PackedImpl::F32VectorSetter  setter = NULL,
GU_PackedImpl::IntSetter  set_tuple_size = NULL,
CollapseSingletons  collapse = CollapseSingletons::YES 
)

Register an intrinsic for a floating point array.

void GU_PackedFactory::registerTupleIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::IntGetter  get_tuple_size,
GU_PackedImpl::F64VectorGetter  getter,
GU_PackedImpl::F64VectorSetter  setter = NULL,
GU_PackedImpl::IntSetter  set_tuple_size = NULL,
CollapseSingletons  collapse = CollapseSingletons::YES 
)

Register an intrinsic for a floating point array.

void GU_PackedFactory::registerTupleIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::IntGetter  get_tuple_size,
GU_PackedImpl::I32VectorGetter  getter,
GU_PackedImpl::I32VectorSetter  setter = NULL,
GU_PackedImpl::IntSetter  set_tuple_size = NULL,
CollapseSingletons  collapse = CollapseSingletons::YES 
)

Register an intrinsic for an integer array.

void GU_PackedFactory::registerTupleIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::IntGetter  get_tuple_size,
GU_PackedImpl::I64VectorGetter  getter,
GU_PackedImpl::I64VectorSetter  setter = NULL,
GU_PackedImpl::IntSetter  set_tuple_size = NULL,
CollapseSingletons  collapse = CollapseSingletons::YES 
)

Register an intrinsic for an integer array.

void GU_PackedFactory::registerTupleIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::IntGetter  get_tuple_size,
GU_PackedImpl::BVectorGetter  getter,
GU_PackedImpl::BVectorSetter  setter = NULL,
GU_PackedImpl::IntSetter  set_tuple_size = NULL,
CollapseSingletons  collapse = CollapseSingletons::YES 
)

Register an intrinsic for a boolean array.

void GU_PackedFactory::registerTupleIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::IntGetter  get_tuple_size,
GU_PackedImpl::StringArrayGetter  getter,
GU_PackedImpl::StringArraySetter  setter = nullptr,
GU_PackedImpl::IntSetter  set_tuple_size = nullptr,
CollapseSingletons  collapse = CollapseSingletons::YES 
)

Register a string array intrinsic.

void GU_PackedFactory::registerTupleIntrinsic ( const UT_StringHolder name,
GU_PackedImpl::IntGetter  get_tuple_size,
GU_PackedImpl::DictArrayGetter  getter,
GU_PackedImpl::DictArraySetter  setter = nullptr,
GU_PackedImpl::IntSetter  set_tuple_size = nullptr,
CollapseSingletons  collapse = CollapseSingletons::YES 
)

Register a dict array intrinsic.

GA_Size GU_PackedFactory::setIntrinsicValue ( GU_PrimPacked proc,
int  idx,
const fpreal64 val,
GA_Size  vsize 
) const

Get/Set intrinsic attribute values for a primitive Default: return 0

GA_Size GU_PackedFactory::setIntrinsicValue ( GU_PrimPacked proc,
int  idx,
const int64 val,
GA_Size  vsize 
) const

Get/Set intrinsic attribute values for a primitive Default: return 0

GA_Size GU_PackedFactory::setIntrinsicValue ( GU_PrimPacked proc,
int  idx,
const UT_StringArray values 
) const

Get/Set intrinsic attribute values for a primitive Default: return 0

GA_Size GU_PackedFactory::setIntrinsicValue ( GU_PrimPacked proc,
int  idx,
const char **  values,
GA_Size  size 
) const

Get/Set intrinsic attribute values for a primitive Default: return 0

GA_Size GU_PackedFactory::setIntrinsicValue ( GU_PrimPacked proc,
int  idx,
const UT_Array< UT_OptionsHolder > &  values 
) const

Get/Set intrinsic attribute values for a primitive Default: return 0

GA_Size GU_PackedFactory::setIntrinsicValue ( GU_PrimPacked proc,
int  idx,
const UT_OptionsHolder values,
GA_Size  size 
) const

Get/Set intrinsic attribute values for a primitive Default: return 0

virtual GA_SharedLoadDataStat* GU_PackedFactory::statSharedData ( UT_JSONParser parser) const
virtual
template<typename CLASS >
GU_PackedImpl::StringArrayGetter GU_PackedFactory::StringArrayGetterCast ( void(CLASS::*)(const GU_PrimPacked *, UT_StringArray &) const  method)
inline

Definition at line 135 of file GU_PackedFactory.h.

const GA_PrimitiveDefinition& GU_PackedFactory::typeDef ( ) const
inline

Member data accessors

Definition at line 174 of file GU_PackedFactory.h.

Friends And Related Function Documentation

friend class GU_PrimPacked
friend

Definition at line 411 of file GU_PackedFactory.h.

Member Data Documentation

const UT_StringHolder const UT_StringHolder& GU_PackedFactory::icon =UT_StringHolder())

Definition at line 163 of file GU_PackedFactory.h.

const UT_StringHolder& GU_PackedFactory::label

Definition at line 162 of file GU_PackedFactory.h.


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