VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkContourLineInterpolator.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 =========================================================================*/ 00032 #ifndef __vtkContourLineInterpolator_h 00033 #define __vtkContourLineInterpolator_h 00034 00035 #include "vtkObject.h" 00036 00037 class vtkRenderer; 00038 class vtkContourRepresentation; 00039 class vtkIntArray; 00040 00041 class VTK_WIDGETS_EXPORT vtkContourLineInterpolator : public vtkObject 00042 { 00043 public: 00045 00046 vtkTypeMacro(vtkContourLineInterpolator,vtkObject); 00047 void PrintSelf(ostream& os, vtkIndent indent); 00049 00051 00055 virtual int InterpolateLine( vtkRenderer *ren, 00056 vtkContourRepresentation *rep, 00057 int idx1, int idx2 ) = 0; 00059 00061 00066 virtual int UpdateNode( vtkRenderer *, 00067 vtkContourRepresentation *, 00068 double * vtkNotUsed(node), int vtkNotUsed(idx) ); 00070 00072 00082 virtual void GetSpan( int nodeIndex, vtkIntArray *nodeIndices, 00083 vtkContourRepresentation *rep ); 00085 00086 protected: 00087 vtkContourLineInterpolator(); 00088 ~vtkContourLineInterpolator(); 00089 00090 private: 00091 vtkContourLineInterpolator(const vtkContourLineInterpolator&); //Not implemented 00092 void operator=(const vtkContourLineInterpolator&); //Not implemented 00093 }; 00094 00095 #endif