VTK
dox
Filters
FlowPaths
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
();
47
vtkTypeMacro(
vtkDashedStreamLine
,
vtkStreamLine
);
48
void
PrintSelf
(ostream& os,
vtkIndent
indent);
49
51
56
vtkSetClampMacro(DashFactor,
double
,0.01,1.0);
57
vtkGetMacro(DashFactor,
double
);
59
60
protected
:
61
vtkDashedStreamLine
();
62
~vtkDashedStreamLine
() {}
63
64
// Convert streamer array into vtkPolyData
65
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
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
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
vtkStreamLine.h
vtkStreamLine
generate streamline in arbitrary dataset
Definition:
vtkStreamLine.h:55
vtkStreamLine::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkDashedStreamLine::~vtkDashedStreamLine
~vtkDashedStreamLine()
Definition:
vtkDashedStreamLine.h:62
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkStreamLine::New
static vtkStreamLine * New()
Construct object with step size set to 1.0.
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkDashedStreamLine::DashFactor
double DashFactor
Definition:
vtkDashedStreamLine.h:68
vtkDashedStreamLine
generate constant-time dashed streamline in arbitrary dataset
Definition:
vtkDashedStreamLine.h:43
vtkStreamLine::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
Generated by
1.8.16