VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPolyDataContourLineInterpolator.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 =========================================================================*/ 00024 #ifndef __vtkPolyDataContourLineInterpolator_h 00025 #define __vtkPolyDataContourLineInterpolator_h 00026 00027 #include "vtkInteractionWidgetsModule.h" // For export macro 00028 #include "vtkContourLineInterpolator.h" 00029 00030 class vtkPolyData; 00031 class vtkPolyDataCollection; 00032 00033 class VTKINTERACTIONWIDGETS_EXPORT vtkPolyDataContourLineInterpolator 00034 : public vtkContourLineInterpolator 00035 { 00036 public: 00038 00039 vtkTypeMacro(vtkPolyDataContourLineInterpolator, 00040 vtkContourLineInterpolator); 00041 void PrintSelf(ostream& os, vtkIndent indent); 00043 00045 00049 virtual int InterpolateLine( vtkRenderer *ren, 00050 vtkContourRepresentation *rep, 00051 int idx1, int idx2 ) = 0; 00053 00055 00060 virtual int UpdateNode( vtkRenderer *, 00061 vtkContourRepresentation *, 00062 double * vtkNotUsed(node), int vtkNotUsed(idx) ) = 0; 00064 00066 00068 vtkGetObjectMacro( Polys, vtkPolyDataCollection ); 00070 00071 protected: 00072 vtkPolyDataContourLineInterpolator(); 00073 ~vtkPolyDataContourLineInterpolator(); 00074 00075 vtkPolyDataCollection *Polys; 00076 00077 private: 00078 vtkPolyDataContourLineInterpolator( 00079 const vtkPolyDataContourLineInterpolator&); //Not implemented 00080 void operator=(const vtkPolyDataContourLineInterpolator&); //Not implemented 00081 }; 00082 00083 #endif