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

#include <ONuPatch.h>

Collaboration diagram for Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample:

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::Box3d & getSelfBounds () 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 ()
bool isPartialSample () const
bool hasKnotSampleData () const

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

◆ Sample() [1/2]

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.

References reset().

Here is the call graph for this function:

◆ Sample() [2/2]

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

Member Function Documentation

◆ getNormals()

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

Definition at line 150 of file ONuPatch.h.

References m_normals.

◆ getNu()

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

Definition at line 115 of file ONuPatch.h.

References m_numU.

◆ getNv()

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

Definition at line 120 of file ONuPatch.h.

References m_numV.

◆ getPositions()

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

Definition at line 104 of file ONuPatch.h.

References m_positions.

◆ getPositionWeights()

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

Definition at line 109 of file ONuPatch.h.

References m_positionWeights.

◆ getSelfBounds()

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

Definition at line 155 of file ONuPatch.h.

References m_selfBounds.

◆ getTrimKnot()

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

Definition at line 197 of file ONuPatch.h.

References m_trimKnot.

◆ getTrimMax()

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

Definition at line 199 of file ONuPatch.h.

References m_trimMax.

◆ getTrimMin()

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

Definition at line 198 of file ONuPatch.h.

References m_trimMin.

◆ getTrimNumCurves()

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

Definition at line 191 of file ONuPatch.h.

References m_trimNumCurves.

◆ getTrimNumLoops()

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

Definition at line 190 of file ONuPatch.h.

References m_trimNumLoops.

◆ getTrimNumVertices()

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

Definition at line 193 of file ONuPatch.h.

References m_trimNumVertices.

◆ getTrimOrder()

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

Definition at line 195 of file ONuPatch.h.

References m_trimOrder.

◆ getTrimU()

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

Definition at line 200 of file ONuPatch.h.

References m_trimU.

◆ getTrimV()

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

Definition at line 201 of file ONuPatch.h.

References m_trimV.

◆ getTrimW()

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

Definition at line 202 of file ONuPatch.h.

References m_trimW.

◆ getUKnot()

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

Definition at line 135 of file ONuPatch.h.

References m_uKnot.

◆ getUOrder()

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

Definition at line 125 of file ONuPatch.h.

References m_uOrder.

◆ getUVs()

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

Definition at line 145 of file ONuPatch.h.

References m_uvs.

◆ getVelocities()

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

Definition at line 160 of file ONuPatch.h.

References m_velocities.

◆ getVKnot()

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

Definition at line 140 of file ONuPatch.h.

References m_vKnot.

◆ getVOrder()

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

Definition at line 130 of file ONuPatch.h.

References m_vOrder.

◆ hasKnotSampleData()

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

Definition at line 251 of file ONuPatch.h.

References Alembic::AbcGeom::ALEMBIC_VERSION_NS::ABC_GEOM_NUPATCH_NULL_INT_VALUE(), m_numU, m_numV, m_uKnot, m_uOrder, m_vKnot, and m_vOrder.

Here is the call graph for this function:

◆ hasTrimCurve()

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

Definition at line 204 of file ONuPatch.h.

References m_hasTrimCurve.

◆ isPartialSample()

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

Definition at line 238 of file ONuPatch.h.

References m_normals, m_positions, m_uvs, and m_velocities.

◆ reset()

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

◆ setNormals()

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

Definition at line 151 of file ONuPatch.h.

References m_normals.

◆ setNu()

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

Definition at line 116 of file ONuPatch.h.

References m_numU.

◆ setNv()

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

Definition at line 121 of file ONuPatch.h.

References m_numV.

◆ setPositions()

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

Definition at line 105 of file ONuPatch.h.

References m_positions.

◆ setPositionWeights()

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

Definition at line 111 of file ONuPatch.h.

References m_positionWeights.

◆ setSelfBounds()

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

Definition at line 156 of file ONuPatch.h.

References m_selfBounds.

◆ setTrimCurve()

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

◆ setUKnot()

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

Definition at line 136 of file ONuPatch.h.

References m_uKnot.

◆ setUOrder()

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

Definition at line 126 of file ONuPatch.h.

References m_uOrder.

◆ setUVs()

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

Definition at line 146 of file ONuPatch.h.

References m_uvs.

◆ setVelocities()

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

Definition at line 161 of file ONuPatch.h.

References m_velocities.

◆ setVKnot()

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

Definition at line 141 of file ONuPatch.h.

References m_vKnot.

◆ setVOrder()

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

Definition at line 131 of file ONuPatch.h.

References m_vOrder.

Member Data Documentation

◆ m_hasTrimCurve

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

Definition at line 291 of file ONuPatch.h.

Referenced by Sample(), hasTrimCurve(), reset(), and setTrimCurve().

◆ m_normals

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

Definition at line 277 of file ONuPatch.h.

Referenced by Sample(), getNormals(), isPartialSample(), reset(), and setNormals().

◆ m_numU

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

Definition at line 268 of file ONuPatch.h.

Referenced by Sample(), getNu(), hasKnotSampleData(), reset(), and setNu().

◆ m_numV

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

Definition at line 269 of file ONuPatch.h.

Referenced by Sample(), getNv(), hasKnotSampleData(), reset(), and setNv().

◆ m_positions

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

Definition at line 266 of file ONuPatch.h.

Referenced by Sample(), getPositions(), isPartialSample(), reset(), and setPositions().

◆ m_positionWeights

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

Definition at line 276 of file ONuPatch.h.

Referenced by Sample(), getPositionWeights(), reset(), and setPositionWeights().

◆ m_selfBounds

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

Definition at line 294 of file ONuPatch.h.

Referenced by getSelfBounds(), reset(), and setSelfBounds().

◆ m_trimKnot

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

Definition at line 285 of file ONuPatch.h.

Referenced by Sample(), getTrimKnot(), reset(), and setTrimCurve().

◆ m_trimMax

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

Definition at line 287 of file ONuPatch.h.

Referenced by Sample(), getTrimMax(), reset(), and setTrimCurve().

◆ m_trimMin

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

Definition at line 286 of file ONuPatch.h.

Referenced by Sample(), getTrimMin(), reset(), and setTrimCurve().

◆ m_trimNumCurves

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

Definition at line 282 of file ONuPatch.h.

Referenced by getTrimNumCurves(), reset(), and setTrimCurve().

◆ m_trimNumLoops

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

Definition at line 281 of file ONuPatch.h.

Referenced by Sample(), getTrimNumLoops(), reset(), and setTrimCurve().

◆ m_trimNumVertices

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

Definition at line 283 of file ONuPatch.h.

Referenced by Sample(), getTrimNumVertices(), reset(), and setTrimCurve().

◆ m_trimOrder

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

Definition at line 284 of file ONuPatch.h.

Referenced by Sample(), getTrimOrder(), reset(), and setTrimCurve().

◆ m_trimU

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

Definition at line 288 of file ONuPatch.h.

Referenced by Sample(), getTrimU(), reset(), and setTrimCurve().

◆ m_trimV

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

Definition at line 289 of file ONuPatch.h.

Referenced by Sample(), getTrimV(), reset(), and setTrimCurve().

◆ m_trimW

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

Definition at line 290 of file ONuPatch.h.

Referenced by Sample(), getTrimW(), reset(), and setTrimCurve().

◆ m_uKnot

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

Definition at line 272 of file ONuPatch.h.

Referenced by Sample(), getUKnot(), hasKnotSampleData(), reset(), and setUKnot().

◆ m_uOrder

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

Definition at line 270 of file ONuPatch.h.

Referenced by Sample(), getUOrder(), hasKnotSampleData(), reset(), and setUOrder().

◆ m_uvs

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

Definition at line 278 of file ONuPatch.h.

Referenced by Sample(), getUVs(), isPartialSample(), reset(), and setUVs().

◆ m_velocities

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

Definition at line 267 of file ONuPatch.h.

Referenced by getVelocities(), isPartialSample(), reset(), and setVelocities().

◆ m_vKnot

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

Definition at line 273 of file ONuPatch.h.

Referenced by Sample(), getVKnot(), hasKnotSampleData(), reset(), and setVKnot().

◆ m_vOrder

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

Definition at line 271 of file ONuPatch.h.

Referenced by Sample(), getVOrder(), hasKnotSampleData(), reset(), and setVOrder().


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