ScalingHeuristics.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Slicer3
00004   Module:    $HeadURL$
00005   Language:  C++
00006   Date:      $Date$
00007   Version:   $Revision$
00008 
00009   Copyright (c) Brigham and Women's Hospital (BWH) All Rights Reserved.
00010 
00011   See License.txt or http://www.slicer.org/copyright/copyright.txt for details.
00012 
00013 =========================================================================*/
00014 
00015 #ifndef ScalingHeuristics_h_
00016 #define ScalingHeuristics_h_
00017 
00018 #include "vtkRegisterImagesModuleMultiResApplicationsWin32Header.h"
00019 
00020 #include <itkImageBase.h>
00021 #include <itkVector.h>
00022 
00023 // The goal of this is to set the scale of each parameter
00024 // to a value such that a change in that parameter of 1.0
00025 // results in a one-voxel movement (where the dimension of a voxel
00026 // is defined by its smallest size).
00027 
00028 class VTK_REGISTERIMAGESMODULEMULTIRESAPPLICATIONS_EXPORT ScalingValues
00029 {
00030 public:
00031   ScalingValues(const itk::ImageBase<3>* image, 
00032                 const itk::Point<double, 3> centerOfRotation);
00033 
00034   double TranslationScale;
00035   double RotationScale;
00036   double ScalingScale;
00037   double SkewingScale;
00038 };
00039 
00040 #endif

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1