RotateManipulator Class Reference

#include <Manipulators.h>

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

Data Structures

struct  RenderableCircle
struct  RenderableSemiCircle

Public Member Functions

 RotateManipulator (Rotatable &rotatable, std::size_t segments, float radius)
void UpdateColours ()
void updateCircleTransforms ()
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

Static Public Attributes

static Shader * m_state_outer

Private Attributes

RotateFree m_free
RotateAxis m_axis
Vector3 m_axis_screen
RenderableSemiCircle m_circle_x
RenderableSemiCircle m_circle_y
RenderableSemiCircle m_circle_z
RenderableCircle m_circle_screen
RenderableCircle m_circle_sphere
SelectableBool m_selectable_x
SelectableBool m_selectable_y
SelectableBool m_selectable_z
SelectableBool m_selectable_screen
SelectableBool m_selectable_sphere
Pivot2World m_pivot
Matrix4 m_local2world_x
Matrix4 m_local2world_y
Matrix4 m_local2world_z
bool m_circle_x_visible
bool m_circle_y_visible
bool m_circle_z_visible

Detailed Description

Definition at line 58 of file Manipulators.h.


Constructor & Destructor Documentation

RotateManipulator::RotateManipulator ( Rotatable rotatable,
std::size_t  segments,
float  radius 
)

Member Function Documentation

Manipulatable* RotateManipulator::GetManipulatable (  )  [virtual]

Implements Manipulator.

bool RotateManipulator::isSelected (  )  const [virtual]

Implements Manipulator.

void RotateManipulator::render ( Renderer renderer,
const VolumeTest volume,
const Matrix4 &  pivot2world 
) [virtual]

Reimplemented from Manipulator.

void RotateManipulator::setSelected ( bool  select  )  [virtual]

Implements Manipulator.

void RotateManipulator::testSelect ( const View &  view,
const Matrix4 &  pivot2world 
) [virtual]

Reimplemented from Manipulator.

void RotateManipulator::updateCircleTransforms (  ) 
void RotateManipulator::UpdateColours (  ) 

Field Documentation

Definition at line 108 of file Manipulators.h.

Definition at line 109 of file Manipulators.h.

Definition at line 113 of file Manipulators.h.

Definition at line 114 of file Manipulators.h.

Definition at line 110 of file Manipulators.h.

Definition at line 124 of file Manipulators.h.

Definition at line 111 of file Manipulators.h.

Definition at line 125 of file Manipulators.h.

Definition at line 112 of file Manipulators.h.

Definition at line 126 of file Manipulators.h.

Definition at line 107 of file Manipulators.h.

Definition at line 121 of file Manipulators.h.

Definition at line 122 of file Manipulators.h.

Definition at line 123 of file Manipulators.h.

Definition at line 120 of file Manipulators.h.

SelectableBool RotateManipulator::m_selectable_screen [private]

Definition at line 118 of file Manipulators.h.

SelectableBool RotateManipulator::m_selectable_sphere [private]

Definition at line 119 of file Manipulators.h.

SelectableBool RotateManipulator::m_selectable_x [private]

Definition at line 115 of file Manipulators.h.

SelectableBool RotateManipulator::m_selectable_y [private]

Definition at line 116 of file Manipulators.h.

SelectableBool RotateManipulator::m_selectable_z [private]

Definition at line 117 of file Manipulators.h.

Definition at line 129 of file Manipulators.h.


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

Generated by  doxygen 1.6.2