VTK
vtkContourLineInterpolator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkContourLineInterpolator.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 =========================================================================*/
32 #ifndef vtkContourLineInterpolator_h
33 #define vtkContourLineInterpolator_h
34 
35 #include "vtkInteractionWidgetsModule.h" // For export macro
36 #include "vtkObject.h"
37 
38 class vtkRenderer;
40 class vtkIntArray;
41 
42 class VTKINTERACTIONWIDGETS_EXPORT vtkContourLineInterpolator : public vtkObject
43 {
44 public:
46 
50  void PrintSelf(ostream& os, vtkIndent indent) override;
52 
58  virtual int InterpolateLine( vtkRenderer *ren,
60  int idx1, int idx2 ) = 0;
61 
69  virtual int UpdateNode( vtkRenderer *,
71  double * vtkNotUsed(node), int vtkNotUsed(idx) );
72 
88  virtual void GetSpan( int nodeIndex, vtkIntArray *nodeIndices,
90 
91  protected:
94 
95 private:
97  void operator=(const vtkContourLineInterpolator&) = delete;
98 };
99 
100 #endif
vtkContourLineInterpolator
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.
Definition: vtkContourLineInterpolator.h:43
vtkContourRepresentation
represent the vtkContourWidget
Definition: vtkContourRepresentation.h:121
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:60
vtkContourLineInterpolator::vtkContourLineInterpolator
vtkContourLineInterpolator()
vtkContourLineInterpolator::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:40
vtkIntArray
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:46
vtkContourLineInterpolator::GetSpan
virtual void GetSpan(int nodeIndex, vtkIntArray *nodeIndices, vtkContourRepresentation *rep)
Span of the interpolator.
vtkContourLineInterpolator::~vtkContourLineInterpolator
~vtkContourLineInterpolator() override
vtkObject.h
vtkContourLineInterpolator::UpdateNode
virtual int UpdateNode(vtkRenderer *, vtkContourRepresentation *, double *vtkNotUsed(node), int vtkNotUsed(idx))
The interpolator is given a chance to update the node.
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:64
vtkContourLineInterpolator::InterpolateLine
virtual int InterpolateLine(vtkRenderer *ren, vtkContourRepresentation *rep, int idx1, int idx2)=0
Subclasses that wish to interpolate a line segment must implement this.