SignMRMLModelNodeHelper Class Reference

#include <SignMRMLModelNodeHelper.h>

Inheritance diagram for SignMRMLModelNodeHelper:

Inheritance graph
[legend]
Collaboration diagram for SignMRMLModelNodeHelper:

Collaboration graph
[legend]
List of all members.

Detailed Description

Helper node for the vtkMRMLModelNode.

Add model to pipeline, a SignOTSink can be connected to this node, resulting in a tracked model

Author:
Eigil Samset and Arne Hans


Public Member Functions

 SignMRMLModelNodeHelper (SignMRMLScene *scene_)
 Constructor.
virtual ~SignMRMLModelNodeHelper ()
 Destructor.
vtkActor * MakeActor ()
 Returns the actor.
float GetOpacity ()
 Gets the opacity of the model.
void SetOpacity (float opacity_)
 Sets the opacity of the model.
void InsertClipper ()
 Inserts a clipper.
void SetClippersTransform (vtkTransform *trans)
 Sets a transform for clippers.
virtual void Setup (SignContext *context)
void SetTexture (std::string texture)
 Sets the texture of the model.
virtual void SetInputData (SignSink *sink)
virtual void SetUserTransform (vtkTransform *transform)
void ColourizePoint (double x, double y, double z, float value)
 Sets the color of a point to the given value.
void InsertPolyDataAlgorithm (vtkPolyDataAlgorithm *pda)
 Inserts a PolyDataAlgorithm into the VTK pipeline.
void ScalarVisibilityOn ()
 Sets the visibility of scalars.
void SetScalarRange (float min, float max)
 Sets the range for scalars.
void SetLookupTable (vtkLookupTable *lut)
 Sets a lookup table.
void SetTextureNode (vtkMRMLModelTextureNode *node)
 Links a MRML model texture node to the model node.
vtkTexture * GetTexture ()
 Returns the texture of the model.
vtkPolyData * GetOutput ()
 Returns the VTK PolyData of the model.
void AddMapper (vtkDataSetMapper *pdm, vtkActor *actor)
 Adds a mapper to display the model in a renderer.


Constructor & Destructor Documentation

SignMRMLModelNodeHelper::SignMRMLModelNodeHelper SignMRMLScene scene_  ) 
 

Constructor.

SignMRMLModelNodeHelper::~SignMRMLModelNodeHelper  )  [virtual]
 

Destructor.


Member Function Documentation

void SignMRMLModelNodeHelper::AddMapper vtkDataSetMapper *  pdm,
vtkActor *  actor
 

Adds a mapper to display the model in a renderer.

void SignMRMLModelNodeHelper::ColourizePoint double  x,
double  y,
double  z,
float  value
 

Sets the color of a point to the given value.

float SignMRMLModelNodeHelper::GetOpacity  ) 
 

Gets the opacity of the model.

vtkPolyData * SignMRMLModelNodeHelper::GetOutput  ) 
 

Returns the VTK PolyData of the model.

vtkTexture * SignMRMLModelNodeHelper::GetTexture  ) 
 

Returns the texture of the model.

void SignMRMLModelNodeHelper::InsertClipper  ) 
 

Inserts a clipper.

void SignMRMLModelNodeHelper::InsertPolyDataAlgorithm vtkPolyDataAlgorithm *  pda  ) 
 

Inserts a PolyDataAlgorithm into the VTK pipeline.

vtkActor* SignMRMLModelNodeHelper::MakeActor  ) 
 

Returns the actor.

void SignMRMLModelNodeHelper::ScalarVisibilityOn  ) 
 

Sets the visibility of scalars.

void SignMRMLModelNodeHelper::SetClippersTransform vtkTransform *  trans  ) 
 

Sets a transform for clippers.

void SignMRMLModelNodeHelper::SetInputData SignSink sink  )  [virtual]
 

Reimplemented from SignMRMLNodeHelper.

void SignMRMLModelNodeHelper::SetLookupTable vtkLookupTable *  lut  ) 
 

Sets a lookup table.

void SignMRMLModelNodeHelper::SetOpacity float  opacity_  ) 
 

Sets the opacity of the model.

void SignMRMLModelNodeHelper::SetScalarRange float  min,
float  max
 

Sets the range for scalars.

void SignMRMLModelNodeHelper::SetTexture std::string  texture  ) 
 

Sets the texture of the model.

void SignMRMLModelNodeHelper::SetTextureNode vtkMRMLModelTextureNode node  ) 
 

Links a MRML model texture node to the model node.

void SignMRMLModelNodeHelper::Setup SignContext context  )  [virtual]
 

Reimplemented from SignMRMLNodeHelper.

void SignMRMLModelNodeHelper::SetUserTransform vtkTransform *  transform  )  [virtual]
 

Reimplemented from SignMRMLNodeHelper.


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