HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema Class Reference

#include <ONuPatch.h>

+ Inheritance diagram for Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema:

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 ()
 
template<class CPROP_PTR >
 ONuPatchSchema (CPROP_PTR iParent, const std::string &iName, const Abc::Argument &iArg0=Abc::Argument(), const Abc::Argument &iArg1=Abc::Argument(), const Abc::Argument &iArg2=Abc::Argument())
 
template<class CPROP_PTR >
 ONuPatchSchema (CPROP_PTR iParent, const Abc::Argument &iArg0=Abc::Argument(), const Abc::Argument &iArg1=Abc::Argument(), const Abc::Argument &iArg2=Abc::Argument())
 
 ONuPatchSchema (const ONuPatchSchema &iCopy)
 Copy constructor. More...
 
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! More...
 
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 ()
 
 OGeomBaseSchema (CPROP_PTR iParentCompound, const std::string &iName, const Argument &iArg0=Argument(), const Argument &iArg1=Argument(), const Argument &iArg2=Argument())
 
 OGeomBaseSchema (CPROP_PTR iParentCompound, const Argument &iArg0=Argument(), const Argument &iArg1=Argument(), const Argument &iArg2=Argument())
 
 OGeomBaseSchema (const OGeomBaseSchema &iCopy)
 Copy constructor. More...
 
void init (uint32_t iTsHandle)
 
Abc::OCompoundProperty getArbGeomParams ()
 
Abc::OCompoundProperty getUserProperties ()
 
Abc::OBox3dProperty getChildBoundsProperty ()
 
- Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OSchema< NuPatchSchemaInfo >
 OSchema ()
 
 OSchema (CPROP_PTR iParentObject, const std::string &iName, const Argument &iArg0=Argument(), const Argument &iArg1=Argument(), const Argument &iArg2=Argument())
 
 OSchema (CPROP_PTR iParentObject, const Argument &iArg0=Argument(), const Argument &iArg1=Argument(), const Argument &iArg2=Argument())
 
virtual ~OSchema ()
 
- Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OCompoundProperty
 OCompoundProperty ()
 
template<class CPROP_PTR >
 OCompoundProperty (CPROP_PTR iParentObject, const std::string &iName, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
 
template<class CPROP_PTR >
 OCompoundProperty (CPROP_PTR iThisObject, WrapExistingFlag iWrapFlag, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
 
template<class OBJECT_PTR >
 OCompoundProperty (OBJECT_PTR iObject, TopFlag, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
 
 ~OCompoundProperty ()
 
size_t getNumProperties () const
 
const AbcA::PropertyHeadergetPropertyHeader (size_t i) const
 
const AbcA::PropertyHeadergetPropertyHeader (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::PropertyHeadergetHeader () const
 
const std::stringgetName () const
 
AbcA::PropertyType getPropertyType () const
 
bool isScalar () const
 
bool isArray () const
 
bool isCompound () const
 
bool isSimple () const
 
const AbcA::MetaDatagetMetaData () const
 
const AbcA::DataTypegetDataType () 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
ErrorHandlergetErrorHandler () const
 
ErrorHandler::Policy getErrorHandlerPolicy () const
 

Protected Member Functions

void init (const AbcA::index_t iTsIdx)
 
- Protected Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::CompoundPropertyWriterPtr >
 OBasePropertyT ()
 
 OBasePropertyT (AbcA::CompoundPropertyWriterPtriPtr, WrapExistingFlag, ErrorHandler::Policy iPolicy)
 
- 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

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 matches (const AbcA::MetaData &iMetaData, SchemaInterpMatching iMatching=kStrictMatching)
 
static bool matches (const AbcA::PropertyHeader &iHeader, SchemaInterpMatching iMatching=kStrictMatching)
 

Detailed Description

Definition at line 57 of file ONuPatch.h.

Member Typedef Documentation

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

Definition at line 280 of file ONuPatch.h.

Constructor & Destructor Documentation

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

The default constructor creates an empty ONuPatchSchema ...

Definition at line 289 of file ONuPatch.h.

template<class CPROP_PTR >
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::ONuPatchSchema ( CPROP_PTR  iParent,
const std::string iName,
const Abc::Argument iArg0 = Abc::Argument(),
const Abc::Argument iArg1 = Abc::Argument(),
const Abc::Argument iArg2 = Abc::Argument() 
)
inline

This templated, primary constructor creates a new poly mesh writer. The first argument is any Abc (or AbcCoreAbstract) object which can intrusively be converted to an CompoundPropertyWriterPtr to use as a parent, from which the error handler policy for inheritance is also derived. The remaining optional arguments can be used to override the ErrorHandlerPolicy, to specify MetaData, and to set TimeSamplingType.

Definition at line 299 of file ONuPatch.h.

template<class CPROP_PTR >
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::ONuPatchSchema ( CPROP_PTR  iParent,
const Abc::Argument iArg0 = Abc::Argument(),
const Abc::Argument iArg1 = Abc::Argument(),
const Abc::Argument iArg2 = Abc::Argument() 
)
inlineexplicit

Definition at line 328 of file ONuPatch.h.

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

Copy constructor.

Definition at line 354 of file ONuPatch.h.

Member Function Documentation

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

unspecified-bool-type operator overload. ...

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

Get number of samples written so far. ...

Definition at line 378 of file ONuPatch.h.

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 366 of file ONuPatch.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::init ( const AbcA::index_t  iTsIdx)
protected
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::reset ( )
inlinevirtual

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

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

Definition at line 396 of file ONuPatch.h.

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

Set a sample!

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

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

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::setTimeSampling ( uint32_t  iIndex)
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::setTimeSampling ( AbcA::TimeSamplingPtr  iTime)
bool Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::valid ( ) const
inlinevirtual

Valid returns whether this function set is valid.

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

Definition at line 427 of file ONuPatch.h.

Member Data Documentation

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

Definition at line 455 of file ONuPatch.h.

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

Definition at line 446 of file ONuPatch.h.

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

Definition at line 447 of file ONuPatch.h.

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

Definition at line 443 of file ONuPatch.h.

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

Definition at line 454 of file ONuPatch.h.

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

Definition at line 440 of file ONuPatch.h.

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

Definition at line 464 of file ONuPatch.h.

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

Definition at line 466 of file ONuPatch.h.

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

Definition at line 465 of file ONuPatch.h.

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

Definition at line 461 of file ONuPatch.h.

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

Definition at line 460 of file ONuPatch.h.

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

Definition at line 462 of file ONuPatch.h.

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

Definition at line 463 of file ONuPatch.h.

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

Definition at line 467 of file ONuPatch.h.

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

Definition at line 468 of file ONuPatch.h.

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

Definition at line 469 of file ONuPatch.h.

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

Definition at line 450 of file ONuPatch.h.

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

Definition at line 448 of file ONuPatch.h.

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

Definition at line 456 of file ONuPatch.h.

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

Definition at line 457 of file ONuPatch.h.

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

Definition at line 451 of file ONuPatch.h.

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

Definition at line 449 of file ONuPatch.h.


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