Point Class Reference
[Shapes]
Point shape node.
More...
#include <Point.h>
List of all members.
|
Public Member Functions |
| Point () |
| Constructs a new Point at the origin in object space.
|
| Point (const Vector2f &location) |
| Constructs a new Point at a location in object space.
|
| Point (const std::string &name) |
| Constructs a new Point at the origin in object space.
|
| Point (const std::string &name, const Vector2f &location) |
| Constructs a new Point at a location in object space.
|
ShapeType | type () |
| Returns the Point's type.
|
Protected Member Functions |
void | draw () |
| Called when a Node is to be drawn.
|
Detailed Description
Point shape node.
The Point class is type of Shape which draws a point
Constructor & Destructor Documentation
Point::Point |
( |
const Vector2f & |
location |
) |
|
Constructs a new Point at a location in object space.
- Parameters:
-
| location | location of Point |
Point::Point |
( |
const std::string & |
name |
) |
|
Constructs a new Point at the origin in object space.
- Parameters:
-
Point::Point |
( |
const std::string & |
name, |
|
|
const Vector2f & |
location | |
|
) |
| | |
Constructs a new Point at a location in object space.
- Parameters:
-
Member Function Documentation
void Point::draw |
( |
|
) |
[protected, virtual] |
Called when a Node is to be drawn.
Override this method in subclasses to tell a Node how to draw itself on the screen. Drawing should take place in object space (the parent Nodes will apply their own transforms to the rendering stack).
Reimplemented from Node.
The documentation for this class was generated from the following file: