Alembic Version 1.1

Loading...
Searching...
No Matches
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema Class Reference

`#include <ONuPatch.h>`

Inheritance diagram for Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema:
[legend]
Collaboration diagram for Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema:
[legend]

## Classes
class | Sample

## Public Types
typedef ONuPatchSchema | this_type
typedef ONuPatchSchema::Sample | sample_type
Public Types inherited from Alembic::AbcGeom::ALEMBIC_VERSION_NS::OGeomBaseSchema< NuPatchSchemaInfo >
typedef NuPatchSchemaInfo | info_type
Public Types inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OSchema< NuPatchSchemaInfo >
typedef NuPatchSchemaInfo | info_type
typedef OSchema< NuPatchSchemaInfo > | this_type
Public Types inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OCompoundProperty
typedef OCompoundProperty | this_type
Public Types inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::CompoundPropertyWriterPtr >
typedef OBasePropertyT< AbcA::CompoundPropertyWriterPtr > | this_type
typedef OBasePropertyT< AbcA::CompoundPropertyWriterPtr > | operator_bool_base_type

## Public Member Functions
| ONuPatchSchema ()
| ONuPatchSchema (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())
| ONuPatchSchema (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())
| ONuPatchSchema (const ONuPatchSchema &iCopy)
| Copy constructor.
AbcA::TimeSamplingPtr | getTimeSampling () const
void | setTimeSampling (uint32_t iIndex)
void | setTimeSampling (AbcA::TimeSamplingPtr iTime)
size_t | getNumSamples () const
void | set (const sample_type &iSamp)
| Set a sample!
void | setFromPrevious ()
void | reset ()
bool | valid () const
| ALEMBIC_OVERRIDE_OPERATOR_BOOL (ONuPatchSchema::valid())
Public Member Functions inherited from Alembic::AbcGeom::ALEMBIC_VERSION_NS::OGeomBaseSchema< NuPatchSchemaInfo >
| OGeomBaseSchema ()
Abc::OCompoundProperty | getArbGeomParams ()
Abc::OCompoundProperty | getUserProperties ()
Abc::OBox3dProperty | getChildBoundsProperty ()
Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OSchema< NuPatchSchemaInfo >
| OSchema ()
virtual | ~OSchema ()
Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OCompoundProperty
| OCompoundProperty ()
| OCompoundProperty (AbcA::CompoundPropertyWriterPtr iParent, const std::string &iName, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
| OCompoundProperty (OCompoundProperty iParent, const std::string &iName, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
| OCompoundProperty (AbcA::CompoundPropertyWriterPtr iProp, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
| OCompoundProperty (AbcA::CompoundPropertyWriterPtr iProp, WrapExistingFlag iWrapFlag=kWrapExisting, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
| OCompoundProperty (OObject iObject, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
| OCompoundProperty (OObject iObject, TopFlag iTopFlag=kTop, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
| ~OCompoundProperty ()
size_t | getNumProperties () const
const AbcA::PropertyHeader & | getPropertyHeader (size_t i) const
const AbcA::PropertyHeader * | getPropertyHeader (const std::string &iName) const
OBaseProperty | getProperty (size_t i) const
OBaseProperty | getProperty (const std::string &iName) const
OCompoundProperty | getParent () const
Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::CompoundPropertyWriterPtr >
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
OObject | getObject () const
AbcA::CompoundPropertyWriterPtr | getPtr () const
void | reset ()
bool | valid () const
| ALEMBIC_OPERATOR_BOOL (valid())
Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::Base
ErrorHandler & | getErrorHandler () const
ErrorHandler::Policy | getErrorHandlerPolicy () const

## Protected Member Functions
void | init (const AbcA::index_t iTsIdx, bool isSparse)
void | selectiveSet (const Sample &iSamp)
void | createPositionProperties ()
void | createKnotProperties ()
void | createVelocityProperty ()
void | createUVsProperty (const Sample &iSamp)
void | createNormalsProperty (const Sample &iSamp)
void | createPositionWeightsProperty ()
void | createTrimPropreties ()
Protected Member Functions inherited from Alembic::AbcGeom::ALEMBIC_VERSION_NS::OGeomBaseSchema< NuPatchSchemaInfo >
void | init (uint32_t iTsIndex, bool isSparse)
void | createSelfBoundsProperty (uint32_t iTsIndex, size_t iNumSamples)
| Creates the self bounds.
Protected Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::CompoundPropertyWriterPtr >
| OBasePropertyT ()
Protected Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::Base
| Base ()
| Base (ErrorHandler::Policy iPolicy)
| Base (const Base &iCopy)
Base & | operator= (const Base &iCopy)
bool | valid () const
void | reset ()

## Protected Attributes
bool | m_selectiveExport
size_t | m_numSamples
AbcA::index_t | m_timeSamplingIndex
Abc::OP3fArrayProperty | m_positionsProperty
Abc::OInt32Property | m_numUProperty
Abc::OInt32Property | m_numVProperty
Abc::OInt32Property | m_uOrderProperty
Abc::OInt32Property | m_vOrderProperty
Abc::OFloatArrayProperty | m_uKnotProperty
Abc::OFloatArrayProperty | m_vKnotProperty
Abc::OFloatArrayProperty | m_positionWeightsProperty
ON3fGeomParam | m_normalsParam
OV2fGeomParam | m_uvsParam
Abc::OV3fArrayProperty | m_velocitiesProperty
Abc::OInt32Property | m_trimNumLoopsProperty
Abc::OInt32ArrayProperty | m_trimNumCurvesProperty
Abc::OInt32ArrayProperty | m_trimNumVerticesProperty
Abc::OInt32ArrayProperty | m_trimOrderProperty
Abc::OFloatArrayProperty | m_trimKnotProperty
Abc::OFloatArrayProperty | m_trimMinProperty
Abc::OFloatArrayProperty | m_trimMaxProperty
Abc::OFloatArrayProperty | m_trimUProperty
Abc::OFloatArrayProperty | m_trimVProperty
Abc::OFloatArrayProperty | m_trimWProperty
Protected Attributes inherited from Alembic::AbcGeom::ALEMBIC_VERSION_NS::OGeomBaseSchema< NuPatchSchemaInfo >
Abc::OBox3dProperty | m_selfBoundsProperty
Abc::OBox3dProperty | m_childBoundsProperty
Abc::OCompoundProperty | m_arbGeomParams
Abc::OCompoundProperty | m_userProperties
Protected Attributes inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::CompoundPropertyWriterPtr >
AbcA::CompoundPropertyWriterPtr | m_property

## Additional Inherited Members
Static Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OSchema< NuPatchSchemaInfo >
static const char * | getSchemaTitle ()
static const char * | getSchemaBaseType ()
static const char * | getDefaultSchemaName ()
static bool | replaceOnSparse ()
static bool | matches (const AbcA::MetaData &iMetaData, SchemaInterpMatching iMatching=kStrictMatching)

## Detailed Description

Definition at line 57 of file ONuPatch.h.

## Member Typedef Documentation

## ◆ sample_type

typedef ONuPatchSchema::Sample Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::sample_type

Definition at line 306 of file ONuPatch.h.

## ◆ this_type

typedef ONuPatchSchema Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::this_type

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

Definition at line 305 of file ONuPatch.h.

## Constructor & Destructor Documentation

## ◆ ONuPatchSchema() [1/4]

Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::ONuPatchSchema | ( |  | ) |
| inline

The default constructor creates an empty ONuPatchSchema ...

Definition at line 314 of file ONuPatch.h.

References m_numSamples, m_selectiveExport, and m_timeSamplingIndex.

Referenced by ONuPatchSchema().

Here is the caller graph for this function:

## ◆ ONuPatchSchema() [2/4]

Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::ONuPatchSchema | ( | 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() )

This constructor creates a new poly mesh writer. The first argument is an CompoundPropertyWriterPtr to use as a parent. The next is the name to give the schema which is usually the default name given by OFaceSet (.geom) The remaining optional arguments can be used to override the ErrorHandlerPolicy, to specify MetaData, specify sparse sampling and to set TimeSampling.

## ◆ ONuPatchSchema() [3/4]

Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::ONuPatchSchema | ( | 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() )

This constructor creates a new poly mesh writer. The first argument is an OCompundProperty to use as a parent, and from which the ErrorHandlerPolicy is derived. The next is the name to give the schema which is usually the default name given by OFaceSet (.geom) The remaining optional arguments can be used to specify MetaData, specify sparse sampling and to set TimeSampling.

## ◆ ONuPatchSchema() [4/4]

Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::ONuPatchSchema | ( | const ONuPatchSchema & | iCopy | ) |
| inline

Copy constructor.

Definition at line 347 of file ONuPatch.h.

References Alembic::AbcGeom::ALEMBIC_VERSION_NS::OGeomBaseSchema< NuPatchSchemaInfo >::OGeomBaseSchema(), and ONuPatchSchema().

Here is the call graph for this function:

## Member Function Documentation

## ◆ ALEMBIC_OVERRIDE_OPERATOR_BOOL()

Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::ALEMBIC_OVERRIDE_OPERATOR_BOOL | ( | ONuPatchSchema::valid() |  | ) |

unspecified-bool-type operator overload. ...

References valid().

Here is the call graph for this function:

## ◆ createKnotProperties()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::createKnotProperties | ( |  | ) |
| protected

## ◆ createNormalsProperty()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::createNormalsProperty | ( | const Sample & | iSamp | ) |
| protected

## ◆ createPositionProperties()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::createPositionProperties | ( |  | ) |
| protected

## ◆ createPositionWeightsProperty()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::createPositionWeightsProperty | ( |  | ) |
| protected

## ◆ createTrimPropreties()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::createTrimPropreties | ( |  | ) |
| protected

## ◆ createUVsProperty()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::createUVsProperty | ( | const Sample & | iSamp | ) |
| protected

## ◆ createVelocityProperty()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::createVelocityProperty | ( |  | ) |
| protected

## ◆ getNumSamples()

size_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::getNumSamples | ( |  | ) | const
| inline

Get number of samples written so far. ...

Definition at line 380 of file ONuPatch.h.

References m_numSamples.

## ◆ getTimeSampling()

AbcA::TimeSamplingPtr Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::getTimeSampling | ( |  | ) | const
| inline

Return the time sampling type, which is stored on each of the sub properties.

Definition at line 359 of file ONuPatch.h.

References Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::CompoundPropertyWriterPtr >::getObject(), and m_positionsProperty.

Here is the call graph for this function:

## ◆ init()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::init | ( | const AbcA::index_t | iTsIdx,
|  | bool | isSparse )
| protected

## ◆ reset()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::reset | ( |  | ) |
| inline virtual

Reset returns this function set to an empty, default state.

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

Definition at line 400 of file ONuPatch.h.

References m_normalsParam, m_numUProperty, m_numVProperty, m_positionsProperty, m_positionWeightsProperty, m_trimKnotProperty, m_trimMaxProperty, m_trimMinProperty, m_trimNumLoopsProperty, m_trimNumVerticesProperty, m_trimOrderProperty, m_trimUProperty, m_trimVProperty, m_trimWProperty, m_uKnotProperty, m_uOrderProperty, m_uvsParam, m_velocitiesProperty, m_vKnotProperty, m_vOrderProperty, and Alembic::AbcGeom::ALEMBIC_VERSION_NS::OGeomBaseSchema< INFO >::reset().

Here is the call graph for this function:

## ◆ selectiveSet()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::selectiveSet | ( | const Sample & | iSamp | ) |
| protected

Set only some property data. Does not need to be a valid schema sample This is to be used when created a file which will be layered in to another file.

## ◆ set()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::set | ( | const sample_type & | iSamp | ) |

Set a sample!

## ◆ setFromPrevious()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::setFromPrevious | ( |  | ) |

Set from previous sample. Will apply to each of positions, indices, and counts.

## ◆ setTimeSampling() [1/2]

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::setTimeSampling | ( | AbcA::TimeSamplingPtr | iTime | ) |

## ◆ setTimeSampling() [2/2]

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::setTimeSampling | ( | uint32_t | iIndex | ) |

## ◆ valid()

bool Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::valid | ( |  | ) | const
| inline virtual

Valid returns whether this function set is valid.

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

Definition at line 431 of file ONuPatch.h.

References m_positionsProperty, m_selectiveExport, and Alembic::AbcGeom::ALEMBIC_VERSION_NS::OGeomBaseSchema< 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_normalsParam

ON3fGeomParam Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_normalsParam
| protected

Definition at line 481 of file ONuPatch.h.

Referenced by reset().

## ◆ m_numSamples

size_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_numSamples
| protected

Definition at line 455 of file ONuPatch.h.

Referenced by ONuPatchSchema(), and getNumSamples().

## ◆ m_numUProperty

Abc::OInt32Property Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_numUProperty
| protected

Definition at line 472 of file ONuPatch.h.

Referenced by reset().

## ◆ m_numVProperty

Abc::OInt32Property Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_numVProperty
| protected

Definition at line 473 of file ONuPatch.h.

Referenced by reset().

## ◆ m_positionsProperty

Abc::OP3fArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_positionsProperty
| protected

Definition at line 469 of file ONuPatch.h.

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

## ◆ m_positionWeightsProperty

Abc::OFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_positionWeightsProperty
| protected

Definition at line 480 of file ONuPatch.h.

Referenced by reset().

## ◆ m_selectiveExport

bool Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_selectiveExport
| protected

Definition at line 452 of file ONuPatch.h.

Referenced by ONuPatchSchema(), and valid().

## ◆ m_timeSamplingIndex

AbcA::index_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_timeSamplingIndex
| protected

Definition at line 457 of file ONuPatch.h.

Referenced by ONuPatchSchema().

## ◆ m_trimKnotProperty

Abc::OFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_trimKnotProperty
| protected

Definition at line 490 of file ONuPatch.h.

Referenced by reset().

## ◆ m_trimMaxProperty

Abc::OFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_trimMaxProperty
| protected

Definition at line 492 of file ONuPatch.h.

Referenced by reset().

## ◆ m_trimMinProperty

Abc::OFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_trimMinProperty
| protected

Definition at line 491 of file ONuPatch.h.

Referenced by reset().

## ◆ m_trimNumCurvesProperty

Abc::OInt32ArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_trimNumCurvesProperty
| protected

Definition at line 487 of file ONuPatch.h.

## ◆ m_trimNumLoopsProperty

Abc::OInt32Property Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_trimNumLoopsProperty
| protected

Definition at line 486 of file ONuPatch.h.

Referenced by reset().

## ◆ m_trimNumVerticesProperty

Abc::OInt32ArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_trimNumVerticesProperty
| protected

Definition at line 488 of file ONuPatch.h.

Referenced by reset().

## ◆ m_trimOrderProperty

Abc::OInt32ArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_trimOrderProperty
| protected

Definition at line 489 of file ONuPatch.h.

Referenced by reset().

## ◆ m_trimUProperty

Abc::OFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_trimUProperty
| protected

Definition at line 493 of file ONuPatch.h.

Referenced by reset().

## ◆ m_trimVProperty

Abc::OFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_trimVProperty
| protected

Definition at line 494 of file ONuPatch.h.

Referenced by reset().

## ◆ m_trimWProperty

Abc::OFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_trimWProperty
| protected

Definition at line 495 of file ONuPatch.h.

Referenced by reset().

## ◆ m_uKnotProperty

Abc::OFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_uKnotProperty
| protected

Definition at line 476 of file ONuPatch.h.

Referenced by reset().

## ◆ m_uOrderProperty

Abc::OInt32Property Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_uOrderProperty
| protected

Definition at line 474 of file ONuPatch.h.

Referenced by reset().

## ◆ m_uvsParam

OV2fGeomParam Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_uvsParam
| protected

Definition at line 482 of file ONuPatch.h.

Referenced by reset().

## ◆ m_velocitiesProperty

Abc::OV3fArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_velocitiesProperty
| protected

Definition at line 483 of file ONuPatch.h.

Referenced by reset().

## ◆ m_vKnotProperty

Abc::OFloatArrayProperty Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_vKnotProperty
| protected

Definition at line 477 of file ONuPatch.h.

Referenced by reset().

## ◆ m_vOrderProperty

Abc::OInt32Property Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::m_vOrderProperty
| protected

Definition at line 475 of file ONuPatch.h.

Referenced by reset().

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

- opt/local/include/Alembic/AbcGeom/ONuPatch.h