VTK
vtkPolyLineSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPolyLineSource.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 vtkPolyLineSource_h
26 #define vtkPolyLineSource_h
27 
28 #include "vtkFiltersSourcesModule.h" // For export macro
29 #include "vtkPolyDataAlgorithm.h"
30 
31 class vtkPoints;
32 
34 {
35 public:
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41 
42  void SetNumberOfPoints(vtkIdType numPoints);
45 
47  void Resize(vtkIdType numPoints);
48 
50  void SetPoint(vtkIdType id, double x, double y, double z);
51 
53 
57 
59 
61  vtkSetMacro(Closed, int);
62  vtkGetMacro(Closed, int);
63  vtkBooleanMacro(Closed, int);
65 
66 protected:
69 
71 
73 
74  int Closed;
75 
76 private:
77  vtkPolyLineSource(const vtkPolyLineSource&); // Not implemented.
78  void operator=(const vtkPolyLineSource&); // Not implemented.
79 };
80 
81 #endif
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:39
vtkgl::z
GLdouble GLdouble z
Definition: vtkgl.h:11754
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkPolyLineSource::vtkPolyLineSource
vtkPolyLineSource()
vtkPolyLineSource::SetPoints
void SetPoints(vtkPoints *points)
vtkPolyLineSource::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkPolyLineSource::SetPoint
void SetPoint(vtkIdType id, double x, double y, double z)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkPolyLineSource::SetNumberOfPoints
void SetNumberOfPoints(vtkIdType numPoints)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkgl::x
GLint GLint GLint GLint GLint x
Definition: vtkgl.h:11318
vtkFiltersSourcesModule.h
vtkgl::points
GLsizei const GLfloat * points
Definition: vtkgl.h:14786
vtkPolyLineSource::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkPolyDataAlgorithm.h
vtkPolyLineSource::New
static vtkPolyLineSource * New()
VTKFILTERSSOURCES_EXPORT
#define VTKFILTERSSOURCES_EXPORT
Definition: vtkFiltersSourcesModule.h:15
vtkPolyLineSource::Resize
void Resize(vtkIdType numPoints)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkPolyLineSource::GetNumberOfPoints
vtkIdType GetNumberOfPoints()
vtkPolyLineSource
create a poly line from a list of input points
Definition: vtkPolyLineSource.h:34
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkPolyLineSource::Points
vtkPoints * Points
Definition: vtkPolyLineSource.h:72
vtkgl::y
GLint GLint GLint GLint GLint GLint y
Definition: vtkgl.h:11318
vtkPolyLineSource::~vtkPolyLineSource
~vtkPolyLineSource()
vtkPolyLineSource::Closed
int Closed
Definition: vtkPolyLineSource.h:74
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:44