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
31class vtkPolyData;
33
34class VTKINTERACTIONWIDGETS_EXPORT vtkPolyDataContourLineInterpolator
36{
37public:
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
75protected:
78
80
81private:
83 const vtkPolyDataContourLineInterpolator&) VTK_DELETE_FUNCTION;
84 void operator=(const vtkPolyDataContourLineInterpolator&) VTK_DELETE_FUNCTION;
85};
86
87#endif
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.
represent the vtkContourWidget
a simple class to control print indentation
Definition: vtkIndent.h:40
maintain a list of polygonal data objects
Contour interpolator for polygonal data.
virtual int InterpolateLine(vtkRenderer *ren, vtkContourRepresentation *rep, int idx1, int idx2)=0
Subclasses that wish to interpolate a line segment must implement this.
virtual int UpdateNode(vtkRenderer *, vtkContourRepresentation *, double *vtkNotUsed(node), int vtkNotUsed(idx))=0
The interpolator is given a chance to update the node.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86
abstract specification for renderers
Definition: vtkRenderer.h:64