SurfacePlot Class Reference

A class representing Surfaces. More...

#include <qwt3d_surfaceplot.h>

Inheritance diagram for SurfacePlot:

Plot3D ExtGLWidget GridPlot MeshPlot

List of all members.

Public Member Functions

 SurfacePlot (QWidget *parent=0, const QGLWidget *shareWidget=0)
void showNormals (bool)
bool normals () const
void setNormalLength (double val)
double normalLength () const
void setNormalQuality (int val)
int normalQuality () const
void updateNormals ()
Qwt3D::FLOORSTYLE floorStyle () const
void setFloorStyle (Qwt3D::FLOORSTYLE val)

Protected Member Functions

virtual void createNormals ()=0
virtual void createFloorOpenGlData ()
void drawIntersection (const Qwt3D::TripleField &intersection, Qwt3D::RGBA col)
virtual void data2Floor ()=0
virtual void isolines2Floor ()=0

Protected Attributes

bool datanormals_p
double normalLength_p
int normalQuality_p

Detailed Description

A SurfacePlot ...

Constructor & Destructor Documentation

SurfacePlot ( QWidget *  parent = 0,
const QGLWidget *  shareWidget = 0 

Initializes with dataNormals()==false //todo

Member Function Documentation

void showNormals ( bool  b  ) 

Draw normals to every vertex.

bool normals (  )  const [inline]

Returns true, if normal drawing is on.

void setNormalLength ( double  val  ) 

Sets length of normals in percent per hull diagonale.

Values < 0 or > 1 are ignored

double normalLength (  )  const [inline]

Returns relative length of normals.

void setNormalQuality ( int  val  ) 

Increases plotting quality of normal arrows.

Values < 3 are ignored

int normalQuality (  )  const [inline]

Returns plotting quality of normal arrows.

void updateNormals (  ) 

Recalculates surface normals;.

Qwt3D::FLOORSTYLE floorStyle (  )  const [inline]

Return floor style.

void setFloorStyle ( Qwt3D::FLOORSTYLE  val  )  [inline]

Sets floor style.

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

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