#include <intensitySurface.h>
Collaboration diagram for iptk::IntensitySurface:
Then this class will create an intensity-surface from the intensity-mesh defined by the array of triangles.
Public Member Functions | |
IntensitySurface (void) | |
Default Constructor. | |
IntensitySurface (const IntensitySurface &is) | |
Copy Constructor. | |
virtual | ~IntensitySurface () |
Destructor. | |
void | setImage (const iptk::Image &im) |
Sets the image whose surface has to be extracted. | |
void | setMesh (TNT::Array1D< gutk::Triangle > &mesh) |
Sets the intensity-mesh which should be used for creation of the intensity surface. | |
void | extract (void) |
The function which extracts the surface. A call to this should always be preceeded by calls to the setImage and the setMesh functions. | |
iptk::Image | getSurface (void) |
Returns the extracted surface as a iptk::Image object. |
|
Default Constructor.
|
|
Copy Constructor.
|
|
The function which extracts the surface. Else, this function's behaviour is undefined. |
|
Returns the extracted surface as a iptk::Image object.
The returened object will hold a valid surface only if a call to this function is preceeded by a call to the |