#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.
Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::Sample |
( |
| ) |
|
|
inline |
Creates a default sample with no data in it. ...
Definition at line 73 of file OCurves.h.
Creates a sample with position data but no index or count data. For specifying samples after the first one
Definition at line 86 of file OCurves.h.
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.
BasisType Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getBasis |
( |
| ) |
const |
|
inline |
const ON3fGeomParam::Sample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getNormals |
( |
| ) |
const |
|
inline |
std::size_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getNumCurves |
( |
| ) |
const |
|
inline |
const Abc::Box3d& Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getSelfBounds |
( |
| ) |
const |
|
inline |
CurveType Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getType |
( |
| ) |
const |
|
inline |
const OV2fGeomParam::Sample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getUVs |
( |
| ) |
const |
|
inline |
const OFloatGeomParam::Sample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getWidths |
( |
| ) |
const |
|
inline |
CurvePeriodicity Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::getWrap |
( |
| ) |
const |
|
inline |
bool Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::isPartialSample |
( |
| ) |
const |
|
inline |
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::reset |
( |
| ) |
|
|
inline |
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::setBasis |
( |
const BasisType & |
iBasis | ) |
|
|
inline |
an array of ints that corresponds to the number of vertices per curve
Definition at line 159 of file OCurves.h.
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::setNormals |
( |
const ON3fGeomParam::Sample & |
iNormals | ) |
|
|
inline |
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::setSelfBounds |
( |
const Abc::Box3d & |
iBnds | ) |
|
|
inline |
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::setType |
( |
const CurveType & |
iType | ) |
|
|
inline |
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::setUVs |
( |
const OV2fGeomParam::Sample & |
iUVs | ) |
|
|
inline |
void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::setWidths |
( |
const OFloatGeomParam::Sample & |
iWidths | ) |
|
|
inline |
BasisType Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::m_basis |
|
protected |
ON3fGeomParam::Sample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::m_normals |
|
protected |
Abc::Box3d Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::m_selfBounds |
|
protected |
CurveType Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::m_type |
|
protected |
OV2fGeomParam::Sample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::m_uvs |
|
protected |
OFloatGeomParam::Sample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::m_widths |
|
protected |
CurvePeriodicity Alembic::AbcGeom::ALEMBIC_VERSION_NS::OCurvesSchema::Sample::m_wrap |
|
protected |
The documentation for this class was generated from the following file: