ScaleManipulator Class Reference

#include <Manipulators.h>

Inheritance diagram for ScaleManipulator:
Inheritance graph
[legend]
Collaboration diagram for ScaleManipulator:
Collaboration graph
[legend]

Data Structures

struct  RenderableArrow
struct  RenderableQuad

Public Member Functions

 ScaleManipulator (Scalable &scalable, std::size_t segments, float length)
Pivot2WorldgetPivot ()
void UpdateColours ()
void render (Renderer &renderer, const VolumeTest &volume, const Matrix4 &pivot2world)
void testSelect (const View &view, const Matrix4 &pivot2world)
ManipulatableGetManipulatable ()
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

Detailed Description

Definition at line 253 of file Manipulators.h.


Constructor & Destructor Documentation

ScaleManipulator::ScaleManipulator ( Scalable scalable,
std::size_t  segments,
float  length 
)

Member Function Documentation

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 (  ) 

Field Documentation

Definition at line 294 of file Manipulators.h.

Definition at line 295 of file Manipulators.h.

Definition at line 296 of file Manipulators.h.

Definition at line 293 of file Manipulators.h.

Definition at line 292 of file Manipulators.h.

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.


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2