planeAdmin Class Reference

#include <planeAdmin.h>

Collaboration diagram for planeAdmin:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 planeAdmin ()
 ~planeAdmin (void)
void addPlane (int type, Data *data, vector< int > col, int x, int y, int z, int rotX, int rotY)
void setParent (GLWidget *_parent)
void deletePlane (int type, int index)
void renderAll (float dT)
void sortTransPlane (int type)
void picking (float x, float y)
void navigate (float x, float y, int button=0)
void navigateRelease ()
void mouseMove (float x, float y)
void showNavigators ()
void hideNavigators ()
void to2D (int type, int index)
void to3D (int type, int index)

Public Attributes

bool act2DModeChanged
int act2DModeType
int act2DMode
int next2DMode
int act2DIndex
bool bupdateGUI
vector< sortData > sorted
vector< planeMap * > pMap
vector< planeBar * > pBar
vector< planePie * > pPie
sortData delInfo

Static Public Attributes

static const int PLANE_MAP = 1
static const int PLANE_BAR = 2
static const int PLANE_PIE = 3


Detailed Description

Manager for the planes.

Constructor & Destructor Documentation

planeAdmin::planeAdmin (  ) 

Constructor

planeAdmin::~planeAdmin ( void   ) 

Destructor


Member Function Documentation

void planeAdmin::addPlane ( int  type,
Data data,
vector< int >  col,
int  x,
int  y,
int  z,
int  rotX,
int  rotY 
)

adds a new plane

Parameters:
type type of the new plane
data the dataset
choosen columns for the plane
x x position of the plane
y y position of the plane
z z position of the plane
rotX orientation around the x-axis
rotY orientation around the z-axis

void planeAdmin::setParent ( GLWidget _parent  ) 

sets the parent widget

Parameters:
_parent widget

void planeAdmin::deletePlane ( int  type,
int  index 
)

deletes a plane

Parameters:
type type of the plane to delete
index index of the plane to delete

void planeAdmin::renderAll ( float  dT  ) 

renderes all current planes and links

Parameters:
dT delta time

void planeAdmin::sortTransPlane ( int  type  ) 

sorts the planes by depth when a plane gots transformed

Parameters:
type type of the transformed plane

void planeAdmin::picking ( float  x,
float  y 
)

mouseclick

Parameters:
x x position of the mouse cursor
y y position of the mouse cursor

void planeAdmin::navigate ( float  x,
float  y,
int  button = 0 
)

mouseclick in navigation mode

Parameters:
x x position of the mouse cursor
y y position of the mouse cursor
button index of the mouse button

void planeAdmin::navigateRelease (  ) 

release of the mouse button in navigation mode

void planeAdmin::mouseMove ( float  x,
float  y 
)

mouse moved

Parameters:
x x position of the mouse cursor
y y position of the mouse cursor

void planeAdmin::showNavigators (  ) 

shows the navigators

void planeAdmin::hideNavigators (  ) 

hides the navigators

void planeAdmin::to2D ( int  type,
int  index 
)

animate plane to 2D view

Parameters:
type type of plane to animate
index index of plane to animate

void planeAdmin::to3D ( int  type,
int  index 
)

animate plane to 3D view

Parameters:
type type of plane to animate
index index of plane to animate


Member Data Documentation

bool planeAdmin::act2DModeChanged

true if the 2D/3D mode changes

int planeAdmin::act2DModeType

type of the changing plane

int planeAdmin::act2DMode

current 2D/3D mode

int planeAdmin::next2DMode

next 2D/3D mode

int planeAdmin::act2DIndex

index of the changing plane

bool planeAdmin::bupdateGUI

GUI needs to be updated

const int planeAdmin::PLANE_MAP = 1 [static]

map type

const int planeAdmin::PLANE_BAR = 2 [static]

bar type

const int planeAdmin::PLANE_PIE = 3 [static]

pie type

vector<sortData> planeAdmin::sorted

sorted planes

vector<planeMap*> planeAdmin::pMap

all map planes

vector<planeBar*> planeAdmin::pBar

all bar planes

vector<planePie*> planeAdmin::pPie

all pie planes

sortData planeAdmin::delInfo

type and index of plane to delete


The documentation for this class was generated from the following files:
Generated on Fri May 29 18:22:30 2009 for VisLink by  doxygen 1.5.4