HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_ViewerDragger Class Referenceabstract

#include <HOM_ViewerDragger.h>

+ Inheritance diagram for HOM_ViewerDragger:

Public Types

typedef std::map< std::string,
hboost::any > 
DragValueMap
 

Public Member Functions

 HOM_ViewerDragger ()
 
virtual ~HOM_ViewerDragger ()
 
virtual std::string name () const =0
 
virtual bool valid () const =0
 
virtual void startDrag (HOM_ViewerEvent &event, const HOM_Vector3 &start_pos)=0
 
virtual void startDragAcrossFloor (HOM_ViewerEvent &event, const HOM_Vector3 &start_pos)=0
 
virtual void startDragAlongLine (HOM_ViewerEvent &event, const HOM_Vector3 &line_start, const HOM_Vector3 &line_dir)=0
 
virtual void startDragAlongPlane (HOM_ViewerEvent &event, HOM_Vector3 const &plane_point, HOM_Vector3 const &plane_normal)=0
 
virtual void startDragRotate (HOM_ViewerEvent &event, const HOM_Vector3 &center_pos, double radius, const HOM_Vector3 &rotate_axis, const HOM_Matrix3 &orient)=0
 
virtual DragValueMap drag (HOM_ViewerEvent &event)=0
 
virtual void endDrag ()=0
 
virtual HOM_Vector3 position () const =0
 
virtual HOM_Vector3 startPosition () const =0
 
virtual HOM_Vector3 startDirection () const =0
 
virtual HOM_Vector3 startRotatePosition () const =0
 
virtual HOM_GeometryViewportviewport ()=0
 
virtual void enableModifierKeys (bool allow)=0
 

Detailed Description

Definition at line 26 of file HOM_ViewerDragger.h.

Member Typedef Documentation

typedef std::map<std::string, hboost::any> HOM_ViewerDragger::DragValueMap

Definition at line 29 of file HOM_ViewerDragger.h.

Constructor & Destructor Documentation

HOM_ViewerDragger::HOM_ViewerDragger ( )
inline

Definition at line 31 of file HOM_ViewerDragger.h.

virtual HOM_ViewerDragger::~HOM_ViewerDragger ( )
inlinevirtual

Definition at line 34 of file HOM_ViewerDragger.h.

Member Function Documentation

virtual DragValueMap HOM_ViewerDragger::drag ( HOM_ViewerEvent event)
pure virtual
virtual void HOM_ViewerDragger::enableModifierKeys ( bool  allow)
pure virtual
virtual void HOM_ViewerDragger::endDrag ( )
pure virtual
virtual std::string HOM_ViewerDragger::name ( ) const
pure virtual
virtual HOM_Vector3 HOM_ViewerDragger::position ( ) const
pure virtual
virtual HOM_Vector3 HOM_ViewerDragger::startDirection ( ) const
pure virtual
virtual void HOM_ViewerDragger::startDrag ( HOM_ViewerEvent event,
const HOM_Vector3 start_pos 
)
pure virtual
virtual void HOM_ViewerDragger::startDragAcrossFloor ( HOM_ViewerEvent event,
const HOM_Vector3 start_pos 
)
pure virtual
virtual void HOM_ViewerDragger::startDragAlongLine ( HOM_ViewerEvent event,
const HOM_Vector3 line_start,
const HOM_Vector3 line_dir 
)
pure virtual
virtual void HOM_ViewerDragger::startDragAlongPlane ( HOM_ViewerEvent event,
HOM_Vector3 const &  plane_point,
HOM_Vector3 const &  plane_normal 
)
pure virtual
virtual void HOM_ViewerDragger::startDragRotate ( HOM_ViewerEvent event,
const HOM_Vector3 center_pos,
double  radius,
const HOM_Vector3 rotate_axis,
const HOM_Matrix3 orient 
)
pure virtual
virtual HOM_Vector3 HOM_ViewerDragger::startPosition ( ) const
pure virtual
virtual HOM_Vector3 HOM_ViewerDragger::startRotatePosition ( ) const
pure virtual
virtual bool HOM_ViewerDragger::valid ( ) const
pure virtual
virtual HOM_GeometryViewport* HOM_ViewerDragger::viewport ( )
pure virtual

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