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

#include <GABC_OGTGeometry.h>

Classes

class  IgnoreList
 A simple set of strings. More...
 
class  IntrinsicCache
 
class  SecondaryCache
 

Public Types

typedef
Alembic::Abc::OCompoundProperty 
OCompoundProperty
 
typedef Alembic::Abc::OObject OObject
 
typedef
Alembic::AbcGeom::ObjectVisibility 
ObjectVisibility
 
typedef
Alembic::AbcGeom::OVisibilityProperty 
OVisibilityProperty
 
typedef Alembic::AbcGeom::OPolyMesh OPolyMesh
 
typedef Alembic::AbcGeom::OSubD OSubD
 
typedef Alembic::AbcGeom::OCurves OCurves
 
typedef Alembic::AbcGeom::OPoints OPoints
 
typedef Alembic::AbcGeom::ONuPatch ONuPatch
 
typedef GABC_Util::PropertyMap PropertyMap
 
typedef
GABC_Util::PropertyMapInsert 
PropertyMapInsert
 
typedef
GABC_Util::CollisionResolver 
CollisionResolver
 

Public Member Functions

 GABC_OGTGeometry (const std::string &name)
 
 ~GABC_OGTGeometry ()
 
bool start (const GT_PrimitiveHandle &prim, const OObject &parent, const GABC_OOptions &ctx, GABC_OError &err, ObjectVisibility vis=Alembic::AbcGeom::kVisibilityDeferred)
 
bool update (const GT_PrimitiveHandle &prim, const GABC_OOptions &ctx, GABC_OError &err, ObjectVisibility vis=Alembic::AbcGeom::kVisibilityDeferred)
 
bool updateFromPrevious (GABC_OError &err, ObjectVisibility vis=Alembic::AbcGeom::kVisibilityHidden, exint frames=1)
 
OObject getOObject () const
 Return the OObject for this shape. More...
 
OCompoundProperty getUserProperties () const
 Return the user properties for this shape. More...
 
SecondaryCachegetSecondaryCache ()
 Return the secondary cache (allocating if needed) More...
 
void dump (int indent=0) const
 Dump information. More...
 

Static Public Member Functions

static const IgnoreListgetDefaultSkip ()
 
static bool isPrimitiveSupported (const GT_PrimitiveHandle &prim)
 Return true if the primitive can be processed. More...
 

Protected Member Functions

void makeFaceSets (const GT_PrimitiveHandle &prim, const GABC_OOptions &ctx)
 
bool makeArbProperties (const GT_PrimitiveHandle &prim, GABC_OError &err, const GABC_OOptions &ctx)
 
bool writeArbProperties (const GT_PrimitiveHandle &prim, GABC_OError &err, const GABC_OOptions &ctx)
 
void writeArbPropertiesFromPrevious ()
 
void clearProperties ()
 
void clearArbProperties ()
 
void clearShape ()
 
void clearCache ()
 

Detailed Description

This class will translate and output a GT_Primitive to Alembic. Each time the update function is called, this class will write a sample to it's Alembic object. If updateFromPrevious is called, the most recent sample will be reused. Before either of these functions can be called, the start function must be called to setup the Alembic OObject. Start will also call update for the first time.

Definition at line 51 of file GABC_OGTGeometry.h.

Member Typedef Documentation

Constructor & Destructor Documentation

GABC_NAMESPACE::GABC_OGTGeometry::GABC_OGTGeometry ( const std::string name)
GABC_NAMESPACE::GABC_OGTGeometry::~GABC_OGTGeometry ( )

Member Function Documentation

void GABC_NAMESPACE::GABC_OGTGeometry::clearArbProperties ( )
protected
void GABC_NAMESPACE::GABC_OGTGeometry::clearCache ( )
protected
void GABC_NAMESPACE::GABC_OGTGeometry::clearProperties ( )
protected
void GABC_NAMESPACE::GABC_OGTGeometry::clearShape ( )
protected
void GABC_NAMESPACE::GABC_OGTGeometry::dump ( int  indent = 0) const

Dump information.

static const IgnoreList& GABC_NAMESPACE::GABC_OGTGeometry::getDefaultSkip ( )
static
OObject GABC_NAMESPACE::GABC_OGTGeometry::getOObject ( ) const

Return the OObject for this shape.

SecondaryCache& GABC_NAMESPACE::GABC_OGTGeometry::getSecondaryCache ( )

Return the secondary cache (allocating if needed)

OCompoundProperty GABC_NAMESPACE::GABC_OGTGeometry::getUserProperties ( ) const

Return the user properties for this shape.

static bool GABC_NAMESPACE::GABC_OGTGeometry::isPrimitiveSupported ( const GT_PrimitiveHandle prim)
static

Return true if the primitive can be processed.

bool GABC_NAMESPACE::GABC_OGTGeometry::makeArbProperties ( const GT_PrimitiveHandle prim,
GABC_OError err,
const GABC_OOptions ctx 
)
protected
void GABC_NAMESPACE::GABC_OGTGeometry::makeFaceSets ( const GT_PrimitiveHandle prim,
const GABC_OOptions ctx 
)
protected
bool GABC_NAMESPACE::GABC_OGTGeometry::start ( const GT_PrimitiveHandle prim,
const OObject parent,
const GABC_OOptions ctx,
GABC_OError err,
ObjectVisibility  vis = Alembic::AbcGeom::kVisibilityDeferred 
)
bool GABC_NAMESPACE::GABC_OGTGeometry::update ( const GT_PrimitiveHandle prim,
const GABC_OOptions ctx,
GABC_OError err,
ObjectVisibility  vis = Alembic::AbcGeom::kVisibilityDeferred 
)
bool GABC_NAMESPACE::GABC_OGTGeometry::updateFromPrevious ( GABC_OError err,
ObjectVisibility  vis = Alembic::AbcGeom::kVisibilityHidden,
exint  frames = 1 
)
bool GABC_NAMESPACE::GABC_OGTGeometry::writeArbProperties ( const GT_PrimitiveHandle prim,
GABC_OError err,
const GABC_OOptions ctx 
)
protected
void GABC_NAMESPACE::GABC_OGTGeometry::writeArbPropertiesFromPrevious ( )
protected

Member Data Documentation

OCurves* GABC_NAMESPACE::GABC_OGTGeometry::myCurves

Definition at line 327 of file GABC_OGTGeometry.h.

ONuPatch* GABC_NAMESPACE::GABC_OGTGeometry::myNuPatch

Definition at line 329 of file GABC_OGTGeometry.h.

OPoints* GABC_NAMESPACE::GABC_OGTGeometry::myPoints

Definition at line 328 of file GABC_OGTGeometry.h.

OPolyMesh* GABC_NAMESPACE::GABC_OGTGeometry::myPolyMesh

Definition at line 325 of file GABC_OGTGeometry.h.

OSubD* GABC_NAMESPACE::GABC_OGTGeometry::mySubD

Definition at line 326 of file GABC_OGTGeometry.h.

void* GABC_NAMESPACE::GABC_OGTGeometry::myVoidPtr

Definition at line 330 of file GABC_OGTGeometry.h.


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