NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
mitkMakeGeometry.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef mitkMakeGeometry_h
16 #define mitkMakeGeometry_h
17 
18 #include "niftkIGIExports.h"
19 #include <mitkSurface.h>
20 #include <mitkPointSet.h>
21 #include <vtkMatrix4x4.h>
22 
28 NIFTKIGI_EXPORT mitk::Surface::Pointer MakeLaparoscope(std::string rigidBodyFilename, std::string LeftHandeyeFilename, std::string RightHandeyeFilename, std::string CentreHandeyeFilename, bool AddCrossHairs = true , float TrackerMarkerRadius = 3.0 );
29 
35 NIFTKIGI_EXPORT mitk::Surface::Pointer MakePointer(std::string rigidBodyFilename, std::string handeyeFilename );
36 
42 NIFTKIGI_EXPORT mitk::Surface::Pointer MakeReference(std::string rigidBodyFilename, std::string handeyeFilename );
43 
49 NIFTKIGI_EXPORT mitk::Surface::Pointer MakeReferencePolaris(std::string rigidBodyFilename, std::string handeyeFilename );
50 
57 NIFTKIGI_EXPORT mitk::Surface::Pointer MakeAWall( const int& whichwall, const float& size = 4000,
58  const float& xOffset = 0.0 , const float& yOffset = 0.0, const float& zOffset = -0.3,
59  const float& thickness = 10.0);
60 
66 NIFTKIGI_EXPORT mitk::Surface::Pointer MakeXAxes( const float& length = 4000,const bool& symmetric = false);
67 
73 NIFTKIGI_EXPORT mitk::Surface::Pointer MakeYAxes( const float& length = 4000,const bool& symmetric = false);
74 
80 NIFTKIGI_EXPORT mitk::Surface::Pointer MakeZAxes( const float& length = 4000,const bool& symmetric = true);
81 
85 NIFTKIGI_EXPORT mitk::Surface::Pointer MakeLapLensAxes();
86 
92 NIFTKIGI_EXPORT mitk::Surface::Pointer MakeOptotrak( const float & width = 500);
93 
99 NIFTKIGI_EXPORT mitk::Surface::Pointer MakePolaris( const float & width = 300);
100 
105 NIFTKIGI_EXPORT mitk::Surface::Pointer MakeTransrectalUSProbe(std::string handeyeFilename );
106 
111 NIFTKIGI_EXPORT mitk::Surface::Pointer MakeMonitor();
112 
115 NIFTKIGI_EXPORT mitk::PointSet::Pointer MakePointSetOfBifurcations(const std::vector<vtkPolyData*> polyDatas);
116 
117 #endif
NIFTKIGI_EXPORT mitk::Surface::Pointer MakeYAxes(const float &length=4000, const bool &symmetric=false)
For visualisation purposes, make a nice big axes.
Definition: mitkMakeGeometry.cxx:102
NIFTKIGI_EXPORT mitk::Surface::Pointer MakeZAxes(const float &length=4000, const bool &symmetric=true)
For visualisation purposes, make a nice big axes.
Definition: mitkMakeGeometry.cxx:113
NIFTKIGI_EXPORT mitk::Surface::Pointer MakeOptotrak(const float &width=500)
for visualisation purposes, make a representation of an Optotrak Certus camera unit ...
Definition: mitkMakeGeometry.cxx:134
GLuint GLsizei GLsizei * length
Definition: glew.h:1809
NIFTKIGI_EXPORT mitk::Surface::Pointer MakeReference(std::string rigidBodyFilename, std::string handeyeFilename)
For visualisation purposes, creates a representation of the reference.
Definition: mitkMakeGeometry.cxx:54
NIFTKIGI_EXPORT mitk::Surface::Pointer MakeTransrectalUSProbe(std::string handeyeFilename)
For visualisation purposes, creates a representation of a transrectal ultrasound probe.
Definition: mitkMakeGeometry.cxx:154
NIFTKIGI_EXPORT mitk::Surface::Pointer MakeXAxes(const float &length=4000, const bool &symmetric=false)
For visualisation purposes, make a nice big axes.
Definition: mitkMakeGeometry.cxx:91
NIFTKIGI_EXPORT mitk::Surface::Pointer MakeMonitor()
For visualisation purposes, creates a representation of a monitor.
Definition: mitkMakeGeometry.cxx:164
NIFTKIGI_EXPORT mitk::Surface::Pointer MakeAWall(const int &whichwall, const float &size=4000, const float &xOffset=0.0, const float &yOffset=0.0, const float &zOffset=-0.3, const float &thickness=10.0)
For visualisation purposes, make a wall of a cube.
Definition: mitkMakeGeometry.cxx:76
GLsizeiptr size
Definition: glew.h:1665
NIFTKIGI_EXPORT mitk::Surface::Pointer MakePointer(std::string rigidBodyFilename, std::string handeyeFilename)
For visualisation purposes, creates a representation of the pointer.
Definition: mitkMakeGeometry.cxx:43
GLint GLint GLint GLint GLint GLint GLsizei width
Definition: glew.h:1236
NIFTKIGI_EXPORT mitk::Surface::Pointer MakeLaparoscope(std::string rigidBodyFilename, std::string LeftHandeyeFilename, std::string RightHandeyeFilename, std::string CentreHandeyeFilename, bool AddCrossHairs=true, float TrackerMarkerRadius=3.0)
For visualisation purposes, creates a representation of the laparoscope.
Definition: mitkMakeGeometry.cxx:28
NIFTKIGI_EXPORT mitk::Surface::Pointer MakeLapLensAxes()
a special type of axis useful for cameras
Definition: mitkMakeGeometry.cxx:124
NIFTKIGI_EXPORT mitk::PointSet::Pointer MakePointSetOfBifurcations(const std::vector< vtkPolyData * > polyDatas)
Scans through polyDatas, which should contain poly-lines, and identifies the bifurcation points...
Definition: mitkMakeGeometry.cxx:175
GLsizei const GLcharARB ** string
Definition: glew.h:5194
NIFTKIGI_EXPORT mitk::Surface::Pointer MakeReferencePolaris(std::string rigidBodyFilename, std::string handeyeFilename)
For visualisation purposes, creates a representation of the reference.
Definition: mitkMakeGeometry.cxx:65
NIFTKIGI_EXPORT mitk::Surface::Pointer MakePolaris(const float &width=300)
for visualisation purposes, make a representation of an NDI Polaris camera unit
Definition: mitkMakeGeometry.cxx:144