Alembic Version 1.1

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

`#include <OPolyMesh.h>`

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

## 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::P3fArraySample & | getPositions () const
void | setPositions (const Abc::P3fArraySample &iSmp)
const Abc::V3fArraySample & | getVelocities () const
void | setVelocities (const Abc::V3fArraySample &iVelocities)
const Abc::Int32ArraySample & | getFaceIndices () const
void | setFaceIndices (const Abc::Int32ArraySample &iSmp)
const Abc::Int32ArraySample & | getFaceCounts () const
void | setFaceCounts (const Abc::Int32ArraySample &iCnt)
const Abc::Box3d & | getSelfBounds () 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 ()
bool | isPartialSample () const

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

## ◆ Sample() [1/3]

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.

## ◆ Sample() [2/3]

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.

## ◆ Sample() [3/3]

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

## ◆ getFaceCounts()

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

Definition at line 102 of file OPolyMesh.h.

## ◆ getFaceIndices()

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

Definition at line 98 of file OPolyMesh.h.

## ◆ getNormals()

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

Definition at line 114 of file OPolyMesh.h.

## ◆ getPositions()

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

Definition at line 89 of file OPolyMesh.h.

## ◆ getSelfBounds()

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

Definition at line 106 of file OPolyMesh.h.

## ◆ getUVs()

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

Definition at line 110 of file OPolyMesh.h.

## ◆ getVelocities()

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

Definition at line 94 of file OPolyMesh.h.

## ◆ isPartialSample()

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

Definition at line 131 of file OPolyMesh.h.

## ◆ reset()

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

Definition at line 118 of file OPolyMesh.h.

## ◆ setFaceCounts()

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

Definition at line 103 of file OPolyMesh.h.

## ◆ setFaceIndices()

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

Definition at line 99 of file OPolyMesh.h.

## ◆ setNormals()

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

Definition at line 115 of file OPolyMesh.h.

## ◆ setPositions()

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

Definition at line 90 of file OPolyMesh.h.

## ◆ setSelfBounds()

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

Definition at line 107 of file OPolyMesh.h.

## ◆ setUVs()

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

Definition at line 111 of file OPolyMesh.h.

## ◆ setVelocities()

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

## ◆ m_counts

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

Definition at line 147 of file OPolyMesh.h.

## ◆ m_indices

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

Definition at line 146 of file OPolyMesh.h.

## ◆ m_normals

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

Definition at line 153 of file OPolyMesh.h.

## ◆ m_positions

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

Definition at line 145 of file OPolyMesh.h.

## ◆ m_selfBounds

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

Definition at line 149 of file OPolyMesh.h.

## ◆ m_uvs

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

Definition at line 152 of file OPolyMesh.h.

## ◆ m_velocities

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

Definition at line 151 of file OPolyMesh.h.

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

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