VTK  9.3.1
vtkContourLineInterpolator.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
20 #ifndef vtkContourLineInterpolator_h
21 #define vtkContourLineInterpolator_h
22 
23 #include "vtkInteractionWidgetsModule.h" // For export macro
24 #include "vtkObject.h"
25 
26 VTK_ABI_NAMESPACE_BEGIN
27 class vtkRenderer;
29 class vtkIntArray;
30 
31 class VTKINTERACTIONWIDGETS_EXPORT vtkContourLineInterpolator : public vtkObject
32 {
33 public:
35 
39  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
47  virtual int InterpolateLine(
48  vtkRenderer* ren, vtkContourRepresentation* rep, int idx1, int idx2) = 0;
49 
57  virtual int UpdateNode(
58  vtkRenderer*, vtkContourRepresentation*, double* vtkNotUsed(node), int vtkNotUsed(idx));
59 
75  virtual void GetSpan(int nodeIndex, vtkIntArray* nodeIndices, vtkContourRepresentation* rep);
76 
77 protected:
79  ~vtkContourLineInterpolator() override;
80 
81 private:
83  void operator=(const vtkContourLineInterpolator&) = delete;
84 };
85 
86 VTK_ABI_NAMESPACE_END
87 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:51
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract specification for renderers
Definition: vtkRenderer.h:61
represent the vtkContourWidget
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:34
a simple class to control print indentation
Definition: vtkIndent.h:28
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.