00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPolyDataContourLineInterpolator.h,v $ 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 =========================================================================*/ 00024 #ifndef __vtkPolyDataContourLineInterpolator_h 00025 #define __vtkPolyDataContourLineInterpolator_h 00026 00027 #include "vtkContourLineInterpolator.h" 00028 00029 class vtkPolyData; 00030 class vtkPolyDataCollection; 00031 00032 class VTK_WIDGETS_EXPORT vtkPolyDataContourLineInterpolator 00033 : public vtkContourLineInterpolator 00034 { 00035 public: 00037 00038 vtkTypeRevisionMacro(vtkPolyDataContourLineInterpolator, 00039 vtkContourLineInterpolator); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00042 00044 00048 virtual int InterpolateLine( vtkRenderer *ren, 00049 vtkContourRepresentation *rep, 00050 int idx1, int idx2 ) = 0; 00052 00054 00059 virtual int UpdateNode( vtkRenderer *, 00060 vtkContourRepresentation *, 00061 double * vtkNotUsed(node), int vtkNotUsed(idx) ) = 0; 00063 00065 00067 vtkGetObjectMacro( Polys, vtkPolyDataCollection ); 00069 00070 protected: 00071 vtkPolyDataContourLineInterpolator(); 00072 ~vtkPolyDataContourLineInterpolator(); 00073 00074 vtkPolyDataCollection *Polys; 00075 00076 private: 00077 vtkPolyDataContourLineInterpolator( 00078 const vtkPolyDataContourLineInterpolator&); //Not implemented 00079 void operator=(const vtkPolyDataContourLineInterpolator&); //Not implemented 00080 }; 00081 00082 #endif