37#ifndef Alembic_AbcGeom_XformOp_h
38#define Alembic_AbcGeom_XformOp_h
40#include <Alembic/Util/Export.h>
41#include <Alembic/AbcGeom/Foundation.h>
47namespace ALEMBIC_VERSION_NS {
74 kRotateOrientationHint = 1
100 kScalePivotPointHint = 1,
104 kScalePivotTranslationHint = 2,
107 kRotatePivotPointHint = 3,
111 kRotatePivotTranslationHint = 4
120class ALEMBIC_EXPORT XformOp
125 XformOp(
const XformOperationType iType,
126 const Alembic::Util::uint8_t iHint = 0 );
128 XformOp(
const Alembic::Util::uint8_t iEncodedOp );
131 XformOperationType
getType()
const;
135 void setType(
const XformOperationType iType );
139 Alembic::Util::uint8_t
getHint()
const;
143 void setHint(
const Alembic::Util::uint8_t iHint );
181 double getChannelValue( std::size_t iIndex )
const;
187 void setVector(
const Abc::V3d &iVec );
188 void setTranslate(
const Abc::V3d &iTrans );
189 void setScale(
const Abc::V3d &iScale );
190 void setAxis(
const Abc::V3d &iAxis );
191 void setAngle(
const double iAngle );
192 void setMatrix(
const Abc::M44d &iMatrix );
194 void setXRotation(
const double iAngle );
195 void setYRotation(
const double iAngle );
196 void setZRotation(
const double iAngle );
199 Abc::V3d getVector()
const;
200 Abc::V3d getTranslate()
const;
201 Abc::V3d getScale()
const;
202 Abc::V3d getAxis()
const;
203 double getAngle()
const;
204 Abc::M44d getMatrix()
const;
206 double getXRotation()
const;
207 double getYRotation()
const;
208 double getZRotation()
const;
210 bool isTranslateOp()
const;
212 bool isScaleOp()
const;
214 bool isRotateOp()
const;
216 bool isMatrixOp()
const;
218 bool isRotateXOp()
const;
219 bool isRotateYOp()
const;
220 bool isRotateZOp()
const;
230 XformOperationType m_type;
231 Alembic::Util::uint8_t m_hint;
233 std::vector<double> m_channels;
235 std::set<Alembic::Util::uint32_t> m_animChannels;
244typedef std::vector < XformOp > XformOpVec;
248using namespace ALEMBIC_VERSION_NS;
Alembic namespace ...
Definition ArchiveInfo.cpp:39