vtkSlicerModelsLogic Class Reference

#include <vtkSlicerModelsLogic.h>

Inheritance diagram for vtkSlicerModelsLogic:
vtkSlicerLogic vtkObject

List of all members.

Public Member Functions

vtkMRMLModelNodeAddModel (const char *filename)
int AddModels (const char *dirname, const char *suffix)
int AddScalar (const char *filename, vtkMRMLModelNode *modelNode)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void ProcessMRMLEvents (vtkObject *, unsigned long, void *)
int SaveModel (const char *filename, vtkMRMLModelNode *modelNode)
void SetActiveModelNode (vtkMRMLModelNode *ActiveModelNode)
 vtkGetObjectMacro (ActiveModelNode, vtkMRMLModelNode)
 vtkTypeRevisionMacro (vtkSlicerModelsLogic, vtkObject)

Static Public Member Functions

static vtkSlicerModelsLogicNew ()
 The Usual vtk class functions.
static void TransformModel (vtkMRMLTransformNode *tnode, vtkMRMLModelNode *modelNode, int transformNormals, vtkMRMLModelNode *modelOut)

Protected Member Functions

void operator= (const vtkSlicerModelsLogic &)
 vtkSlicerModelsLogic (const vtkSlicerModelsLogic &)
 vtkSlicerModelsLogic ()
 ~vtkSlicerModelsLogic ()

Protected Attributes


Detailed Description

vtkSlicerModelsLogic - slicer logic class for volumes manipulation

This class manages the logic associated with reading, saving, and changing propertied of the volumes

Constructor & Destructor Documentation

vtkSlicerModelsLogic::vtkSlicerModelsLogic (  )  [protected]

References ActiveModelNode.

vtkSlicerModelsLogic::~vtkSlicerModelsLogic (  )  [protected]

References ActiveModelNode.

vtkSlicerModelsLogic::vtkSlicerModelsLogic ( const vtkSlicerModelsLogic  )  [protected]

Member Function Documentation

vtkMRMLModelNode * vtkSlicerModelsLogic::AddModel ( const char filename  ) 
int vtkSlicerModelsLogic::AddModels ( const char dirname,
const char suffix 

Create model nodes and read their polydata from a specified directory

References AddModel().

Referenced by vtkSlicerDataGUI::ProcessGUIEvents().

int vtkSlicerModelsLogic::AddScalar ( const char filename,
vtkMRMLModelNode modelNode 
static vtkSlicerModelsLogic* vtkSlicerModelsLogic::New (  )  [static]

The Usual vtk class functions.

Reimplemented from vtkSlicerLogic.

Referenced by AddModel(), AddScalar(), SaveModel(), Slicer3_main(), and TransformModel().

void vtkSlicerModelsLogic::operator= ( const vtkSlicerModelsLogic  )  [protected]

Reimplemented from vtkSlicerLogic.

void vtkSlicerModelsLogic::PrintSelf ( ostream &  os,
vtkIndent  indent 

Reimplemented from vtkSlicerLogic.

References ActiveModelNode.

void vtkSlicerModelsLogic::ProcessMRMLEvents ( vtkObject ,
unsigned long  ,
void *   
) [virtual]

Update logic state when MRML scene chenges

Reimplemented from vtkSlicerLogic.

int vtkSlicerModelsLogic::SaveModel ( const char filename,
vtkMRMLModelNode modelNode 
void vtkSlicerModelsLogic::SetActiveModelNode ( vtkMRMLModelNode ActiveModelNode  ) 
void vtkSlicerModelsLogic::TransformModel ( vtkMRMLTransformNode tnode,
vtkMRMLModelNode modelNode,
int  transformNormals,
vtkMRMLModelNode modelOut 
) [static]
vtkSlicerModelsLogic::vtkGetObjectMacro ( ActiveModelNode  ,

The currently active mrml volume node

vtkSlicerModelsLogic::vtkTypeRevisionMacro ( vtkSlicerModelsLogic  ,

Reimplemented from vtkSlicerLogic.

Member Data Documentation

The documentation for this class was generated from the following files:

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1