Alembic::AbcGeom::ALEMBIC_VERSION_NS::ONuPatchSchema::Sample Class Reference

`#include <ONuPatch.h>`

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

## 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::P3fArraySample & | getPositions () const
void | setPositions (const Abc::P3fArraySample &iSmp)
const Abc::FloatArraySample & | getPositionWeights () 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::FloatArraySample & | getUKnot () const
void | setUKnot (const Abc::FloatArraySample &iUKnot)
const Abc::FloatArraySample & | getVKnot () 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::V3fArraySample & | getVelocities () 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::Int32ArraySample & | getTrimNumCurves () const
const Abc::Int32ArraySample & | getTrimNumVertices () const
const Abc::Int32ArraySample & | getTrimOrder () const
const Abc::FloatArraySample & | getTrimKnot () const
const Abc::FloatArraySample & | getTrimMin () const
const Abc::FloatArraySample & | getTrimMax () const
const Abc::FloatArraySample & | getTrimU () const
const Abc::FloatArraySample & | getTrimV () const
const Abc::FloatArraySample & | getTrimW () 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.

## 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

Definition at line 70 of file ONuPatch.h.

## 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.

## getNu()

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

inline

Definition at line 115 of file ONuPatch.h.

## getNv()

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

inline

Definition at line 120 of file ONuPatch.h.

## getPositions()

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

inline

Definition at line 104 of file ONuPatch.h.

## getPositionWeights()

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

inline

Definition at line 109 of file ONuPatch.h.

## getSelfBounds()

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

inline

Definition at line 155 of file ONuPatch.h.

## getTrimKnot()

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

inline

Definition at line 197 of file ONuPatch.h.

## getTrimMax()

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

inline

Definition at line 199 of file ONuPatch.h.

## getTrimMin()

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

inline

Definition at line 198 of file ONuPatch.h.

## getTrimNumCurves()

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

inline

Definition at line 191 of file ONuPatch.h.

## getTrimNumLoops()

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

inline

Definition at line 190 of file ONuPatch.h.

## getTrimNumVertices()

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

inline

Definition at line 193 of file ONuPatch.h.

## getTrimOrder()

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

inline

Definition at line 195 of file ONuPatch.h.

## getTrimU()

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

inline

Definition at line 200 of file ONuPatch.h.

## getTrimV()

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

inline

Definition at line 201 of file ONuPatch.h.

## getTrimW()

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

inline

Definition at line 202 of file ONuPatch.h.

## getUKnot()

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

inline

Definition at line 135 of file ONuPatch.h.

## getUOrder()

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

inline

Definition at line 125 of file ONuPatch.h.

## getUVs()

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

inline

Definition at line 145 of file ONuPatch.h.

## getVelocities()

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

inline

Definition at line 160 of file ONuPatch.h.

## getVKnot()

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

inline

Definition at line 140 of file ONuPatch.h.

## getVOrder()

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

inline

Definition at line 130 of file ONuPatch.h.

## 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().

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.

## isPartialSample()

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

inline

Definition at line 238 of file ONuPatch.h.

## reset()

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

inline

Definition at line 209 of file ONuPatch.h.

References Alembic::AbcGeom::ALEMBIC_VERSION_NS::ABC_GEOM_NUPATCH_NULL_INT_VALUE().

Here is the call graph for this function:

## setNormals()

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

inline

Definition at line 151 of file ONuPatch.h.

## setNu()

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

inline

Definition at line 116 of file ONuPatch.h.

## setNv()

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

inline

Definition at line 121 of file ONuPatch.h.

## setPositions()

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

inline

Definition at line 105 of file ONuPatch.h.

## setPositionWeights()

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

inline

Definition at line 111 of file ONuPatch.h.

## setSelfBounds()

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

inline

Definition at line 156 of file ONuPatch.h.

## 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

Definition at line 165 of file ONuPatch.h.

## setUKnot()

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

inline

Definition at line 136 of file ONuPatch.h.

## setUOrder()

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

inline

Definition at line 126 of file ONuPatch.h.

## setUVs()

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

inline

Definition at line 146 of file ONuPatch.h.

## setVelocities()

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

inline

Definition at line 161 of file ONuPatch.h.

## setVKnot()

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

inline

Definition at line 141 of file ONuPatch.h.

## setVOrder()

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

## m_hasTrimCurve

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

protected

Definition at line 291 of file ONuPatch.h.

## m_normals

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

protected

Definition at line 277 of file ONuPatch.h.

## m_numU

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

protected

Definition at line 268 of file ONuPatch.h.

## m_numV

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

protected

Definition at line 269 of file ONuPatch.h.

## m_positions

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

protected

Definition at line 266 of file ONuPatch.h.

## m_positionWeights

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

protected

Definition at line 276 of file ONuPatch.h.

## m_selfBounds

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

protected

Definition at line 294 of file ONuPatch.h.

## m_trimKnot

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

protected

Definition at line 285 of file ONuPatch.h.

## m_trimMax

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

protected

Definition at line 287 of file ONuPatch.h.

## m_trimMin

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

protected

Definition at line 286 of file ONuPatch.h.

## m_trimNumCurves

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

protected

Definition at line 282 of file ONuPatch.h.

## m_trimNumLoops

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

protected

Definition at line 281 of file ONuPatch.h.

## m_trimNumVertices

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

protected

Definition at line 283 of file ONuPatch.h.

## m_trimOrder

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

protected

Definition at line 284 of file ONuPatch.h.

## m_trimU

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

protected

Definition at line 288 of file ONuPatch.h.

## m_trimV

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

protected

Definition at line 289 of file ONuPatch.h.

## m_trimW

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

protected

Definition at line 290 of file ONuPatch.h.

## m_uKnot

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

protected

Definition at line 272 of file ONuPatch.h.

## m_uOrder

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

protected

Definition at line 270 of file ONuPatch.h.

## m_uvs

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

protected

Definition at line 278 of file ONuPatch.h.

## m_velocities

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

protected

Definition at line 267 of file ONuPatch.h.

## m_vKnot

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

protected

Definition at line 273 of file ONuPatch.h.

## m_vOrder

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

protected

Definition at line 271 of file ONuPatch.h.

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

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