Papyrus::Rotator Class Reference

#include <papyrus/rotator.h>

Inheritance diagram for Papyrus::Rotator:

Inheritance graph
[legend]
List of all members.

Detailed Description

Author:
Rick L Vinyard Jr <rvinyard@cs.nmsu.edu>


Public Types

typedef PapyrusSmartPointer<
Rotator
pointer

Public Member Functions

 Rotator (Group::pointer selection_group=Group::pointer(), SelectionMode mode=SELECT_PRESS, int selection_depth=1, double radian_interval=0.0)
 Rotator (Group::pointer select_from_group, Group::pointer selection_group, SelectionMode mode=SELECT_PRESS, int selection_depth=1, double radian_interval=0.0)

Static Public Member Functions

static Rotator::pointer create (Group::pointer selection_group=Group::pointer(), SelectionMode mode=SELECT_PRESS, int selection_depth=1, double radian_interval=0.0)
static Rotator::pointer create (Group::pointer select_from_group, Group::pointer selection_group, SelectionMode mode=SELECT_PRESS, int selection_depth=1, double radian_interval=0.0)

Protected Member Functions

virtual bool on_motion (const Event::Motion &event)
virtual bool on_button_press (const Event::ButtonPress &event)

Protected Attributes

double m_original_position [2]
double m_centroid [2]
double m_radian_interval
double m_last_angle


The documentation for this class was generated from the following files:
Generated on Sun Mar 11 10:01:49 2007 by  doxygen 1.5.1