Qwt3D Namespace Reference

Portability classes providing transparent Qt3/4 support.


Classes

class  qwt3d_ptr
 Simple Auto pointer providing deep copies for raw pointer. More...
class  AutoScaler
 ABC for autoscaler. More...
class  LinearAutoScaler
 Automatic beautifying of linear scales. More...
class  Axis
 Autoscalable axis with caption. More...
class  Color
 Abstract base class for color functors. More...
class  StandardColor
 Standard color model for Plot3D - implements the data driven operator()(double x, double y, double z). More...
class  ColorLegend
 A flat color legend. More...
class  CoordinateSystem
 A coordinate system with different styles (BOX, FRAME). More...
class  Drawable
 ABC for Drawables. More...
class  Enrichment
 Abstract base class for data dependent visible user objects. More...
class  UserEnrichment
 Abstract base class for user-defined visible user objects. More...
class  VertexEnrichment
 Abstract base class for vertex dependent visible user objects. More...
class  EdgeEnrichment
 Abstract base class for edge dependent visible user objects. More...
class  CrossHair
 The Cross Hair Style. More...
class  Dot
 The Point Style. More...
class  Ball
 The Ball Style. More...
class  Cone
 The Cone Style. More...
class  Arrow
 3D vector field. More...
class  Stick
 Cylindres. More...
class  ExtGLWidget
 An enhanced QGLWidget. More...
class  Function
 Abstract base class for mathematical functions. More...
class  GraphPlot
 TODO. More...
class  GridMapping
 Abstract base class for mappings acting on rectangular grids. More...
class  GridPlot
 A class representing grid-generated surfaces. More...
class  IO
class  PixmapWriter
 Provides Qt's Pixmap output facilities. More...
class  VectorWriter
 Provides EPS, PS, PDF and TeX output. More...
class  NativeReader
class  Label
 A Qt string or an output device dependent string. More...
class  Mapping
 Abstract base class for general mappings. More...
class  MeshPlot
 A class representing plots based on points, edges, cells etc. More...
class  ParametricSurface
 Abstract base class for parametric surfaces. More...
class  Plot3D
 Base class for all plotting widgets. More...
class  MouseState
 This class creates a (mouse-button,modifier) pair. More...
class  KeyboardState
 This class creates a (key-button,modifier) pair. More...
class  Scale
class  LinearScale
 The standard (1:1) mapping class for axis numbering. More...
class  LogScale
 log10 scale More...
class  SurfacePlot
 A class representing Surfaces. More...
struct  Tuple
 Tuple [x,y]. More...
struct  Triple
 Triple [x,y,z]. More...
struct  ParallelEpiped
 Parallelepiped spanned by 2 Triples. More...
struct  FreeVector
 Free vector. More...
struct  RGBA
 Red-Green-Blue-Alpha value. More...
class  VisualTrait
class  VolumePlot
 TODO. More...

Typedefs

typedef std::vector< FreeVectorFreeVectorField
typedef std::vector< TripleTripleField
typedef std::pair< unsigned,
unsigned > 
Edge
typedef std::vector< EdgeEdgeField
typedef std::vector< unsigned > Cell
typedef std::vector< CellCellField
typedef std::vector< RGBAColorVector

Enumerations

enum  PLOTSTYLE {
  NOPLOT, WIREFRAME, HIDDENLINE, FILLED,
  FILLEDMESH, POINTS, USER
}
enum  SHADINGSTYLE { FLAT, GOURAUD }
enum  COORDSTYLE { NOCOORD, BOX, FRAME }
enum  SCALETYPE { LINEARSCALE, LOG10SCALE, USERSCALE }
enum  FLOORSTYLE { NOFLOOR, FLOORISO, FLOORDATA }
enum  AXIS {
  X1 = 0, X2 = 3, X3 = 4, X4 = 5,
  Y1 = 1, Y2 = 8, Y3 = 7, Y4 = 6,
  Z1 = 2, Z2 = 9, Z3 = 11, Z4 = 10
}
enum  SIDE {
  NOSIDEGRID = 0, LEFT = 1 << 0, RIGHT = 1 << 1, CEIL = 1 << 2,
  FLOOR = 1 << 3, FRONT = 1 << 4, BACK = 1 << 5
}
enum  ANCHOR {
  BottomLeft, BottomRight, BottomCenter, TopLeft,
  TopRight, TopCenter, CenterLeft, CenterRight,
  Center
}

Functions

bool isPracticallyZero (double a, double b=0)
int round (double d)
GLint setDeviceLineWidth (GLfloat val)
GLint setDevicePointSize (GLfloat val)
GLint drawDevicePixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels)
GLint drawDeviceText (const char *str, const char *fontname, int fontsize, Qwt3D::Triple pos, Qwt3D::RGBA rgba, Qwt3D::ANCHOR align, double gap)
void setDevicePolygonOffset (GLfloat factor, GLfloat units)
const Triple operator+ (const Triple &t, const Triple &t2)
const Triple operator- (const Triple &t, const Triple &t2)
const Triple operator* (double d, const Triple &t)
const Triple operator* (const Triple &t, double d)
const Triple operator/ (double d, const Triple &t)
const Triple operator/ (const Triple &t, double d)
const Triple operator* (const Triple &t, const Triple &t2)
unsigned tesselationSize (Qwt3D::CellField const &t)
QWT3D_EXPORT Qwt3D::ParallelEpiped hull (TripleField const &data)

Variables

const Qt::TextFlag SingleLine = Qt::TextSingleLine
const double PI = 3.14159265358979323846264338328


Typedef Documentation

typedef std::vector<FreeVector> FreeVectorField

A free vector field in R^3.

typedef std::vector<Triple> TripleField

A point field in R^3.

typedef std::pair<unsigned,unsigned> Edge

Holds indices in a TripleField interpreted as an oriented (first->second) Edge.

typedef std::vector<Edge> EdgeField

Vector of Edges for a graph or cell complex. You need a TripleField as base for the node data.

typedef std::vector<unsigned> Cell

Holds indices in a TripleField interpreted as counterclockwise node numbering for a convex polygon.

typedef std::vector<Cell> CellField

Vector of convex polygons. You need a TripleField as base for the node data.

typedef std::vector<RGBA> ColorVector

A Color field.


Enumeration Type Documentation

enum PLOTSTYLE

Plotting style.

Enumerator:
NOPLOT  No visible data.
WIREFRAME  Wireframe style.
HIDDENLINE  Hidden Line style.
FILLED  Color filled polygons w/o edges.
FILLEDMESH  Color filled polygons w/ separately colored edges.
POINTS  User defined style (used by Enrichments).
USER  User defined style (used by Enrichments).

Shading style.

Enumerator:
FLAT  Flat shading (OpenGL).
GOURAUD  Gouraud Shading (OpenGL).

enum COORDSTYLE

Style of Coordinate system.

Enumerator:
NOCOORD  Coordinate system is not visible.
BOX  Boxed.
FRAME  Frame - 3 visible axes.

enum SCALETYPE

Different types of axis scales.

Enumerator:
LINEARSCALE  Linear scaling.
LOG10SCALE  Logarithmic scaling (base 10).
USERSCALE  User-defined (for extensions).

enum FLOORSTYLE

Plotting style for floor data (projections).

Enumerator:
NOFLOOR  Empty floor.
FLOORISO  Isoline projections visible.
FLOORDATA  Projected polygons visible.

enum AXIS

The 12 axes.

axes.png
Enumerator:
X1  1st x-axis
X2  2nd x-axis
X3  3th x-axis
X4  4th x-axis
Y1  1st y-axis
Y2  2nd y-axis
Y3  3th y-axis
Y4  4th y-axis
Z1  1st z-axis
Z2  2nd z-axis
Z3  3th z-axis
Z4  4th z-axis

enum SIDE

The 6 sides.

enum ANCHOR

Possible anchor points for drawing operations.


Function Documentation

unsigned Qwt3D::tesselationSize ( Qwt3D::CellField const &  t  ) 

Returns the sum over the sizes of the single cells.

QWT3D_EXPORT Qwt3D::ParallelEpiped Qwt3D::hull ( TripleField const &  data  ) 

Rectangular hull for point cloud.


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