Alembic Version 1.1

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

`#include <OSubD.h>`

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

## Public Member Functions
| Sample ()
| Sample (const Abc::P3fArraySample &iPositions, const Abc::Int32ArraySample &iFaceIndices, const Abc::Int32ArraySample &iFaceCounts, const Abc::Int32ArraySample &iCreaseIndices=Abc::Int32ArraySample(), const Abc::Int32ArraySample &iCreaseLengths=Abc::Int32ArraySample(), const Abc::FloatArraySample &iCreaseSharpnesses=Abc::FloatArraySample(), const Abc::Int32ArraySample &iCornerIndices=Abc::Int32ArraySample(), const Abc::FloatArraySample &iCornerSharpnesses=Abc::FloatArraySample(), const Abc::Int32ArraySample &iHoles=Abc::Int32ArraySample())
const Abc::P3fArraySample & | getPositions () const
void | setPositions (const Abc::P3fArraySample &iSmp)
const Abc::Int32ArraySample & | getFaceIndices () const
void | setFaceIndices (const Abc::Int32ArraySample &iSmp)
const Abc::Int32ArraySample & | getFaceCounts () const
void | setFaceCounts (const Abc::Int32ArraySample &iCnt)
int32_t | getFaceVaryingInterpolateBoundary () const
void | setFaceVaryingInterpolateBoundary (int32_t i)
int32_t | getFaceVaryingPropagateCorners () const
void | setFaceVaryingPropagateCorners (int32_t i)
int32_t | getInterpolateBoundary () const
void | setInterpolateBoundary (int32_t i)
const Abc::Int32ArraySample & | getCreaseIndices () const
void | setCreaseIndices (const Abc::Int32ArraySample &iCreaseIndices)
const Abc::Int32ArraySample & | getCreaseLengths () const
void | setCreaseLengths (const Abc::Int32ArraySample &iCreaseLengths)
const Abc::FloatArraySample & | getCreaseSharpnesses () const
void | setCreaseSharpnesses (const Abc::FloatArraySample &iCreaseSharpnesses)
void | setCreases (const Abc::Int32ArraySample &iCreaseIndices, const Abc::Int32ArraySample &iCreaseLengths)
void | setCreases (const Abc::Int32ArraySample &iCreaseIndices, const Abc::Int32ArraySample &iCreaseLengths, const Abc::FloatArraySample &iCreaseSharpnesses)
const Abc::Int32ArraySample & | getCornerIndices () const
void | setCornerIndices (const Abc::Int32ArraySample &iCornerIndices)
const Abc::FloatArraySample & | getCornerSharpnesses () const
void | setCornerSharpnesses (const Abc::FloatArraySample &iCornerSharpnesses)
void | setCorners (const Abc::Int32ArraySample &iCornerIndices, const Abc::FloatArraySample &iCornerSharpnesses)
const Abc::Int32ArraySample & | getHoles () const
void | setHoles (const Abc::Int32ArraySample &iHoles)
std::string | getSubdivisionScheme () const
void | setSubdivisionScheme (const std::string &iScheme)
const Abc::Box3d & | getSelfBounds () const
void | setSelfBounds (const Abc::Box3d &iBnds)
const Abc::V3fArraySample & | getVelocities () const
void | setVelocities (const Abc::V3fArraySample &iVelocities)
const OV2fGeomParam::Sample & | getUVs () const
void | setUVs (const OV2fGeomParam::Sample &iUVs)
void | reset ()
bool | isPartialSample () const

## Protected Attributes
Abc::P3fArraySample | m_positions
Abc::Int32ArraySample | m_faceIndices
Abc::Int32ArraySample | m_faceCounts
int32_t | m_faceVaryingInterpolateBoundary
int32_t | m_faceVaryingPropagateCorners
int32_t | m_interpolateBoundary
Abc::Int32ArraySample | m_creaseIndices
Abc::Int32ArraySample | m_creaseLengths
Abc::FloatArraySample | m_creaseSharpnesses
Abc::Int32ArraySample | m_cornerIndices
Abc::FloatArraySample | m_cornerSharpnesses
Abc::Int32ArraySample | m_holes
std::string | m_subdScheme
Abc::Box3d | m_selfBounds
Abc::V3fArraySample | m_velocities
OV2fGeomParam::Sample | m_uvs

## Friends
class | OSubDSchema

## Detailed Description

Definition at line 64 of file OSubD.h.

## Constructor & Destructor Documentation

## ◆ Sample() [1/2]

Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::Sample | ( |  | ) |
| inline

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

Definition at line 69 of file OSubD.h.

## ◆ Sample() [2/2]

Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::Sample | ( | const Abc::P3fArraySample & | iPositions,
|  | const Abc::Int32ArraySample & | iFaceIndices,
|  | const Abc::Int32ArraySample & | iFaceCounts,
|  | const Abc::Int32ArraySample & | iCreaseIndices = `Abc::Int32ArraySample()`,
|  | const Abc::Int32ArraySample & | iCreaseLengths = `Abc::Int32ArraySample()`,
|  | const Abc::FloatArraySample & | iCreaseSharpnesses = `Abc::FloatArraySample()`,
|  | const Abc::Int32ArraySample & | iCornerIndices = `Abc::Int32ArraySample()`,
|  | const Abc::FloatArraySample & | iCornerSharpnesses = `Abc::FloatArraySample()`,
|  | const Abc::Int32ArraySample & | iHoles = `Abc::Int32ArraySample()`
| ) |  |
| inline

Creates a sample with position data, index data, and count 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 75 of file OSubD.h.

## Member Function Documentation

## ◆ getCornerIndices()

const Abc::Int32ArraySample & Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getCornerIndices | ( |  | ) | const
| inline

Definition at line 173 of file OSubD.h.

## ◆ getCornerSharpnesses()

const Abc::FloatArraySample & Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getCornerSharpnesses | ( |  | ) | const
| inline

Definition at line 178 of file OSubD.h.

## ◆ getCreaseIndices()

const Abc::Int32ArraySample & Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getCreaseIndices | ( |  | ) | const
| inline

Definition at line 140 of file OSubD.h.

## ◆ getCreaseLengths()

const Abc::Int32ArraySample & Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getCreaseLengths | ( |  | ) | const
| inline

Definition at line 145 of file OSubD.h.

## ◆ getCreaseSharpnesses()

const Abc::FloatArraySample & Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getCreaseSharpnesses | ( |  | ) | const
| inline

Definition at line 150 of file OSubD.h.

## ◆ getFaceCounts()

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

Definition at line 118 of file OSubD.h.

## ◆ getFaceIndices()

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

Definition at line 114 of file OSubD.h.

## ◆ getFaceVaryingInterpolateBoundary()

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getFaceVaryingInterpolateBoundary | ( |  | ) | const
| inline

Definition at line 124 of file OSubD.h.

## ◆ getFaceVaryingPropagateCorners()

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getFaceVaryingPropagateCorners | ( |  | ) | const
| inline

Definition at line 129 of file OSubD.h.

## ◆ getHoles()

const Abc::Int32ArraySample & Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getHoles | ( |  | ) | const
| inline

Definition at line 192 of file OSubD.h.

## ◆ getInterpolateBoundary()

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getInterpolateBoundary | ( |  | ) | const
| inline

Definition at line 134 of file OSubD.h.

## ◆ getPositions()

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

Definition at line 110 of file OSubD.h.

## ◆ getSelfBounds()

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

Definition at line 204 of file OSubD.h.

## ◆ getSubdivisionScheme()

std::string Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::getSubdivisionScheme | ( |  | ) | const
| inline

Definition at line 198 of file OSubD.h.

## ◆ getUVs()

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

Definition at line 214 of file OSubD.h.

## ◆ getVelocities()

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

Definition at line 209 of file OSubD.h.

## ◆ isPartialSample()

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

Definition at line 246 of file OSubD.h.

References Alembic::AbcGeom::ALEMBIC_VERSION_NS::ABC_GEOM_SUBD_NULL_INT_VALUE().

Here is the call graph for this function:

## ◆ reset()

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

Definition at line 218 of file OSubD.h.

References Alembic::AbcGeom::ALEMBIC_VERSION_NS::ABC_GEOM_SUBD_NULL_INT_VALUE().

Here is the call graph for this function:

## ◆ setCornerIndices()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setCornerIndices | ( | const Abc::Int32ArraySample & | iCornerIndices | ) |
| inline

Definition at line 175 of file OSubD.h.

## ◆ setCorners()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setCorners | ( | const Abc::Int32ArraySample & | iCornerIndices,
|  | const Abc::FloatArraySample & | iCornerSharpnesses
| ) |  |
| inline

Definition at line 184 of file OSubD.h.

## ◆ setCornerSharpnesses()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setCornerSharpnesses | ( | const Abc::FloatArraySample & | iCornerSharpnesses | ) |
| inline

Definition at line 180 of file OSubD.h.

## ◆ setCreaseIndices()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setCreaseIndices | ( | const Abc::Int32ArraySample & | iCreaseIndices | ) |
| inline

Definition at line 142 of file OSubD.h.

## ◆ setCreaseLengths()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setCreaseLengths | ( | const Abc::Int32ArraySample & | iCreaseLengths | ) |
| inline

Definition at line 147 of file OSubD.h.

## ◆ setCreases() [1/2]

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setCreases | ( | const Abc::Int32ArraySample & | iCreaseIndices,
|  | const Abc::Int32ArraySample & | iCreaseLengths
| ) |  |
| inline

Definition at line 156 of file OSubD.h.

## ◆ setCreases() [2/2]

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setCreases | ( | const Abc::Int32ArraySample & | iCreaseIndices,
|  | const Abc::Int32ArraySample & | iCreaseLengths,
|  | const Abc::FloatArraySample & | iCreaseSharpnesses
| ) |  |
| inline

Definition at line 163 of file OSubD.h.

## ◆ setCreaseSharpnesses()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setCreaseSharpnesses | ( | const Abc::FloatArraySample & | iCreaseSharpnesses | ) |
| inline

Definition at line 152 of file OSubD.h.

## ◆ setFaceCounts()

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

Definition at line 119 of file OSubD.h.

## ◆ setFaceIndices()

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

Definition at line 115 of file OSubD.h.

## ◆ setFaceVaryingInterpolateBoundary()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setFaceVaryingInterpolateBoundary | ( | int32_t | i | ) |
| inline

Definition at line 126 of file OSubD.h.

## ◆ setFaceVaryingPropagateCorners()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setFaceVaryingPropagateCorners | ( | int32_t | i | ) |
| inline

Definition at line 131 of file OSubD.h.

## ◆ setHoles()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setHoles | ( | const Abc::Int32ArraySample & | iHoles | ) |
| inline

Definition at line 194 of file OSubD.h.

## ◆ setInterpolateBoundary()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setInterpolateBoundary | ( | int32_t | i | ) |
| inline

Definition at line 136 of file OSubD.h.

## ◆ setPositions()

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

Definition at line 111 of file OSubD.h.

## ◆ setSelfBounds()

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

Definition at line 205 of file OSubD.h.

## ◆ setSubdivisionScheme()

void Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::setSubdivisionScheme | ( | const std::string & | iScheme | ) |
| inline

Definition at line 200 of file OSubD.h.

## ◆ setUVs()

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

Definition at line 215 of file OSubD.h.

## ◆ setVelocities()

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

Definition at line 210 of file OSubD.h.

## Friends And Related Function Documentation

## ◆ OSubDSchema

friend class OSubDSchema
| friend

Definition at line 267 of file OSubD.h.

## Member Data Documentation

## ◆ m_cornerIndices

Abc::Int32ArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_cornerIndices
| protected

Definition at line 283 of file OSubD.h.

## ◆ m_cornerSharpnesses

Abc::FloatArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_cornerSharpnesses
| protected

Definition at line 284 of file OSubD.h.

## ◆ m_creaseIndices

Abc::Int32ArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_creaseIndices
| protected

Definition at line 278 of file OSubD.h.

## ◆ m_creaseLengths

Abc::Int32ArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_creaseLengths
| protected

Definition at line 279 of file OSubD.h.

## ◆ m_creaseSharpnesses

Abc::FloatArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_creaseSharpnesses
| protected

Definition at line 280 of file OSubD.h.

## ◆ m_faceCounts

Abc::Int32ArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_faceCounts
| protected

Definition at line 271 of file OSubD.h.

## ◆ m_faceIndices

Abc::Int32ArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_faceIndices
| protected

Definition at line 270 of file OSubD.h.

## ◆ m_faceVaryingInterpolateBoundary

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_faceVaryingInterpolateBoundary
| protected

Definition at line 273 of file OSubD.h.

## ◆ m_faceVaryingPropagateCorners

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_faceVaryingPropagateCorners
| protected

Definition at line 274 of file OSubD.h.

## ◆ m_holes

Abc::Int32ArraySample Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_holes
| protected

Definition at line 287 of file OSubD.h.

## ◆ m_interpolateBoundary

int32_t Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_interpolateBoundary
| protected

Definition at line 275 of file OSubD.h.

## ◆ m_positions

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

Definition at line 269 of file OSubD.h.

## ◆ m_selfBounds

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

Definition at line 293 of file OSubD.h.

## ◆ m_subdScheme

std::string Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample::m_subdScheme
| protected

Definition at line 290 of file OSubD.h.

## ◆ m_uvs

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

Definition at line 298 of file OSubD.h.

## ◆ m_velocities

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

Definition at line 295 of file OSubD.h.

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

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