VTK  9.1.0
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
29#include "vtkInteractionWidgetsModule.h" // For export macro
30
31class vtkPolyData;
33
34class VTKINTERACTIONWIDGETS_EXPORT vtkPolyDataContourLineInterpolator
36{
37public:
39
43 void PrintSelf(ostream& os, vtkIndent indent) override;
45
52 vtkRenderer* ren, vtkContourRepresentation* rep, int idx1, int idx2) override = 0;
53
61 int UpdateNode(vtkRenderer*, vtkContourRepresentation*, double* vtkNotUsed(node),
62 int vtkNotUsed(idx)) override = 0;
63
65
69 vtkGetObjectMacro(Polys, vtkPolyDataCollection);
71
72protected:
75
77
78private:
80 void operator=(const vtkPolyDataContourLineInterpolator&) = delete;
81};
82
83#endif
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.
represent the vtkContourWidget
a simple class to control print indentation
Definition: vtkIndent.h:113
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:195
abstract specification for renderers
Definition: vtkRenderer.h:173