00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkDijkstraImageContourLineInterpolator.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00040 #ifndef __vtkDijkstraImageContourLineInterpolator_h 00041 #define __vtkDijkstraImageContourLineInterpolator_h 00042 00043 #include "vtkContourLineInterpolator.h" 00044 00045 class vtkDijkstraImageGeodesicPath; 00046 class vtkImageData; 00047 00048 class VTK_WIDGETS_EXPORT vtkDijkstraImageContourLineInterpolator 00049 : public vtkContourLineInterpolator 00050 { 00051 public: 00053 00054 vtkTypeMacro(vtkDijkstraImageContourLineInterpolator, 00055 vtkContourLineInterpolator); 00056 void PrintSelf(ostream& os, vtkIndent indent); 00058 00059 static vtkDijkstraImageContourLineInterpolator *New(); 00060 00062 00066 virtual int InterpolateLine( vtkRenderer *ren, 00067 vtkContourRepresentation *rep, 00068 int idx1, int idx2 ); 00070 00072 00075 virtual void SetCostImage( vtkImageData* ); 00076 vtkGetObjectMacro( CostImage, vtkImageData ); 00078 00080 00081 vtkGetObjectMacro( DijkstraImageGeodesicPath, vtkDijkstraImageGeodesicPath ); 00083 00084 protected: 00085 vtkDijkstraImageContourLineInterpolator(); 00086 ~vtkDijkstraImageContourLineInterpolator(); 00087 00088 vtkImageData *CostImage; 00089 vtkDijkstraImageGeodesicPath *DijkstraImageGeodesicPath; 00090 00091 private: 00092 vtkDijkstraImageContourLineInterpolator( 00093 const vtkDijkstraImageContourLineInterpolator&); //Not implemented 00094 void operator=(const 00095 vtkDijkstraImageContourLineInterpolator&); //Not implemented 00096 }; 00097 00098 #endif