Slicer  4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
vtkFSSurfaceHelper.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=*/
9 
10 #ifndef __vtkFSSurfaceHelper_h
11 #define __vtkFSSurfaceHelper_h
12 
13 #include "vtkFreeSurferExport.h"
14 
15 // VTK includes
16 #include <vtkObject.h>
17 
18 class vtkMatrix4x4;
19 
23 class VTK_FreeSurfer_EXPORT vtkFSSurfaceHelper: public vtkObject
24 {
25 public:
26  static vtkFSSurfaceHelper* New();
27 
29  static void ComputeTkRegVox2RASMatrix(double* spacing, int* dimensions, vtkMatrix4x4 *M );
30 
33  static void TranslateFreeSurferRegistrationMatrixIntoSlicerRASToRASMatrix(
34  double* V1Spacing, int* V1Dim, vtkMatrix4x4* V1IJKToRASMatrix,
35  double* V2Spacing, int* V2Dim, vtkMatrix4x4* V2RASToIJKMatrix,
36  vtkMatrix4x4 *FSRegistrationMatrix, vtkMatrix4x4 *RAS2RASMatrix);
37 
38 protected:
40 };
41 
42 #endif
Provides tools.