#include <OCurves.h>
|
| Sample () |
|
| Sample (const Abc::P3fArraySample &iPos) |
|
| Sample (const Abc::P3fArraySample &iPos, const Abc::Int32ArraySample &iNVertices, const CurveType &iType=kCubic, const CurvePeriodicity iWrap=kNonPeriodic, const OFloatGeomParam::Sample &iWidths=OFloatGeomParam::Sample(), const OV2fGeomParam::Sample &iUVs=OV2fGeomParam::Sample(), const ON3fGeomParam::Sample &iNormals=ON3fGeomParam::Sample(), const BasisType &iBasis=kBezierBasis, const Abc::FloatArraySample &iPosWeight=Abc::FloatArraySample(), const Abc::UcharArraySample &iOrders=Abc::UcharArraySample(), const Abc::FloatArraySample &iKnots=Abc::FloatArraySample()) |
|
const OFloatGeomParam::Sample & | getWidths () const |
|
void | setWidths (const OFloatGeomParam::Sample &iWidths) |
|
const Abc::P3fArraySample & | getPositions () const |
|
void | setPositions (const Abc::P3fArraySample &iSmp) |
|
const Abc::FloatArraySample & | getPositionWeights () const |
|
void | setPositionWeights (const Abc::FloatArraySample &iSmp) |
|
void | setType (const CurveType &iType) |
|
CurveType | getType () const |
|
void | setWrap (const CurvePeriodicity &iWrap) |
|
CurvePeriodicity | getWrap () const |
|
std::size_t | getNumCurves () const |
|
void | setCurvesNumVertices (const Abc::Int32ArraySample &iNVertices) |
|
const Abc::Int32ArraySample & | getCurvesNumVertices () const |
|
const OV2fGeomParam::Sample & | getUVs () const |
|
void | setUVs (const OV2fGeomParam::Sample &iUVs) |
|
const Abc::Box3d & | getSelfBounds () const |
|
void | setSelfBounds (const Abc::Box3d &iBnds) |
|
const Abc::V3fArraySample & | getVelocities () const |
|
void | setVelocities (const Abc::V3fArraySample &iVelocities) |
|
const ON3fGeomParam::Sample & | getNormals () const |
|
void | setNormals (const ON3fGeomParam::Sample &iNormals) |
|
BasisType | getBasis () const |
|
void | setBasis (const BasisType &iBasis) |
|
const Abc::UcharArraySample & | getOrders () const |
|
void | setOrders (const Abc::UcharArraySample &iOrders) |
|
const Abc::FloatArraySample & | getKnots () const |
|
void | setKnots (const Abc::FloatArraySample &iKnots) |
|
void | reset () |
|
bool | isPartialSample () const |
|
Definition at line 68 of file OCurves.h.
◆ Sample() [1/3]
Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::Sample |
( |
| ) |
|
|
inline |
◆ Sample() [2/3]
Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::Sample |
( |
const Abc::P3fArraySample & | iPos | ) |
|
|
inline |
◆ Sample() [3/3]
Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::Sample |
( |
const Abc::P3fArraySample & | iPos, |
|
|
const Abc::Int32ArraySample & | iNVertices, |
|
|
const CurveType & | iType = kCubic, |
|
|
const CurvePeriodicity | iWrap = kNonPeriodic, |
|
|
const OFloatGeomParam::Sample & | iWidths = OFloatGeomParam::Sample(), |
|
|
const OV2fGeomParam::Sample & | iUVs = OV2fGeomParam::Sample(), |
|
|
const ON3fGeomParam::Sample & | iNormals = ON3fGeomParam::Sample(), |
|
|
const BasisType & | iBasis = kBezierBasis, |
|
|
const Abc::FloatArraySample & | iPosWeight = Abc::FloatArraySample(), |
|
|
const Abc::UcharArraySample & | iOrders = Abc::UcharArraySample(), |
|
|
const Abc::FloatArraySample & | iKnots = Abc::FloatArraySample() ) |
|
inline |
Creates a sample with position data, index data, count data, and optional UV and Normals data. For specifying samples with an explicit topology. The first sample must be full like this. Subsequent samples may also be full like this, which would indicate a change of topology
Definition at line 103 of file OCurves.h.
◆ getBasis()
BasisType Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getBasis |
( |
| ) |
const |
|
inline |
◆ getCurvesNumVertices()
const Abc::Int32ArraySample & Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getCurvesNumVertices |
( |
| ) |
const |
|
inline |
◆ getKnots()
const Abc::FloatArraySample & Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getKnots |
( |
| ) |
const |
|
inline |
◆ getNormals()
const ON3fGeomParam::Sample & Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getNormals |
( |
| ) |
const |
|
inline |
◆ getNumCurves()
std::size_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getNumCurves |
( |
| ) |
const |
|
inline |
◆ getOrders()
const Abc::UcharArraySample & Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getOrders |
( |
| ) |
const |
|
inline |
◆ getPositions()
const Abc::P3fArraySample & Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getPositions |
( |
| ) |
const |
|
inline |
◆ getPositionWeights()
const Abc::FloatArraySample & Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getPositionWeights |
( |
| ) |
const |
|
inline |
◆ getSelfBounds()
const Abc::Box3d & Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getSelfBounds |
( |
| ) |
const |
|
inline |
◆ getType()
CurveType Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getType |
( |
| ) |
const |
|
inline |
◆ getUVs()
const OV2fGeomParam::Sample & Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getUVs |
( |
| ) |
const |
|
inline |
◆ getVelocities()
const Abc::V3fArraySample & Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getVelocities |
( |
| ) |
const |
|
inline |
◆ getWidths()
const OFloatGeomParam::Sample & Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getWidths |
( |
| ) |
const |
|
inline |
◆ getWrap()
CurvePeriodicity Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getWrap |
( |
| ) |
const |
|
inline |
◆ isPartialSample()
bool Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::isPartialSample |
( |
| ) |
const |
|
inline |
◆ reset()
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::reset |
( |
| ) |
|
|
inline |
◆ setBasis()
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::setBasis |
( |
const BasisType & | iBasis | ) |
|
|
inline |
◆ setCurvesNumVertices()
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::setCurvesNumVertices |
( |
const Abc::Int32ArraySample & | iNVertices | ) |
|
|
inline |
an array of ints that corresponds to the number of vertices per curve
Definition at line 159 of file OCurves.h.
◆ setKnots()
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::setKnots |
( |
const Abc::FloatArraySample & | iKnots | ) |
|
|
inline |
◆ setNormals()
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::setNormals |
( |
const ON3fGeomParam::Sample & | iNormals | ) |
|
|
inline |
◆ setOrders()
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::setOrders |
( |
const Abc::UcharArraySample & | iOrders | ) |
|
|
inline |
◆ setPositions()
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::setPositions |
( |
const Abc::P3fArraySample & | iSmp | ) |
|
|
inline |
◆ setPositionWeights()
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::setPositionWeights |
( |
const Abc::FloatArraySample & | iSmp | ) |
|
|
inline |
◆ setSelfBounds()
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::setSelfBounds |
( |
const Abc::Box3d & | iBnds | ) |
|
|
inline |
◆ setType()
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::setType |
( |
const CurveType & | iType | ) |
|
|
inline |
◆ setUVs()
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::setUVs |
( |
const OV2fGeomParam::Sample & | iUVs | ) |
|
|
inline |
◆ setVelocities()
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::setVelocities |
( |
const Abc::V3fArraySample & | iVelocities | ) |
|
|
inline |
◆ setWidths()
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::setWidths |
( |
const OFloatGeomParam::Sample & | iWidths | ) |
|
|
inline |
◆ setWrap()
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::setWrap |
( |
const CurvePeriodicity & | iWrap | ) |
|
|
inline |
◆ m_basis
BasisType Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::m_basis |
|
protected |
◆ m_knots
◆ m_normals
ON3fGeomParam::Sample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::m_normals |
|
protected |
◆ m_nVertices
◆ m_orders
◆ m_positions
◆ m_positionWeights
◆ m_selfBounds
Abc::Box3d Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::m_selfBounds |
|
protected |
◆ m_type
CurveType Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::m_type |
|
protected |
◆ m_uvs
OV2fGeomParam::Sample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::m_uvs |
|
protected |
◆ m_velocities
◆ m_widths
OFloatGeomParam::Sample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::m_widths |
|
protected |
◆ m_wrap
CurvePeriodicity Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::m_wrap |
|
protected |
The documentation for this class was generated from the following file: