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

#include <OPoints.h>

Public Member Functions

 Sample ()
 
 Sample (const Abc::P3fArraySample &iPos, const Abc::V3fArraySample &iVelocities=Abc::V3fArraySample(), const OFloatGeomParam::Sample &iWidths=OFloatGeomParam::Sample())
 
 Sample (const Abc::P3fArraySample &iPos, const Abc::UInt64ArraySample &iId, const Abc::V3fArraySample &iVelocities=Abc::V3fArraySample(), const OFloatGeomParam::Sample &iWidths=OFloatGeomParam::Sample())
 
const Abc::P3fArraySamplegetPositions () const
 
void setPositions (const Abc::P3fArraySample &iSmp)
 
const Abc::UInt64ArraySamplegetIds () const
 
void setIds (const Abc::UInt64ArraySample &iSmp)
 
const Abc::V3fArraySamplegetVelocities () const
 
void setVelocities (const Abc::V3fArraySample &iVelocities)
 
const OFloatGeomParam::Sample & getWidths () const
 
void setWidths (const OFloatGeomParam::Sample &iWidths)
 
const Abc::Box3dgetSelfBounds () const
 
void setSelfBounds (const Abc::Box3d &iBnds)
 
void reset ()
 
bool isPartialSample () const
 

Protected Attributes

Abc::P3fArraySample m_positions
 
Abc::V3fArraySample m_velocities
 
Abc::UInt64ArraySample m_ids
 
OFloatGeomParam::Sample m_widths
 
Abc::Box3d m_selfBounds
 

Detailed Description

Definition at line 57 of file OPoints.h.

Constructor & Destructor Documentation

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

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

Definition at line 62 of file OPoints.h.

Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPointsSchema::Sample::Sample ( const Abc::P3fArraySample iPos,
const Abc::V3fArraySample iVelocities = Abc::V3fArraySample(),
const OFloatGeomParam::Sample &  iWidths = OFloatGeomParam::Sample() 
)
inline

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

Definition at line 66 of file OPoints.h.

Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPointsSchema::Sample::Sample ( const Abc::P3fArraySample iPos,
const Abc::UInt64ArraySample iId,
const Abc::V3fArraySample iVelocities = Abc::V3fArraySample(),
const OFloatGeomParam::Sample &  iWidths = OFloatGeomParam::Sample() 
)
inline

Creates a sample with position data and id data. 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 78 of file OPoints.h.

Member Function Documentation

const Abc::UInt64ArraySample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPointsSchema::Sample::getIds ( ) const
inline

Definition at line 95 of file OPoints.h.

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

Definition at line 90 of file OPoints.h.

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

Definition at line 109 of file OPoints.h.

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

Definition at line 100 of file OPoints.h.

const OFloatGeomParam::Sample& Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPointsSchema::Sample::getWidths ( ) const
inline

Definition at line 105 of file OPoints.h.

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

Definition at line 123 of file OPoints.h.

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

Definition at line 113 of file OPoints.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPointsSchema::Sample::setIds ( const Abc::UInt64ArraySample iSmp)
inline

Definition at line 96 of file OPoints.h.

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

Definition at line 91 of file OPoints.h.

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

Definition at line 110 of file OPoints.h.

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

Definition at line 101 of file OPoints.h.

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPointsSchema::Sample::setWidths ( const OFloatGeomParam::Sample &  iWidths)
inline

Definition at line 106 of file OPoints.h.

Member Data Documentation

Abc::UInt64ArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPointsSchema::Sample::m_ids
protected

Definition at line 136 of file OPoints.h.

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

Definition at line 134 of file OPoints.h.

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

Definition at line 139 of file OPoints.h.

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

Definition at line 135 of file OPoints.h.

OFloatGeomParam::Sample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPointsSchema::Sample::m_widths
protected

Definition at line 137 of file OPoints.h.


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