Loading...
Searching...
No Matches
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.

References reset().

Here is the call graph for this function:

## 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.

References m_positions, m_velocities, and m_widths.

## 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.

References m_ids, m_positions, m_velocities, and m_widths.

## 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.

References m_ids.

## getPositions()

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

inline

Definition at line 90 of file OPoints.h.

References m_positions.

## getSelfBounds()

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

inline

Definition at line 109 of file OPoints.h.

References m_selfBounds.

## getVelocities()

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

inline

Definition at line 100 of file OPoints.h.

References m_velocities.

## getWidths()

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

inline

Definition at line 105 of file OPoints.h.

References m_widths.

## isPartialSample()

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

inline

Definition at line 123 of file OPoints.h.

References m_positions.

## reset()

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

inline

Definition at line 113 of file OPoints.h.

References m_ids, m_positions, m_selfBounds, m_velocities, and m_widths.

Referenced by Sample().

Here is the caller graph for this function:

## setIds()

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

inline

Definition at line 96 of file OPoints.h.

References m_ids.

## setPositions()

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

inline

Definition at line 91 of file OPoints.h.

References m_positions.

## setSelfBounds()

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

inline

Definition at line 110 of file OPoints.h.

References m_selfBounds.

## setVelocities()

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

inline

Definition at line 101 of file OPoints.h.

References m_velocities.

## setWidths()

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

inline

Definition at line 106 of file OPoints.h.

References m_widths.

## 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.

Referenced by Sample(), getIds(), reset(), and setIds().

## m_positions

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

protected

Definition at line 134 of file OPoints.h.

Referenced by Sample(), Sample(), getPositions(), isPartialSample(), reset(), and setPositions().

## m_selfBounds

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

protected

Definition at line 139 of file OPoints.h.

Referenced by getSelfBounds(), reset(), and setSelfBounds().

## m_velocities

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

protected

Definition at line 135 of file OPoints.h.

Referenced by Sample(), Sample(), getVelocities(), reset(), and setVelocities().

## m_widths

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

protected

Definition at line 137 of file OPoints.h.

Referenced by Sample(), Sample(), getWidths(), reset(), and setWidths().

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

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