VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkContourLineInterpolator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkContourLineInterpolator.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
32 #ifndef __vtkContourLineInterpolator_h
33 #define __vtkContourLineInterpolator_h
34 
35 #include "vtkInteractionWidgetsModule.h" // For export macro
36 #include "vtkObject.h"
37 
38 class vtkRenderer;
40 class vtkIntArray;
41 
42 class VTKINTERACTIONWIDGETS_EXPORT vtkContourLineInterpolator : public vtkObject
43 {
44 public:
46 
47  vtkTypeMacro(vtkContourLineInterpolator,vtkObject);
48  void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
56  virtual int InterpolateLine( vtkRenderer *ren,
58  int idx1, int idx2 ) = 0;
60 
62 
67  virtual int UpdateNode( vtkRenderer *,
69  double * vtkNotUsed(node), int vtkNotUsed(idx) );
71 
73 
83  virtual void GetSpan( int nodeIndex, vtkIntArray *nodeIndices,
86 
87  protected:
90 
91 private:
93  void operator=(const vtkContourLineInterpolator&); //Not implemented
94 };
95 
96 #endif
represent the vtkContourWidget
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.