Alembic 1.8.11
Loading...
Searching...
No Matches
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema Class Reference
Inheritance diagram for Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema:
Collaboration diagram for Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema:

Classes

class  Sample

Public Types

typedef ISubDSchema this_type
Public Types inherited from Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBaseSchema< SubDSchemaInfo >
typedef SubDSchemaInfo info_type
Public Types inherited from Alembic::Abc::ALEMBIC_VERSION_NS::ISchema< SubDSchemaInfo >
typedef SubDSchemaInfo info_type
typedef ISchema< SubDSchemaInfo > this_type
Public Types inherited from Alembic::Abc::ALEMBIC_VERSION_NS::ICompoundProperty
typedef ICompoundProperty this_type

Public Member Functions

 ISubDSchema ()
 ISubDSchema (const ICompoundProperty &iParent, const std::string &iName, const Abc::Argument &iArg0=Abc::Argument(), const Abc::Argument &iArg1=Abc::Argument())
 ISubDSchema (const ICompoundProperty &iProp, const Abc::Argument &iArg0=Abc::Argument(), const Abc::Argument &iArg1=Abc::Argument())
MeshTopologyVariance getTopologyVariance () const
 Default assignment operator used.
bool isConstant () const
 if isConstant() is true, the mesh contains no time-varying values
size_t getNumSamples () const
AbcA::TimeSamplingPtr getTimeSampling () const
 Return the time sampling.
void get (Sample &iSamp, const Abc::ISampleSelector &iSS=Abc::ISampleSelector()) const
Sample getValue (const Abc::ISampleSelector &iSS=Abc::ISampleSelector()) const
Abc::IInt32ArrayProperty getFaceCountsProperty () const
Abc::IInt32ArrayProperty getFaceIndicesProperty () const
Abc::IP3fArrayProperty getPositionsProperty () const
Abc::IInt32Property getFaceVaryingInterpolateBoundaryProperty () const
Abc::IInt32Property getFaceVaryingPropagateCornersProperty () const
Abc::IInt32Property getInterpolateBoundaryProperty () const
Abc::IInt32ArrayProperty getCreaseIndicesProperty () const
Abc::IInt32ArrayProperty getCreaseLengthsProperty () const
Abc::IFloatArrayProperty getCreaseSharpnessesProperty () const
Abc::IInt32ArrayProperty getCornerIndicesProperty () const
Abc::IFloatArrayProperty getCornerSharpnessesProperty () const
Abc::IInt32ArrayProperty getHolesProperty () const
Abc::IStringProperty getSubdivisionSchemeProperty () const
Abc::IV3fArrayProperty getVelocitiesProperty () const
IV2fGeomParam getUVsParam () const
void reset ()
bool valid () const
void getFaceSetNames (std::vector< std::string > &oFaceSetNames)
 Appends the names of any FaceSets for this SubD.
IFaceSet getFaceSet (const std::string &iFaceSetName)
bool hasFaceSet (const std::string &iFaceSetName)
 ALEMBIC_OVERRIDE_OPERATOR_BOOL (ISubDSchema::valid())
 ISubDSchema (const ISubDSchema &iCopy)
const ISubDSchemaoperator= (const ISubDSchema &rhs)
Public Member Functions inherited from Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBaseSchema< SubDSchemaInfo >
 IGeomBaseSchema ()
void init (const Abc::Argument &iArg0, const Abc::Argument &iArg1)
Abc::IBox3dProperty getSelfBoundsProperty () const
Abc::IBox3dProperty getChildBoundsProperty () const
ICompoundProperty getArbGeomParams () const
ICompoundProperty getUserProperties () const
Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::ISchema< SubDSchemaInfo >
 ISchema ()
virtual ~ISchema ()
Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::ICompoundProperty
 ICompoundProperty ()
 ICompoundProperty (const ICompoundProperty &iParent, const std::string &iName, const Argument &iArg0=Argument())
 ICompoundProperty (AbcA::CompoundPropertyReaderPtr iPtr, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
 ICompoundProperty (AbcA::CompoundPropertyReaderPtr iPtr, WrapExistingFlag, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
 ICompoundProperty (const IObject &iObject, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
 ICompoundProperty (const IObject &iObject, TopFlag, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
 ~ICompoundProperty ()
size_t getNumProperties () const
 Returns the number of properties contained in this ICompoundProperty.
const AbcA::PropertyHeader & getPropertyHeader (size_t i) const
const AbcA::PropertyHeader * getPropertyHeader (const std::string &iName) const
ICompoundProperty getParent () const
Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::IBasePropertyT< AbcA::CompoundPropertyReaderPtr >
const AbcA::PropertyHeader & getHeader () const
const std::string & getName () const
AbcA::PropertyType getPropertyType () const
bool isScalar () const
bool isArray () const
bool isCompound () const
bool isSimple () const
const AbcA::MetaData & getMetaData () const
const AbcA::DataType & getDataType () const
AbcA::TimeSamplingPtr getTimeSampling () const
IObject getObject () const
AbcA::CompoundPropertyReaderPtr getPtr () const
void reset ()
bool valid () const
 ALEMBIC_OPERATOR_BOOL (valid())
Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::Base
ErrorHandlergetErrorHandler () const
ErrorHandler::Policy getErrorHandlerPolicy () const

Protected Member Functions

void init (const Abc::Argument &iArg0, const Abc::Argument &iArg1)
void loadFaceSetNames ()
Protected Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::IBasePropertyT< AbcA::CompoundPropertyReaderPtr >
 IBasePropertyT ()
Protected Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::Base
 Base (ErrorHandler::Policy iPolicy)
 Base (const Base &iCopy)
Baseoperator= (const Base &iCopy)
bool valid () const
void reset ()

Protected Attributes

Abc::IP3fArrayProperty m_positionsProperty
Abc::IInt32ArrayProperty m_faceIndicesProperty
Abc::IInt32ArrayProperty m_faceCountsProperty
Abc::IInt32Property m_faceVaryingInterpolateBoundaryProperty
Abc::IInt32Property m_faceVaryingPropagateCornersProperty
Abc::IInt32Property m_interpolateBoundaryProperty
Abc::IInt32ArrayProperty m_creaseIndicesProperty
Abc::IInt32ArrayProperty m_creaseLengthsProperty
Abc::IFloatArrayProperty m_creaseSharpnessesProperty
Abc::IInt32ArrayProperty m_cornerIndicesProperty
Abc::IFloatArrayProperty m_cornerSharpnessesProperty
Abc::IInt32ArrayProperty m_holesProperty
Abc::IStringProperty m_subdSchemeProperty
IV2fGeomParam m_uvsParam
IV3fArrayProperty m_velocitiesProperty
bool m_faceSetsLoaded
std::map< std::string, IFaceSetm_faceSets
Alembic::Util::mutex m_faceSetsMutex
Protected Attributes inherited from Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBaseSchema< SubDSchemaInfo >
Abc::IBox3dProperty m_selfBoundsProperty
Abc::IBox3dProperty m_childBoundsProperty
Abc::ICompoundProperty m_arbGeomParams
Abc::ICompoundProperty m_userProperties
Protected Attributes inherited from Alembic::Abc::ALEMBIC_VERSION_NS::IBasePropertyT< AbcA::CompoundPropertyReaderPtr >
AbcA::CompoundPropertyReaderPtr m_property

Additional Inherited Members

Static Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::ISchema< SubDSchemaInfo >
static const char * getSchemaTitle ()
static const char * getDefaultSchemaName ()
static bool matches (const AbcA::MetaData &iMetaData, SchemaInterpMatching iMatching=kStrictMatching)
Protected Types inherited from Alembic::Abc::ALEMBIC_VERSION_NS::IBasePropertyT< AbcA::CompoundPropertyReaderPtr >
typedef IBasePropertyT< AbcA::CompoundPropertyReaderPtr > this_type
typedef IBasePropertyT< AbcA::CompoundPropertyReaderPtr > operator_bool_base_type

Member Typedef Documentation

◆ this_type

By convention we always define this_type in AbcGeom classes. Used by unspecified-bool-type conversion below

Constructor & Destructor Documentation

◆ ISubDSchema() [1/3]

Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::ISubDSchema ( )
inline

The default constructor creates an empty ISubDSchema ...

◆ ISubDSchema() [2/3]

Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::ISubDSchema ( const ICompoundProperty & iParent,
const std::string & iName,
const Abc::Argument & iArg0 = Abc::Argument(),
const Abc::Argument & iArg1 = Abc::Argument() )
inline

This constructor creates a new subd reader. The first argument is the parent ICompoundProperty, from which the error handler policy for is derived. The second argument is the name of the ICompoundProperty that contains this schemas properties. The remaining optional arguments can be used to override the ErrorHandlerPolicy and to specify schema interpretation matching.

◆ ISubDSchema() [3/3]

Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::ISubDSchema ( const ICompoundProperty & iProp,
const Abc::Argument & iArg0 = Abc::Argument(),
const Abc::Argument & iArg1 = Abc::Argument() )
inline

This constructor wraps an existing ICompoundProperty as the subd reader, and the error handler policy is derived from it. The remaining optional arguments can be used to override the ErrorHandlerPolicy and to specify schema interpretation matching.

Member Function Documentation

◆ ALEMBIC_OVERRIDE_OPERATOR_BOOL()

Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::ALEMBIC_OVERRIDE_OPERATOR_BOOL ( ISubDSchema::valid() )

unspecified-bool-type operator overload. ...

◆ getNumSamples()

size_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getNumSamples ( ) const

Get number of samples written so far. ...

◆ reset()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::reset ( )
inlinevirtual

Reset returns this function set to an empty, default state.

Reimplemented from Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBaseSchema< SubDSchemaInfo >.

◆ valid()

bool Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::valid ( ) const
inlinevirtual

Valid returns whether this function set is valid.

Reimplemented from Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBaseSchema< SubDSchemaInfo >.


The documentation for this class was generated from the following files:
  • AbcGeom/ISubD.h
  • AbcGeom/ISubD.cpp