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
43class VTKFILTERSFLOWPATHS_EXPORT vtkDashedStreamLine : public vtkStreamLine
44{
45public:
48 void PrintSelf(ostream& os, vtkIndent indent);
49
51
56 vtkSetClampMacro(DashFactor,double,0.01,1.0);
57 vtkGetMacro(DashFactor,double);
59
60protected:
63
64 // Convert streamer array into vtkPolyData
66
67 // the fraction of on versus off in dash
68 double DashFactor;
69
70private:
71 vtkDashedStreamLine(const vtkDashedStreamLine&) VTK_DELETE_FUNCTION;
72 void operator=(const vtkDashedStreamLine&) VTK_DELETE_FUNCTION;
73};
74
75#endif // VTK_LEGACY_REMOVE
76#endif
generate constant-time dashed streamline in arbitrary dataset
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkDashedStreamLine * New()
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
generate streamline in arbitrary dataset
Definition: vtkStreamLine.h:56