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