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