HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GABC_NAMESPACE::GABC_PackedImpl Class Reference

#include <GABC_PackedImpl.h>

+ Inheritance diagram for GABC_NAMESPACE::GABC_PackedImpl:

Classes

class  GTCache
 

Public Member Functions

 GABC_PackedImpl ()
 
 GABC_PackedImpl (const GABC_PackedImpl &src)
 
virtual ~GABC_PackedImpl ()
 
virtual GU_PackedFactorygetFactory () const
 Get the factory associated with this procedural. More...
 
virtual GU_PackedImplcopy () const
 Create a copy of this resolver. More...
 
virtual int64 getMemoryUsage (bool inclusive) const
 Report memory usage (includes all shared memory) More...
 
virtual void countMemory (UT_MemoryCounter &counter, bool inclusive) const
 
virtual bool isValid () const
 Test whether the deferred load primitive data is valid. More...
 
virtual void clearData ()
 
virtual bool load (GU_PrimPacked *prim, const UT_Options &options, const GA_LoadMap &map)
 Give a UT_Options of load data, create resolver data for the primitive. More...
 
virtual bool supportsJSONLoad () const
 
virtual bool loadFromJSON (GU_PrimPacked *prim, const UT_JSONValueMap &options, const GA_LoadMap &map)
 
virtual void update (GU_PrimPacked *prim, const UT_Options &options)
 
virtual bool save (UT_Options &options, const GA_SaveMap &map) const
 Copy the resolver data into the UT_Options for saving. More...
 
virtual bool loadUnknownToken (const char *token, UT_JSONParser &p, const GA_LoadMap &map)
 
virtual bool getBounds (UT_BoundingBox &box) const
 Get the bounding box for the geometry (not including transforms) More...
 
virtual bool getRenderingBounds (UT_BoundingBox &box) const
 
virtual void getVelocityRange (UT_Vector3 &min, UT_Vector3 &max) const
 
virtual void getWidthRange (fpreal &min, fpreal &max) const
 
virtual void getPrimitiveName (const GU_PrimPacked *prim, UT_WorkBuffer &wbuf) const
 
virtual bool getLocalTransform (UT_Matrix4D &m) const
 
virtual bool unpack (GU_Detail &destgdp) const
 
virtual bool unpackUsingPolygons (GU_Detail &destgdp) const
 Unpack without using polygon soups. More...
 
GT_PrimitiveHandle instanceGT (bool ignore_visibility=false) const
 
GT_TransformHandle xformGT () const
 
const GABC_IObjectobject () const
 
const UT_StringHolderfilename () const
 
UT_StringHolder intrinsicFilename (const GU_PrimPacked *prim) const
 
const UT_StringHolderobjectPath () const
 
UT_StringHolder intrinsicObjectPath (const GU_PrimPacked *prim) const
 
UT_StringHolder intrinsicSourcePath (const GU_PrimPacked *prim) const
 
int64 intrinsicPointCount (const GU_PrimPacked *prim) const
 
fpreal frame () const
 
fpreal intrinsicFrame (const GU_PrimPacked *prim) const
 
bool useTransform () const
 
bool intrinsicUseTransform (const GU_PrimPacked *prim) const
 
bool useVisibility () const
 
bool intrinsicUseVisibility (const GU_PrimPacked *prim) const
 
GABC_NodeType nodeType () const
 
GEO_AnimationType animationType () const
 
int currentLoadStyle () const
 
bool isConstant () const
 
const char * intrinsicAnimation (const GU_PrimPacked *prim) const
 
const char * intrinsicNodeType (const GU_PrimPacked *prim) const
 
int64 intrinsicVisibility (const GU_PrimPacked *prim) const
 
int64 intrinsicFullVisibility (const GU_PrimPacked *prim) const
 
UT_StringHolder intrinsicPoint (const GU_PrimPacked *prim) const
 
UT_StringHolder intrinsicVertex (const GU_PrimPacked *prim) const
 
UT_StringHolder intrinsicPrimitive (const GU_PrimPacked *prim) const
 
UT_StringHolder intrinsicDetail (const GU_PrimPacked *prim) const
 
UT_StringHolder intrinsicFaceSet (const GU_PrimPacked *prim) const
 
int64 getPropertiesHash () const
 
void setObject (const GABC_IObject &v)
 
void setFilename (GU_PrimPacked *prim, const UT_StringHolder &v)
 
void setObjectPath (GU_PrimPacked *prim, const UT_StringHolder &v)
 
void setFrame (GU_PrimPacked *prim, fpreal f)
 
void setUseTransform (GU_PrimPacked *prim, bool v)
 
void setUseVisibility (GU_PrimPacked *prim, bool v)
 
void setViewportCache (GT_AlembicCache *cache) const
 
bool visibleGT (bool *is_animated=NULL) const
 
GT_PrimitiveHandle fullGT (int load_style=GABC_IObject::GABC_LOAD_FULL) const
 
GT_PrimitiveHandle pointGT () const
 
GT_PrimitiveHandle boxGT () const
 
GT_PrimitiveHandle centroidGT () const
 
- Public Member Functions inherited from GU_PackedImpl
 GU_PackedImpl ()
 
 GU_PackedImpl (const GU_PackedImpl &src)
 
virtual ~GU_PackedImpl ()
 
virtual bool saveSharedData (UT_JSONWriter &w, GA_SaveMap &map, GA_GeometryIndex *geometryIndex) const
 
virtual bool loadSharedData (int load_data_type, const GA_SharedLoadData *item)
 
virtual bool unpackWithContext (GU_Detail &destgdp, GU_PackedContext &context) const
 
virtual bool unpackWithStyler (GU_Detail &destgdp, STY_StylerGroup &prim_styler_group, const STY_Styler &parent_styler) const
 
virtual void forceLoad () const
 
virtual bool isLoaded () const
 
virtual GU_ConstDetailHandle getPackedDetail (GU_PackedContext *context=0) const
 
bool pointInstanceTransform () const
 
bool intrinsicPointInstanceTransform (const GU_PrimPacked *prim) const
 
void setPointInstanceTransform (GU_PrimPacked *prim, bool b)
 Set whether point instancing should be used. More...
 
void topologyDirty ()
 Indicate that topology and attributes are dirty. More...
 
GU_PrimPackedgetPrim ()
 
const GU_PrimPackedgetPrim () const
 
virtual bool saveCachedBBox () const
 
int64 intrinsic3Tuple (const GU_PrimPacked *prim) const
 
int64 intrinsic6Tuple (const GU_PrimPacked *prim) const
 
int64 intrinsic9Tuple (const GU_PrimPacked *prim) const
 
int64 intrinsic16Tuple (const GU_PrimPacked *prim) const
 
std::string intrinsicPrimitiveName (const GU_PrimPacked *prim) const
 
const char * intrinsicFactoryName (const GU_PrimPacked *prim) const
 
const char * intrinsicFactoryLabel (const GU_PrimPacked *prim) const
 
void intrinsicPackedBox (const GU_PrimPacked *prim, fpreal64 *vals, exint sz) const
 
void intrinsicPackedRenderBox (const GU_PrimPacked *prim, fpreal64 *vals, exint sz) const
 
void intrinsicPivot (const GU_PrimPacked *prim, fpreal64 *vals, exint sz) const
 
void intrinsicSetPivot (GU_PrimPacked *prim, const fpreal64 *vals, exint sz)
 
void intrinsicPrimTransform (const GU_PrimPacked *prim, fpreal64 *vals, exint sz) const
 
void intrinsicSetPrimTransform (GU_PrimPacked *prim, const fpreal64 *v, exint sz)
 
void intrinsicPackedTransform (const GU_PrimPacked *prim, fpreal64 *v, exint sz) const
 
void intrinsicFullTransform (const GU_PrimPacked *prim, fpreal64 *v, exint sz) const
 
const char * intrinsicViewportLOD (const GU_PrimPacked *prim) const
 
void intrinsicSetViewportLOD (GU_PrimPacked *prim, const char *lod)
 

Static Public Member Functions

static void install (GA_PrimitiveFactory *fact)
 
static bool isInstalled ()
 
static GA_PrimitiveTypeId typeId ()
 
static GU_PrimPackedbuild (GU_Detail &gdp, const UT_StringHolder &filename, const GABC_IObject &obj, fpreal frame, bool useTransform, bool useVisibility)
 
- Static Public Member Functions inherited from GU_PackedImpl
static bool computeVelocityRange (const GU_Detail *gdp, UT_Vector3 &vmin, UT_Vector3 &vmax)
 
static bool computeWidthRange (const GU_Detail *gdp, fpreal &wmin, fpreal &wmax)
 

Protected Member Functions

template<typename T >
bool loadFrom (GU_PrimPacked *prim, const T &options, const GA_LoadMap &map)
 Method to load from either UT_Options or UT_JSONValueMap. More...
 
- Protected Member Functions inherited from GU_PackedImpl
void copyPrimitiveGroups (GU_Detail &dest, bool force=false) const
 
bool unpackToDetail (GU_Detail &destgdp, GU_Detail *src, bool do_transform=true) const
 
bool unpackToDetail (GU_Detail &destgdp, const GU_Detail *src, bool do_transform=true) const
 
bool unpackToDetail (GU_Detail &destgdp, const GU_ConstDetailHandle &gdh, bool do_transform=true) const
 Unpack the source detail handle. More...
 
virtual UT_Vector3 getBaryCenter () const
 Optional method to compute centroid (default uses bounding box) More...
 
virtual fpreal computeVolume (const UT_Vector3 &refpt) const
 Optional method to calculate volume (default uses bounding box) More...
 
virtual fpreal computeArea () const
 Optional method to calculate surface area (default uses bounding box) More...
 
virtual fpreal computePerimeter () const
 Optional method to calculate perimeter (default uses bounding box) More...
 
void setBoxCache (const UT_BoundingBox &box) const
 Set the bounding box cache for the primitive. More...
 

Additional Inherited Members

- Public Types inherited from GU_PackedImpl
typedef fpreal(GU_PackedImpl::* FloatGetter )(const GU_PrimPacked *) const
 
typedef void(GU_PackedImpl::* FloatSetter )(const GU_PrimPacked *, fpreal)
 
typedef GA_Size(GU_PackedImpl::* IntGetter )(const GU_PrimPacked *) const
 
typedef void(GU_PackedImpl::* IntSetter )(GU_PrimPacked *, GA_Size)
 
typedef bool(GU_PackedImpl::* BoolGetter )(const GU_PrimPacked *) const
 
typedef void(GU_PackedImpl::* BoolSetter )(GU_PrimPacked *, bool)
 
typedef const char
*(GU_PackedImpl::* 
StringGetter )(const GU_PrimPacked *) const
 
typedef void(GU_PackedImpl::* StringSetter )(GU_PrimPacked *, const char *)
 
typedef std::string(GU_PackedImpl::* StdStringGetter )(const GU_PrimPacked *) const
 
typedef void(GU_PackedImpl::* StdStringSetter )(GU_PrimPacked *, const std::string &)
 
typedef UT_StringHolder(GU_PackedImpl::* StringHolderGetter )(const GU_PrimPacked *) const
 
typedef void(GU_PackedImpl::* StringHolderSetter )(GU_PrimPacked *, const UT_StringHolder &)
 
typedef fpreal(GU_PackedImpl::* FloatTupleGetter )(const GU_PrimPacked *, exint) const
 
typedef void(GU_PackedImpl::* FloatTupleSetter )(GU_PrimPacked *, exint, fpreal)
 
typedef GA_Size(GU_PackedImpl::* IntTupleGetter )(const GU_PrimPacked *, exint) const
 
typedef void(GU_PackedImpl::* IntTupleSetter )(GU_PrimPacked *, exint, GA_Size)
 
typedef bool(GU_PackedImpl::* BoolTupleGetter )(const GU_PrimPacked *, exint) const
 
typedef void(GU_PackedImpl::* BoolTupleSetter )(GU_PrimPacked *, exint, bool)
 
typedef const char
*(GU_PackedImpl::* 
StringTupleGetter )(const GU_PrimPacked *, exint) const
 
typedef void(GU_PackedImpl::* StringTupleSetter )(GU_PrimPacked *, exint, const char *)
 
typedef std::string(GU_PackedImpl::* StdStringTupleGetter )(const GU_PrimPacked *, exint) const
 
typedef void(GU_PackedImpl::* StdStringTupleSetter )(GU_PrimPacked *, exint, const std::string &)
 
typedef UT_StringHolder(GU_PackedImpl::* StringHolderTupleGetter )(const GU_PrimPacked *, exint) const
 
typedef void(GU_PackedImpl::* StringHolderTupleSetter )(GU_PrimPacked *, exint, const UT_StringHolder &)
 
typedef void(GU_PackedImpl::* F32VectorGetter )(const GU_PrimPacked *, fpreal32 *, exint) const
 
typedef void(GU_PackedImpl::* F32VectorSetter )(GU_PrimPacked *, const fpreal32 *, exint)
 
typedef void(GU_PackedImpl::* F64VectorGetter )(const GU_PrimPacked *, fpreal64 *, exint) const
 
typedef void(GU_PackedImpl::* F64VectorSetter )(GU_PrimPacked *, const fpreal64 *, exint)
 
typedef void(GU_PackedImpl::* I32VectorGetter )(const GU_PrimPacked *, int32 *, exint) const
 
typedef void(GU_PackedImpl::* I32VectorSetter )(GU_PrimPacked *, const int32 *, exint)
 
typedef void(GU_PackedImpl::* I64VectorGetter )(const GU_PrimPacked *, int64 *, exint) const
 
typedef void(GU_PackedImpl::* I64VectorSetter )(GU_PrimPacked *, const int64 *, exint)
 
typedef void(GU_PackedImpl::* BVectorGetter )(const GU_PrimPacked *, bool *, exint) const
 
typedef void(GU_PackedImpl::* BVectorSetter )(GU_PrimPacked *, const bool *, exint)
 
typedef void(GU_PackedImpl::* StringArrayGetter )(const GU_PrimPacked *, UT_StringArray &) const
 
typedef void(GU_PackedImpl::* StringArraySetter )(GU_PrimPacked *, const UT_StringArray &)
 
- Static Protected Member Functions inherited from GU_PackedImpl
template<typename T >
static bool import (const UT_JSONValueMap &options, const UT_StringRef &key, T &value)
 
template<typename T >
static bool import (const UT_Options &options, const UT_StringRef &key, T &value)
 

Detailed Description

Definition at line 42 of file GABC_PackedImpl.h.

Constructor & Destructor Documentation

GABC_NAMESPACE::GABC_PackedImpl::GABC_PackedImpl ( )
GABC_NAMESPACE::GABC_PackedImpl::GABC_PackedImpl ( const GABC_PackedImpl src)
virtual GABC_NAMESPACE::GABC_PackedImpl::~GABC_PackedImpl ( )
virtual

Member Function Documentation

GEO_AnimationType GABC_NAMESPACE::GABC_PackedImpl::animationType ( ) const
GT_PrimitiveHandle GABC_NAMESPACE::GABC_PackedImpl::boxGT ( ) const

Return GT representations of geometry

static GU_PrimPacked* GABC_NAMESPACE::GABC_PackedImpl::build ( GU_Detail gdp,
const UT_StringHolder filename,
const GABC_IObject obj,
fpreal  frame,
bool  useTransform,
bool  useVisibility 
)
static

Note: The caller is responsible for setting the vertex/point for the primitive. In non-Alembic packed primitive code, you probably just want to call GU_PrimPacked::build(gdp, "AlembicRef") which handles the point creation automatically (see the packedsphere HDK sample code).

GT_PrimitiveHandle GABC_NAMESPACE::GABC_PackedImpl::centroidGT ( ) const

Return GT representations of geometry

virtual void GABC_NAMESPACE::GABC_PackedImpl::clearData ( )
virtual

Method to clear any data associated with the implementation. It's possible that the implementation may need to re-construct the data, but this should clear what it can.

Implements GU_PackedImpl.

virtual GU_PackedImpl* GABC_NAMESPACE::GABC_PackedImpl::copy ( ) const
virtual

Create a copy of this resolver.

Implements GU_PackedImpl.

virtual void GABC_NAMESPACE::GABC_PackedImpl::countMemory ( UT_MemoryCounter counter,
bool  inclusive 
) const
virtual

Count memory usage using a UT_MemoryCounter in order to count shared memory correctly.

Implements GU_PackedImpl.

int GABC_NAMESPACE::GABC_PackedImpl::currentLoadStyle ( ) const
inline

Definition at line 184 of file GABC_PackedImpl.h.

const UT_StringHolder& GABC_NAMESPACE::GABC_PackedImpl::filename ( ) const
inline

Definition at line 168 of file GABC_PackedImpl.h.

fpreal GABC_NAMESPACE::GABC_PackedImpl::frame ( ) const
inline

Definition at line 176 of file GABC_PackedImpl.h.

GT_PrimitiveHandle GABC_NAMESPACE::GABC_PackedImpl::fullGT ( int  load_style = GABC_IObject::GABC_LOAD_FULL) const

Return GT representations of geometry

virtual bool GABC_NAMESPACE::GABC_PackedImpl::getBounds ( UT_BoundingBox box) const
virtual

Get the bounding box for the geometry (not including transforms)

Implements GU_PackedImpl.

virtual GU_PackedFactory* GABC_NAMESPACE::GABC_PackedImpl::getFactory ( ) const
virtual

Get the factory associated with this procedural.

Implements GU_PackedImpl.

virtual bool GABC_NAMESPACE::GABC_PackedImpl::getLocalTransform ( UT_Matrix4D m) const
virtual

Some procedurals have an "intrinsic" transform. These are combined with the local transform on the geometry primitive.

The default method returns false and leaves the transform unchanged.

Reimplemented from GU_PackedImpl.

virtual int64 GABC_NAMESPACE::GABC_PackedImpl::getMemoryUsage ( bool  inclusive) const
virtual

Report memory usage (includes all shared memory)

Implements GU_PackedImpl.

virtual void GABC_NAMESPACE::GABC_PackedImpl::getPrimitiveName ( const GU_PrimPacked prim,
UT_WorkBuffer wbuf 
) const
virtual

Return the primitive's "description". This should be a unique identifier for the primitive and defaults to: "%s.%d" % (getFactory()->name(), prim->getMapIndex())

Reimplemented from GU_PackedImpl.

int64 GABC_NAMESPACE::GABC_PackedImpl::getPropertiesHash ( ) const

Returns a sys_wang64 hash of the sum of 64B values making up the Alembic property hash.

virtual bool GABC_NAMESPACE::GABC_PackedImpl::getRenderingBounds ( UT_BoundingBox box) const
virtual

Get the rendering bounding box for the geometry (not including transforms). For curve and point geometry, this needs to include any "width" attributes.

Implements GU_PackedImpl.

virtual void GABC_NAMESPACE::GABC_PackedImpl::getVelocityRange ( UT_Vector3 min,
UT_Vector3 max 
) const
virtual

When rendering with velocity blur, the renderer needs to know the bounds on velocity to accurately compute the bounding box.

Implements GU_PackedImpl.

virtual void GABC_NAMESPACE::GABC_PackedImpl::getWidthRange ( fpreal wmin,
fpreal wmax 
) const
virtual

When rendering points or curves, the renderer needs to know the bounds on the width attribute to accurately compute the bounding box.

Implements GU_PackedImpl.

static void GABC_NAMESPACE::GABC_PackedImpl::install ( GA_PrimitiveFactory fact)
static
GT_PrimitiveHandle GABC_NAMESPACE::GABC_PackedImpl::instanceGT ( bool  ignore_visibility = false) const

Get the geometry for "instancing". This geometry doesn't have the transform to world space, nor does it have the Houdini attributes from the primitive.

const char* GABC_NAMESPACE::GABC_PackedImpl::intrinsicAnimation ( const GU_PrimPacked prim) const
inline

Definition at line 189 of file GABC_PackedImpl.h.

UT_StringHolder GABC_NAMESPACE::GABC_PackedImpl::intrinsicDetail ( const GU_PrimPacked prim) const
inline

Definition at line 204 of file GABC_PackedImpl.h.

UT_StringHolder GABC_NAMESPACE::GABC_PackedImpl::intrinsicFaceSet ( const GU_PrimPacked prim) const
inline

Definition at line 206 of file GABC_PackedImpl.h.

UT_StringHolder GABC_NAMESPACE::GABC_PackedImpl::intrinsicFilename ( const GU_PrimPacked prim) const
inline

Definition at line 169 of file GABC_PackedImpl.h.

fpreal GABC_NAMESPACE::GABC_PackedImpl::intrinsicFrame ( const GU_PrimPacked prim) const
inline

Definition at line 177 of file GABC_PackedImpl.h.

int64 GABC_NAMESPACE::GABC_PackedImpl::intrinsicFullVisibility ( const GU_PrimPacked prim) const
inline

Definition at line 195 of file GABC_PackedImpl.h.

const char* GABC_NAMESPACE::GABC_PackedImpl::intrinsicNodeType ( const GU_PrimPacked prim) const
inline

Definition at line 191 of file GABC_PackedImpl.h.

UT_StringHolder GABC_NAMESPACE::GABC_PackedImpl::intrinsicObjectPath ( const GU_PrimPacked prim) const
inline

Definition at line 171 of file GABC_PackedImpl.h.

UT_StringHolder GABC_NAMESPACE::GABC_PackedImpl::intrinsicPoint ( const GU_PrimPacked prim) const
inline

Definition at line 198 of file GABC_PackedImpl.h.

int64 GABC_NAMESPACE::GABC_PackedImpl::intrinsicPointCount ( const GU_PrimPacked prim) const
inline

Definition at line 174 of file GABC_PackedImpl.h.

UT_StringHolder GABC_NAMESPACE::GABC_PackedImpl::intrinsicPrimitive ( const GU_PrimPacked prim) const
inline

Definition at line 202 of file GABC_PackedImpl.h.

UT_StringHolder GABC_NAMESPACE::GABC_PackedImpl::intrinsicSourcePath ( const GU_PrimPacked prim) const
inline

Definition at line 172 of file GABC_PackedImpl.h.

bool GABC_NAMESPACE::GABC_PackedImpl::intrinsicUseTransform ( const GU_PrimPacked prim) const
inline

Definition at line 179 of file GABC_PackedImpl.h.

bool GABC_NAMESPACE::GABC_PackedImpl::intrinsicUseVisibility ( const GU_PrimPacked prim) const
inline

Definition at line 181 of file GABC_PackedImpl.h.

UT_StringHolder GABC_NAMESPACE::GABC_PackedImpl::intrinsicVertex ( const GU_PrimPacked prim) const
inline

Definition at line 200 of file GABC_PackedImpl.h.

int64 GABC_NAMESPACE::GABC_PackedImpl::intrinsicVisibility ( const GU_PrimPacked prim) const
inline

Definition at line 193 of file GABC_PackedImpl.h.

bool GABC_NAMESPACE::GABC_PackedImpl::isConstant ( ) const
inline

Definition at line 185 of file GABC_PackedImpl.h.

static bool GABC_NAMESPACE::GABC_PackedImpl::isInstalled ( )
static
virtual bool GABC_NAMESPACE::GABC_PackedImpl::isValid ( ) const
virtual

Test whether the deferred load primitive data is valid.

Implements GU_PackedImpl.

virtual bool GABC_NAMESPACE::GABC_PackedImpl::load ( GU_PrimPacked prim,
const UT_Options options,
const GA_LoadMap map 
)
inlinevirtual

Give a UT_Options of load data, create resolver data for the primitive.

Implements GU_PackedImpl.

Definition at line 92 of file GABC_PackedImpl.h.

template<typename T >
bool GABC_NAMESPACE::GABC_PackedImpl::loadFrom ( GU_PrimPacked prim,
const T &  options,
const GA_LoadMap map 
)
protected

Method to load from either UT_Options or UT_JSONValueMap.

virtual bool GABC_NAMESPACE::GABC_PackedImpl::loadFromJSON ( GU_PrimPacked prim,
const UT_JSONValueMap options,
const GA_LoadMap map 
)
inlinevirtual

The JSONValueMap represents a UT_Options. The options may be saved in compact form, but also may be saved in expanded form. If in expanded form, the value for each key's value is a UT_JSONValueMap storing the value in the "value" key. It's highly suggested you just use the protected import() convenience method which deals with this for you.

Reimplemented from GU_PackedImpl.

Definition at line 96 of file GABC_PackedImpl.h.

virtual bool GABC_NAMESPACE::GABC_PackedImpl::loadUnknownToken ( const char *  token,
UT_JSONParser p,
const GA_LoadMap map 
)
virtual

Handle unknown token/value pairs when loading the primitive. By default, this adds a warning and skips the next object. Return false if there was a critical error.

Reimplemented from GU_PackedImpl.

GABC_NodeType GABC_NAMESPACE::GABC_PackedImpl::nodeType ( ) const
inline

Definition at line 182 of file GABC_PackedImpl.h.

const GABC_IObject& GABC_NAMESPACE::GABC_PackedImpl::object ( ) const
const UT_StringHolder& GABC_NAMESPACE::GABC_PackedImpl::objectPath ( ) const
inline

Definition at line 170 of file GABC_PackedImpl.h.

GT_PrimitiveHandle GABC_NAMESPACE::GABC_PackedImpl::pointGT ( ) const

Return GT representations of geometry

virtual bool GABC_NAMESPACE::GABC_PackedImpl::save ( UT_Options options,
const GA_SaveMap map 
) const
virtual

Copy the resolver data into the UT_Options for saving.

Implements GU_PackedImpl.

void GABC_NAMESPACE::GABC_PackedImpl::setFilename ( GU_PrimPacked prim,
const UT_StringHolder v 
)
void GABC_NAMESPACE::GABC_PackedImpl::setFrame ( GU_PrimPacked prim,
fpreal  f 
)
void GABC_NAMESPACE::GABC_PackedImpl::setObject ( const GABC_IObject v)
void GABC_NAMESPACE::GABC_PackedImpl::setObjectPath ( GU_PrimPacked prim,
const UT_StringHolder v 
)
void GABC_NAMESPACE::GABC_PackedImpl::setUseTransform ( GU_PrimPacked prim,
bool  v 
)
void GABC_NAMESPACE::GABC_PackedImpl::setUseVisibility ( GU_PrimPacked prim,
bool  v 
)
void GABC_NAMESPACE::GABC_PackedImpl::setViewportCache ( GT_AlembicCache cache) const
virtual bool GABC_NAMESPACE::GABC_PackedImpl::supportsJSONLoad ( ) const
inlinevirtual

Determines if we support loading from a JSONParser directly rather than just from a UT_Options. Loading from JSON is typically more efficient than loading from a UT_Options since the file loader doesn't have to convert the JSON map to a UT_Options.

Reimplemented from GU_PackedImpl.

Definition at line 95 of file GABC_PackedImpl.h.

static GA_PrimitiveTypeId GABC_NAMESPACE::GABC_PackedImpl::typeId ( )
inlinestatic

Definition at line 47 of file GABC_PackedImpl.h.

virtual bool GABC_NAMESPACE::GABC_PackedImpl::unpack ( GU_Detail destgdp) const
virtual

Unpack the procedural into a GU_Detail. By default, this calls getGTFull() and converts the GT geometry to a GU_Detail.

Implements GU_PackedImpl.

virtual bool GABC_NAMESPACE::GABC_PackedImpl::unpackUsingPolygons ( GU_Detail destgdp) const
virtual

Unpack without using polygon soups.

Reimplemented from GU_PackedImpl.

virtual void GABC_NAMESPACE::GABC_PackedImpl::update ( GU_PrimPacked prim,
const UT_Options options 
)
virtual

Depending on the update, the procedural should call one of:

Implements GU_PackedImpl.

bool GABC_NAMESPACE::GABC_PackedImpl::useTransform ( ) const
inline

Definition at line 178 of file GABC_PackedImpl.h.

bool GABC_NAMESPACE::GABC_PackedImpl::useVisibility ( ) const
inline

Definition at line 180 of file GABC_PackedImpl.h.

bool GABC_NAMESPACE::GABC_PackedImpl::visibleGT ( bool *  is_animated = NULL) const

Return GT representations of geometry

GT_TransformHandle GABC_NAMESPACE::GABC_PackedImpl::xformGT ( ) const

The xformGT will return the transform for the primitive, regardless of whether the load_style for full geometry was set to force untransformed geometry.


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