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

FX::FXGLLine Class Reference

OpenGL Line Object. More...

#include <FXGLObject.h>

Inheritance diagram for FX::FXGLLine:

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

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 Attributes

FXGLPoint fm
FXGLPoint to

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