37 #ifndef Alembic_AbcGeom_IFaceSet_h
38 #define Alembic_AbcGeom_IFaceSet_h
74 return m_faces.get() != 0;
81 m_selfBounds.makeEmpty();
126 init( iArg0, iArg1 );
138 init( iArg0, iArg1 );
142 template <
class CPROP_PTR>
150 init( iArg0, iArg1 );
168 bool isConstant()
const {
return (m_facesProperty.isConstant ()); }
176 size_t getNumSamples()
const;
181 if ( m_facesProperty.valid() )
182 return m_facesProperty.getTimeSampling();
183 return getObject().getArchive().getTimeSampling(0);
186 void get( Sample &iSamp,
200 return m_facesProperty;
213 m_facesProperty.reset();
223 m_facesProperty.
valid() );
#define ALEMBIC_OPERATOR_BOOL(PASS_COND)
Util::shared_ptr< IFaceSet > IFaceSetPtr
Abc::Int32ArraySamplePtr getFaces() const
Alembic::Util::shared_ptr< Int32ArraySample > Int32ArraySamplePtr
Abc::Int32ArraySamplePtr m_faces
GLsizei const GLchar *const * string
FaceSetExclusivity
Hint to indicate face membership is mutally exclusive. Some structures that group faces only allow a ...
Abc::IInt32ArrayProperty m_facesProperty
Alembic::Util::shared_ptr< TimeSampling > TimeSamplingPtr
bool isConstant() const
Default assignment operator used.
Sample()
Users never create this data directly.
virtual bool valid() const
IFaceSetSchema(CPROP_PTR iThis, Abc::WrapExistingFlag iFlag, const Abc::Argument &iArg0=Abc::Argument(), const Abc::Argument &iArg1=Abc::Argument())
wrap an existing schema object
AbcA::TimeSamplingPtr getTimeSampling() const
Return the time sampling.
#define ALEMBIC_OVERRIDE_OPERATOR_BOOL(PASS_COND)
Abc::IInt32ArrayProperty getFacesProperty() const
IFaceSetSchema(const IFaceSetSchema &iCopy)
Copy constructor. (explicit copy ctor for msvc bug workaround)
Box< V3d > Box3d
3D box of base type double.
IFaceSetSchema(const ICompoundProperty &iParent, const std::string &iName, const Abc::Argument &iArg0=Abc::Argument(), const Abc::Argument &iArg1=Abc::Argument())
Abc::Box3d getSelfBounds() const
IFaceSetSchema(const ICompoundProperty &iProp, const Abc::Argument &iArg0=Abc::Argument(), const Abc::Argument &iArg1=Abc::Argument())
Abc::ISchemaObject< IFaceSetSchema > IFaceSet
Sample getValue(const Abc::ISampleSelector &iSS=Abc::ISampleSelector()) const
#define ALEMBIC_VERSION_NS