#include <Modules/Loadable/Models/Logic/vtkSlicerModelsLogic.h>
|
static void | MRMLLogicsCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
| MRMLLogicCallback is a static function to relay modified events from the logics. More...
|
|
static void | MRMLNodesCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
| MRMLNodesCallback is a static function to relay modified events from the nodes. More...
|
|
static void | MRMLSceneCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
|
Definition at line 31 of file vtkSlicerModelsLogic.h.
◆ Superclass
◆ vtkSlicerModelsLogic() [1/2]
vtkSlicerModelsLogic::vtkSlicerModelsLogic |
( |
| ) |
|
|
protected |
◆ ~vtkSlicerModelsLogic()
vtkSlicerModelsLogic::~vtkSlicerModelsLogic |
( |
| ) |
|
|
protected |
◆ vtkSlicerModelsLogic() [2/2]
◆ AddModel() [1/3]
Add into the scene a new mrml model node with an existing polydata A display node is also added into the scene.
- Todo:
- Should the function AddModel also add a storage node ?
◆ AddModel() [2/3]
vtkMRMLModelNode* vtkSlicerModelsLogic::AddModel |
( |
vtkAlgorithmOutput * |
polyData = 0 | ) |
|
Add into the scene a new mrml model node with an existing polydata A display node is also added into the scene.
- Todo:
- Should the function AddModel also add a storage node ?
◆ AddModel() [3/3]
Add into the scene a new mrml model node and read it's polydata from a specified file A display node and a storage node are also added into the scene
◆ AddModels()
int vtkSlicerModelsLogic::AddModels |
( |
const char * |
dirname, |
|
|
const char * |
suffix |
|
) |
| |
Create model nodes and read their polydata from a specified directory
◆ AddScalar()
bool vtkSlicerModelsLogic::AddScalar |
( |
const char * |
filename, |
|
|
vtkMRMLModelNode * |
modelNode |
|
) |
| |
Read in a scalar overlay and add it to the model node
- Returns
- True on success
◆ GetActiveModelNode()
The currently active mrml volume node.
◆ GetClassName()
virtual const char* vtkSlicerModelsLogic::GetClassName |
( |
| ) |
|
|
virtual |
◆ GetColorLogic()
◆ IsA()
virtual int vtkSlicerModelsLogic::IsA |
( |
const char * |
type | ) |
|
|
virtual |
◆ IsTypeOf()
static int vtkSlicerModelsLogic::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
◆ New()
The Usual vtk class functions.
◆ ObserveMRMLScene()
virtual void vtkSlicerModelsLogic::ObserveMRMLScene |
( |
| ) |
|
|
protectedvirtual |
◆ operator=()
◆ PrintSelf()
void vtkSlicerModelsLogic::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
◆ SafeDownCast()
◆ SaveModel()
int vtkSlicerModelsLogic::SaveModel |
( |
const char * |
filename, |
|
|
vtkMRMLModelNode * |
modelNode |
|
) |
| |
Write model's polydata to a specified file.
◆ SetActiveModelNode()
void vtkSlicerModelsLogic::SetActiveModelNode |
( |
vtkMRMLModelNode * |
ActiveModelNode | ) |
|
◆ SetAllModelsVisibility()
void vtkSlicerModelsLogic::SetAllModelsVisibility |
( |
int |
flag | ) |
|
Iterate through all models in the scene, find all their display nodes and set their visibility flag to flag. Does not touch model hierarchy nodes with display nodes
◆ SetColorLogic()
The color logic is used to retrieve the default color node ID for model nodes.
◆ SetMRMLSceneInternal()
virtual void vtkSlicerModelsLogic::SetMRMLSceneInternal |
( |
vtkMRMLScene * |
newScene | ) |
|
|
protectedvirtual |
◆ TransformModel()
Transform models's polydata.
◆ ActiveModelNode
◆ ColorLogic
The documentation for this class was generated from the following file: