Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXGLPoint Class Reference

OpenGL Point Object. More...

#include <FXGLObject.h>

Inheritance diagram for FX::FXGLPoint:

FX::FXGLObject FX::FXObject List of all members.

Public Member Functions

 FXGLPoint ()
 FXGLPoint (const FXGLPoint &orig)
 FXGLPoint (FXfloat x, FXfloat y, FXfloat z)
virtual FXGLObjectcopy ()
virtual void bounds (FXRangef &box)
virtual void draw (FXGLViewer *viewer)
virtual void hit (FXGLViewer *viewer)
virtual void save (FXStream &store) const
virtual void load (FXStream &store)

Public Attributes

FXVec3f pos

Detailed Description

OpenGL Point Object.


Constructor & Destructor Documentation

FX::FXGLPoint::FXGLPoint  ) 
 

Default constructor.

FX::FXGLPoint::FXGLPoint const FXGLPoint orig  ) 
 

Copy constructor.

FX::FXGLPoint::FXGLPoint FXfloat  x,
FXfloat  y,
FXfloat  z
 

Construct with specified coordinates.


Member Function Documentation

virtual FXGLObject* FX::FXGLPoint::copy  )  [virtual]
 

Copy this object.

Reimplemented from FX::FXGLObject.

virtual void FX::FXGLPoint::bounds FXRangef box  )  [virtual]
 

Called by the viewer to get bounds for this object.

Reimplemented from FX::FXGLObject.

virtual void FX::FXGLPoint::draw FXGLViewer viewer  )  [virtual]
 

Draw this object in a viewer.

Reimplemented from FX::FXGLObject.

virtual void FX::FXGLPoint::hit FXGLViewer viewer  )  [virtual]
 

Draw this object for hit-testing purposes.

Reimplemented from FX::FXGLObject.

virtual void FX::FXGLPoint::save FXStream store  )  const [virtual]
 

Save to a stream.

Reimplemented from FX::FXObject.

virtual void FX::FXGLPoint::load FXStream store  )  [virtual]
 

Load from a stream.

Reimplemented from FX::FXObject.

Copyright © 1997-2004 Jeroen van der Zijp