VTK
vtkPolyDataContourLineInterpolator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPolyDataContourLineInterpolator.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 =========================================================================*/
25 #ifndef vtkPolyDataContourLineInterpolator_h
26 #define vtkPolyDataContourLineInterpolator_h
27 
28 #include "vtkInteractionWidgetsModule.h" // For export macro
30 
31 class vtkPolyData;
33 
34 class VTKINTERACTIONWIDGETS_EXPORT vtkPolyDataContourLineInterpolator
36 {
37 public:
39 
44  void PrintSelf(ostream& os, vtkIndent indent);
46 
52  virtual int InterpolateLine( vtkRenderer *ren,
54  int idx1, int idx2 ) = 0;
55 
63  virtual int UpdateNode( vtkRenderer *,
65  double * vtkNotUsed(node), int vtkNotUsed(idx) ) = 0;
66 
68 
72  vtkGetObjectMacro( Polys, vtkPolyDataCollection );
74 
75 protected:
78 
80 
81 private:
83  const vtkPolyDataContourLineInterpolator&) VTK_DELETE_FUNCTION;
84  void operator=(const vtkPolyDataContourLineInterpolator&) VTK_DELETE_FUNCTION;
85 };
86 
87 #endif
virtual int UpdateNode(vtkRenderer *, vtkContourRepresentation *, double *vtkNotUsed(node), int vtkNotUsed(idx))
The interpolator is given a chance to update the node.
abstract specification for renderers
Definition: vtkRenderer.h:63
virtual int InterpolateLine(vtkRenderer *ren, vtkContourRepresentation *rep, int idx1, int idx2)=0
Subclasses that wish to interpolate a line segment must implement this.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
represent the vtkContourWidget
a simple class to control print indentation
Definition: vtkIndent.h:39
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.
void PrintSelf(ostream &os, vtkIndent indent)
Standard methods for instances of this class.
Contour interpolator for polygonal data.
maintain a list of polygonal data objects