Image Component Library (ICL)
|
#include <PlotWidget3D.h>
Public Types | |
typedef SceneObject * | Handle |
Public Member Functions | |
PlotWidget3D (QWidget *parent=0) | |
~PlotWidget3D () | |
void | setViewPort (const utils::Range32f &xrange, const utils::Range32f &yrange, const utils::Range32f &zrange) |
const utils::Range32f * | getViewPort () const |
Scene & | getScene () |
const Scene & | getScene () const |
SceneObject * | getRootObject () |
const SceneObject * | getRootObject () const |
const Camera & | getCamera () const |
void | setCamera (const Camera &cam) |
void | add (SceneObject *obj, bool passOwnerShip=true) |
void | remove (Handle h) |
void | color (int r, int g, int b, int a) |
void | nocolor () |
disables drawing edges | |
void | fill (int r, int g, int b, int a) |
void | nofill () |
disables filling primitives | |
void | smoothfill (bool on) |
void | pointsize (float size) |
sets current pointsize (default is 1) | |
void | linewidth (float width) |
sets current linewidth (default is 1); | |
void | lock () |
void | unlock () |
void | clear () |
Handle | scatter (const std::vector< Vec > &points) |
Handle | scatter (const std::vector< Vec > &points, const std::vector< GeomColor > &colors, const utils::Range32f &colorRange=utils::Range32f(0, 255)) |
Handle | linestrip (const std::vector< Vec > &points) |
Handle | surf (const std::vector< Vec > &points, int nx, int ny) |
Handle | surf (utils::Function< float, float, float > fxy, const utils::Range32f &rx=utils::Range32f(0, 0), const utils::Range32f &ry=utils::Range32f(0, 0), int nx=100, int ny=100, Handle reuseObj=0) |
Handle | label (const Vec &p, const std::string &text) |
Private Attributes | |
Data * | m_data |
Internal data class (large, so it's hidden) |
icl::geom::PlotWidget3D::PlotWidget3D | ( | QWidget * | parent = 0 | ) |
void icl::geom::PlotWidget3D::add | ( | SceneObject * | obj, |
bool | passOwnerShip = true |
||
) |
void icl::geom::PlotWidget3D::clear | ( | ) |
void icl::geom::PlotWidget3D::color | ( | int | r, |
int | g, | ||
int | b, | ||
int | a | ||
) |
void icl::geom::PlotWidget3D::fill | ( | int | r, |
int | g, | ||
int | b, | ||
int | a | ||
) |
const Camera& icl::geom::PlotWidget3D::getCamera | ( | ) | const |
const SceneObject* icl::geom::PlotWidget3D::getRootObject | ( | ) | const |
const Scene& icl::geom::PlotWidget3D::getScene | ( | ) | const |
const utils::Range32f* icl::geom::PlotWidget3D::getViewPort | ( | ) | const |
Handle icl::geom::PlotWidget3D::label | ( | const Vec & | p, |
const std::string & | text | ||
) |
Handle icl::geom::PlotWidget3D::linestrip | ( | const std::vector< Vec > & | points | ) |
void icl::geom::PlotWidget3D::linewidth | ( | float | w | ) |
sets current linewidth (default is 1);
Reimplemented from icl::qt::ICLDrawWidget.
void icl::geom::PlotWidget3D::lock | ( | ) |
void icl::geom::PlotWidget3D::nocolor | ( | ) |
disables drawing edges
Reimplemented from icl::qt::ICLDrawWidget.
void icl::geom::PlotWidget3D::nofill | ( | ) |
disables filling primitives
Reimplemented from icl::qt::ICLDrawWidget.
void icl::geom::PlotWidget3D::pointsize | ( | float | s | ) |
sets current pointsize (default is 1)
Reimplemented from icl::qt::ICLDrawWidget.
void icl::geom::PlotWidget3D::remove | ( | Handle | h | ) |
Handle icl::geom::PlotWidget3D::scatter | ( | const std::vector< Vec > & | points | ) |
Handle icl::geom::PlotWidget3D::scatter | ( | const std::vector< Vec > & | points, |
const std::vector< GeomColor > & | colors, | ||
const utils::Range32f & | colorRange = utils::Range32f(0, 255) |
||
) |
void icl::geom::PlotWidget3D::setCamera | ( | const Camera & | cam | ) |
void icl::geom::PlotWidget3D::setViewPort | ( | const utils::Range32f & | xrange, |
const utils::Range32f & | yrange, | ||
const utils::Range32f & | zrange | ||
) |
void icl::geom::PlotWidget3D::smoothfill | ( | bool | on | ) |
Handle icl::geom::PlotWidget3D::surf | ( | const std::vector< Vec > & | points, |
int | nx, | ||
int | ny | ||
) |
Handle icl::geom::PlotWidget3D::surf | ( | utils::Function< float, float, float > | fxy, |
const utils::Range32f & | rx = utils::Range32f(0, 0) , |
||
const utils::Range32f & | ry = utils::Range32f(0, 0) , |
||
int | nx = 100 , |
||
int | ny = 100 , |
||
Handle | reuseObj = 0 |
||
) |
void icl::geom::PlotWidget3D::unlock | ( | ) |
Data* icl::geom::PlotWidget3D::m_data [private] |
Internal data class (large, so it's hidden)
Reimplemented from icl::qt::ICLWidget.