TranslateManipulator Class Reference

#include <Manipulators.h>

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

Data Structures

struct  RenderableArrowHead
struct  RenderableArrowLine
struct  RenderableQuad

Public Member Functions

 TranslateManipulator (Translatable &translatable, std::size_t segments, float length)
void UpdateColours ()
bool manipulator_show_axis (const Pivot2World &pivot, const Vector3 &axis)
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_wire
static Shader * m_state_fill

Private Attributes

TranslateFree m_free
TranslateAxis m_axis
RenderableArrowLine m_arrow_x
RenderableArrowLine m_arrow_y
RenderableArrowLine m_arrow_z
RenderableArrowHead m_arrow_head_x
RenderableArrowHead m_arrow_head_y
RenderableArrowHead m_arrow_head_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 151 of file Manipulators.h.


Constructor & Destructor Documentation

TranslateManipulator::TranslateManipulator ( Translatable translatable,
std::size_t  segments,
float  length 
)

Member Function Documentation

Manipulatable* TranslateManipulator::GetManipulatable (  )  [virtual]

Implements Manipulator.

bool TranslateManipulator::isSelected (  )  const [virtual]

Implements Manipulator.

bool TranslateManipulator::manipulator_show_axis ( const Pivot2World pivot,
const Vector3 axis 
)
void TranslateManipulator::render ( Renderer renderer,
const VolumeTest volume,
const Matrix4 &  pivot2world 
) [virtual]

Reimplemented from Manipulator.

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

Implements Manipulator.

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

Reimplemented from Manipulator.

void TranslateManipulator::UpdateColours (  ) 

Field Documentation

Definition at line 222 of file Manipulators.h.

Definition at line 223 of file Manipulators.h.

Definition at line 224 of file Manipulators.h.

Definition at line 219 of file Manipulators.h.

Definition at line 220 of file Manipulators.h.

Definition at line 221 of file Manipulators.h.

Definition at line 218 of file Manipulators.h.

Definition at line 217 of file Manipulators.h.

Definition at line 230 of file Manipulators.h.

Definition at line 225 of file Manipulators.h.

Definition at line 229 of file Manipulators.h.

SelectableBool TranslateManipulator::m_selectable_x [private]

Definition at line 226 of file Manipulators.h.

SelectableBool TranslateManipulator::m_selectable_y [private]

Definition at line 227 of file Manipulators.h.

SelectableBool TranslateManipulator::m_selectable_z [private]

Definition at line 228 of file Manipulators.h.

Definition at line 233 of file Manipulators.h.

Definition at line 232 of file Manipulators.h.


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

Generated by  doxygen 1.6.2