#include <Manipulators.h>
Data Structures | |
struct | RenderableArrow |
struct | RenderableQuad |
Public Member Functions | |
ScaleManipulator (Scalable &scalable, std::size_t segments, float length) | |
Pivot2World & | getPivot () |
void | UpdateColours () |
void | render (Renderer &renderer, const VolumeTest &volume, const Matrix4 &pivot2world) |
void | testSelect (const View &view, const Matrix4 &pivot2world) |
Manipulatable * | GetManipulatable () |
void | setSelected (bool select) |
bool | isSelected () const |
Private Attributes | |
ScaleFree | m_free |
ScaleAxis | m_axis |
RenderableArrow | m_arrow_x |
RenderableArrow | m_arrow_y |
RenderableArrow | m_arrow_z |
RenderableQuad | m_quad_screen |
SelectableBool | m_selectable_x |
SelectableBool | m_selectable_y |
SelectableBool | m_selectable_z |
SelectableBool | m_selectable_screen |
Pivot2World | m_pivot |
Definition at line 253 of file Manipulators.h.
ScaleManipulator::ScaleManipulator | ( | Scalable & | scalable, | |
std::size_t | segments, | |||
float | length | |||
) |
Manipulatable* ScaleManipulator::GetManipulatable | ( | ) | [virtual] |
Implements Manipulator.
Pivot2World& ScaleManipulator::getPivot | ( | ) | [inline] |
Definition at line 309 of file Manipulators.h.
References m_pivot.
bool ScaleManipulator::isSelected | ( | ) | const [virtual] |
Implements Manipulator.
void ScaleManipulator::render | ( | Renderer & | renderer, | |
const VolumeTest & | volume, | |||
const Matrix4 & | pivot2world | |||
) | [virtual] |
Reimplemented from Manipulator.
void ScaleManipulator::setSelected | ( | bool | select | ) | [virtual] |
Implements Manipulator.
void ScaleManipulator::testSelect | ( | const View & | view, | |
const Matrix4 & | pivot2world | |||
) | [virtual] |
Reimplemented from Manipulator.
void ScaleManipulator::UpdateColours | ( | ) |
RenderableArrow ScaleManipulator::m_arrow_x [private] |
Definition at line 294 of file Manipulators.h.
RenderableArrow ScaleManipulator::m_arrow_y [private] |
Definition at line 295 of file Manipulators.h.
RenderableArrow ScaleManipulator::m_arrow_z [private] |
Definition at line 296 of file Manipulators.h.
ScaleAxis ScaleManipulator::m_axis [private] |
Definition at line 293 of file Manipulators.h.
ScaleFree ScaleManipulator::m_free [private] |
Definition at line 292 of file Manipulators.h.
Pivot2World ScaleManipulator::m_pivot [private] |
Definition at line 302 of file Manipulators.h.
Referenced by getPivot().
Definition at line 297 of file Manipulators.h.
SelectableBool ScaleManipulator::m_selectable_screen [private] |
Definition at line 301 of file Manipulators.h.
SelectableBool ScaleManipulator::m_selectable_x [private] |
Definition at line 298 of file Manipulators.h.
SelectableBool ScaleManipulator::m_selectable_y [private] |
Definition at line 299 of file Manipulators.h.
SelectableBool ScaleManipulator::m_selectable_z [private] |
Definition at line 300 of file Manipulators.h.