Alembic Version 1.1
Loading...
Searching...
No Matches
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema Class Reference

#include <INuPatch.h>

Inheritance diagram for Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema:
Collaboration diagram for Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema:

Classes

class  Sample

Public Types

typedef INuPatchSchema this_type
typedef Sample sample_type
Public Types inherited from Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBaseSchema< NuPatchSchemaInfo >
typedef NuPatchSchemaInfo info_type
Public Types inherited from Alembic::Abc::ALEMBIC_VERSION_NS::ISchema< NuPatchSchemaInfo >
typedef NuPatchSchemaInfo info_type
typedef ISchema< NuPatchSchemaInfo > this_type
Public Types inherited from Alembic::Abc::ALEMBIC_VERSION_NS::ICompoundProperty
typedef ICompoundProperty this_type

Public Member Functions

 INuPatchSchema ()
 The default constructor.
 INuPatchSchema (const INuPatchSchema &iCopy)
 copy constructor
 INuPatchSchema (const ICompoundProperty &iParent, const std::string &iName, const Abc::Argument &iArg0=Abc::Argument(), const Abc::Argument &iArg1=Abc::Argument())
 INuPatchSchema (const ICompoundProperty &iProp, const Abc::Argument &iArg0=Abc::Argument(), const Abc::Argument &iArg1=Abc::Argument())
size_t getNumSamples () const
MeshTopologyVariance getTopologyVariance () const
bool isConstant () const
AbcA::TimeSamplingPtr getTimeSampling () const
 Time information.
void get (sample_type &oSample, const Abc::ISampleSelector &iSS=Abc::ISampleSelector()) const
Sample getValue (const Abc::ISampleSelector &iSS=Abc::ISampleSelector()) const
Abc::IP3fArrayProperty getPositionsProperty () const
Abc::IFloatArrayProperty getUKnotsProperty () const
Abc::IFloatArrayProperty getVKnotsProperty () const
Abc::IV3fArrayProperty getVelocitiesProperty () const
Abc::IFloatArrayProperty getPositionWeightsProperty () const
IN3fGeomParam getNormalsParam () const
IV2fGeomParam getUVsParam () const
bool hasTrimCurve () const
bool trimCurveTopologyIsHomogenous () const
bool trimCurveTopologyIsConstant () const
void reset ()
bool valid () const
 ALEMBIC_OVERRIDE_OPERATOR_BOOL (INuPatchSchema::valid())
Public Member Functions inherited from Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBaseSchema< NuPatchSchemaInfo >
 IGeomBaseSchema ()
void init (const Abc::Argument &iArg0, const Abc::Argument &iArg1)
Abc::IBox3dProperty getSelfBoundsProperty () const
Abc::IBox3dProperty getChildBoundsProperty () const
ICompoundProperty getArbGeomParams () const
ICompoundProperty getUserProperties () const
Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::ISchema< NuPatchSchemaInfo >
 ISchema ()
virtual ~ISchema ()
Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::ICompoundProperty
 ICompoundProperty ()
 ICompoundProperty (const ICompoundProperty &iParent, const std::string &iName, const Argument &iArg0=Argument())
 ICompoundProperty (AbcA::CompoundPropertyReaderPtr iPtr, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
 ICompoundProperty (AbcA::CompoundPropertyReaderPtr iPtr, WrapExistingFlag, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
 ICompoundProperty (const IObject &iObject, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
 ICompoundProperty (const IObject &iObject, TopFlag, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
 ~ICompoundProperty ()
size_t getNumProperties () const
 Returns the number of properties contained in this ICompoundProperty.
const AbcA::PropertyHeader & getPropertyHeader (size_t i) const
const AbcA::PropertyHeader * getPropertyHeader (const std::string &iName) const
ICompoundProperty getParent () const
Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::IBasePropertyT< AbcA::CompoundPropertyReaderPtr >
const AbcA::PropertyHeader & getHeader () const
const std::string & getName () const
AbcA::PropertyType getPropertyType () const
bool isScalar () const
bool isArray () const
bool isCompound () const
bool isSimple () const
const AbcA::MetaData & getMetaData () const
const AbcA::DataType & getDataType () const
AbcA::TimeSamplingPtr getTimeSampling () const
IObject getObject () const
AbcA::CompoundPropertyReaderPtr getPtr () const
void reset ()
bool valid () const
 ALEMBIC_OPERATOR_BOOL (valid())
Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::Base
ErrorHandlergetErrorHandler () const
ErrorHandler::Policy getErrorHandlerPolicy () const

Protected Member Functions

bool hasTrimProps () const
void init (const Abc::Argument &iArg0, const Abc::Argument &iArg1)
Protected Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::IBasePropertyT< AbcA::CompoundPropertyReaderPtr >
 IBasePropertyT ()
Protected Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::Base
 Base ()
 Base (ErrorHandler::Policy iPolicy)
 Base (const Base &iCopy)
Baseoperator= (const Base &iCopy)
bool valid () const
void reset ()

Protected Attributes

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
Abc::IV3fArrayProperty m_velocitiesProperty
Abc::IFloatArrayProperty m_positionWeightsProperty
IN3fGeomParam m_normalsParam
IV2fGeomParam m_uvsParam
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
Protected Attributes inherited from Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBaseSchema< NuPatchSchemaInfo >
Abc::IBox3dProperty m_selfBoundsProperty
Abc::IBox3dProperty m_childBoundsProperty
Abc::ICompoundProperty m_arbGeomParams
Abc::ICompoundProperty m_userProperties
Protected Attributes inherited from Alembic::Abc::ALEMBIC_VERSION_NS::IBasePropertyT< AbcA::CompoundPropertyReaderPtr >
AbcA::CompoundPropertyReaderPtr m_property

Additional Inherited Members

Static Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::ISchema< NuPatchSchemaInfo >
static const char * getSchemaTitle ()
static const char * getDefaultSchemaName ()
static bool matches (const AbcA::MetaData &iMetaData, SchemaInterpMatching iMatching=kStrictMatching)
Protected Types inherited from Alembic::Abc::ALEMBIC_VERSION_NS::IBasePropertyT< AbcA::CompoundPropertyReaderPtr >
typedef IBasePropertyT< AbcA::CompoundPropertyReaderPtr > this_type
typedef IBasePropertyT< AbcA::CompoundPropertyReaderPtr > operator_bool_base_type

Detailed Description

Definition at line 51 of file INuPatch.h.

Member Typedef Documentation

◆ sample_type

◆ this_type

By convention we always define this_type in AbcGeom classes. Used by unspecified-bool-type conversion below

Definition at line 164 of file INuPatch.h.

Constructor & Destructor Documentation

◆ INuPatchSchema() [1/4]

Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::INuPatchSchema ( )
inline

The default constructor.

Definition at line 172 of file INuPatch.h.

References m_hasTrimCurve.

Referenced by INuPatchSchema().

Here is the caller graph for this function:

◆ INuPatchSchema() [2/4]

Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::INuPatchSchema ( const INuPatchSchema & iCopy)
inline

copy constructor

Definition at line 178 of file INuPatch.h.

References Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBaseSchema< NuPatchSchemaInfo >::IGeomBaseSchema(), and INuPatchSchema().

Here is the call graph for this function:

◆ INuPatchSchema() [3/4]

Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::INuPatchSchema ( const ICompoundProperty & iParent,
const std::string & iName,
const Abc::Argument & iArg0 = Abc::Argument(),
const Abc::Argument & iArg1 = Abc::Argument() )
inline

This constructor creates a new nurbs patch reader. The first argument is the parent ICompoundProperty, from which the error handler policy for is derived. The second argument is the name of the ICompoundProperty that contains this schemas properties. The remaining optional arguments can be used to override the ErrorHandlerPolicy and to specify schema interpretation matching.

Definition at line 190 of file INuPatch.h.

References Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBaseSchema< NuPatchSchemaInfo >::IGeomBaseSchema(), and init().

Here is the call graph for this function:

◆ INuPatchSchema() [4/4]

Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::INuPatchSchema ( const ICompoundProperty & iProp,
const Abc::Argument & iArg0 = Abc::Argument(),
const Abc::Argument & iArg1 = Abc::Argument() )
inlineexplicit

This constructor wraps an existing ICompoundProperty as the nurbs reader, and the error handler policy is derived from it. The remaining optional arguments can be used to override the ErrorHandlerPolicy and to specify schema interpretation matching.

Definition at line 203 of file INuPatch.h.

References Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBaseSchema< NuPatchSchemaInfo >::IGeomBaseSchema(), and init().

Here is the call graph for this function:

Member Function Documentation

◆ ALEMBIC_OVERRIDE_OPERATOR_BOOL()

Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::ALEMBIC_OVERRIDE_OPERATOR_BOOL ( INuPatchSchema::valid() )

unspecified-bool-type operator overload. ...

References valid().

Here is the call graph for this function:

◆ get()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::get ( sample_type & oSample,
const Abc::ISampleSelector & iSS = Abc::ISampleSelector() ) const

Referenced by getValue().

Here is the caller graph for this function:

◆ getNormalsParam()

IN3fGeomParam Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getNormalsParam ( ) const
inline

Definition at line 258 of file INuPatch.h.

References m_normalsParam.

◆ getNumSamples()

size_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getNumSamples ( ) const
inline

Return the number of samples contained in the property. This can be any number, including zero. This returns the number of samples that were written, independently of whether or not they were constant.

Definition at line 216 of file INuPatch.h.

References m_positionsProperty.

◆ getPositionsProperty()

Abc::IP3fArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getPositionsProperty ( ) const
inline

Definition at line 243 of file INuPatch.h.

References m_positionsProperty.

◆ getPositionWeightsProperty()

Abc::IFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getPositionWeightsProperty ( ) const
inline

Definition at line 253 of file INuPatch.h.

References m_positionWeightsProperty.

◆ getTimeSampling()

AbcA::TimeSamplingPtr Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getTimeSampling ( ) const
inline

Time information.

Definition at line 228 of file INuPatch.h.

References m_positionsProperty.

◆ getTopologyVariance()

MeshTopologyVariance Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getTopologyVariance ( ) const

Return the topological variance. This indicates how the mesh may change.

Referenced by isConstant().

Here is the caller graph for this function:

◆ getUKnotsProperty()

Abc::IFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getUKnotsProperty ( ) const
inline

Definition at line 244 of file INuPatch.h.

References m_uKnotProperty.

◆ getUVsParam()

IV2fGeomParam Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getUVsParam ( ) const
inline

Definition at line 263 of file INuPatch.h.

References m_uvsParam.

◆ getValue()

Sample Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getValue ( const Abc::ISampleSelector & iSS = Abc::ISampleSelector()) const
inline

Definition at line 236 of file INuPatch.h.

References get().

Here is the call graph for this function:

◆ getVelocitiesProperty()

Abc::IV3fArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getVelocitiesProperty ( ) const
inline

Definition at line 247 of file INuPatch.h.

References m_velocitiesProperty.

◆ getVKnotsProperty()

Abc::IFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getVKnotsProperty ( ) const
inline

Definition at line 245 of file INuPatch.h.

References m_vKnotProperty.

◆ hasTrimCurve()

bool Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::hasTrimCurve ( ) const
inline

Definition at line 269 of file INuPatch.h.

References m_hasTrimCurve.

◆ hasTrimProps()

bool Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::hasTrimProps ( ) const
protected

◆ init()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::init ( const Abc::Argument & iArg0,
const Abc::Argument & iArg1 )
protected

Referenced by INuPatchSchema(), and INuPatchSchema().

Here is the caller graph for this function:

◆ isConstant()

bool Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::isConstant ( ) const
inline

Ask if we're constant - no change in value amongst samples, regardless of the time sampling.

Definition at line 225 of file INuPatch.h.

References getTopologyVariance(), and Alembic::AbcGeom::ALEMBIC_VERSION_NS::kConstantTopology.

Here is the call graph for this function:

◆ reset()

◆ trimCurveTopologyIsConstant()

bool Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::trimCurveTopologyIsConstant ( ) const

◆ trimCurveTopologyIsHomogenous()

bool Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::trimCurveTopologyIsHomogenous ( ) const

◆ valid()

bool Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::valid ( ) const
inlinevirtual

Valid returns whether this function set is valid.

Reimplemented from Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBaseSchema< NuPatchSchemaInfo >.

Definition at line 314 of file INuPatch.h.

References m_numUProperty, m_numVProperty, m_positionsProperty, m_uKnotProperty, m_uOrderProperty, m_vKnotProperty, m_vOrderProperty, and Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBaseSchema< INFO >::valid().

Referenced by ALEMBIC_OVERRIDE_OPERATOR_BOOL().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_hasTrimCurve

bool Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_hasTrimCurve
protected

Definition at line 364 of file INuPatch.h.

Referenced by INuPatchSchema(), and hasTrimCurve().

◆ m_normalsParam

IN3fGeomParam Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_normalsParam
protected

Definition at line 349 of file INuPatch.h.

Referenced by getNormalsParam(), and reset().

◆ m_numUProperty

Abc::IInt32Property Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_numUProperty
protected

Definition at line 339 of file INuPatch.h.

Referenced by reset(), and valid().

◆ m_numVProperty

Abc::IInt32Property Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_numVProperty
protected

Definition at line 340 of file INuPatch.h.

Referenced by reset(), and valid().

◆ m_positionsProperty

Abc::IP3fArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_positionsProperty
protected

Definition at line 338 of file INuPatch.h.

Referenced by getNumSamples(), getPositionsProperty(), getTimeSampling(), reset(), and valid().

◆ m_positionWeightsProperty

Abc::IFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_positionWeightsProperty
protected

Definition at line 348 of file INuPatch.h.

Referenced by getPositionWeightsProperty(), and reset().

◆ m_trimKnotProperty

Abc::IFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimKnotProperty
protected

Definition at line 357 of file INuPatch.h.

Referenced by reset().

◆ m_trimMaxProperty

Abc::IFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimMaxProperty
protected

Definition at line 359 of file INuPatch.h.

Referenced by reset().

◆ m_trimMinProperty

Abc::IFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimMinProperty
protected

Definition at line 358 of file INuPatch.h.

Referenced by reset().

◆ m_trimNumCurvesProperty

Abc::IInt32ArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimNumCurvesProperty
protected

Definition at line 355 of file INuPatch.h.

Referenced by reset().

◆ m_trimNumLoopsProperty

Abc::IInt32Property Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimNumLoopsProperty
protected

Definition at line 353 of file INuPatch.h.

Referenced by reset().

◆ m_trimNumVerticesProperty

Abc::IInt32ArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimNumVerticesProperty
protected

Definition at line 354 of file INuPatch.h.

Referenced by reset().

◆ m_trimOrderProperty

Abc::IInt32ArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimOrderProperty
protected

Definition at line 356 of file INuPatch.h.

Referenced by reset().

◆ m_trimUProperty

Abc::IFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimUProperty
protected

Definition at line 360 of file INuPatch.h.

Referenced by reset().

◆ m_trimVProperty

Abc::IFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimVProperty
protected

Definition at line 361 of file INuPatch.h.

Referenced by reset().

◆ m_trimWProperty

Abc::IFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimWProperty
protected

Definition at line 362 of file INuPatch.h.

Referenced by reset().

◆ m_uKnotProperty

Abc::IFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_uKnotProperty
protected

Definition at line 343 of file INuPatch.h.

Referenced by getUKnotsProperty(), reset(), and valid().

◆ m_uOrderProperty

Abc::IInt32Property Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_uOrderProperty
protected

Definition at line 341 of file INuPatch.h.

Referenced by reset(), and valid().

◆ m_uvsParam

IV2fGeomParam Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_uvsParam
protected

Definition at line 350 of file INuPatch.h.

Referenced by getUVsParam(), and reset().

◆ m_velocitiesProperty

Abc::IV3fArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_velocitiesProperty
protected

Definition at line 347 of file INuPatch.h.

Referenced by getVelocitiesProperty(), and reset().

◆ m_vKnotProperty

Abc::IFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_vKnotProperty
protected

Definition at line 344 of file INuPatch.h.

Referenced by getVKnotsProperty(), reset(), and valid().

◆ m_vOrderProperty

Abc::IInt32Property Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_vOrderProperty
protected

Definition at line 342 of file INuPatch.h.

Referenced by reset(), and valid().


The documentation for this class was generated from the following file: