Slicer  4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkSlicerFiducialsLogic.h
Go to the documentation of this file.
1 /*=auto=========================================================================
2 
3  Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
4 
5  See COPYRIGHT.txt
6  or http://www.slicer.org/copyright/copyright.txt for details.
7 
8 =========================================================================auto=*/
16 
17 
18 #ifndef __vtkSlicerFiducialsLogic_h
19 #define __vtkSlicerFiducialsLogic_h
20 
21 // SlicerLogic includes
22 #include "vtkSlicerBaseLogic.h"
23 
24 // MRMLLogic includes
25 #include "vtkMRMLAbstractLogic.h"
26 
27 // MRML includes
28 class vtkMRMLFiducial;
30 
31 class VTK_SLICER_BASE_LOGIC_EXPORT vtkSlicerFiducialsLogic : public vtkMRMLAbstractLogic
32 {
33  public:
34 
36  static vtkSlicerFiducialsLogic *New();
38  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
39 
43  vtkMRMLFiducialListNode *GetSelectedList();
44 
47  void AddFiducialListSelected();
48 
52  vtkMRMLFiducialListNode * AddFiducialList();
53 
60  int AddFiducial(float x, float y, float z);
61  int AddFiducialSelected (float x, float y, float z, int selected);
62 
67  int AddFiducialPicked(float x, float y, float z, int selected = 0);
68 
71  vtkMRMLFiducialListNode *LoadFiducialList(const char *path);
72 
73 protected:
77  void operator=(const vtkSlicerFiducialsLogic&);
78 };
79 
80 #endif
81 
Superclass for MRML logic classes.
MRML node to represent a list of points in 3D.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
MRML object to represent a 3D point.
static vtkMRMLAbstractLogic * New()