ISubD.h
Go to the documentation of this file.
//-*****************************************************************************
//
// Copyright (c) 2009-2012,
// Sony Pictures Imageworks, Inc. and
// Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Sony Pictures Imageworks, nor
// Industrial Light & Magic nor the names of their contributors may be used
// to endorse or promote products derived from this software without specific
// prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
//-*****************************************************************************
#ifndef Alembic_AbcGeom_ISubD_h
#define Alembic_AbcGeom_ISubD_h
#include <Alembic/Util/Export.h>
#include <Alembic/AbcGeom/Foundation.h>
#include <Alembic/AbcGeom/SchemaInfoDeclarations.h>
#include <Alembic/AbcGeom/IGeomParam.h>
#include <Alembic/AbcGeom/IFaceSet.h>
#include <Alembic/AbcGeom/IGeomBase.h>
namespace Alembic {
namespace AbcGeom {
namespace ALEMBIC_VERSION_NS {
//-*****************************************************************************
class ALEMBIC_EXPORT ISubDSchema : public IGeomBaseSchema<SubDSchemaInfo>
{
public:
//-*************************************************************************
// SUBD SCHEMA SAMPLE TYPE
//-*************************************************************************
class Sample
{
public:
typedef Sample this_type;
Sample() { reset(); }
// main stuff
Abc::P3fArraySamplePtr getPositions() const { return m_positions; }
Abc::Int32ArraySamplePtr getFaceIndices() const { return m_faceIndices; }
Abc::Int32ArraySamplePtr getFaceCounts() const { return m_faceCounts; }
// misc subd stuff
int32_t getFaceVaryingInterpolateBoundary() const
{ return m_faceVaryingInterpolateBoundary; }
int32_t getFaceVaryingPropagateCorners() const
{ return m_faceVaryingPropagateCorners; }
int32_t getInterpolateBoundary() const
{ return m_interpolateBoundary; }
// creases
Abc::Int32ArraySamplePtr getCreaseIndices() const
{ return m_creaseIndices; }
Abc::Int32ArraySamplePtr getCreaseLengths() const
{ return m_creaseLengths; }
Abc::FloatArraySamplePtr getCreaseSharpnesses() const
{ return m_creaseSharpnesses; }
// corners
Abc::Int32ArraySamplePtr getCornerIndices() const
{ return m_cornerIndices; }
Abc::FloatArraySamplePtr getCornerSharpnesses() const
{ return m_cornerSharpnesses; }
// Holes
Abc::Int32ArraySamplePtr getHoles() const { return m_holes; }
// subdivision scheme
std::string getSubdivisionScheme() const
{ return m_subdScheme; }
Abc::V3fArraySamplePtr getVelocities() const { return m_velocities; }
// bounds
Abc::Box3d getSelfBounds() const { return m_selfBounds; }
bool valid() const
{
return m_positions && m_faceIndices && m_faceCounts;
}
void reset()
{
m_positions.reset();
m_velocities.reset();
m_faceIndices.reset();
m_faceCounts.reset();
m_faceVaryingInterpolateBoundary = 0;
m_faceVaryingPropagateCorners = 0;
m_interpolateBoundary = 0;
m_creaseIndices.reset();
m_creaseLengths.reset();
m_creaseSharpnesses.reset();
m_cornerIndices.reset();
m_cornerSharpnesses.reset();
m_holes.reset();
m_subdScheme = "catmull-clark";
m_selfBounds.makeEmpty();
}
ALEMBIC_OPERATOR_BOOL( valid() );
protected:
friend class ISubDSchema;
Abc::P3fArraySamplePtr m_positions;
Abc::V3fArraySamplePtr m_velocities;
Abc::Int32ArraySamplePtr m_faceIndices;
Abc::Int32ArraySamplePtr m_faceCounts;
int32_t m_faceVaryingInterpolateBoundary;
int32_t m_faceVaryingPropagateCorners;
int32_t m_interpolateBoundary;
// Creases
Abc::Int32ArraySamplePtr m_creaseIndices;
Abc::Int32ArraySamplePtr m_creaseLengths;
Abc::FloatArraySamplePtr m_creaseSharpnesses;
// Corners
Abc::Int32ArraySamplePtr m_cornerIndices;
Abc::FloatArraySamplePtr m_cornerSharpnesses;
// Holes
Abc::Int32ArraySamplePtr m_holes;
// subdivision scheme
std::string m_subdScheme;
// bounds
Abc::Box3d m_selfBounds;
}; // end ISubDSchema::Sample
//-*************************************************************************
// SUBD SCHEMA
//-*************************************************************************
public:
typedef ISubDSchema this_type;
//-*************************************************************************
// CONSTRUCTION, DESTRUCTION, ASSIGNMENT
//-*************************************************************************
ISubDSchema()
{
m_faceSetsLoaded = false;
}
ISubDSchema( const ICompoundProperty &iParent,
const std::string &iName,
const Abc::Argument &iArg0 = Abc::Argument(),
const Abc::Argument &iArg1 = Abc::Argument() )
: IGeomBaseSchema<SubDSchemaInfo>( iParent, iName, iArg0, iArg1 )
{
init( iArg0, iArg1 );
}
ISubDSchema( const ICompoundProperty &iProp,
const Abc::Argument &iArg0 = Abc::Argument(),
const Abc::Argument &iArg1 = Abc::Argument() )
: IGeomBaseSchema<SubDSchemaInfo>( iProp, iArg0, iArg1 )
{
init( iArg0, iArg1 );
}
//-*************************************************************************
// SCHEMA STUFF
//-*************************************************************************
MeshTopologyVariance getTopologyVariance() const;
bool isConstant() const { return getTopologyVariance() == kConstantTopology; }
//-*************************************************************************
// SAMPLE STUFF
//-*************************************************************************
size_t getNumSamples() const;
AbcA::TimeSamplingPtr getTimeSampling() const
{
if ( m_positionsProperty.valid() )
{
return m_positionsProperty.getTimeSampling();
}
else
{
return getObject().getArchive().getTimeSampling( 0 );
}
}
void get( Sample &iSamp,
const Abc::ISampleSelector &iSS = Abc::ISampleSelector() ) const;
Sample getValue( const Abc::ISampleSelector &iSS = Abc::ISampleSelector() ) const
{
Sample smp;
get( smp, iSS );
return smp;
}
Abc::IInt32ArrayProperty getFaceCountsProperty() const
{ return m_faceCountsProperty; }
Abc::IInt32ArrayProperty getFaceIndicesProperty() const
{ return m_faceIndicesProperty; }
Abc::IP3fArrayProperty getPositionsProperty() const
{ return m_positionsProperty; }
Abc::IInt32Property getFaceVaryingInterpolateBoundaryProperty() const
{ return m_faceVaryingInterpolateBoundaryProperty; }
Abc::IInt32Property getFaceVaryingPropagateCornersProperty() const
{ return m_faceVaryingPropagateCornersProperty; }
Abc::IInt32Property getInterpolateBoundaryProperty() const
{ return m_interpolateBoundaryProperty; }
Abc::IInt32ArrayProperty getCreaseIndicesProperty() const
{ return m_creaseIndicesProperty; }
Abc::IInt32ArrayProperty getCreaseLengthsProperty() const
{ return m_creaseLengthsProperty; }
Abc::IFloatArrayProperty getCreaseSharpnessesProperty() const
{ return m_creaseSharpnessesProperty; }
Abc::IInt32ArrayProperty getCornerIndicesProperty() const
{ return m_cornerIndicesProperty; }
Abc::IFloatArrayProperty getCornerSharpnessesProperty() const
{ return m_cornerSharpnessesProperty; }
Abc::IInt32ArrayProperty getHolesProperty() const { return m_holesProperty; }
Abc::IStringProperty getSubdivisionSchemeProperty() const
{ return m_subdSchemeProperty; }
Abc::IV3fArrayProperty getVelocitiesProperty() const
{ return m_velocitiesProperty; }
IV2fGeomParam getUVsParam() const
{
return m_uvsParam;
}
//-*************************************************************************
// ABC BASE MECHANISMS
// These functions are used by Abc to deal with errors, rewrapping,
// and so on.
//-*************************************************************************
void reset()
{
m_positionsProperty.reset();
m_velocitiesProperty.reset();
m_faceIndicesProperty.reset();
m_faceCountsProperty.reset();
m_faceVaryingInterpolateBoundaryProperty.reset();
m_faceVaryingPropagateCornersProperty.reset();
m_interpolateBoundaryProperty.reset();
m_creaseIndicesProperty.reset();
m_creaseLengthsProperty.reset();
m_creaseSharpnessesProperty.reset();
m_cornerIndicesProperty.reset();
m_cornerSharpnessesProperty.reset();
m_holesProperty.reset();
m_subdSchemeProperty.reset();
m_uvsParam.reset();
IGeomBaseSchema<SubDSchemaInfo>::reset();
}
bool valid() const
{
return ( IGeomBaseSchema<SubDSchemaInfo>::valid() &&
m_positionsProperty.valid() &&
m_faceIndicesProperty.valid() &&
m_faceCountsProperty.valid() );
}
// FaceSet related
void getFaceSetNames( std::vector <std::string> &oFaceSetNames );
IFaceSet getFaceSet( const std::string &iFaceSetName );
bool hasFaceSet( const std::string &iFaceSetName );
ALEMBIC_OVERRIDE_OPERATOR_BOOL( ISubDSchema::valid() );
// Copy constructors
ISubDSchema(const ISubDSchema& iCopy)
: IGeomBaseSchema<SubDSchemaInfo>()
{
*this = iCopy;
}
const ISubDSchema & operator=(const ISubDSchema & rhs);
protected:
void init( const Abc::Argument &iArg0, const Abc::Argument &iArg1 );
Abc::IP3fArrayProperty m_positionsProperty;
Abc::IInt32ArrayProperty m_faceIndicesProperty;
Abc::IInt32ArrayProperty m_faceCountsProperty;
// misc
Abc::IInt32Property m_faceVaryingInterpolateBoundaryProperty;
Abc::IInt32Property m_faceVaryingPropagateCornersProperty;
Abc::IInt32Property m_interpolateBoundaryProperty;
// Creases
Abc::IInt32ArrayProperty m_creaseIndicesProperty;
Abc::IInt32ArrayProperty m_creaseLengthsProperty;
Abc::IFloatArrayProperty m_creaseSharpnessesProperty;
// Corners
Abc::IInt32ArrayProperty m_cornerIndicesProperty;
Abc::IFloatArrayProperty m_cornerSharpnessesProperty;
// Holes
Abc::IInt32ArrayProperty m_holesProperty;
// subdivision scheme
Abc::IStringProperty m_subdSchemeProperty;
// UVs
IV2fGeomParam m_uvsParam;
IV3fArrayProperty m_velocitiesProperty;
// FaceSets, this starts as empty until client
// code attempts to access facesets.
bool m_faceSetsLoaded;
std::map <std::string, IFaceSet> m_faceSets;
Alembic::Util::mutex m_faceSetsMutex;
void loadFaceSetNames();
};
//-*****************************************************************************
// SCHEMA OBJECT
//-*****************************************************************************
typedef Abc::ISchemaObject<ISubDSchema> ISubD;
typedef Util::shared_ptr< ISubD > ISubDPtr;
} // End namespace ALEMBIC_VERSION_NS
using namespace ALEMBIC_VERSION_NS;
} // End namespace AbcGeom
} // End namespace Alembic
#endif
Foundation.h
SchemaInfoDeclarations.h
Export.h
ALEMBIC_EXPORT
#define ALEMBIC_EXPORT
Definition: Export.h:51
IFaceSet.h
IGeomBase.h
IGeomParam.h
ALEMBIC_VERSION_NS
#define ALEMBIC_VERSION_NS
Definition: Foundation.h:105
Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBaseSchema
Definition: IGeomBase.h:61
Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBaseSchema::reset
virtual void reset()
Definition: IGeomBase.h:147
Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBaseSchema::valid
virtual bool valid() const
Definition: IGeomBase.h:156
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample
Definition: ISubD.h:59
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getVelocities
Abc::V3fArraySamplePtr getVelocities() const
Definition: ISubD.h:105
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_faceCounts
Abc::Int32ArraySamplePtr m_faceCounts
Definition: ISubD.h:148
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_faceVaryingInterpolateBoundary
int32_t m_faceVaryingInterpolateBoundary
Definition: ISubD.h:150
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getCreaseSharpnesses
Abc::FloatArraySamplePtr getCreaseSharpnesses() const
Definition: ISubD.h:88
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::valid
bool valid() const
Definition: ISubD.h:110
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_selfBounds
Abc::Box3d m_selfBounds
Definition: ISubD.h:170
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_velocities
Abc::V3fArraySamplePtr m_velocities
Definition: ISubD.h:146
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getFaceVaryingPropagateCorners
int32_t getFaceVaryingPropagateCorners() const
Definition: ISubD.h:75
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getCornerSharpnesses
Abc::FloatArraySamplePtr getCornerSharpnesses() const
Definition: ISubD.h:95
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getSelfBounds
Abc::Box3d getSelfBounds() const
Definition: ISubD.h:108
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::this_type
Sample this_type
Definition: ISubD.h:61
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::reset
void reset()
Definition: ISubD.h:115
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_creaseIndices
Abc::Int32ArraySamplePtr m_creaseIndices
Definition: ISubD.h:155
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_creaseLengths
Abc::Int32ArraySamplePtr m_creaseLengths
Definition: ISubD.h:156
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_holes
Abc::Int32ArraySamplePtr m_holes
Definition: ISubD.h:164
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getFaceCounts
Abc::Int32ArraySamplePtr getFaceCounts() const
Definition: ISubD.h:69
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_cornerIndices
Abc::Int32ArraySamplePtr m_cornerIndices
Definition: ISubD.h:160
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getCornerIndices
Abc::Int32ArraySamplePtr getCornerIndices() const
Definition: ISubD.h:92
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_cornerSharpnesses
Abc::FloatArraySamplePtr m_cornerSharpnesses
Definition: ISubD.h:161
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getCreaseIndices
Abc::Int32ArraySamplePtr getCreaseIndices() const
Definition: ISubD.h:82
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getFaceVaryingInterpolateBoundary
int32_t getFaceVaryingInterpolateBoundary() const
Definition: ISubD.h:72
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_faceIndices
Abc::Int32ArraySamplePtr m_faceIndices
Definition: ISubD.h:147
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_faceVaryingPropagateCorners
int32_t m_faceVaryingPropagateCorners
Definition: ISubD.h:151
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getPositions
Abc::P3fArraySamplePtr getPositions() const
Definition: ISubD.h:67
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::Sample
Sample()
Users never create this data directly.
Definition: ISubD.h:64
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::ALEMBIC_OPERATOR_BOOL
ALEMBIC_OPERATOR_BOOL(valid())
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getHoles
Abc::Int32ArraySamplePtr getHoles() const
Definition: ISubD.h:99
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getFaceIndices
Abc::Int32ArraySamplePtr getFaceIndices() const
Definition: ISubD.h:68
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getSubdivisionScheme
std::string getSubdivisionScheme() const
Definition: ISubD.h:102
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_creaseSharpnesses
Abc::FloatArraySamplePtr m_creaseSharpnesses
Definition: ISubD.h:157
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getCreaseLengths
Abc::Int32ArraySamplePtr getCreaseLengths() const
Definition: ISubD.h:85
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getInterpolateBoundary
int32_t getInterpolateBoundary() const
Definition: ISubD.h:78
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_interpolateBoundary
int32_t m_interpolateBoundary
Definition: ISubD.h:152
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_positions
Abc::P3fArraySamplePtr m_positions
Definition: ISubD.h:145
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_subdScheme
std::string m_subdScheme
Definition: ISubD.h:167
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema
Definition: ISubD.h:53
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getCreaseSharpnessesProperty
Abc::IFloatArrayProperty getCreaseSharpnessesProperty() const
Definition: ISubD.h:284
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getValue
Sample getValue(const Abc::ISampleSelector &iSS=Abc::ISampleSelector()) const
Definition: ISubD.h:257
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getFaceVaryingInterpolateBoundaryProperty
Abc::IInt32Property getFaceVaryingInterpolateBoundaryProperty() const
Definition: ISubD.h:271
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::isConstant
bool isConstant() const
if isConstant() is true, the mesh contains no time-varying values
Definition: ISubD.h:231
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getCreaseIndicesProperty
Abc::IInt32ArrayProperty getCreaseIndicesProperty() const
Definition: ISubD.h:280
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getCreaseLengthsProperty
Abc::IInt32ArrayProperty getCreaseLengthsProperty() const
Definition: ISubD.h:282
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getInterpolateBoundaryProperty
Abc::IInt32Property getInterpolateBoundaryProperty() const
Definition: ISubD.h:277
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_creaseIndicesProperty
Abc::IInt32ArrayProperty m_creaseIndicesProperty
Definition: ISubD.h:381
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_holesProperty
Abc::IInt32ArrayProperty m_holesProperty
Definition: ISubD.h:390
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_cornerSharpnessesProperty
Abc::IFloatArrayProperty m_cornerSharpnessesProperty
Definition: ISubD.h:387
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getFaceCountsProperty
Abc::IInt32ArrayProperty getFaceCountsProperty() const
Definition: ISubD.h:264
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_positionsProperty
Abc::IP3fArrayProperty m_positionsProperty
Definition: ISubD.h:371
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getCornerSharpnessesProperty
Abc::IFloatArrayProperty getCornerSharpnessesProperty() const
Definition: ISubD.h:289
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getHolesProperty
Abc::IInt32ArrayProperty getHolesProperty() const
Definition: ISubD.h:292
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_interpolateBoundaryProperty
Abc::IInt32Property m_interpolateBoundaryProperty
Definition: ISubD.h:378
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_faceVaryingPropagateCornersProperty
Abc::IInt32Property m_faceVaryingPropagateCornersProperty
Definition: ISubD.h:377
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getFaceSetNames
void getFaceSetNames(std::vector< std::string > &oFaceSetNames)
Appends the names of any FaceSets for this SubD.
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getUVsParam
IV2fGeomParam getUVsParam() const
Definition: ISubD.h:300
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::hasFaceSet
bool hasFaceSet(const std::string &iFaceSetName)
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::ISubDSchema
ISubDSchema(const ICompoundProperty &iProp, const Abc::Argument &iArg0=Abc::Argument(), const Abc::Argument &iArg1=Abc::Argument())
Definition: ISubD.h:213
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getFaceSet
IFaceSet getFaceSet(const std::string &iFaceSetName)
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getNumSamples
size_t getNumSamples() const
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::ISubDSchema
ISubDSchema(const ISubDSchema &iCopy)
Definition: ISubD.h:361
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::reset
void reset()
Definition: ISubD.h:313
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getPositionsProperty
Abc::IP3fArrayProperty getPositionsProperty() const
Definition: ISubD.h:268
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::init
void init(const Abc::Argument &iArg0, const Abc::Argument &iArg1)
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_uvsParam
IV2fGeomParam m_uvsParam
Definition: ISubD.h:396
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::ISubDSchema
ISubDSchema()
Definition: ISubD.h:188
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_subdSchemeProperty
Abc::IStringProperty m_subdSchemeProperty
Definition: ISubD.h:393
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_cornerIndicesProperty
Abc::IInt32ArrayProperty m_cornerIndicesProperty
Definition: ISubD.h:386
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getFaceVaryingPropagateCornersProperty
Abc::IInt32Property getFaceVaryingPropagateCornersProperty() const
Definition: ISubD.h:274
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getTimeSampling
AbcA::TimeSamplingPtr getTimeSampling() const
Return the time sampling.
Definition: ISubD.h:242
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_faceVaryingInterpolateBoundaryProperty
Abc::IInt32Property m_faceVaryingInterpolateBoundaryProperty
Definition: ISubD.h:376
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_creaseLengthsProperty
Abc::IInt32ArrayProperty m_creaseLengthsProperty
Definition: ISubD.h:382
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getFaceIndicesProperty
Abc::IInt32ArrayProperty getFaceIndicesProperty() const
Definition: ISubD.h:266
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_faceCountsProperty
Abc::IInt32ArrayProperty m_faceCountsProperty
Definition: ISubD.h:373
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::ISubDSchema
ISubDSchema(const ICompoundProperty &iParent, const std::string &iName, const Abc::Argument &iArg0=Abc::Argument(), const Abc::Argument &iArg1=Abc::Argument())
Definition: ISubD.h:199
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::ALEMBIC_OVERRIDE_OPERATOR_BOOL
ALEMBIC_OVERRIDE_OPERATOR_BOOL(ISubDSchema::valid())
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_faceSets
std::map< std::string, IFaceSet > m_faceSets
Definition: ISubD.h:403
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_faceSetsMutex
Alembic::Util::mutex m_faceSetsMutex
Definition: ISubD.h:404
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::valid
bool valid() const
Definition: ISubD.h:342
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::this_type
ISubDSchema this_type
Definition: ISubD.h:180
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::operator=
const ISubDSchema & operator=(const ISubDSchema &rhs)
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::loadFaceSetNames
void loadFaceSetNames()
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_faceSetsLoaded
bool m_faceSetsLoaded
Definition: ISubD.h:402
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_creaseSharpnessesProperty
Abc::IFloatArrayProperty m_creaseSharpnessesProperty
Definition: ISubD.h:383
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_velocitiesProperty
IV3fArrayProperty m_velocitiesProperty
Definition: ISubD.h:398
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getTopologyVariance
MeshTopologyVariance getTopologyVariance() const
Default assignment operator used.
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getVelocitiesProperty
Abc::IV3fArrayProperty getVelocitiesProperty() const
Definition: ISubD.h:297
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::get
void get(Sample &iSamp, const Abc::ISampleSelector &iSS=Abc::ISampleSelector()) const
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_faceIndicesProperty
Abc::IInt32ArrayProperty m_faceIndicesProperty
Definition: ISubD.h:372
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getSubdivisionSchemeProperty
Abc::IStringProperty getSubdivisionSchemeProperty() const
Definition: ISubD.h:294
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getCornerIndicesProperty
Abc::IInt32ArrayProperty getCornerIndicesProperty() const
Definition: ISubD.h:287
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ITypedGeomParam< V2fTPTraits >
Alembic::Abc::ALEMBIC_VERSION_NS::Argument
Definition: Argument.h:120
Alembic::Abc::ALEMBIC_VERSION_NS::ICompoundProperty
Definition: ICompoundProperty.h:53
Alembic::Abc::ALEMBIC_VERSION_NS::ISampleSelector
Definition: ISampleSelector.h:49
Alembic::Abc::ALEMBIC_VERSION_NS::ISchemaObject
Definition: ISchemaObject.h:56
Alembic::Abc::ALEMBIC_VERSION_NS::ITypedArrayProperty< Int32TPTraits >
Alembic::Abc::ALEMBIC_VERSION_NS::ITypedScalarProperty< Int32TPTraits >
Alembic::Util::ALEMBIC_VERSION_NS::mutex
Definition: Foundation.h:250
Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::TimeSamplingPtr
Alembic::Util::shared_ptr< TimeSampling > TimeSamplingPtr
Definition: TimeSampling.h:137
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDPtr
Util::shared_ptr< ISubD > ISubDPtr
Definition: ISubD.h:414
Alembic::AbcGeom::ALEMBIC_VERSION_NS::MeshTopologyVariance
MeshTopologyVariance
Definition: Foundation.h:59
Alembic::AbcGeom::ALEMBIC_VERSION_NS::kConstantTopology
@ kConstantTopology
Definition: Foundation.h:60
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubD
Abc::ISchemaObject< ISubDSchema > ISubD
Definition: ISubD.h:412
Alembic::Abc::ALEMBIC_VERSION_NS::FloatArraySamplePtr
Alembic::Util::shared_ptr< FloatArraySample > FloatArraySamplePtr
Definition: TypedArraySample.h:228
Alembic::Abc::ALEMBIC_VERSION_NS::Int32ArraySamplePtr
Alembic::Util::shared_ptr< Int32ArraySample > Int32ArraySamplePtr
Definition: TypedArraySample.h:224
Alembic::Abc::ALEMBIC_VERSION_NS::V3fArraySamplePtr
Alembic::Util::shared_ptr< V3fArraySample > V3fArraySamplePtr
Definition: TypedArraySample.h:240
Alembic::Abc::ALEMBIC_VERSION_NS::P3fArraySamplePtr
Alembic::Util::shared_ptr< P3fArraySample > P3fArraySamplePtr
Definition: TypedArraySample.h:250
Alembic
Alembic namespace ...
Definition: ArchiveInfo.h:46