37#ifndef Alembic_AbcGeom_OFaceSet_h
38#define Alembic_AbcGeom_OFaceSet_h
77 : m_faces( iFaceNums )
89 { m_selfBounds = iBnds; }
95 m_selfBounds.makeEmpty();
128 const std::string &iName,
141 const std::string &iName,
166 {
return m_facesProperty.getNumSamples(); }
186 m_facesProperty.reset();
195 m_facesProperty.
valid()
#define ALEMBIC_VERSION_NS
Sample(const Abc::Int32ArraySample &iFaceNums)
void setFaces(const Abc::Int32ArraySample &iFaces)
const Abc::Box3d & getSelfBounds() const
void setSelfBounds(const Abc::Box3d &iBnds)
Abc::Int32ArraySample m_faces
const Abc::Int32ArraySample & getFaces() const
Abc::OInt32ArrayProperty m_facesProperty
void setFaceExclusivity(FaceSetExclusivity iFacesExclusive)
FaceSetExclusivity m_facesExclusive
void setTimeSampling(uint32_t iTimeSamplingID)
size_t getNumSamples() const
Default assignment operator used.
FaceSetExclusivity getFaceExclusivity()
OFaceSetSchema(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())
void init(AbcA::CompoundPropertyWriterPtr iParent, const Abc::Argument &iArg0, const Abc::Argument &iArg1, const Abc::Argument &iArg2, const Abc::Argument &iArg3)
void setTimeSampling(AbcA::TimeSamplingPtr iTime)
OFaceSetSchema(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())
void set(const Sample &iSamp)
Set a sample! First sample must have the list of faces in the faceset.
void _recordExclusivityHint()
bool valid() const
Valid returns whether this instance holds real data.
ALEMBIC_OVERRIDE_OPERATOR_BOOL(OFaceSetSchema::valid())
OFaceSetSchema(const OFaceSetSchema &iCopy)
Copy constructor.
Abc::OUInt32Property m_facesExclusiveProperty
virtual bool valid() const
Alembic::Util::shared_ptr< CompoundPropertyWriter > CompoundPropertyWriterPtr
Alembic::Util::shared_ptr< TimeSampling > TimeSamplingPtr
Abc::Box3d computeBoundsFromPositionsByFaces(const Int32ArraySample &faces, const Int32ArraySample &meshFaceCounts, const Int32ArraySample &vertexIndices, const P3fArraySample &meshP)
Util::shared_ptr< OFaceSet > OFaceSetPtr
FaceSetExclusivity
Hint to indicate face membership is mutally exclusive. Some structures that group faces only allow a ...