37#ifndef Alembic_AbcGeom_OCamera_h
38#define Alembic_AbcGeom_OCamera_h
40#include <Alembic/Util/Export.h>
41#include <Alembic/AbcGeom/Foundation.h>
42#include <Alembic/AbcGeom/SchemaInfoDeclarations.h>
43#include <Alembic/AbcGeom/CameraSample.h>
47namespace ALEMBIC_VERSION_NS {
73 const std::string &iName,
79 : Abc::
OSchema<CameraSchemaInfo>( iParent, iName,
80 iArg0, iArg1, iArg2, iArg3 )
83 AbcA::TimeSamplingPtr tsPtr =
84 Abc::GetTimeSampling( iArg0, iArg1, iArg2, iArg3 );
86 Abc::GetTimeSamplingIndex( iArg0, iArg1, iArg2, iArg3 );
93 tsIndex = iParent->getObject()->getArchive()->addTimeSampling(
110 {
return m_coreProperties.getTimeSampling(); }
119 {
return m_coreProperties.getNumSamples(); }
125 void setFromPrevious();
127 void setTimeSampling( uint32_t iIndex );
128 void setTimeSampling( AbcA::TimeSamplingPtr iTime );
133 Abc::OBox3dProperty getChildBoundsProperty();
145 m_coreProperties.reset();
146 m_childBoundsProperty.reset();
147 m_userProperties.reset();
148 m_arbGeomParams.reset();
149 m_bigFilmBackChannelsProperty.reset();
150 m_smallFilmBackChannelsProperty.reset();
158 m_coreProperties.
valid() );
166 void init( uint32_t iTsIdx );
170 Abc::OBox3dProperty m_childBoundsProperty;
175 Abc::ODoubleArrayProperty m_bigFilmBackChannelsProperty;
189typedef Util::shared_ptr< OCamera > OCameraPtr;
193using namespace ALEMBIC_VERSION_NS;
Definition Argument.h:120
bool valid() const
Definition OBaseProperty.h:170
Definition OCompoundProperty.h:53
Definition OScalarProperty.h:53
OSchema()
Definition OSchema.h:191
Definition OSchemaObject.h:54
Definition CameraSample.h:50
bool valid() const
Returns whether this function set is valid.
Definition OCamera.h:155
ALEMBIC_OVERRIDE_OPERATOR_BOOL(OCameraSchema::valid())
OCameraSchema this_type
Definition OCamera.h:58
OCameraSchema()
Definition OCamera.h:66
size_t getNumSamples()
Definition OCamera.h:118
AbcA::TimeSamplingPtr getTimeSampling() const
Default assignment and copy operator used.
Definition OCamera.h:109
void reset()
Definition OCamera.h:143
OCameraSchema(AbcA::CompoundPropertyWriterPtr iParent, const std::string &iName, const Abc::Argument &iArg0=Abc::Argument(), const Abc::Argument &iArg1=Abc::Argument(), const Abc::Argument &iArg2=Abc::Argument(), const Abc::Argument &iArg3=Abc::Argument())
Definition OCamera.h:72
Alembic namespace ...
Definition ArchiveInfo.cpp:39