VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
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
=========================================================================*/
37
#ifndef __vtkDashedStreamLine_h
38
#define __vtkDashedStreamLine_h
39
40
#include "
vtkStreamLine.h
"
41
42
class
VTK_GRAPHICS_EXPORT
vtkDashedStreamLine
:
public
vtkStreamLine
43
{
44
public
:
45
static
vtkDashedStreamLine
*
New
();
46
vtkTypeMacro(
vtkDashedStreamLine
,
vtkStreamLine
);
47
void
PrintSelf
(ostream& os,
vtkIndent
indent);
48
50
53
vtkSetClampMacro(DashFactor,
double
,0.01,1.0);
54
vtkGetMacro(DashFactor,
double
);
56
57
protected
:
58
vtkDashedStreamLine
();
59
~vtkDashedStreamLine
() {};
60
61
// Convert streamer array into vtkPolyData
62
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
63
64
// the fraction of on versus off in dash
65
double
DashFactor
;
66
67
private
:
68
vtkDashedStreamLine
(
const
vtkDashedStreamLine
&);
// Not implemented.
69
void
operator=(
const
vtkDashedStreamLine
&);
// Not implemented.
70
};
71
72
#endif
73
74
Generated on Wed May 30 2012 13:21:59 for VTK by
1.8.1