15 #ifndef niftkIGIGeometry_h
16 #define niftkIGIGeometry_h
18 #include <vtkPolyData.h>
19 #include <vtkSmartPointer.h>
20 #include <vtkMatrix4x4.h>
65 vtkSmartPointer<vtkPolyData>
MakeAWall(
const int& whichwall,
const float&
size = 4000,
66 const float& xOffset = 0.0 ,
const float& yOffset = 0.0,
const float& zOffset = -0.3,
67 const float& thickness = 10.0);
74 vtkSmartPointer<vtkPolyData>
MakeXAxes(
const float&
length = 4000,
const bool& symmetric =
false);
80 vtkSmartPointer<vtkPolyData>
MakeYAxes(
const float&
length = 4000,
const bool& symmetric =
false);
86 vtkSmartPointer<vtkPolyData>
MakeZAxes(
const float&
length = 4000,
const bool& symmetric =
true);
99 vtkSmartPointer<vtkPolyData>
MakeOptotrak(
const float &
width = 500,
bool Polaris =
false);
123 vtkSmartPointer<vtkPolyData> MakeIREDs ( std::vector <std::vector <float> > IREDPositions,
124 float Radius = 3.0,
int ThetaResolution = 8 ,
int PhiResolution = 8 );
129 std::vector <float> Centroid(std::vector < std::vector <float> > );
134 vtkSmartPointer<vtkPolyData> ConnectIREDs ( std::vector < std::vector <float> > IREDPositions ,
bool isPointer =
false ,
float width = 0.0 );
139 vtkSmartPointer<vtkPolyData> ConnectIREDsToCentroid ( std::vector < std::vector <float> > IREDPositions);
NIFTKIGIGUI_EXPORT std::vector< float[3]> ReadRigidBodyDefinitionFile(QString &rigidBodyFilename)
get the IRED positions from a rigid body definition file
Definition: niftkVTKIGIGeometry.h:26
mitk::Surface::Pointer MakeOptotrak(const float &width)
for visualisation purposes, make a representation of an Optotrak Certus camera unit ...
Definition: mitkMakeGeometry.cxx:134
mitk::Surface::Pointer MakeReferencePolaris(std::string rigidBodyFilename, std::string handeyeFilename)
For visualisation purposes, creates a representation of the reference.
Definition: mitkMakeGeometry.cxx:65
mitk::Surface::Pointer MakeAWall(const int &whichwall, const float &size, const float &xOffset, const float &yOffset, const float &zOffset, const float &thickness)
For visualisation purposes, make a wall of a cube.
Definition: mitkMakeGeometry.cxx:76
mitk::Surface::Pointer MakeXAxes(const float &length, const bool &symmetric)
For visualisation purposes, make a nice big axes.
Definition: mitkMakeGeometry.cxx:91
mitk::Surface::Pointer MakeZAxes(const float &length, const bool &symmetric)
For visualisation purposes, make a nice big axes.
Definition: mitkMakeGeometry.cxx:113
mitk::Surface::Pointer MakeLaparoscope(std::string RigidBodyFilename, std::string LeftHandeyeFilename, std::string RightHandeyeFilename, std::string CentreHandeyeFilename, bool AddCrossHairs, float TrackerMarkerRadius)
For visualisation purposes, creates a representation of the laparoscope.
Definition: mitkMakeGeometry.cxx:28
GLuint GLsizei GLsizei * length
Definition: glew.h:1809
mitk::Surface::Pointer MakePointer(std::string rigidBodyFilename, std::string handeyeFilename)
For visualisation purposes, creates a representation of the pointer.
Definition: mitkMakeGeometry.cxx:43
mitk::Surface::Pointer MakeReference(std::string rigidBodyFilename, std::string handeyeFilename)
For visualisation purposes, creates a representation of the reference.
Definition: mitkMakeGeometry.cxx:54
mitk::Surface::Pointer MakeLapLensAxes()
a special type of axis useful for cameras
Definition: mitkMakeGeometry.cxx:124
mitk::Surface::Pointer MakeYAxes(const float &length, const bool &symmetric)
For visualisation purposes, make a nice big axes.
Definition: mitkMakeGeometry.cxx:102
mitk::Surface::Pointer MakeTransrectalUSProbe(std::string handeyeFilename)
For visualisation purposes, creates a representation of a transrectal ultrasound probe.
Definition: mitkMakeGeometry.cxx:154
mitk::Surface::Pointer MakeMonitor()
For visualisation purposes, creates a representation of a monitor.
Definition: mitkMakeGeometry.cxx:164
GLsizeiptr size
Definition: glew.h:1665
GLint GLint GLint GLint GLint GLint GLsizei width
Definition: glew.h:1236
Definition: niftkExceptionObject.h:21
GLsizei const GLcharARB ** string
Definition: glew.h:5194