Home

Download

Features

Screenshots

Handbook

Browse Source

Authors

SourceForge.net Logo
Hosted by SourceForge.net

OSI Certified


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages   Search  

GLPolarGraph Class Reference

Plots/graphs three dimensional implicit functions as "z" with respect to "x" and "y". Currently this class is in alpha stage. More...

#include <glpolargraph.h>

Inheritance diagram for GLPolarGraph:

Inheritance graph
[legend]
Collaboration diagram for GLPolarGraph:

Collaboration graph
[legend]
List of all members.

Public Methods

 GLPolarGraph (QWidget *parent=0, const char *name=0)
 ~GLPolarGraph ()
virtual void load_key (const char *key, const char *value)
int setPolarMin (GLfloat)
int setPolarMax (GLfloat)
int setAzimuthalMin (GLfloat)
int setAzimuthalMax (GLfloat)
GLfloat getPolarMin () const
GLfloat getPolarMax () const
GLfloat getAzimuthalMin () const
GLfloat getAzimuthalMax () const
virtual int getGraphType () const

Protected Methods

virtual const char * independent_vars () const
virtual const char * dependent_var () const
void trace (GLfloat mouseX, GLfloat mouseY, FungParser &parsed_function, GLfloat *x, GLfloat *y, GLfloat *z)
virtual GLfloat traceDepX (GLfloat x) const
virtual GLfloat traceDepY (GLfloat y) const
virtual Cartesian3DCoord2DVector getValues (FungParser &fp, GLfloat *, GLfloat *)
 This class uses the 2-dimensional vector returned from this function to draw the expression and export it do DXF.


Detailed Description

Plots/graphs three dimensional implicit functions as "z" with respect to "x" and "y". Currently this class is in alpha stage.

Author:
Fungmeista

Definition at line 27 of file glpolargraph.h.


Member Function Documentation

std::vector< std::vector< Cartesian3DCoord > > GLPolarGraph::getValues FungParser   fp,
GLfloat *   ,
GLfloat *   
[protected, virtual]
 

This class uses the 2-dimensional vector returned from this function to draw the expression and export it do DXF.

The 2-dimensional vector of Cartesian3DCoord's should be all of the vertices on the graph.

Implements GLExpressionGraph.

Definition at line 129 of file glpolargraph.cpp.

References Animator::animatorValue(), and SphericalCoord::toCartesianCoord.


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