VTK  9.3.1
vtkPolyDataContourLineInterpolator.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
13 #ifndef vtkPolyDataContourLineInterpolator_h
14 #define vtkPolyDataContourLineInterpolator_h
15 
17 #include "vtkInteractionWidgetsModule.h" // For export macro
18 
19 VTK_ABI_NAMESPACE_BEGIN
20 class vtkPolyData;
22 
23 class VTKINTERACTIONWIDGETS_EXPORT vtkPolyDataContourLineInterpolator
25 {
26 public:
28 
32  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
40  int InterpolateLine(
41  vtkRenderer* ren, vtkContourRepresentation* rep, int idx1, int idx2) override = 0;
42 
50  int UpdateNode(vtkRenderer*, vtkContourRepresentation*, double* vtkNotUsed(node),
51  int vtkNotUsed(idx)) override = 0;
52 
54 
58  vtkGetObjectMacro(Polys, vtkPolyDataCollection);
60 
61 protected:
64 
66 
67 private:
69  void operator=(const vtkPolyDataContourLineInterpolator&) = delete;
70 };
71 
72 VTK_ABI_NAMESPACE_END
73 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
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:61
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:79
represent the vtkContourWidget
a simple class to control print indentation
Definition: vtkIndent.h:28
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.
Contour interpolator for polygonal data.
maintain a list of polygonal data objects