Alembic Version 1.1
Loading...
Searching...
No Matches
Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample Class Reference

#include <OSubD.h>

Collaboration diagram for Alembic::AbcGeom::ALEMBIC_VERSION_NS::OSubDSchema::Sample:

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::P3fArraySamplegetPositions () const
void setPositions (const Abc::P3fArraySample &iSmp)
const Abc::Int32ArraySamplegetFaceIndices () const
void setFaceIndices (const Abc::Int32ArraySample &iSmp)
const Abc::Int32ArraySamplegetFaceCounts () 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::Int32ArraySamplegetCreaseIndices () const
void setCreaseIndices (const Abc::Int32ArraySample &iCreaseIndices)
const Abc::Int32ArraySamplegetCreaseLengths () const
void setCreaseLengths (const Abc::Int32ArraySample &iCreaseLengths)
const Abc::FloatArraySamplegetCreaseSharpnesses () 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::Int32ArraySamplegetCornerIndices () const
void setCornerIndices (const Abc::Int32ArraySample &iCornerIndices)
const Abc::FloatArraySamplegetCornerSharpnesses () const
void setCornerSharpnesses (const Abc::FloatArraySample &iCornerSharpnesses)
void setCorners (const Abc::Int32ArraySample &iCornerIndices, const Abc::FloatArraySample &iCornerSharpnesses)
const Abc::Int32ArraySamplegetHoles () 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::V3fArraySamplegetVelocities () 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.

References reset().

Here is the call graph for this function:

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

References Alembic::AbcGeom::ALEMBIC_VERSION_NS::ABC_GEOM_SUBD_NULL_INT_VALUE(), m_cornerIndices, m_cornerSharpnesses, m_creaseIndices, m_creaseLengths, m_creaseSharpnesses, m_faceCounts, m_faceIndices, m_faceVaryingInterpolateBoundary, m_faceVaryingPropagateCorners, m_holes, m_interpolateBoundary, m_positions, and m_subdScheme.

Here is the call graph for this function:

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.

References m_cornerIndices.

◆ getCornerSharpnesses()

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

Definition at line 178 of file OSubD.h.

References m_cornerSharpnesses.

◆ getCreaseIndices()

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

Definition at line 140 of file OSubD.h.

References m_creaseIndices.

◆ getCreaseLengths()

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

Definition at line 145 of file OSubD.h.

References m_creaseLengths.

◆ getCreaseSharpnesses()

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

Definition at line 150 of file OSubD.h.

References m_creaseSharpnesses.

◆ getFaceCounts()

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

Definition at line 118 of file OSubD.h.

References m_faceCounts.

◆ getFaceIndices()

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

Definition at line 114 of file OSubD.h.

References m_faceIndices.

◆ getFaceVaryingInterpolateBoundary()

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

Definition at line 124 of file OSubD.h.

References m_faceVaryingInterpolateBoundary.

◆ getFaceVaryingPropagateCorners()

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

Definition at line 129 of file OSubD.h.

References m_faceVaryingPropagateCorners.

◆ getHoles()

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

Definition at line 192 of file OSubD.h.

References m_holes.

◆ getInterpolateBoundary()

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

Definition at line 134 of file OSubD.h.

References m_interpolateBoundary.

◆ getPositions()

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

Definition at line 110 of file OSubD.h.

References m_positions.

◆ getSelfBounds()

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

Definition at line 204 of file OSubD.h.

References m_selfBounds.

◆ getSubdivisionScheme()

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

Definition at line 198 of file OSubD.h.

References m_subdScheme.

◆ getUVs()

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

Definition at line 214 of file OSubD.h.

References m_uvs.

◆ getVelocities()

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

Definition at line 209 of file OSubD.h.

References m_velocities.

◆ isPartialSample()

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

◆ reset()

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

◆ setCornerIndices()

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

Definition at line 175 of file OSubD.h.

References m_cornerIndices.

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

References m_cornerIndices, and m_cornerSharpnesses.

◆ setCornerSharpnesses()

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

Definition at line 180 of file OSubD.h.

References m_cornerSharpnesses.

◆ setCreaseIndices()

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

Definition at line 142 of file OSubD.h.

References m_creaseIndices.

◆ setCreaseLengths()

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

Definition at line 147 of file OSubD.h.

References m_creaseLengths.

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

References m_creaseIndices, and m_creaseLengths.

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

References m_creaseIndices, m_creaseLengths, and m_creaseSharpnesses.

◆ setCreaseSharpnesses()

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

Definition at line 152 of file OSubD.h.

References m_creaseSharpnesses.

◆ setFaceCounts()

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

Definition at line 119 of file OSubD.h.

References m_faceCounts.

◆ setFaceIndices()

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

Definition at line 115 of file OSubD.h.

References m_faceIndices.

◆ setFaceVaryingInterpolateBoundary()

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

Definition at line 126 of file OSubD.h.

References m_faceVaryingInterpolateBoundary.

◆ setFaceVaryingPropagateCorners()

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

Definition at line 131 of file OSubD.h.

References m_faceVaryingPropagateCorners.

◆ setHoles()

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

Definition at line 194 of file OSubD.h.

References m_holes.

◆ setInterpolateBoundary()

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

Definition at line 136 of file OSubD.h.

References m_interpolateBoundary.

◆ setPositions()

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

Definition at line 111 of file OSubD.h.

References m_positions.

◆ setSelfBounds()

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

Definition at line 205 of file OSubD.h.

References m_selfBounds.

◆ setSubdivisionScheme()

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

Definition at line 200 of file OSubD.h.

References m_subdScheme.

◆ setUVs()

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

Definition at line 215 of file OSubD.h.

References m_uvs.

◆ setVelocities()

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

Definition at line 210 of file OSubD.h.

References m_velocities.

◆ OSubDSchema

friend class OSubDSchema
friend

Definition at line 267 of file OSubD.h.

References OSubDSchema.

Referenced by OSubDSchema.

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.

Referenced by Sample(), getCornerIndices(), isPartialSample(), reset(), setCornerIndices(), and setCorners().

◆ m_cornerSharpnesses

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

◆ m_creaseIndices

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

◆ m_creaseLengths

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

◆ m_creaseSharpnesses

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

◆ m_faceCounts

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

Definition at line 271 of file OSubD.h.

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

◆ m_faceIndices

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

Definition at line 270 of file OSubD.h.

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

◆ m_faceVaryingInterpolateBoundary

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

◆ m_faceVaryingPropagateCorners

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

◆ m_holes

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

Definition at line 287 of file OSubD.h.

Referenced by Sample(), getHoles(), isPartialSample(), reset(), and setHoles().

◆ m_interpolateBoundary

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

◆ m_positions

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

Definition at line 269 of file OSubD.h.

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

◆ m_selfBounds

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

Definition at line 293 of file OSubD.h.

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

◆ m_subdScheme

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

Definition at line 290 of file OSubD.h.

Referenced by Sample(), getSubdivisionScheme(), reset(), and setSubdivisionScheme().

◆ m_uvs

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

Definition at line 298 of file OSubD.h.

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

◆ m_velocities

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

Definition at line 295 of file OSubD.h.

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


The documentation for this class was generated from the following file:
  • opt/local/include/Alembic/AbcGeom/OSubD.h