| 3Depict
    | 
#include <drawables.h>


| Public Member Functions | |
| DrawIsoSurface () | |
| ~DrawIsoSurface () | |
| virtual unsigned int | getType () const | 
| void | swapVoxels (Voxels< float > *v) | 
| Transfer ownership of data pointer to class.  More... | |
| void | draw () const | 
| Set the drawing method.  More... | |
| void | setScalarThresh (float thresh) | 
| Set the isosurface value.  More... | |
| void | getBoundingBox (BoundCube &b) const | 
| Get the bouding box (of the entire scalar field)  More... | |
| void | setColour (float rP, float gP, float bP, float alpha) | 
| Sets the color of the point to be drawn.  More... | |
| bool | needsDepthSorting () const | 
| Do we need depth sorting?  More... | |
|  Public Member Functions inherited from DrawableObj | |
| virtual bool | isOverlay () const | 
| Is this an overlay? By default, no.  More... | |
| DrawableObj () | |
| Constructor.  More... | |
| virtual DrawableObj * | clone () const | 
| virtual bool | isExplodable () const | 
| Can we break this object down into constituent elements?  More... | |
| virtual void | explode (std::vector< DrawableObj *> &simpleObjects) | 
| Break object down into simple elements.  More... | |
| virtual bool | hasChanged () const | 
| void | setActive (bool active) | 
| Set the active state of the object.  More... | |
| void | setInteract (bool canAct) | 
| Set if user can interact with object, needed for opengl hit testing.  More... | |
| virtual | ~DrawableObj () | 
| Drawable destructor.  More... | |
| virtual void | recomputeParams (const std::vector< Point3D > &vecs, const std::vector< float > &scalars, unsigned int mode) | 
| If we offer any kind of external pointer interface; use this to do a recomputation as needed. This is needed for selection binding behaviour.  More... | |
| virtual Point3D | getCentroid () const | 
| Get the centre of the object. Only valid if object is simple.  More... | |
| Additional Inherited Members | |
|  Static Public Member Functions inherited from DrawableObj | |
| static void | setUseAlphaBlending (bool willBlend) | 
| static void | setCurCamera (const Camera *c) | 
| Set the current camera.  More... | |
| static void | setTexPool (TexturePool *t) | 
| Set the current camera.  More... | |
| static void | clearTexPool () | 
| static void | setWindowSize (unsigned int x, unsigned int y) | 
| static void | setBackgroundColour (float r, float g, float b) | 
|  Public Attributes inherited from DrawableObj | |
| bool | canSelect | 
| Can be selected from openGL viewport interactively?  More... | |
| bool | wantsLight | 
| Wants lighting calculations active during render?  More... | |
|  Static Protected Member Functions inherited from DrawableObj | |
| static float | getHighContrastValue () | 
|  Protected Attributes inherited from DrawableObj | |
| bool | active | 
| Is the drawable active?  More... | |
| bool | haveChanged | 
| Is the object changed since last set?  More... | |
|  Static Protected Attributes inherited from DrawableObj | |
| static const Camera * | curCamera = 0 | 
| Pointer to current scene camera.  More... | |
| static float | backgroundR | 
| static float | backgroundG | 
| static float | backgroundB | 
| static TexturePool * | texPool =0 | 
| static bool | useAlphaBlend | 
| static unsigned int | winX | 
| static unsigned int | winY | 
| DrawIsoSurface::DrawIsoSurface | ( | ) | 
| DrawIsoSurface::~DrawIsoSurface | ( | ) | 
| 
 | virtual | 
Set the drawing method.
Implements DrawableObj.
References DrawableObj::curCamera, Camera::getOrigin(), Point3D::sqrDist(), and DrawableObj::useAlphaBlend.
| 
 | virtual | 
Get the bouding box (of the entire scalar field)
Implements DrawableObj.
References Voxels< T >::getMaxBounds(), Voxels< T >::getMinBounds(), BoundCube::setBounds(), and BoundCube::setInverseLimits().
| 
 | inlinevirtual | 
Implements DrawableObj.
References DRAW_TYPE_ISOSURFACE, and RGBFloat::v.
| 
 | virtual | 
Do we need depth sorting?
Reimplemented from DrawableObj.
| 
 | inline | 
Sets the color of the point to be drawn.
Referenced by VisController::updateScene().

| 
 | inline | 
Set the isosurface value.
Referenced by VisController::updateScene().

| void DrawIsoSurface::swapVoxels | ( | Voxels< float > * | v | ) | 
Transfer ownership of data pointer to class.
References marchingCubes().
Referenced by VisController::updateScene().

 1.8.13
 1.8.13