VTK
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 -------------------------------------------------------------------------*/
35 #ifndef vtkSplineGraphEdges_h
36 #define vtkSplineGraphEdges_h
37 
38 #include "vtkInfovisLayoutModule.h" // For export macro
39 #include "vtkGraphAlgorithm.h"
40 #include "vtkSmartPointer.h" // For ivars
41 
42 class vtkSpline;
43 
45 {
46 public:
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
53  virtual void SetSpline(vtkSpline* s);
56 
57  //BTX
58  enum
59  {
60  BSPLINE = 0,
61  CUSTOM
62  };
63  //ETX
64 
66 
68  vtkSetMacro(SplineType, int);
69  vtkGetMacro(SplineType, int);
71 
73 
74  vtkSetMacro(NumberOfSubdivisions, vtkIdType);
75  vtkGetMacro(NumberOfSubdivisions, vtkIdType);
77 
78 protected:
81 
82  virtual int RequestData(
86 
87  virtual unsigned long GetMTime();
88 
91 
93 
95 
96  //BTX
100  //ETX
101 
103 
104 private:
105  vtkSplineGraphEdges(const vtkSplineGraphEdges&); // Not implemented.
106  void operator=(const vtkSplineGraphEdges&); // Not implemented.
107 };
108 
109 #endif
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition: vtkGraphAlgorithm.h:54
vtkSplineGraphEdges::vtkSplineGraphEdges
vtkSplineGraphEdges()
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkSplineGraphEdges::ZSpline
vtkSmartPointer< vtkSpline > ZSpline
Definition: vtkSplineGraphEdges.h:99
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkSplineGraphEdges::YSpline
vtkSmartPointer< vtkSpline > YSpline
Definition: vtkSplineGraphEdges.h:98
vtkgl::s
GLdouble s
Definition: vtkgl.h:11594
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkSmartPointer< vtkSpline >
vtkSplineGraphEdges::NumberOfSubdivisions
vtkIdType NumberOfSubdivisions
Definition: vtkSplineGraphEdges.h:102
vtkSplineGraphEdges::GeneratePoints
void GeneratePoints(vtkGraph *g, vtkIdType e)
vtkSplineGraphEdges::~vtkSplineGraphEdges
~vtkSplineGraphEdges()
vtkSplineGraphEdges::New
static vtkSplineGraphEdges * New()
vtkGraphAlgorithm.h
vtkSplineGraphEdges::XSpline
vtkSmartPointer< vtkSpline > XSpline
Definition: vtkSplineGraphEdges.h:97
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSplineGraphEdges::GenerateBSpline
void GenerateBSpline(vtkGraph *g, vtkIdType e)
vtkSmartPointer.h
vtkSplineGraphEdges::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkSpline
spline abstract class for interpolating splines
Definition: vtkSpline.h:62
vtkSplineGraphEdges::Spline
vtkSpline * Spline
Definition: vtkSplineGraphEdges.h:92
vtkSplineGraphEdges
subsample graph edges to make smooth curves
Definition: vtkSplineGraphEdges.h:45
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkSplineGraphEdges::SetSpline
virtual void SetSpline(vtkSpline *s)
VTKINFOVISLAYOUT_EXPORT
#define VTKINFOVISLAYOUT_EXPORT
Definition: vtkInfovisLayoutModule.h:15
vtkInfovisLayoutModule.h
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkgl::g
GLboolean GLboolean g
Definition: vtkgl.h:12312
vtkSplineGraphEdges::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkSplineGraphEdges::GetMTime
virtual unsigned long GetMTime()
vtkSplineGraphEdges::SplineType
int SplineType
Definition: vtkSplineGraphEdges.h:94
vtkGraph
Base class for graph data types.
Definition: vtkGraph.h:289