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

FX::FXGLPoint Class Reference

#include <FXGLObject.h>

Inheritance diagram for FX::FXGLPoint:
FX::FXGLObject FX::FXObject

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 Member Functions inherited from FX::FXGLObject
 FXGLObject ()
 
 FXGLObject (const FXGLObject &orig)
 
virtual FXGLObjectidentify (FXuint *path)
 
virtual FXbool canDrag () const
 
virtual FXbool canDelete () const
 
virtual FXbool drag (FXGLViewer *viewer, FXint fx, FXint fy, FXint tx, FXint ty)
 
virtual ~FXGLObject ()
 
- Public Member Functions inherited from FX::FXObject
virtual long onDefault (FXObject *, FXSelector, void *)
 
const FXchargetClassName () const
 
bool isMemberOf (const FXMetaClass *metaclass) const
 
virtual long tryHandle (FXObject *sender, FXSelector sel, void *ptr)
 
virtual ~FXObject ()
 

Public Attributes

FXVec3f pos
 

Additional Inherited Members

- Public Types inherited from FX::FXGLObject
enum  { ID_LAST =10000 }
 

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.

Member Data Documentation

FXVec3f FX::FXGLPoint::pos

Copyright © 1997-2005 Jeroen van der Zijp