Enrichment Class Reference

Abstract base class for data dependent visible user objects. More...

#include <qwt3d_enrichment.h>

Inheritance diagram for Enrichment:

VertexEnrichment Arrow Cone CrossHair Dot List of all members.

Public Types

enum  TYPE { VERTEXENRICHMENT, EDGEENRICHMENT, FACEENRICHMENT, VOXELENRICHMENT }

Public Member Functions

virtual Enrichmentclone () const=0
virtual void drawBegin ()
virtual void drawEnd ()
virtual void assign (Plot3D const &pl)
virtual TYPE type () const=0

Protected Attributes

const Plot3Dplot

Detailed Description

Enrichments provide a framework for user defined OPenGL objects. The base class has a pure virtuell function clone(). 2 additional functions are per default empty and could also get a new implementation in derived classes. They can be used for initialization issues or actions not depending on the related primitive.


Member Function Documentation

virtual Enrichment* clone (  )  const [pure virtual]

The derived class should give back a new Derived(something) here.

Implemented in VertexEnrichment.

virtual void drawEnd (  )  [inline, virtual]

Empty per default. Can be overwritten.

virtual void assign ( Plot3D const &  pl  )  [inline, virtual]

Empty per default. Can be overwritten. Assign to existent plot;.

virtual TYPE type (  )  const [pure virtual]

Overwrite.

Implemented in VertexEnrichment.


The documentation for this class was generated from the following file:
Generated on Mon Jun 25 18:47:28 2007 for QwtPlot3D API by  doxygen 1.5.1