18 #ifndef ZENI_MODEL_HXX
19 #define ZENI_MODEL_HXX
52 return std::make_pair(m_rotate, m_rotate_angle);
69 return m_align_normals;
80 m_rotate_angle =
angle;
86 const std::pair<Vector3f, float> rayngel = rotation.
get_rotation();
97 m_align_normals = align_normals_;
const Point3f & get_translate() const
Get the Model translation.
const float & get_keyframe() const
Get the current (key)frame.
const Vector3f & get_scale() const
Get the Model scale.
void set_rotate(const float &angle, const Vector3f &ray)
Rotate the Model.
bool will_do_normal_alignment() const
void set_scale(const Vector3f &multiplier)
Scale the Model.
const Model_Extents & get_extents() const
Get the extents of the Model.
A 3D Point represented with floats.
A Featureful 3-Space Vector Class.
std::pair< Vector3f, float > get_rotation() const
Get the rotation in radians left about an axis.
A Featureful Quaternion Class.
std::pair< Vector3f, float > get_rotate() const
Get the Model rotation.
Lib3dsFile *const & thun_get_file() const
Get the full 3ds file info - Thread Unsafe Version.
A visitor for determining the extents or bounds of a model.
void set_translate(const Point3f &vector)
Translate the Model.
void do_normal_alignment(const bool align_normals_=true)
Lib3dsFile *const & get_file() const
Get the full 3ds file info.