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

FX::FXGLLine Class Reference

#include <FXGLObject.h>

Inheritance diagram for FX::FXGLLine:
FX::FXGLObject FX::FXObject

Public Member Functions

 FXGLLine ()
 
 FXGLLine (const FXGLLine &orig)
 
 FXGLLine (FXfloat fx, FXfloat fy, FXfloat fz, FXfloat tx, FXfloat ty, FXfloat tz)
 
virtual void bounds (FXRangef &box)
 
virtual void draw (FXGLViewer *viewer)
 
virtual FXGLObjectcopy ()
 
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

FXGLPoint fm
 
FXGLPoint to
 

Additional Inherited Members

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

Detailed Description

OpenGL Line Object.

Constructor & Destructor Documentation

FX::FXGLLine::FXGLLine ( )

Default constructor.

FX::FXGLLine::FXGLLine ( const FXGLLine orig)

Copy constructor.

FX::FXGLLine::FXGLLine ( FXfloat  fx,
FXfloat  fy,
FXfloat  fz,
FXfloat  tx,
FXfloat  ty,
FXfloat  tz 
)

Construct with specified endpoints.

Member Function Documentation

virtual void FX::FXGLLine::bounds ( FXRangef box)
virtual

Called by the viewer to get bounds for this object.

Reimplemented from FX::FXGLObject.

virtual void FX::FXGLLine::draw ( FXGLViewer viewer)
virtual

Draw this object in a viewer.

Reimplemented from FX::FXGLObject.

virtual FXGLObject* FX::FXGLLine::copy ( )
virtual

Copy this object.

Reimplemented from FX::FXGLObject.

virtual void FX::FXGLLine::hit ( FXGLViewer viewer)
virtual

Draw this object for hit-testing purposes.

Reimplemented from FX::FXGLObject.

virtual void FX::FXGLLine::save ( FXStream store) const
virtual

Save to a stream.

Reimplemented from FX::FXObject.

virtual void FX::FXGLLine::load ( FXStream store)
virtual

Load from a stream.

Reimplemented from FX::FXObject.

Member Data Documentation

FXGLPoint FX::FXGLLine::fm
FXGLPoint FX::FXGLLine::to

Copyright © 1997-2005 Jeroen van der Zijp