TDPoint Class Reference

TDPoint class. More...

#include <TDPoint.h>

Inheritance diagram for TDPoint:

SelectableThing List of all members.

Public Member Functions

bool IsAPoint ()
bool IsAPatch ()
TDPointGetPoint ()
BaryPatchGetPatch ()
 TDPoint (int ThingName, SelectableThing **Workspace)
 TDPoint (int ThingName, SelectableThing **Workspace, Vec Position)
void draw (ManipulatedFrame *MF)
void UpdateNameTag ()
int WhatsMyNumber ()
int Clear ()
void SnapToGrid (float GridSpace, ManipulatedFrame *MF)

Detailed Description

TDPoint class.


Constructor & Destructor Documentation

TDPoint::TDPoint ( int  ThingName,
SelectableThing **  Workspace 
) [inline]

Basic SelectableThing constructor

TDPoint::TDPoint ( int  ThingName,
SelectableThing **  Workspace,
Vec  Position 
) [inline]

Basic SelectableThing constructor given the position


Member Function Documentation

int TDPoint::Clear (  )  [inline]

deletes patches using me
replaced by implementation 1 level up in JViewer

void TDPoint::draw ( ManipulatedFrame *  MF  )  [inline, virtual]

A point is represented by a sphere (constant radius = 0.005).
Selected points will take an alternative color.
Selected points will be drawn using their SelectableThing::_ThingLocalFrame as their position relatively to the Manipulated frame given in argument, and update their SelectableThing::_ThingGlobalFrame accordingly
Not-selected points will be drawn using their SelectableThing::_ThingGlobalFrame as their position in the world, and update their SelectableThing::_ThingLocalFrame accordingly

Implements SelectableThing.

BaryPatch* TDPoint::GetPatch (  )  [inline, virtual]

selectable thing inherited. Used to distinguish the 2 different Selectable Things used in this project :
Patches and points.

Implements SelectableThing.

TDPoint* TDPoint::GetPoint (  )  [inline, virtual]

selectable thing inherited. Used to distinguish the 2 different Selectable Things used in this project :
Patches and points.

Implements SelectableThing.

bool TDPoint::IsAPatch (  )  [inline, virtual]

selectable thing inherited. Used to distinguish the 2 different Selectable Things used in this project :
Patches and points.

Implements SelectableThing.

bool TDPoint::IsAPoint (  )  [inline, virtual]

selectable thing inherited. Used to distinguish the 2 different Selectable Things used in this project :
Patches and points.

Implements SelectableThing.

void TDPoint::SnapToGrid ( float  GridSpace,
ManipulatedFrame *  MF 
) [inline]

Makes the points' positions on the grid

void TDPoint::UpdateNameTag (  )  [inline, virtual]

Selectable thing inherited, updates the name tag of the point

Implements SelectableThing.

int TDPoint::WhatsMyNumber (  )  [inline]

Returns the number of the point


The documentation for this class was generated from the following file:
Generated on Thu Sep 28 09:43:43 2006 by  doxygen 1.4.7