HDK
|
#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::OFaceSet | OFaceSet |
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 UT_Map< std::string, OFaceSet * > | FaceSetMap |
typedef std::pair< std::string, OFaceSet * > | FaceSetMapInsert |
typedef GABC_Util::CollisionResolver | CollisionResolver |
Public Member Functions | |
GABC_OGTGeometry (const std::string &name, GABC_LayerOptions::LayerType type) | |
~GABC_OGTGeometry () | |
bool | start (const GT_PrimitiveHandle &prim, const OObject &parent, const GABC_OOptions &ctx, const GABC_LayerOptions &lopt, GABC_OError &err, ObjectVisibility vis=Alembic::AbcGeom::kVisibilityDeferred, bool outputViz=true) |
bool | update (const GT_PrimitiveHandle &prim, const GABC_OOptions &ctx, const GABC_LayerOptions &lopt, 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... | |
SecondaryCache & | getSecondaryCache () |
Return the secondary cache (allocating if needed) More... | |
void | dump (int indent=0) const |
Dump information. More... | |
Static Public Member Functions | |
static const IgnoreList & | getDefaultSkip () |
static const IgnoreList & | getLayerSkip () |
static bool | isPrimitiveSupported (const GT_PrimitiveHandle &prim) |
Return true if the primitive can be processed. More... | |
Protected Member Functions | |
void | makeFaceSets (const OObject &parent, const GT_PrimitiveHandle &prim, const GABC_OOptions &ctx, const GABC_LayerOptions &lopt) |
bool | makeArbProperties (const GT_PrimitiveHandle &prim, GABC_OError &err, const GABC_OOptions &ctx, const GABC_LayerOptions &lopt) |
bool | writeArbProperties (const GT_PrimitiveHandle &prim, GABC_OError &err, const GABC_OOptions &ctx) |
void | writeArbPropertiesFromPrevious () |
void | clearProperties () |
void | clearArbProperties () |
void | clearFaceSets () |
void | clearShape () |
void | clearCache () |
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 52 of file GABC_OGTGeometry.h.
Definition at line 71 of file GABC_OGTGeometry.h.
Definition at line 69 of file GABC_OGTGeometry.h.
typedef std::pair<std::string, OFaceSet *> GABC_NAMESPACE::GABC_OGTGeometry::FaceSetMapInsert |
Definition at line 70 of file GABC_OGTGeometry.h.
Definition at line 58 of file GABC_OGTGeometry.h.
Definition at line 55 of file GABC_OGTGeometry.h.
Definition at line 63 of file GABC_OGTGeometry.h.
Definition at line 60 of file GABC_OGTGeometry.h.
Definition at line 65 of file GABC_OGTGeometry.h.
Definition at line 56 of file GABC_OGTGeometry.h.
Definition at line 64 of file GABC_OGTGeometry.h.
Definition at line 61 of file GABC_OGTGeometry.h.
Definition at line 62 of file GABC_OGTGeometry.h.
Definition at line 59 of file GABC_OGTGeometry.h.
Definition at line 67 of file GABC_OGTGeometry.h.
Definition at line 68 of file GABC_OGTGeometry.h.
GABC_NAMESPACE::GABC_OGTGeometry::GABC_OGTGeometry | ( | const std::string & | name, |
GABC_LayerOptions::LayerType | type | ||
) |
GABC_NAMESPACE::GABC_OGTGeometry::~GABC_OGTGeometry | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
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 |
Return true if the primitive can be processed.
|
protected |
|
protected |
bool GABC_NAMESPACE::GABC_OGTGeometry::start | ( | const GT_PrimitiveHandle & | prim, |
const OObject & | parent, | ||
const GABC_OOptions & | ctx, | ||
const GABC_LayerOptions & | lopt, | ||
GABC_OError & | err, | ||
ObjectVisibility | vis = Alembic::AbcGeom::kVisibilityDeferred , |
||
bool | outputViz = true |
||
) |
bool GABC_NAMESPACE::GABC_OGTGeometry::update | ( | const GT_PrimitiveHandle & | prim, |
const GABC_OOptions & | ctx, | ||
const GABC_LayerOptions & | lopt, | ||
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 |
||
) |
|
protected |
|
protected |
OCurves* GABC_NAMESPACE::GABC_OGTGeometry::myCurves |
Definition at line 300 of file GABC_OGTGeometry.h.
ONuPatch* GABC_NAMESPACE::GABC_OGTGeometry::myNuPatch |
Definition at line 302 of file GABC_OGTGeometry.h.
OPoints* GABC_NAMESPACE::GABC_OGTGeometry::myPoints |
Definition at line 301 of file GABC_OGTGeometry.h.
OPolyMesh* GABC_NAMESPACE::GABC_OGTGeometry::myPolyMesh |
Definition at line 298 of file GABC_OGTGeometry.h.
OSubD* GABC_NAMESPACE::GABC_OGTGeometry::mySubD |
Definition at line 299 of file GABC_OGTGeometry.h.
void* GABC_NAMESPACE::GABC_OGTGeometry::myVoidPtr |
Definition at line 303 of file GABC_OGTGeometry.h.