VTK  9.2.6
vtkSplineGraphEdges.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkSplineGraphEdges.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=========================================================================*/
15/*-------------------------------------------------------------------------
16 Copyright 2008 Sandia Corporation.
17 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18 the U.S. Government retains certain rights in this software.
19-------------------------------------------------------------------------*/
32
33#ifndef vtkSplineGraphEdges_h
34#define vtkSplineGraphEdges_h
35
36#include "vtkGraphAlgorithm.h"
37#include "vtkInfovisLayoutModule.h" // For export macro
38#include "vtkSmartPointer.h" // For ivars
39
40class vtkSpline;
41
42class VTKINFOVISLAYOUT_EXPORT vtkSplineGraphEdges : public vtkGraphAlgorithm
43{
44public:
47 void PrintSelf(ostream& os, vtkIndent indent) override;
48
50
53 virtual void SetSpline(vtkSpline* s);
54 vtkGetObjectMacro(Spline, vtkSpline);
56
57 enum
58 {
61 };
62
64
69 vtkSetMacro(SplineType, int);
70 vtkGetMacro(SplineType, int);
72
74
80
81protected:
84
86
88
91
93
95
99
101
102private:
104 void operator=(const vtkSplineGraphEdges&) = delete;
105};
106
107#endif
Base class for graph data types.
Definition vtkGraph.h:290
a simple class to control print indentation
Definition vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Hold a reference to a vtkObjectBase instance.
~vtkSplineGraphEdges() override
vtkSmartPointer< vtkSpline > YSpline
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void GeneratePoints(vtkGraph *g, vtkIdType e)
void GenerateBSpline(vtkGraph *g, vtkIdType e)
vtkMTimeType GetMTime() override
Return this object's modified time.
virtual void SetSpline(vtkSpline *s)
If SplineType is CUSTOM, uses this spline.
static vtkSplineGraphEdges * New()
vtkSmartPointer< vtkSpline > XSpline
vtkSmartPointer< vtkSpline > ZSpline
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
spline abstract class for interpolating splines
Definition vtkSpline.h:63
int vtkIdType
Definition vtkType.h:332
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:287