VTK
dox/Interaction/Widgets/vtkContourLineInterpolator.h
Go to the documentation of this file.
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 "vtkInteractionWidgetsModule.h" // For export macro
00036 #include "vtkObject.h"
00037 
00038 class vtkRenderer;
00039 class vtkContourRepresentation;
00040 class vtkIntArray;
00041 
00042 class VTKINTERACTIONWIDGETS_EXPORT vtkContourLineInterpolator : public vtkObject
00043 {
00044 public:
00046 
00047   vtkTypeMacro(vtkContourLineInterpolator,vtkObject);
00048   void PrintSelf(ostream& os, vtkIndent indent);
00050 
00052 
00056   virtual int InterpolateLine( vtkRenderer *ren,
00057                                vtkContourRepresentation *rep,
00058                                int idx1, int idx2 ) = 0;
00060 
00062 
00067   virtual int UpdateNode( vtkRenderer *,
00068                           vtkContourRepresentation *,
00069                           double * vtkNotUsed(node), int vtkNotUsed(idx) );
00071 
00073 
00083   virtual void GetSpan( int nodeIndex, vtkIntArray *nodeIndices,
00084                         vtkContourRepresentation *rep );
00086 
00087  protected:
00088   vtkContourLineInterpolator();
00089   ~vtkContourLineInterpolator();
00090 
00091 private:
00092   vtkContourLineInterpolator(const vtkContourLineInterpolator&);  //Not implemented
00093   void operator=(const vtkContourLineInterpolator&);  //Not implemented
00094 };
00095 
00096 #endif