HDK
|
#include <OPolyMesh.h>
Classes | |
class | Sample |
Public Types | |
typedef OPolyMeshSchema | this_type |
Public Types inherited from Alembic::AbcGeom::ALEMBIC_VERSION_NS::OGeomBaseSchema< PolyMeshSchemaInfo > | |
typedef PolyMeshSchemaInfo | info_type |
Public Types inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OSchema< PolyMeshSchemaInfo > | |
typedef PolyMeshSchemaInfo | info_type |
typedef OSchema < PolyMeshSchemaInfo > | this_type |
Public Types inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OCompoundProperty | |
typedef OCompoundProperty | this_type |
Public Types inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::CompoundPropertyWriterPtr > | |
typedef OBasePropertyT < AbcA::CompoundPropertyWriterPtr > | this_type |
typedef OBasePropertyT < AbcA::CompoundPropertyWriterPtr > | operator_bool_base_type |
Definition at line 52 of file OPolyMesh.h.
By convention we always define this_type in AbcGeom classes. Used by unspecified-bool-type conversion below
Definition at line 162 of file OPolyMesh.h.
|
inline |
The default constructor creates an empty OPolyMeshSchema ...
Definition at line 170 of file OPolyMesh.h.
Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPolyMeshSchema::OPolyMeshSchema | ( | AbcA::CompoundPropertyWriterPtr | iParent, |
const std::string & | iName, | ||
const Abc::Argument & | iArg0 = Abc::Argument() , |
||
const Abc::Argument & | iArg1 = Abc::Argument() , |
||
const Abc::Argument & | iArg2 = Abc::Argument() , |
||
const Abc::Argument & | iArg3 = Abc::Argument() |
||
) |
This constructor creates a new poly mesh writer. The first argument is an CompoundPropertyWriterPtr to use as a parent. The next is the name to give the schema which is usually the default name given by OPolyMesh (.geom) The remaining optional arguments can be used to override the ErrorHandlerPolicy, to specify MetaData, specify sparse sampling and to set TimeSampling.
Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPolyMeshSchema::OPolyMeshSchema | ( | Abc::OCompoundProperty | iParent, |
const std::string & | iName, | ||
const Abc::Argument & | iArg0 = Abc::Argument() , |
||
const Abc::Argument & | iArg1 = Abc::Argument() , |
||
const Abc::Argument & | iArg2 = Abc::Argument() |
||
) |
This constructor creates a new poly mesh writer. The first argument is an OCompundProperty to use as a parent, and from which the ErrorHandlerPolicy is derived. The next is the name to give the schema which is usually the default name given by OPolyMesh (.geom) The remaining optional arguments can be used to specify MetaData, specify sparse sampling and to set TimeSampling.
|
inline |
Copy constructor.
Definition at line 203 of file OPolyMesh.h.
Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPolyMeshSchema::ALEMBIC_OVERRIDE_OPERATOR_BOOL | ( | OPolyMeshSchema:: | valid() | ) |
unspecified-bool-type operator overload. ...
OFaceSet& Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPolyMeshSchema::createFaceSet | ( | const std::string & | iFaceSetName | ) |
OFaceSet Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPolyMeshSchema::getFaceSet | ( | const std::string & | iFaceSetName | ) |
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPolyMeshSchema::getFaceSetNames | ( | std::vector< std::string > & | oFaceSetNames | ) |
Appends the names of any FaceSets for this PolyMesh.
|
inline |
Get number of samples written so far. ...
Definition at line 235 of file OPolyMesh.h.
|
inline |
Default assignment operator used.
Return the time sampling type, which is stored on each of the sub properties.
Definition at line 217 of file OPolyMesh.h.
bool Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPolyMeshSchema::hasFaceSet | ( | const std::string & | iFaceSetName | ) |
|
inlinevirtual |
Reset returns this function set to an empty, default state.
Reimplemented from Alembic::AbcGeom::ALEMBIC_VERSION_NS::OGeomBaseSchema< PolyMeshSchemaInfo >.
Definition at line 257 of file OPolyMesh.h.
Set a sample! Sample zero has to have non-degenerate positions, indices and counts.
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPolyMeshSchema::setFromPrevious | ( | ) |
Set from previous sample. Will apply to each of positions, indices, and counts.
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPolyMeshSchema::setTimeSampling | ( | uint32_t | iIndex | ) |
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPolyMeshSchema::setTimeSampling | ( | AbcA::TimeSamplingPtr | iTime | ) |
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPolyMeshSchema::setUVSourceName | ( | const std::string & | iName | ) |
Optional source name for the UV param. Must be set before the first UV sample is set.
|
inlinevirtual |
Valid returns whether this function set is valid.
Reimplemented from Alembic::AbcGeom::ALEMBIC_VERSION_NS::OGeomBaseSchema< PolyMeshSchemaInfo >.
Definition at line 273 of file OPolyMesh.h.