DragPlanes Class Reference

#include <dragplanes.h>

Public Member Functions

 DragPlanes (const SelectionChangeCallback &onchanged)
bool isSelected () const
void setSelected (bool selected)
void selectPlanes (const AABB &aabb, Selector &selector, SelectionTest &test, const PlaneCallback &selectedPlaneCallback, const Matrix4 &rotation=g_matrix4_identity)
void selectReversedPlanes (const AABB &aabb, Selector &selector, const SelectedPlanes &selectedPlanes, const Matrix4 &rotation=g_matrix4_identity)
AABB evaluateResize (const Vector3 &translation) const
AABB evaluateResize (const Vector3 &translation, const Matrix4 &rotation) const
Matrix4 evaluateTransform (const Vector3 &translation) const

Data Fields

ObservedSelectable m_selectable_right
ObservedSelectable m_selectable_left
ObservedSelectable m_selectable_front
ObservedSelectable m_selectable_back
ObservedSelectable m_selectable_top
ObservedSelectable m_selectable_bottom
AABB m_bounds

Detailed Description

Definition at line 44 of file dragplanes.h.


Constructor & Destructor Documentation

DragPlanes::DragPlanes ( const SelectionChangeCallback onchanged  )  [inline]

Definition at line 55 of file dragplanes.h.


Member Function Documentation

AABB DragPlanes::evaluateResize ( const Vector3 translation,
const Matrix4 &  rotation 
) const [inline]
AABB DragPlanes::evaluateResize ( const Vector3 translation  )  const [inline]
Matrix4 DragPlanes::evaluateTransform ( const Vector3 translation  )  const [inline]

Definition at line 184 of file dragplanes.h.

References evaluateResize(), m_bounds, and scale.

bool DragPlanes::isSelected (  )  const [inline]
void DragPlanes::selectPlanes ( const AABB &  aabb,
Selector selector,
SelectionTest test,
const PlaneCallback selectedPlaneCallback,
const Matrix4 &  rotation = g_matrix4_identity 
) [inline]
void DragPlanes::selectReversedPlanes ( const AABB &  aabb,
Selector selector,
const SelectedPlanes selectedPlanes,
const Matrix4 &  rotation = g_matrix4_identity 
) [inline]
void DragPlanes::setSelected ( bool  selected  )  [inline]

Field Documentation

Definition at line 53 of file dragplanes.h.

Referenced by evaluateResize(), evaluateTransform(), and selectPlanes().

ObservedSelectable DragPlanes::m_selectable_back
ObservedSelectable DragPlanes::m_selectable_bottom
ObservedSelectable DragPlanes::m_selectable_front
ObservedSelectable DragPlanes::m_selectable_left
ObservedSelectable DragPlanes::m_selectable_right
ObservedSelectable DragPlanes::m_selectable_top

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

Generated by  doxygen 1.6.2