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

References reset().

Here is the call graph for this function:

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

References m_positions.

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

References m_counts, m_indices, m_normals, m_positions, and m_uvs.

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

References m_counts.

## getFaceIndices()

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

inline

Definition at line 98 of file OPolyMesh.h.

References m_indices.

## getNormals()

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

inline

Definition at line 114 of file OPolyMesh.h.

References m_normals.

## getPositions()

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

inline

Definition at line 89 of file OPolyMesh.h.

References m_positions.

## getSelfBounds()

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

inline

Definition at line 106 of file OPolyMesh.h.

References m_selfBounds.

## getUVs()

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

inline

Definition at line 110 of file OPolyMesh.h.

References m_uvs.

## getVelocities()

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

inline

Definition at line 94 of file OPolyMesh.h.

References m_velocities.

## isPartialSample()

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

inline

Definition at line 131 of file OPolyMesh.h.

References m_counts, m_indices, m_normals, m_positions, m_uvs, and m_velocities.

## reset()

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

inline

Definition at line 118 of file OPolyMesh.h.

References m_counts, m_indices, m_normals, m_positions, m_selfBounds, m_uvs, and m_velocities.

Referenced by Sample().

Here is the caller graph for this function:

## setFaceCounts()

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

inline

Definition at line 103 of file OPolyMesh.h.

References m_counts.

## setFaceIndices()

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

inline

Definition at line 99 of file OPolyMesh.h.

References m_indices.

## setNormals()

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

inline

Definition at line 115 of file OPolyMesh.h.

References m_normals.

## setPositions()

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

inline

Definition at line 90 of file OPolyMesh.h.

References m_positions.

## setSelfBounds()

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

inline

Definition at line 107 of file OPolyMesh.h.

References m_selfBounds.

## setUVs()

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

inline

Definition at line 111 of file OPolyMesh.h.

References m_uvs.

## setVelocities()

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

inline

Definition at line 95 of file OPolyMesh.h.

References m_velocities.

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

Referenced by Sample(), getFaceCounts(), isPartialSample(), reset(), and setFaceCounts().

## m_indices

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

protected

Definition at line 146 of file OPolyMesh.h.

Referenced by Sample(), getFaceIndices(), isPartialSample(), reset(), and setFaceIndices().

## m_normals

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

protected

Definition at line 153 of file OPolyMesh.h.

Referenced by Sample(), getNormals(), isPartialSample(), reset(), and setNormals().

## m_positions

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

protected

Definition at line 145 of file OPolyMesh.h.

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

## m_selfBounds

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

protected

Definition at line 149 of file OPolyMesh.h.

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

## m_uvs

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

protected

Definition at line 152 of file OPolyMesh.h.

Referenced by Sample(), getUVs(), isPartialSample(), reset(), and setUVs().

## m_velocities

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

protected

Definition at line 151 of file OPolyMesh.h.

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

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

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