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 |
#include <ViewMap.h>
Public Member Functions | |
ViewMap () | |
virtual | ~ViewMap () |
const ViewEdge * | GetClosestViewEdge (real x, real y) const |
const FEdge * | GetClosestFEdge (real x, real y) const |
BBox< Vec3r > | getScene3dBBox () const |
void | setScene3dBBox (const BBox< Vec3r > &bbox) |
Static Public Member Functions | |
static ViewMap * | getInstance () |
Public Attributes | |
void * | userdata |
ViewMap | ( | ) | [inline] |
Default constructor.
virtual ~ViewMap | ( | ) | [virtual] |
Destructor.
const ViewEdge* GetClosestViewEdge | ( | real | x, | |
real | y | |||
) | const |
Gets the viewedge the nearest to the 2D position specified as argument
const FEdge* GetClosestFEdge | ( | real | x, | |
real | y | |||
) | const |
Gets the Fedge the nearest to the 2D position specified as argument
static ViewMap* getInstance | ( | ) | [inline, static] |
BBox<Vec3r> getScene3dBBox | ( | ) | const [inline] |
Returns the scene 3D bounding box.
void setScene3dBBox | ( | const BBox< Vec3r > & | bbox | ) | [inline] |
Sets the scene 3D bounding box.
void* userdata |
A field that can be used by the user to store any data. This field must be reseted afterwards using ResetUserData().