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

#include <OPolyMesh.h>

Public Member Functions

 Sample ()
 
 Sample (const Abc::P3fArraySample &iPos)
 
 Sample (const Abc::P3fArraySample &iPos, const Abc::Int32ArraySample &iInd, const Abc::Int32ArraySample &iCnt, const OV2fGeomParam::Sample &iUVs=OV2fGeomParam::Sample(), const ON3fGeomParam::Sample &iNormals=ON3fGeomParam::Sample())
 
const Abc::P3fArraySamplegetPositions () const
 
void setPositions (const Abc::P3fArraySample &iSmp)
 
const Abc::V3fArraySamplegetVelocities () const
 
void setVelocities (const Abc::V3fArraySample &iVelocities)
 
const Abc::Int32ArraySamplegetFaceIndices () const
 
void setFaceIndices (const Abc::Int32ArraySample &iSmp)
 
const Abc::Int32ArraySamplegetFaceCounts () const
 
void setFaceCounts (const Abc::Int32ArraySample &iCnt)
 
const Abc::Box3dgetSelfBounds () const
 
void setSelfBounds (const Abc::Box3d &iBnds)
 
const OV2fGeomParam::Sample & getUVs () const
 
void setUVs (const OV2fGeomParam::Sample &iUVs)
 
const ON3fGeomParam::Sample & getNormals () const
 
void setNormals (const ON3fGeomParam::Sample &iNormals)
 
void reset ()
 

Protected Attributes

Abc::P3fArraySample m_positions
 
Abc::Int32ArraySample m_indices
 
Abc::Int32ArraySample m_counts
 
Abc::Box3d m_selfBounds
 
Abc::V3fArraySample m_velocities
 
OV2fGeomParam::Sample m_uvs
 
ON3fGeomParam::Sample m_normals
 

Detailed Description

Definition at line 59 of file OPolyMesh.h.

Constructor & Destructor Documentation

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

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

Definition at line 64 of file OPolyMesh.h.

Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPolyMeshSchema::Sample::Sample ( const Abc::P3fArraySample iPos)
inline

Creates a sample with position data but no index or count data. For specifying samples after the first one

Definition at line 68 of file OPolyMesh.h.

Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPolyMeshSchema::Sample::Sample ( const Abc::P3fArraySample iPos,
const Abc::Int32ArraySample iInd,
const Abc::Int32ArraySample iCnt,
const OV2fGeomParam::Sample &  iUVs = OV2fGeomParam::Sample(),
const ON3fGeomParam::Sample &  iNormals = ON3fGeomParam::Sample() 
)
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 77 of file OPolyMesh.h.

Member Function Documentation

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

Definition at line 102 of file OPolyMesh.h.

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

Definition at line 98 of file OPolyMesh.h.

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

Definition at line 114 of file OPolyMesh.h.

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

Definition at line 89 of file OPolyMesh.h.

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

Definition at line 106 of file OPolyMesh.h.

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

Definition at line 110 of file OPolyMesh.h.

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

Definition at line 94 of file OPolyMesh.h.

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

Definition at line 118 of file OPolyMesh.h.

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

Definition at line 103 of file OPolyMesh.h.

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

Definition at line 99 of file OPolyMesh.h.

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

Definition at line 115 of file OPolyMesh.h.

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

Definition at line 90 of file OPolyMesh.h.

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

Definition at line 107 of file OPolyMesh.h.

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

Definition at line 111 of file OPolyMesh.h.

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

Definition at line 95 of file OPolyMesh.h.

Member Data Documentation

Abc::Int32ArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPolyMeshSchema::Sample::m_counts
protected

Definition at line 135 of file OPolyMesh.h.

Abc::Int32ArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPolyMeshSchema::Sample::m_indices
protected

Definition at line 134 of file OPolyMesh.h.

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

Definition at line 141 of file OPolyMesh.h.

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

Definition at line 133 of file OPolyMesh.h.

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

Definition at line 137 of file OPolyMesh.h.

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

Definition at line 140 of file OPolyMesh.h.

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

Definition at line 139 of file OPolyMesh.h.


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