Volume Medical Manipulation Toolkit 2.0
Public Member Functions
ControlVolume Class Reference

This class provide a Control Volume as used for rendering tags as lines, measurements, cropped slices, etc. More...

#include <vmtkControlVolume.h>

Collaboration diagram for ControlVolume:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ControlVolume (DCMDataType *data, GLuint controlVolumeTextureID)
 ~ControlVolume ()
void clearControlVolume (UINT8 channel, UINT8 tag)
 Clean the Selection Volume.
void clearMesh ()
void clearPOI ()
void clearPOR ()
list< MeshCell >::iterator getMeshBeginIterator ()
list< MeshCell >::iterator getMeshEndIterator ()
int getMeshSize ()
UINT8 getTag (Point3D point3D, UINT32 channel)
UINT8 getTag (UINT32 width, UINT32 height, UINT32 depth, UINT32 channel)
UINT8 getTag (UINT32 position, UINT32 channel)
UINT8 getBrushSize ()
void addVoxelToMesh (Point3D coords, Point3D normal)
wxTreeItemId addPOI ()
wxTreeItemId addPOR ()
wxTreeItemId addLINE ()
void replaceTag (UINT8 channel, UINT8 src, UINT8 dst)
void setTagCursor3D (Point3D point3D, UINT32 channel, UINT8 tag)
void setTag (Point3D point3D, UINT32 channel, UINT8 tag)
void setTag (UINT32 width, UINT32 height, UINT32 depth, UINT32 channel, UINT8 tag)
void setTreeCtrl (wxTreeCtrl *tree_ctrl)
void setPORTreeId (wxTreeItemId POR_id)
void setPOITreeId (wxTreeItemId POI_id)
void setLINETreeId (wxTreeItemId LINE_id)
void setTreePoint (wxTreeItemId tree_item, Point3D point3D)
void setMeasurementsGrid (wxGrid *grid)
void setBrushSize (UINT8 size)
void removeTreeItem (wxTreeItemId node_id)
void calcMeasurementsGrid ()
float calcDistance (Point3D p1, Point3D p2)
bool LoadControlVolume ()
 Create a image volume texure.
void organizeMesh ()
void printMesh ()
void printPointsLists ()

Detailed Description

This class provide a Control Volume as used for rendering tags as lines, measurements, cropped slices, etc.

This class was RGBA 8bits encoded.

Note:
Author:
Lionis de Souza Watanabe

Constructor & Destructor Documentation

ControlVolume::ControlVolume ( DCMDataType data,
GLuint  controlVolumeTextureID 
)

Constructor

Load the file in GPU

Here is the call graph for this function:

ControlVolume::~ControlVolume ( )

Destructor

Here is the caller graph for this function:


Member Function Documentation

void ControlVolume::clearControlVolume ( UINT8  channel,
UINT8  tag 
)

Clean the Selection Volume.

Clear TAGS from Control Volume channel.

Reload Control Volume to GPU

Here is the call graph for this function:

Here is the caller graph for this function:

bool ControlVolume::LoadControlVolume ( )

Create a image volume texure.

Load Selection Volume as texture on GPU

Free the texture memory

Binding textures to sampler shader

(2) Wrapping effects when texture coordinates out the range [0,1]:

Set the texture combiner function: replace the color values of the fragment being processed

Define a 1D texture from a sequence of floating-point values in transferFunc> grouped into sets of four values: one level of resolution, RGBA(4) components, <w> elements with no border.

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
 All Classes Files Functions