VTK
vtkDashedStreamLine.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDashedStreamLine.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 =========================================================================*/
35 #ifndef vtkDashedStreamLine_h
36 #define vtkDashedStreamLine_h
37 
38 #include "vtkFiltersFlowPathsModule.h" // For export macro
39 #include "vtkStreamLine.h"
40 
41 #ifndef VTK_LEGACY_REMOVE
42 
43 class VTKFILTERSFLOWPATHS_EXPORT vtkDashedStreamLine : public vtkStreamLine
44 {
45 public:
46  static vtkDashedStreamLine *New();
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
51 
56  vtkSetClampMacro(DashFactor,double,0.01,1.0);
57  vtkGetMacro(DashFactor,double);
59 
60 protected:
63 
64  // Convert streamer array into vtkPolyData
66 
67  // the fraction of on versus off in dash
68  double DashFactor;
69 
70 private:
71  vtkDashedStreamLine(const vtkDashedStreamLine&) VTK_DELETE_FUNCTION;
72  void operator=(const vtkDashedStreamLine&) VTK_DELETE_FUNCTION;
73 };
74 
75 #endif // VTK_LEGACY_REMOVE
76 #endif
Store vtkAlgorithm input/output information.
generate constant-time dashed streamline in arbitrary dataset
static vtkStreamLine * New()
Construct object with step size set to 1.0.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
generate streamline in arbitrary dataset
Definition: vtkStreamLine.h:55
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.