00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkStreamLine.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00067 #ifndef __vtkStreamLine_h 00068 #define __vtkStreamLine_h 00069 00070 #include "vtkStreamer.h" 00071 00072 class VTK_GRAPHICS_EXPORT vtkStreamLine : public vtkStreamer 00073 { 00074 public: 00075 vtkTypeRevisionMacro(vtkStreamLine,vtkStreamer); 00076 void PrintSelf(ostream& os, vtkIndent indent); 00077 00079 static vtkStreamLine *New(); 00080 00082 00085 vtkSetClampMacro(StepLength,float,0.000001,VTK_LARGE_FLOAT); 00086 vtkGetMacro(StepLength,float); 00088 00089 protected: 00090 vtkStreamLine(); 00091 ~vtkStreamLine() {}; 00092 00093 // Convert streamer array into vtkPolyData 00094 void Execute(); 00095 00096 // the length of line primitives 00097 float StepLength; 00098 00099 private: 00100 vtkStreamLine(const vtkStreamLine&); // Not implemented. 00101 void operator=(const vtkStreamLine&); // Not implemented. 00102 }; 00103 00104 #endif 00105 00106