Enrichment Class Reference

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

#include <qwt3d_enrichment.h>

Inheritance diagram for Enrichment:

EdgeEnrichment UserEnrichment VertexEnrichment Stick Arrow Ball Cone CrossHair Dot

List of all members.

Public Types

enum  TYPE {
  VERTEXENRICHMENT, EDGEENRICHMENT, FACEENRICHMENT, VOXELENRICHMENT,
  GRAPHENRICHMENT, USERENRICHMENT
}

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_p


Detailed Description

Enrichments provide a framework for user defined OPenGL objects. The base class has a pure virtual 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 Enumeration Documentation

enum TYPE

Enumerator:
VERTEXENRICHMENT  implemented
EDGEENRICHMENT  implemented
USERENRICHMENT  implemented


Member Function Documentation

virtual Enrichment* clone (  )  const [pure virtual]

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

Implemented in UserEnrichment, VertexEnrichment, and EdgeEnrichment.

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 UserEnrichment, VertexEnrichment, and EdgeEnrichment.


The documentation for this class was generated from the following file:

Generated on Sun Jun 7 00:16:33 2009 for QwtPlot3D API by  doxygen 1.5.8