INuPatch.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_INuPatch_h
#define Alembic_AbcGeom_INuPatch_h
#include <Alembic/Util/Export.h>
#include <Alembic/AbcGeom/Foundation.h>
#include <Alembic/AbcGeom/SchemaInfoDeclarations.h>
#include <Alembic/AbcGeom/IGeomParam.h>
#include <Alembic/AbcGeom/IGeomBase.h>
namespace Alembic {
namespace AbcGeom {
namespace ALEMBIC_VERSION_NS {
//-*****************************************************************************
class ALEMBIC_EXPORT INuPatchSchema : public IGeomBaseSchema<NuPatchSchemaInfo>
{
public:
class Sample
{
public:
typedef Sample this_type;
// Users don't ever create this data directly.
Sample() { reset(); }
Abc::P3fArraySamplePtr getPositions() const { return m_positions; }
Abc::V3fArraySamplePtr getVelocities() const { return m_velocities; }
int32_t getNumU() const { return m_numU; }
int32_t getNumV() const { return m_numV; }
int32_t getUOrder() const { return m_uOrder; }
int32_t getVOrder() const { return m_vOrder; }
Abc::FloatArraySamplePtr getUKnot() const { return m_uKnot; }
Abc::FloatArraySamplePtr getVKnot() const { return m_vKnot; }
// if this is NULL then the weight value of the position for each
// point is 1
Abc::FloatArraySamplePtr getPositionWeights() const { return m_positionWeights; }
// trim curve
int32_t getTrimNumLoops() const { return m_trimNumLoops; }
Abc::Int32ArraySamplePtr getTrimNumVertices() const { return m_trimNumVertices; }
Abc::Int32ArraySamplePtr getTrimNumCurves() const { return m_trimNumCurves; }
Abc::Int32ArraySamplePtr getTrimOrders() const { return m_trimOrder; }
Abc::FloatArraySamplePtr getTrimKnots() const { return m_trimKnot; }
Abc::FloatArraySamplePtr getTrimMins() const { return m_trimMin; }
Abc::FloatArraySamplePtr getTrimMaxes() const { return m_trimMax; }
Abc::FloatArraySamplePtr getTrimU() const { return m_trimU; }
Abc::FloatArraySamplePtr getTrimV() const { return m_trimV; }
Abc::FloatArraySamplePtr getTrimW() const { return m_trimW; }
bool hasTrimCurve() const { return m_trimNumLoops != 0; }
bool valid() const
{
return m_positions && m_numU && m_numV && m_uOrder && m_vOrder &&
m_uKnot && m_vKnot;
}
Abc::Box3d getSelfBounds() const { return m_selfBounds; }
void reset()
{
m_positions.reset();
m_velocities.reset();
m_numU = 0;
m_numV = 0;
m_uOrder = 0;
m_vOrder = 0;
m_uKnot.reset();
m_vKnot.reset();
m_positionWeights.reset();
m_selfBounds.makeEmpty();
// trim curve
m_trimNumLoops = 0;
m_trimNumCurves.reset();
m_trimNumVertices.reset();
m_trimOrder.reset();
m_trimKnot.reset();
m_trimMin.reset();
m_trimMax.reset();
m_trimU.reset();
m_trimV.reset();
m_trimW.reset();
}
ALEMBIC_OPERATOR_BOOL( valid() );
protected:
friend class INuPatchSchema;
Abc::P3fArraySamplePtr m_positions;
Abc::V3fArraySamplePtr m_velocities;
int32_t m_numU;
int32_t m_numV;
int32_t m_uOrder;
int32_t m_vOrder;
Abc::FloatArraySamplePtr m_uKnot;
Abc::FloatArraySamplePtr m_vKnot;
Abc::FloatArraySamplePtr m_positionWeights;
// trim curve
int32_t m_trimNumLoops;
Abc::Int32ArraySamplePtr m_trimNumCurves;
Abc::Int32ArraySamplePtr m_trimNumVertices;
Abc::Int32ArraySamplePtr m_trimOrder;
Abc::FloatArraySamplePtr m_trimKnot;
Abc::FloatArraySamplePtr m_trimMin;
Abc::FloatArraySamplePtr m_trimMax;
Abc::FloatArraySamplePtr m_trimU;
Abc::FloatArraySamplePtr m_trimV;
Abc::FloatArraySamplePtr m_trimW;
bool m_hasTrimCurve;
// bounds
Abc::Box3d m_selfBounds;
};
//-*************************************************************************
// NuPatch Schema
//-*************************************************************************
public:
typedef INuPatchSchema this_type;
typedef Sample sample_type;
//-*************************************************************************
// CONSTRUCTION, DESTRUCTION, ASSIGNMENT
//-*************************************************************************
INuPatchSchema()
{
m_hasTrimCurve = false;
}
INuPatchSchema(const INuPatchSchema& iCopy)
: IGeomBaseSchema<NuPatchSchemaInfo>()
{
*this = iCopy;
}
INuPatchSchema( const ICompoundProperty &iParent,
const std::string &iName,
const Abc::Argument &iArg0 = Abc::Argument(),
const Abc::Argument &iArg1 = Abc::Argument() )
: IGeomBaseSchema<NuPatchSchemaInfo>( iParent, iName, iArg0, iArg1 )
{
init( iArg0, iArg1 );
}
explicit INuPatchSchema( const ICompoundProperty &iProp,
const Abc::Argument &iArg0 = Abc::Argument(),
const Abc::Argument &iArg1 = Abc::Argument() )
: IGeomBaseSchema<NuPatchSchemaInfo>( iProp, iArg0, iArg1 )
{
init( iArg0, iArg1 );
}
size_t getNumSamples() const
{ return m_positionsProperty.getNumSamples(); }
MeshTopologyVariance getTopologyVariance() const;
bool isConstant() const { return getTopologyVariance() == kConstantTopology; }
AbcA::TimeSamplingPtr getTimeSampling() const
{
return m_positionsProperty.getTimeSampling();
}
void get( sample_type &oSample,
const Abc::ISampleSelector &iSS = Abc::ISampleSelector() ) const;
Sample getValue( const Abc::ISampleSelector &iSS = Abc::ISampleSelector() ) const
{
Sample smp;
get( smp, iSS );
return smp;
}
Abc::IP3fArrayProperty getPositionsProperty() const { return m_positionsProperty; }
Abc::IFloatArrayProperty getUKnotsProperty() const { return m_uKnotProperty; }
Abc::IFloatArrayProperty getVKnotsProperty() const { return m_vKnotProperty; }
Abc::IV3fArrayProperty getVelocitiesProperty() const
{
return m_velocitiesProperty;
}
// if this property is invalid then the weight for every point is 1
Abc::IFloatArrayProperty getPositionWeightsProperty() const
{
return m_positionWeightsProperty;
}
IN3fGeomParam getNormalsParam() const
{
return m_normalsParam;
}
IV2fGeomParam getUVsParam() const
{
return m_uvsParam;
}
bool hasTrimCurve() const { return m_hasTrimCurve; }
bool trimCurveTopologyIsHomogenous() const;
bool trimCurveTopologyIsConstant() const;
//-*************************************************************************
// 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_numUProperty.reset();
m_numVProperty.reset();
m_uOrderProperty.reset();
m_vOrderProperty.reset();
m_uKnotProperty.reset();
m_vKnotProperty.reset();
m_positionWeightsProperty.reset();
m_normalsParam.reset();
m_uvsParam.reset();
// reset trim curve attributes
m_trimNumLoopsProperty.reset();
m_trimNumCurvesProperty.reset();
m_trimNumVerticesProperty.reset();
m_trimOrderProperty.reset();
m_trimKnotProperty.reset();
m_trimMinProperty.reset();
m_trimMaxProperty.reset();
m_trimUProperty.reset();
m_trimVProperty.reset();
m_trimWProperty.reset();
IGeomBaseSchema<NuPatchSchemaInfo>::reset();
}
bool valid() const
{
return ( IGeomBaseSchema<NuPatchSchemaInfo>::valid() &&
m_positionsProperty.valid() &&
m_numUProperty.valid() &&
m_numVProperty.valid() &&
m_uOrderProperty.valid() &&
m_vOrderProperty.valid() &&
m_uKnotProperty.valid() &&
m_vKnotProperty.valid() );
}
ALEMBIC_OVERRIDE_OPERATOR_BOOL( INuPatchSchema::valid() );
protected:
bool hasTrimProps() const;
protected:
void init( const Abc::Argument &iArg0,
const Abc::Argument &iArg1 );
// required properties
Abc::IP3fArrayProperty m_positionsProperty;
Abc::IInt32Property m_numUProperty;
Abc::IInt32Property m_numVProperty;
Abc::IInt32Property m_uOrderProperty;
Abc::IInt32Property m_vOrderProperty;
Abc::IFloatArrayProperty m_uKnotProperty;
Abc::IFloatArrayProperty m_vKnotProperty;
// optional
Abc::IV3fArrayProperty m_velocitiesProperty;
Abc::IFloatArrayProperty m_positionWeightsProperty;
IN3fGeomParam m_normalsParam;
IV2fGeomParam m_uvsParam;
// optional trim curve properties
Abc::IInt32Property m_trimNumLoopsProperty;
Abc::IInt32ArrayProperty m_trimNumVerticesProperty;
Abc::IInt32ArrayProperty m_trimNumCurvesProperty;
Abc::IInt32ArrayProperty m_trimOrderProperty;
Abc::IFloatArrayProperty m_trimKnotProperty;
Abc::IFloatArrayProperty m_trimMinProperty;
Abc::IFloatArrayProperty m_trimMaxProperty;
Abc::IFloatArrayProperty m_trimUProperty;
Abc::IFloatArrayProperty m_trimVProperty;
Abc::IFloatArrayProperty m_trimWProperty;
bool m_hasTrimCurve;
};
//-*****************************************************************************
typedef Abc::ISchemaObject<INuPatchSchema> INuPatch;
typedef Util::shared_ptr< INuPatch > INuPatchPtr;
} // 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
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::INuPatchSchema::Sample
Definition: INuPatch.h:55
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getSelfBounds
Abc::Box3d getSelfBounds() const
Definition: INuPatch.h:95
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getPositions
Abc::P3fArraySamplePtr getPositions() const
Definition: INuPatch.h:62
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_vKnot
Abc::FloatArraySamplePtr m_vKnot
Definition: INuPatch.h:137
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getVKnot
Abc::FloatArraySamplePtr getVKnot() const
Definition: INuPatch.h:69
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_trimW
Abc::FloatArraySamplePtr m_trimW
Definition: INuPatch.h:150
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getTrimNumLoops
int32_t getTrimNumLoops() const
Definition: INuPatch.h:76
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getTrimKnots
Abc::FloatArraySamplePtr getTrimKnots() const
Definition: INuPatch.h:80
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_trimMax
Abc::FloatArraySamplePtr m_trimMax
Definition: INuPatch.h:147
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_numV
int32_t m_numV
Definition: INuPatch.h:133
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getPositionWeights
Abc::FloatArraySamplePtr getPositionWeights() const
Definition: INuPatch.h:73
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_hasTrimCurve
bool m_hasTrimCurve
Definition: INuPatch.h:151
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getNumV
int32_t getNumV() const
Definition: INuPatch.h:65
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getVelocities
Abc::V3fArraySamplePtr getVelocities() const
Definition: INuPatch.h:63
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getTrimMaxes
Abc::FloatArraySamplePtr getTrimMaxes() const
Definition: INuPatch.h:82
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_trimOrder
Abc::Int32ArraySamplePtr m_trimOrder
Definition: INuPatch.h:144
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getTrimV
Abc::FloatArraySamplePtr getTrimV() const
Definition: INuPatch.h:84
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::ALEMBIC_OPERATOR_BOOL
ALEMBIC_OPERATOR_BOOL(valid())
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::reset
void reset()
Definition: INuPatch.h:97
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_vOrder
int32_t m_vOrder
Definition: INuPatch.h:135
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getNumU
int32_t getNumU() const
Definition: INuPatch.h:64
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getVOrder
int32_t getVOrder() const
Definition: INuPatch.h:67
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_trimKnot
Abc::FloatArraySamplePtr m_trimKnot
Definition: INuPatch.h:145
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_positionWeights
Abc::FloatArraySamplePtr m_positionWeights
Definition: INuPatch.h:138
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getTrimNumCurves
Abc::Int32ArraySamplePtr getTrimNumCurves() const
Definition: INuPatch.h:78
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getTrimMins
Abc::FloatArraySamplePtr getTrimMins() const
Definition: INuPatch.h:81
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_selfBounds
Abc::Box3d m_selfBounds
Definition: INuPatch.h:154
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_numU
int32_t m_numU
Definition: INuPatch.h:132
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::valid
bool valid() const
Definition: INuPatch.h:89
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getTrimNumVertices
Abc::Int32ArraySamplePtr getTrimNumVertices() const
Definition: INuPatch.h:77
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_trimNumLoops
int32_t m_trimNumLoops
Definition: INuPatch.h:141
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_trimNumVertices
Abc::Int32ArraySamplePtr m_trimNumVertices
Definition: INuPatch.h:143
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_positions
Abc::P3fArraySamplePtr m_positions
Definition: INuPatch.h:130
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getTrimOrders
Abc::Int32ArraySamplePtr getTrimOrders() const
Definition: INuPatch.h:79
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getTrimW
Abc::FloatArraySamplePtr getTrimW() const
Definition: INuPatch.h:85
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_uOrder
int32_t m_uOrder
Definition: INuPatch.h:134
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getTrimU
Abc::FloatArraySamplePtr getTrimU() const
Definition: INuPatch.h:83
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::hasTrimCurve
bool hasTrimCurve() const
Definition: INuPatch.h:87
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::Sample
Sample()
Definition: INuPatch.h:60
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_trimNumCurves
Abc::Int32ArraySamplePtr m_trimNumCurves
Definition: INuPatch.h:142
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_velocities
Abc::V3fArraySamplePtr m_velocities
Definition: INuPatch.h:131
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_trimMin
Abc::FloatArraySamplePtr m_trimMin
Definition: INuPatch.h:146
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getUKnot
Abc::FloatArraySamplePtr getUKnot() const
Definition: INuPatch.h:68
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_trimU
Abc::FloatArraySamplePtr m_trimU
Definition: INuPatch.h:148
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getUOrder
int32_t getUOrder() const
Definition: INuPatch.h:66
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_trimV
Abc::FloatArraySamplePtr m_trimV
Definition: INuPatch.h:149
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::this_type
Sample this_type
Definition: INuPatch.h:57
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_uKnot
Abc::FloatArraySamplePtr m_uKnot
Definition: INuPatch.h:136
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema
Definition: INuPatch.h:52
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimVProperty
Abc::IFloatArrayProperty m_trimVProperty
Definition: INuPatch.h:361
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_velocitiesProperty
Abc::IV3fArrayProperty m_velocitiesProperty
Definition: INuPatch.h:347
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_vOrderProperty
Abc::IInt32Property m_vOrderProperty
Definition: INuPatch.h:342
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_vKnotProperty
Abc::IFloatArrayProperty m_vKnotProperty
Definition: INuPatch.h:344
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimOrderProperty
Abc::IInt32ArrayProperty m_trimOrderProperty
Definition: INuPatch.h:356
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimKnotProperty
Abc::IFloatArrayProperty m_trimKnotProperty
Definition: INuPatch.h:357
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimUProperty
Abc::IFloatArrayProperty m_trimUProperty
Definition: INuPatch.h:360
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getVelocitiesProperty
Abc::IV3fArrayProperty getVelocitiesProperty() const
Definition: INuPatch.h:247
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_uOrderProperty
Abc::IInt32Property m_uOrderProperty
Definition: INuPatch.h:341
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimNumLoopsProperty
Abc::IInt32Property m_trimNumLoopsProperty
Definition: INuPatch.h:353
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_uvsParam
IV2fGeomParam m_uvsParam
Definition: INuPatch.h:350
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getUVsParam
IV2fGeomParam getUVsParam() const
Definition: INuPatch.h:263
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getUKnotsProperty
Abc::IFloatArrayProperty getUKnotsProperty() const
Definition: INuPatch.h:244
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::hasTrimProps
bool hasTrimProps() const
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::trimCurveTopologyIsConstant
bool trimCurveTopologyIsConstant() const
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getTimeSampling
AbcA::TimeSamplingPtr getTimeSampling() const
Time information.
Definition: INuPatch.h:228
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimNumVerticesProperty
Abc::IInt32ArrayProperty m_trimNumVerticesProperty
Definition: INuPatch.h:354
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::ALEMBIC_OVERRIDE_OPERATOR_BOOL
ALEMBIC_OVERRIDE_OPERATOR_BOOL(INuPatchSchema::valid())
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getVKnotsProperty
Abc::IFloatArrayProperty getVKnotsProperty() const
Definition: INuPatch.h:245
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::INuPatchSchema
INuPatchSchema(const ICompoundProperty &iProp, const Abc::Argument &iArg0=Abc::Argument(), const Abc::Argument &iArg1=Abc::Argument())
Definition: INuPatch.h:203
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimWProperty
Abc::IFloatArrayProperty m_trimWProperty
Definition: INuPatch.h:362
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::isConstant
bool isConstant() const
Definition: INuPatch.h:225
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::get
void get(sample_type &oSample, const Abc::ISampleSelector &iSS=Abc::ISampleSelector()) const
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::valid
bool valid() const
Definition: INuPatch.h:314
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::INuPatchSchema
INuPatchSchema(const INuPatchSchema &iCopy)
copy constructor
Definition: INuPatch.h:178
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::hasTrimCurve
bool hasTrimCurve() const
Definition: INuPatch.h:269
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::trimCurveTopologyIsHomogenous
bool trimCurveTopologyIsHomogenous() const
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_numVProperty
Abc::IInt32Property m_numVProperty
Definition: INuPatch.h:340
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::INuPatchSchema
INuPatchSchema()
The default constructor.
Definition: INuPatch.h:172
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_positionsProperty
Abc::IP3fArrayProperty m_positionsProperty
Definition: INuPatch.h:338
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::reset
void reset()
Definition: INuPatch.h:282
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimMaxProperty
Abc::IFloatArrayProperty m_trimMaxProperty
Definition: INuPatch.h:359
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::sample_type
Sample sample_type
Definition: INuPatch.h:165
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_numUProperty
Abc::IInt32Property m_numUProperty
Definition: INuPatch.h:339
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getValue
Sample getValue(const Abc::ISampleSelector &iSS=Abc::ISampleSelector()) const
Definition: INuPatch.h:236
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::INuPatchSchema
INuPatchSchema(const ICompoundProperty &iParent, const std::string &iName, const Abc::Argument &iArg0=Abc::Argument(), const Abc::Argument &iArg1=Abc::Argument())
Definition: INuPatch.h:190
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getNumSamples
size_t getNumSamples() const
Definition: INuPatch.h:216
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimMinProperty
Abc::IFloatArrayProperty m_trimMinProperty
Definition: INuPatch.h:358
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimNumCurvesProperty
Abc::IInt32ArrayProperty m_trimNumCurvesProperty
Definition: INuPatch.h:355
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getPositionsProperty
Abc::IP3fArrayProperty getPositionsProperty() const
Definition: INuPatch.h:243
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_hasTrimCurve
bool m_hasTrimCurve
Definition: INuPatch.h:364
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getPositionWeightsProperty
Abc::IFloatArrayProperty getPositionWeightsProperty() const
Definition: INuPatch.h:253
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_uKnotProperty
Abc::IFloatArrayProperty m_uKnotProperty
Definition: INuPatch.h:343
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getTopologyVariance
MeshTopologyVariance getTopologyVariance() const
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getNormalsParam
IN3fGeomParam getNormalsParam() const
Definition: INuPatch.h:258
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::this_type
INuPatchSchema this_type
Definition: INuPatch.h:164
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_positionWeightsProperty
Abc::IFloatArrayProperty m_positionWeightsProperty
Definition: INuPatch.h:348
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_normalsParam
IN3fGeomParam m_normalsParam
Definition: INuPatch.h:349
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::init
void init(const Abc::Argument &iArg0, const Abc::Argument &iArg1)
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ITypedGeomParam< N3fTPTraits >
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< P3fTPTraits >
Alembic::Abc::ALEMBIC_VERSION_NS::ITypedScalarProperty< Int32TPTraits >
Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::TimeSamplingPtr
Alembic::Util::shared_ptr< TimeSampling > TimeSamplingPtr
Definition: TimeSampling.h:137
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::INuPatch
Abc::ISchemaObject< INuPatchSchema > INuPatch
Definition: INuPatch.h:368
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchPtr
Util::shared_ptr< INuPatch > INuPatchPtr
Definition: INuPatch.h:370
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