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

#include <ONuPatch.h>

Public Member Functions

 Sample ()
 
 Sample (const Abc::P3fArraySample &iPos, const int32_t &iNumU, const int32_t &iNumV, const int32_t &iUOrder, const int32_t &iVOrder, const Abc::FloatArraySample &iUKnot, const Abc::FloatArraySample &iVKnot, const ON3fGeomParam::Sample &iNormals=ON3fGeomParam::Sample(), const OV2fGeomParam::Sample &iUVs=OV2fGeomParam::Sample(), const Abc::FloatArraySample &iPosWeight=Abc::FloatArraySample())
 
const Abc::P3fArraySamplegetPositions () const
 
void setPositions (const Abc::P3fArraySample &iSmp)
 
const Abc::FloatArraySamplegetPositionWeights () const
 
void setPositionWeights (const Abc::FloatArraySample &iSmp)
 
int32_t getNu () const
 
void setNu (const int32_t iNu)
 
int32_t getNv () const
 
void setNv (const int32_t iNv)
 
int32_t getUOrder () const
 
void setUOrder (const int32_t iUOrder)
 
int32_t getVOrder () const
 
void setVOrder (const int32_t iVOrder)
 
const Abc::FloatArraySamplegetUKnot () const
 
void setUKnot (const Abc::FloatArraySample &iUKnot)
 
const Abc::FloatArraySamplegetVKnot () const
 
void setVKnot (const Abc::FloatArraySample &iVKnot)
 
const OV2fGeomParam::Sample & getUVs () const
 
void setUVs (const OV2fGeomParam::Sample &iUVs)
 
const ON3fGeomParam::Sample & getNormals () const
 
void setNormals (const ON3fGeomParam::Sample &iNormals)
 
const Abc::Box3dgetSelfBounds () const
 
void setSelfBounds (const Abc::Box3d &iBnds)
 
const Abc::V3fArraySamplegetVelocities () const
 
void setVelocities (const Abc::V3fArraySample &iVelocities)
 
void setTrimCurve (const int32_t i_trim_nLoops, const Abc::Int32ArraySample &i_trim_nCurves, const Abc::Int32ArraySample &i_trim_n, const Abc::Int32ArraySample &i_trim_order, const Abc::FloatArraySample &i_trim_knot, const Abc::FloatArraySample &i_trim_min, const Abc::FloatArraySample &i_trim_max, const Abc::FloatArraySample &i_trim_u, const Abc::FloatArraySample &i_trim_v, const Abc::FloatArraySample &i_trim_w)
 
int32_t getTrimNumLoops () const
 
const Abc::Int32ArraySamplegetTrimNumCurves () const
 
const Abc::Int32ArraySamplegetTrimNumVertices () const
 
const Abc::Int32ArraySamplegetTrimOrder () const
 
const Abc::FloatArraySamplegetTrimKnot () const
 
const Abc::FloatArraySamplegetTrimMin () const
 
const Abc::FloatArraySamplegetTrimMax () const
 
const Abc::FloatArraySamplegetTrimU () const
 
const Abc::FloatArraySamplegetTrimV () const
 
const Abc::FloatArraySamplegetTrimW () const
 
bool hasTrimCurve () const
 
void reset ()
 

Protected Attributes

Abc::P3fArraySample m_positions
 
Abc::V3fArraySample m_velocities
 
int32_t m_numU
 
int32_t m_numV
 
int32_t m_uOrder
 
int32_t m_vOrder
 
Abc::FloatArraySample m_uKnot
 
Abc::FloatArraySample m_vKnot
 
Abc::FloatArraySample m_positionWeights
 
ON3fGeomParam::Sample m_normals
 
OV2fGeomParam::Sample m_uvs
 
int32_t m_trimNumLoops
 
Abc::Int32ArraySample m_trimNumCurves
 
Abc::Int32ArraySample m_trimNumVertices
 
Abc::Int32ArraySample m_trimOrder
 
Abc::FloatArraySample m_trimKnot
 
Abc::FloatArraySample m_trimMin
 
Abc::FloatArraySample m_trimMax
 
Abc::FloatArraySample m_trimU
 
Abc::FloatArraySample m_trimV
 
Abc::FloatArraySample m_trimW
 
bool m_hasTrimCurve
 
Abc::Box3d m_selfBounds
 

Detailed Description

Definition at line 63 of file ONuPatch.h.

Constructor & Destructor Documentation

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

Creates a default sample with no data in it. ...

Definition at line 68 of file ONuPatch.h.

Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::Sample ( const Abc::P3fArraySample iPos,
const int32_t &  iNumU,
const int32_t &  iNumV,
const int32_t &  iUOrder,
const int32_t &  iVOrder,
const Abc::FloatArraySample iUKnot,
const Abc::FloatArraySample iVKnot,
const ON3fGeomParam::Sample &  iNormals = ON3fGeomParam::Sample(),
const OV2fGeomParam::Sample &  iUVs = OV2fGeomParam::Sample(),
const Abc::FloatArraySample iPosWeight = Abc::FloatArraySample() 
)
inline

Definition at line 70 of file ONuPatch.h.

Member Function Documentation

const ON3fGeomParam::Sample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getNormals ( ) const
inline

Definition at line 150 of file ONuPatch.h.

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getNu ( ) const
inline

Definition at line 115 of file ONuPatch.h.

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getNv ( ) const
inline

Definition at line 120 of file ONuPatch.h.

const Abc::P3fArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getPositions ( ) const
inline

Definition at line 104 of file ONuPatch.h.

const Abc::FloatArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getPositionWeights ( ) const
inline

Definition at line 109 of file ONuPatch.h.

const Abc::Box3d& Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getSelfBounds ( ) const
inline

Definition at line 155 of file ONuPatch.h.

const Abc::FloatArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getTrimKnot ( ) const
inline

Definition at line 197 of file ONuPatch.h.

const Abc::FloatArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getTrimMax ( ) const
inline

Definition at line 199 of file ONuPatch.h.

const Abc::FloatArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getTrimMin ( ) const
inline

Definition at line 198 of file ONuPatch.h.

const Abc::Int32ArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getTrimNumCurves ( ) const
inline

Definition at line 191 of file ONuPatch.h.

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getTrimNumLoops ( ) const
inline

Definition at line 190 of file ONuPatch.h.

const Abc::Int32ArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getTrimNumVertices ( ) const
inline

Definition at line 193 of file ONuPatch.h.

const Abc::Int32ArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getTrimOrder ( ) const
inline

Definition at line 195 of file ONuPatch.h.

const Abc::FloatArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getTrimU ( ) const
inline

Definition at line 200 of file ONuPatch.h.

const Abc::FloatArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getTrimV ( ) const
inline

Definition at line 201 of file ONuPatch.h.

const Abc::FloatArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getTrimW ( ) const
inline

Definition at line 202 of file ONuPatch.h.

const Abc::FloatArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getUKnot ( ) const
inline

Definition at line 135 of file ONuPatch.h.

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getUOrder ( ) const
inline

Definition at line 125 of file ONuPatch.h.

const OV2fGeomParam::Sample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getUVs ( ) const
inline

Definition at line 145 of file ONuPatch.h.

const Abc::V3fArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getVelocities ( ) const
inline

Definition at line 160 of file ONuPatch.h.

const Abc::FloatArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getVKnot ( ) const
inline

Definition at line 140 of file ONuPatch.h.

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::getVOrder ( ) const
inline

Definition at line 130 of file ONuPatch.h.

bool Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::hasTrimCurve ( ) const
inline

Definition at line 204 of file ONuPatch.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::reset ( )
inline

Definition at line 209 of file ONuPatch.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::setNormals ( const ON3fGeomParam::Sample &  iNormals)
inline

Definition at line 151 of file ONuPatch.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::setNu ( const int32_t  iNu)
inline

Definition at line 116 of file ONuPatch.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::setNv ( const int32_t  iNv)
inline

Definition at line 121 of file ONuPatch.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::setPositions ( const Abc::P3fArraySample iSmp)
inline

Definition at line 105 of file ONuPatch.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::setPositionWeights ( const Abc::FloatArraySample iSmp)
inline

Definition at line 111 of file ONuPatch.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::setSelfBounds ( const Abc::Box3d iBnds)
inline

Definition at line 156 of file ONuPatch.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::setTrimCurve ( const int32_t  i_trim_nLoops,
const Abc::Int32ArraySample i_trim_nCurves,
const Abc::Int32ArraySample i_trim_n,
const Abc::Int32ArraySample i_trim_order,
const Abc::FloatArraySample i_trim_knot,
const Abc::FloatArraySample i_trim_min,
const Abc::FloatArraySample i_trim_max,
const Abc::FloatArraySample i_trim_u,
const Abc::FloatArraySample i_trim_v,
const Abc::FloatArraySample i_trim_w 
)
inline

Definition at line 165 of file ONuPatch.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::setUKnot ( const Abc::FloatArraySample iUKnot)
inline

Definition at line 136 of file ONuPatch.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::setUOrder ( const int32_t  iUOrder)
inline

Definition at line 126 of file ONuPatch.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::setUVs ( const OV2fGeomParam::Sample &  iUVs)
inline

Definition at line 146 of file ONuPatch.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::setVelocities ( const Abc::V3fArraySample iVelocities)
inline

Definition at line 161 of file ONuPatch.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::setVKnot ( const Abc::FloatArraySample iVKnot)
inline

Definition at line 141 of file ONuPatch.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::setVOrder ( const int32_t  iVOrder)
inline

Definition at line 131 of file ONuPatch.h.

Member Data Documentation

bool Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_hasTrimCurve
protected

Definition at line 266 of file ONuPatch.h.

ON3fGeomParam::Sample Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_normals
protected

Definition at line 252 of file ONuPatch.h.

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_numU
protected

Definition at line 243 of file ONuPatch.h.

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_numV
protected

Definition at line 244 of file ONuPatch.h.

Abc::P3fArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_positions
protected

Definition at line 241 of file ONuPatch.h.

Abc::FloatArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_positionWeights
protected

Definition at line 251 of file ONuPatch.h.

Abc::Box3d Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_selfBounds
protected

Definition at line 269 of file ONuPatch.h.

Abc::FloatArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_trimKnot
protected

Definition at line 260 of file ONuPatch.h.

Abc::FloatArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_trimMax
protected

Definition at line 262 of file ONuPatch.h.

Abc::FloatArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_trimMin
protected

Definition at line 261 of file ONuPatch.h.

Abc::Int32ArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_trimNumCurves
protected

Definition at line 257 of file ONuPatch.h.

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_trimNumLoops
protected

Definition at line 256 of file ONuPatch.h.

Abc::Int32ArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_trimNumVertices
protected

Definition at line 258 of file ONuPatch.h.

Abc::Int32ArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_trimOrder
protected

Definition at line 259 of file ONuPatch.h.

Abc::FloatArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_trimU
protected

Definition at line 263 of file ONuPatch.h.

Abc::FloatArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_trimV
protected

Definition at line 264 of file ONuPatch.h.

Abc::FloatArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_trimW
protected

Definition at line 265 of file ONuPatch.h.

Abc::FloatArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_uKnot
protected

Definition at line 247 of file ONuPatch.h.

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_uOrder
protected

Definition at line 245 of file ONuPatch.h.

OV2fGeomParam::Sample Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_uvs
protected

Definition at line 253 of file ONuPatch.h.

Abc::V3fArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_velocities
protected

Definition at line 242 of file ONuPatch.h.

Abc::FloatArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_vKnot
protected

Definition at line 248 of file ONuPatch.h.

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample::m_vOrder
protected

Definition at line 246 of file ONuPatch.h.


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