VTK  9.3.20240418
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 
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
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.
represent the vtkContourWidget
a simple class to control print indentation
Definition: vtkIndent.h:108
maintain a list of polygonal data objects
Contour interpolator for polygonal data.
int InterpolateLine(vtkRenderer *ren, vtkContourRepresentation *rep, int idx1, int idx2) override=0
Subclasses that wish to interpolate a line segment must implement this.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
int UpdateNode(vtkRenderer *, vtkContourRepresentation *, double *vtkNotUsed(node), int vtkNotUsed(idx)) override=0
The interpolator is given a chance to update the node.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:181
abstract specification for renderers
Definition: vtkRenderer.h:172