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 =========================================================================*/
37 #ifndef __vtkDashedStreamLine_h
38 #define __vtkDashedStreamLine_h
39 
40 #include "vtkStreamLine.h"
41 
43 {
44 public:
45  static vtkDashedStreamLine *New();
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
50 
53  vtkSetClampMacro(DashFactor,double,0.01,1.0);
54  vtkGetMacro(DashFactor,double);
56 
57 protected:
60 
61  // Convert streamer array into vtkPolyData
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