vcg::PolarMode Class Reference

#include <trackmode.h>

Inheritance diagram for vcg::PolarMode:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void Apply (Trackball *trackball, Point3f new_point)
 The default manipulator application for mouse drags.
void Draw (Trackball *trackball)
 The default manipulator's render function.
const char * Name ()
 The default manipulator's name.
 PolarMode ()
void Reset ()
 The default manipulator's reset function.
void SetAction ()
 The default manipulator's begin action function.

Private Attributes

float alpha
float beta
float enda
float endb

Detailed Description

Definition at line 1024 of file trackmode.h.


Constructor & Destructor Documentation

vcg::PolarMode::PolarMode (  )  [inline]

Definition at line 1026 of file trackmode.h.


Member Function Documentation

void PolarMode::Apply ( Trackball trackball,
Point3f  new_point 
) [virtual]

The default manipulator application for mouse drags.

This default application does nothing.

Parameters:
trackball the manipulator manager.
new_point the new mouse pointer coordinate.

Reimplemented from vcg::TrackMode.

Definition at line 784 of file trackmode.cpp.

void PolarMode::Draw ( Trackball trackball  )  [virtual]

The default manipulator's render function.

Parameters:
trackball the manipulator manager.

Reimplemented from vcg::TrackMode.

Definition at line 815 of file trackmode.cpp.

const char* vcg::PolarMode::Name (  )  [inline, virtual]

The default manipulator's name.

Returns:
the constant string "TrackMode"

Reimplemented from vcg::TrackMode.

Definition at line 1029 of file trackmode.h.

void PolarMode::Reset (  )  [virtual]

The default manipulator's reset function.

If a manipulator has a state, it can be reset to the inital state calling this function.

Reimplemented from vcg::TrackMode.

Definition at line 810 of file trackmode.cpp.

void PolarMode::SetAction (  )  [virtual]

The default manipulator's begin action function.

This default implementation does nothing.

Reimplemented from vcg::TrackMode.

Definition at line 805 of file trackmode.cpp.


Member Data Documentation

float vcg::PolarMode::alpha [private]

Definition at line 1036 of file trackmode.h.

float vcg::PolarMode::beta [private]

Definition at line 1036 of file trackmode.h.

float vcg::PolarMode::enda [private]

Definition at line 1037 of file trackmode.h.

float vcg::PolarMode::endb [private]

Definition at line 1037 of file trackmode.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:04 2013