Alembic Version 1.1

Public Member Functions | Protected Attributes | List of all members
Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPointsSchema::Sample Class Reference

`#include <OPoints.h>`

Collaboration diagram for Alembic::AbcGeom::ALEMBIC_VERSION_NS::OPointsSchema::Sample:
[legend]

## 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::P3fArraySample & | getPositions () const
void | setPositions (const Abc::P3fArraySample &iSmp)
const Abc::UInt64ArraySample & | getIds () const
void | setIds (const Abc::UInt64ArraySample &iSmp)
const Abc::V3fArraySample & | getVelocities () const
void | setVelocities (const Abc::V3fArraySample &iVelocities)
const OFloatGeomParam::Sample & | getWidths () const
void | setWidths (const OFloatGeomParam::Sample &iWidths)
const Abc::Box3d & | getSelfBounds () 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

## ◆ Sample() [1/3]

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.

## ◆ Sample() [2/3]

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.

## ◆ Sample() [3/3]

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

## ◆ getIds()

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

Definition at line 95 of file OPoints.h.

## ◆ getPositions()

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

Definition at line 90 of file OPoints.h.

## ◆ getSelfBounds()

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

Definition at line 109 of file OPoints.h.

## ◆ getVelocities()

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

Definition at line 100 of file OPoints.h.

## ◆ getWidths()

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

Definition at line 105 of file OPoints.h.

## ◆ isPartialSample()

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

Definition at line 123 of file OPoints.h.

## ◆ reset()

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

Definition at line 113 of file OPoints.h.

## ◆ setIds()

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

Definition at line 96 of file OPoints.h.

## ◆ setPositions()

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

Definition at line 91 of file OPoints.h.

## ◆ setSelfBounds()

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

Definition at line 110 of file OPoints.h.

## ◆ setVelocities()

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

Definition at line 101 of file OPoints.h.

## ◆ setWidths()

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

## ◆ m_ids

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

Definition at line 136 of file OPoints.h.

## ◆ m_positions

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

Definition at line 134 of file OPoints.h.

## ◆ m_selfBounds

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

Definition at line 139 of file OPoints.h.

## ◆ m_velocities

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

Definition at line 135 of file OPoints.h.

## ◆ m_widths

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:

- opt/local/include/Alembic/AbcGeom/OPoints.h