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

#include <OSubD.h>

Public Member Functions

 Sample ()
 
 Sample (const Abc::P3fArraySample &iPositions, const Abc::Int32ArraySample &iFaceIndices, const Abc::Int32ArraySample &iFaceCounts, const Abc::Int32ArraySample &iCreaseIndices=Abc::Int32ArraySample(), const Abc::Int32ArraySample &iCreaseLengths=Abc::Int32ArraySample(), const Abc::FloatArraySample &iCreaseSharpnesses=Abc::FloatArraySample(), const Abc::Int32ArraySample &iCornerIndices=Abc::Int32ArraySample(), const Abc::FloatArraySample &iCornerSharpnesses=Abc::FloatArraySample(), const Abc::Int32ArraySample &iHoles=Abc::Int32ArraySample())
 
const Abc::P3fArraySamplegetPositions () const
 
void setPositions (const Abc::P3fArraySample &iSmp)
 
const Abc::Int32ArraySamplegetFaceIndices () const
 
void setFaceIndices (const Abc::Int32ArraySample &iSmp)
 
const Abc::Int32ArraySamplegetFaceCounts () const
 
void setFaceCounts (const Abc::Int32ArraySample &iCnt)
 
int32_t getFaceVaryingInterpolateBoundary () const
 
void setFaceVaryingInterpolateBoundary (int32_t i)
 
int32_t getFaceVaryingPropagateCorners () const
 
void setFaceVaryingPropagateCorners (int32_t i)
 
int32_t getInterpolateBoundary () const
 
void setInterpolateBoundary (int32_t i)
 
const Abc::Int32ArraySamplegetCreaseIndices () const
 
void setCreaseIndices (const Abc::Int32ArraySample &iCreaseIndices)
 
const Abc::Int32ArraySamplegetCreaseLengths () const
 
void setCreaseLengths (const Abc::Int32ArraySample &iCreaseLengths)
 
const Abc::FloatArraySamplegetCreaseSharpnesses () const
 
void setCreaseSharpnesses (const Abc::FloatArraySample &iCreaseSharpnesses)
 
void setCreases (const Abc::Int32ArraySample &iCreaseIndices, const Abc::Int32ArraySample &iCreaseLengths)
 
void setCreases (const Abc::Int32ArraySample &iCreaseIndices, const Abc::Int32ArraySample &iCreaseLengths, const Abc::FloatArraySample &iCreaseSharpnesses)
 
const Abc::Int32ArraySamplegetCornerIndices () const
 
void setCornerIndices (const Abc::Int32ArraySample &iCornerIndices)
 
const Abc::FloatArraySamplegetCornerSharpnesses () const
 
void setCornerSharpnesses (const Abc::FloatArraySample &iCornerSharpnesses)
 
void setCorners (const Abc::Int32ArraySample &iCornerIndices, const Abc::FloatArraySample &iCornerSharpnesses)
 
const Abc::Int32ArraySamplegetHoles () const
 
void setHoles (const Abc::Int32ArraySample &iHoles)
 
std::string getSubdivisionScheme () const
 
void setSubdivisionScheme (const std::string &iScheme)
 
const Abc::Box3dgetSelfBounds () const
 
void setSelfBounds (const Abc::Box3d &iBnds)
 
const Abc::V3fArraySamplegetVelocities () const
 
void setVelocities (const Abc::V3fArraySample &iVelocities)
 
const OV2fGeomParam::Sample & getUVs () const
 
void setUVs (const OV2fGeomParam::Sample &iUVs)
 
void reset ()
 
bool isPartialSample () const
 

Protected Attributes

Abc::P3fArraySample m_positions
 
Abc::Int32ArraySample m_faceIndices
 
Abc::Int32ArraySample m_faceCounts
 
int32_t m_faceVaryingInterpolateBoundary
 
int32_t m_faceVaryingPropagateCorners
 
int32_t m_interpolateBoundary
 
Abc::Int32ArraySample m_creaseIndices
 
Abc::Int32ArraySample m_creaseLengths
 
Abc::FloatArraySample m_creaseSharpnesses
 
Abc::Int32ArraySample m_cornerIndices
 
Abc::FloatArraySample m_cornerSharpnesses
 
Abc::Int32ArraySample m_holes
 
std::string m_subdScheme
 
Abc::Box3d m_selfBounds
 
Abc::V3fArraySample m_velocities
 
OV2fGeomParam::Sample m_uvs
 

Friends

class OSubDSchema
 

Detailed Description

Definition at line 64 of file OSubD.h.

Constructor & Destructor Documentation

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

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

Definition at line 69 of file OSubD.h.

Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::Sample ( const Abc::P3fArraySample iPositions,
const Abc::Int32ArraySample iFaceIndices,
const Abc::Int32ArraySample iFaceCounts,
const Abc::Int32ArraySample iCreaseIndices = Abc::Int32ArraySample(),
const Abc::Int32ArraySample iCreaseLengths = Abc::Int32ArraySample(),
const Abc::FloatArraySample iCreaseSharpnesses = Abc::FloatArraySample(),
const Abc::Int32ArraySample iCornerIndices = Abc::Int32ArraySample(),
const Abc::FloatArraySample iCornerSharpnesses = Abc::FloatArraySample(),
const Abc::Int32ArraySample iHoles = Abc::Int32ArraySample() 
)
inline

Creates a sample with position data, index data, and count 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 75 of file OSubD.h.

Member Function Documentation

const Abc::Int32ArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getCornerIndices ( ) const
inline

Definition at line 173 of file OSubD.h.

const Abc::FloatArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getCornerSharpnesses ( ) const
inline

Definition at line 178 of file OSubD.h.

const Abc::Int32ArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getCreaseIndices ( ) const
inline

Definition at line 140 of file OSubD.h.

const Abc::Int32ArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getCreaseLengths ( ) const
inline

Definition at line 145 of file OSubD.h.

const Abc::FloatArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getCreaseSharpnesses ( ) const
inline

Definition at line 150 of file OSubD.h.

const Abc::Int32ArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getFaceCounts ( ) const
inline

Definition at line 118 of file OSubD.h.

const Abc::Int32ArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getFaceIndices ( ) const
inline

Definition at line 114 of file OSubD.h.

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getFaceVaryingInterpolateBoundary ( ) const
inline

Definition at line 124 of file OSubD.h.

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getFaceVaryingPropagateCorners ( ) const
inline

Definition at line 129 of file OSubD.h.

const Abc::Int32ArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getHoles ( ) const
inline

Definition at line 192 of file OSubD.h.

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getInterpolateBoundary ( ) const
inline

Definition at line 134 of file OSubD.h.

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

Definition at line 110 of file OSubD.h.

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

Definition at line 204 of file OSubD.h.

std::string Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getSubdivisionScheme ( ) const
inline

Definition at line 198 of file OSubD.h.

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

Definition at line 214 of file OSubD.h.

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

Definition at line 209 of file OSubD.h.

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

Definition at line 246 of file OSubD.h.

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

Definition at line 218 of file OSubD.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setCornerIndices ( const Abc::Int32ArraySample iCornerIndices)
inline

Definition at line 175 of file OSubD.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setCorners ( const Abc::Int32ArraySample iCornerIndices,
const Abc::FloatArraySample iCornerSharpnesses 
)
inline

Definition at line 184 of file OSubD.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setCornerSharpnesses ( const Abc::FloatArraySample iCornerSharpnesses)
inline

Definition at line 180 of file OSubD.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setCreaseIndices ( const Abc::Int32ArraySample iCreaseIndices)
inline

Definition at line 142 of file OSubD.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setCreaseLengths ( const Abc::Int32ArraySample iCreaseLengths)
inline

Definition at line 147 of file OSubD.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setCreases ( const Abc::Int32ArraySample iCreaseIndices,
const Abc::Int32ArraySample iCreaseLengths 
)
inline

Definition at line 156 of file OSubD.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setCreases ( const Abc::Int32ArraySample iCreaseIndices,
const Abc::Int32ArraySample iCreaseLengths,
const Abc::FloatArraySample iCreaseSharpnesses 
)
inline

Definition at line 163 of file OSubD.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setCreaseSharpnesses ( const Abc::FloatArraySample iCreaseSharpnesses)
inline

Definition at line 152 of file OSubD.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setFaceCounts ( const Abc::Int32ArraySample iCnt)
inline

Definition at line 119 of file OSubD.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setFaceIndices ( const Abc::Int32ArraySample iSmp)
inline

Definition at line 115 of file OSubD.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setFaceVaryingInterpolateBoundary ( int32_t  i)
inline

Definition at line 126 of file OSubD.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setFaceVaryingPropagateCorners ( int32_t  i)
inline

Definition at line 131 of file OSubD.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setHoles ( const Abc::Int32ArraySample iHoles)
inline

Definition at line 194 of file OSubD.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setInterpolateBoundary ( int32_t  i)
inline

Definition at line 136 of file OSubD.h.

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

Definition at line 111 of file OSubD.h.

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

Definition at line 205 of file OSubD.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setSubdivisionScheme ( const std::string iScheme)
inline

Definition at line 200 of file OSubD.h.

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

Definition at line 215 of file OSubD.h.

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

Definition at line 210 of file OSubD.h.

Friends And Related Function Documentation

friend class OSubDSchema
friend

Definition at line 267 of file OSubD.h.

Member Data Documentation

Abc::Int32ArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_cornerIndices
protected

Definition at line 283 of file OSubD.h.

Abc::FloatArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_cornerSharpnesses
protected

Definition at line 284 of file OSubD.h.

Abc::Int32ArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_creaseIndices
protected

Definition at line 278 of file OSubD.h.

Abc::Int32ArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_creaseLengths
protected

Definition at line 279 of file OSubD.h.

Abc::FloatArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_creaseSharpnesses
protected

Definition at line 280 of file OSubD.h.

Abc::Int32ArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_faceCounts
protected

Definition at line 271 of file OSubD.h.

Abc::Int32ArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_faceIndices
protected

Definition at line 270 of file OSubD.h.

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_faceVaryingInterpolateBoundary
protected

Definition at line 273 of file OSubD.h.

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_faceVaryingPropagateCorners
protected

Definition at line 274 of file OSubD.h.

Abc::Int32ArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_holes
protected

Definition at line 287 of file OSubD.h.

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_interpolateBoundary
protected

Definition at line 275 of file OSubD.h.

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

Definition at line 269 of file OSubD.h.

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

Definition at line 293 of file OSubD.h.

std::string Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_subdScheme
protected

Definition at line 290 of file OSubD.h.

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

Definition at line 298 of file OSubD.h.

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

Definition at line 295 of file OSubD.h.


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