h o m e d o c u m e n t a t i o n c l a s s h i e r a r c h y

ViewMap Class Reference

#include <ViewMap.h>

List of all members.


Detailed Description

Class defining the ViewMap.


Public Member Functions

 ViewMap ()
virtual ~ViewMap ()
const ViewEdgeGetClosestViewEdge (real x, real y) const
const FEdgeGetClosestFEdge (real x, real y) const
BBox< Vec3r > getScene3dBBox () const
void setScene3dBBox (const BBox< Vec3r > &bbox)

Static Public Member Functions

ViewMapgetInstance ()

Public Attributes

void * userdata

Constructor & Destructor Documentation

ViewMap  )  [inline]
 

Default constructor.

virtual ~ViewMap  )  [virtual]
 

Destructor.


Member Function Documentation

const FEdge* GetClosestFEdge real  x,
real  y
const
 

Gets the Fedge the nearest to the 2D position specified as argument

const ViewEdge* GetClosestViewEdge real  x,
real  y
const
 

Gets the viewedge the nearest to the 2D position specified as argument

ViewMap* getInstance  )  [inline, static]
 

The ViewMap is a singleton class. This static method returns the instance of the ViewMap.

BBox<Vec3r> getScene3dBBox  )  const [inline]
 

Returns the scene 3D bounding box.

void setScene3dBBox const BBox< Vec3r > &  bbox  )  [inline]
 

Sets the scene 3D bounding box.


Member Data Documentation

void* userdata
 

A field that can be used by the user to store any data. This field must be reseted afterwards using ResetUserData().


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