37 #ifndef Alembic_AbcGeom_OGeomParam_h
38 #define Alembic_AbcGeom_OGeomParam_h
48 template <
class TRAITS>
119 return TRAITS::interpretation();
165 iArrayExtent, iArg0, iArg1, iArg2 );
182 iArg0.setInto( args );
183 iArg1.setInto( args );
184 iArg2.setInto( args );
190 md.
set(
"isGeomParam",
"true" );
197 md.
set(
"podName", podName );
199 std::ostringstream extentStrm;
200 extentStrm << extent;
202 md.
set(
"podExtent", extentStr );
204 std::ostringstream arrayExtentStrm;
205 arrayExtentStrm << iArrayExtent;
206 std::string arrayExtentStr = arrayExtentStrm.str();
207 md.
set(
"arrayExtent", arrayExtentStr );
209 md.
set(
"interpretation", TRAITS::interpretation() );
224 parent->getObject()->getArchive()->addTimeSampling(*tsPtr);
279 "OTypedGeomParam::setTimeSampling( uint32_t )" );
291 "OTypedGeomParam::setTimeSampling( TimeSamplingPtr )" );
OTypedGeomParam< V2dTPTraits > OV2dGeomParam
AbcA::TimeSamplingPtr getTimeSampling() const
OTypedGeomParam< V2sTPTraits > OV2sGeomParam
void setTimeSampling(AbcA::TimeSamplingPtr iTime)
OTypedGeomParam< Box3dTPTraits > OBox3dGeomParam
OTypedGeomParam< V2iTPTraits > OV2iGeomParam
OObject getObject() const
const Abc::UInt32ArraySample & getIndices() const
OTypedGeomParam(OCompoundProperty iParent, const std::string &iName, bool iIsIndexed, GeometryScope iScope, size_t iArrayExtent, const Argument &iArg0=Argument(), const Argument &iArg1=Argument(), const Argument &iArg2=Argument())
OTypedArrayProperty< TRAITS > prop_type
GeometryScope getScope() const
OTypedGeomParam< QuatfTPTraits > OQuatfGeomParam
void set(const sample_type &iSamp)
OTypedGeomParam< P2fTPTraits > OP2fGeomParam
void setIndices(const Abc::UInt32ArraySample &iIndices)
OUInt32ArrayProperty m_indicesProperty
uint32_t addTimeSampling(const AbcA::TimeSampling &iTs)
ALEMBIC_OPERATOR_BOOL(valid())
OTypedGeomParam< P2iTPTraits > OP2iGeomParam
OTypedGeomParam< Box3sTPTraits > OBox3sGeomParam
GLsizei const GLchar *const * string
OTypedGeomParam< Float32TPTraits > OFloatGeomParam
AbcA::DataType getDataType() const
OTypedGeomParam< P3sTPTraits > OP3sGeomParam
OTypedGeomParam< BooleanTPTraits > OBoolGeomParam
Abc::OCompoundProperty m_cprop
OTypedGeomParam< Box2sTPTraits > OBox2sGeomParam
OTypedGeomParam< C4fTPTraits > OC4fGeomParam
OTypedGeomParam< TRAITS > this_type
void setVals(const Abc::TypedArraySample< TRAITS > &iVals)
uint32_t getTimeSamplingIndex() const
OTypedGeomParam< P3dTPTraits > OP3dGeomParam
AbcA::TimeSamplingPtr getTimeSampling() const
OTypedGeomParam< Float64TPTraits > ODoubleGeomParam
OTypedGeomParam< V3iTPTraits > OV3iGeomParam
static bool matches(const AbcA::MetaData &iMetaData, SchemaInterpMatching iMatching=kStrictMatching)
AbcA::TimeSamplingPtr getTimeSampling() const
OTypedGeomParam< M44fTPTraits > OM44fGeomParam
OTypedGeomParam< C4hTPTraits > OC4hGeomParam
OTypedGeomParam< Box3iTPTraits > OBox3iGeomParam
const Abc::TypedArraySample< TRAITS > & getVals() const
OTypedGeomParam< Box3fTPTraits > OBox3fGeomParam
OTypedGeomParam< Box2fTPTraits > OBox2fGeomParam
Alembic::Util::shared_ptr< TimeSampling > TimeSamplingPtr
OTypedGeomParam< N3fTPTraits > ON3fGeomParam
OTypedGeomParam< M44dTPTraits > OM44dGeomParam
this_type::Sample sample_type
OTypedGeomParam< N2dTPTraits > ON2dGeomParam
OTypedGeomParam< P2sTPTraits > OP2sGeomParam
static bool matches(const AbcA::PropertyHeader &iHeader, SchemaInterpMatching iMatching=kStrictMatching)
OUInt32ArrayProperty getIndexProperty() const
OTypedGeomParam< Uint64TPTraits > OUInt64GeomParam
size_t getNumSamples() const
ErrorHandler::Policy getErrorHandlerPolicy() const
#define ALEMBIC_ABC_SAFE_CALL_END_RESET()
const std::string & getName() const
void SetPropUsePrevIfNull(PROP iProp, SAMP iSamp)
ErrorHandler::Policy GetErrorHandlerPolicy(SOMETHING iSomething, const Argument &iArg0, const Argument &iArg1=Argument(), const Argument &iArg2=Argument(), const Argument &iArg3=Argument())
void setTimeSampling(uint32_t iIndex)
ALEMBIC_OPERATOR_BOOL(this_type::valid())
OTypedGeomParam< Float16TPTraits > OHalfGeomParam
OTypedGeomParam< Uint32TPTraits > OUInt32GeomParam
Sample(const Abc::TypedArraySample< TRAITS > &iVals, const Abc::UInt32ArraySample &iIndices, GeometryScope iScope)
#define ALEMBIC_ABC_SAFE_CALL_BEGIN(CONTEXT)
OTypedGeomParam< StringTPTraits > OStringGeomParam
const char * PODName(PlainOldDataType pod)
static const char * getInterpretation()
OTypedGeomParam< Box2iTPTraits > OBox2iGeomParam
ErrorHandler & getErrorHandler() const
OCompoundProperty getParent() const
OTypedGeomParam< C3hTPTraits > OC3hGeomParam
OTypedGeomParam< P3iTPTraits > OP3iGeomParam
OTypedGeomParam< M33dTPTraits > OM33dGeomParam
OTypedGeomParam< C4cTPTraits > OC4cGeomParam
OTypedGeomParam< Int32TPTraits > OInt32GeomParam
OTypedGeomParam< V3sTPTraits > OV3sGeomParam
#define ALEMBIC_ABC_SAFE_CALL_END()
TRAITS::value_type value_type
OTypedGeomParam< C3cTPTraits > OC3cGeomParam
OTypedGeomParam< V2fTPTraits > OV2fGeomParam
OTypedGeomParam< Int8TPTraits > OCharGeomParam
void setTimeSampling(uint32_t iIndex)
void setScope(GeometryScope iScope)
OTypedGeomParam< V3dTPTraits > OV3dGeomParam
OTypedGeomParam(AbcA::CompoundPropertyWriterPtr iParent, const std::string &iName, bool iIsIndexed, GeometryScope iScope, size_t iArrayExtent, const Argument &iArg0=Argument(), const Argument &iArg1=Argument(), const Argument &iArg2=Argument())
OTypedGeomParam< Int64TPTraits > OInt64GeomParam
OTypedGeomParam< WstringTPTraits > OWstringGeomParam
OTypedGeomParam< P3fTPTraits > OP3fGeomParam
ImageBuf OIIO_API max(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
void SetGeometryScope(AbcA::MetaData &ioMetaData, GeometryScope iScope)
OTypedGeomParam< Int16TPTraits > OInt16GeomParam
**If you just want to fire and args
OTypedGeomParam< QuatdTPTraits > OQuatdGeomParam
OTypedArrayProperty< Uint32TPTraits > OUInt32ArrayProperty
OTypedGeomParam< P2dTPTraits > OP2dGeomParam
AbcA::CompoundPropertyWriterPtr GetCompoundPropertyWriterPtr(AbcA::CompoundPropertyWriterPtr iPtr)
prop_type getValueProperty() const
Abc::TypedArraySample< TRAITS > m_vals
const AbcA::MetaData & getMetaData() const
size_t getNumSamples() const
OTypedGeomParam< V3fTPTraits > OV3fGeomParam
void set(const sample_type &iVal)
OTypedGeomParam< C3fTPTraits > OC3fGeomParam
GeometryScope getScope() const
OTypedGeomParam< Uint8TPTraits > OUcharGeomParam
OTypedGeomParam< N3dTPTraits > ON3dGeomParam
OTypedGeomParam< Box2dTPTraits > OBox2dGeomParam
HUSD_API const char * dataType()
OTypedGeomParam< Uint16TPTraits > OUInt16GeomParam
OTypedGeomParam< N2fTPTraits > ON2fGeomParam
#define ALEMBIC_VERSION_NS
Abc::UInt32ArraySample m_indices
OTypedGeomParam< M33fTPTraits > OM33fGeomParam
Alembic::Util::shared_ptr< CompoundPropertyWriter > CompoundPropertyWriterPtr
Sample(const Abc::TypedArraySample< TRAITS > &iVals, GeometryScope iScope)