Sign3DViewer Class Reference

#include <Sign3DViewer.h>

Inheritance diagram for Sign3DViewer:

Inheritance graph
[legend]
Collaboration diagram for Sign3DViewer:

Collaboration graph
[legend]
List of all members.

Detailed Description

3D viewer

This class controls 3D viewers in The SIGN (volumes and annotation letters).

Author:
Arne Hans and Eigil Samset


Public Member Functions

 vtkTypeRevisionMacro (Sign3DViewer, SignViewer)
virtual void PrintSelf (ostream &os, vtkIndent indent)
void AddAnnotationActorsToRenderer (vtkVolume *vol)
 Adds 3D letters A, P, R, L, S, I to the renderer of the volume.
void RemoveAnnotationActorsFromRenderer ()
 Removes 3D letters from renderer.
void SetAnnotationActorVisibility (bool visibility)
 Controls if the 3D letters are visible or not.
void AddVolume (SignVolume *volume)
 Adds a volume to the 3D viewer.
void RemoveVolume (SignVolume *volume)
 Removes a volume from the 3D viewer.
void Cycle ()
 Goes to the next time point.
void SetBackground (float r, float g, float b)
 Sets the background of the 3D viewer.

Static Public Member Functions

static Sign3DViewerNew ()
 VTK constructor.

Public Attributes

VolumeVector volumes
 Vector of SignVolume objects.

Protected Member Functions

 Sign3DViewer ()
 ~Sign3DViewer ()
virtual void CreateWidget ()


Constructor & Destructor Documentation

Sign3DViewer::Sign3DViewer  )  [protected]
 

Sign3DViewer::~Sign3DViewer  )  [protected]
 


Member Function Documentation

void Sign3DViewer::AddAnnotationActorsToRenderer vtkVolume *  vol  ) 
 

Adds 3D letters A, P, R, L, S, I to the renderer of the volume.

void Sign3DViewer::AddVolume SignVolume volume  ) 
 

Adds a volume to the 3D viewer.

void Sign3DViewer::CreateWidget  )  [protected, virtual]
 

Reimplemented from SignViewer.

void Sign3DViewer::Cycle  )  [virtual]
 

Goes to the next time point.

Reimplemented from SignViewer.

static Sign3DViewer* Sign3DViewer::New  )  [static]
 

VTK constructor.

void Sign3DViewer::PrintSelf ostream &  os,
vtkIndent  indent
[virtual]
 

Reimplemented from SignViewer.

void Sign3DViewer::RemoveAnnotationActorsFromRenderer  ) 
 

Removes 3D letters from renderer.

void Sign3DViewer::RemoveVolume SignVolume volume  ) 
 

Removes a volume from the 3D viewer.

void Sign3DViewer::SetAnnotationActorVisibility bool  visibility  ) 
 

Controls if the 3D letters are visible or not.

void Sign3DViewer::SetBackground float  r,
float  g,
float  b
 

Sets the background of the 3D viewer.

Sign3DViewer::vtkTypeRevisionMacro Sign3DViewer  ,
SignViewer 
 


Member Data Documentation

VolumeVector Sign3DViewer::volumes
 

Vector of SignVolume objects.


The documentation for this class was generated from the following files:
Generated on Mon Feb 26 12:13:00 2007 for TheSIGN by  doxygen 1.4.6