00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkStreamLine.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00049 #ifndef __vtkStreamLine_h 00050 #define __vtkStreamLine_h 00051 00052 #include "vtkStreamer.h" 00053 00054 class VTK_GRAPHICS_EXPORT vtkStreamLine : public vtkStreamer 00055 { 00056 public: 00057 vtkTypeRevisionMacro(vtkStreamLine,vtkStreamer); 00058 void PrintSelf(ostream& os, vtkIndent indent); 00059 00061 static vtkStreamLine *New(); 00062 00064 00067 vtkSetClampMacro(StepLength,double,0.000001,VTK_DOUBLE_MAX); 00068 vtkGetMacro(StepLength,double); 00070 00071 protected: 00072 vtkStreamLine(); 00073 ~vtkStreamLine() {}; 00074 00075 // Convert streamer array into vtkPolyData 00076 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00077 00078 // the length of line primitives 00079 double StepLength; 00080 00081 private: 00082 vtkStreamLine(const vtkStreamLine&); // Not implemented. 00083 void operator=(const vtkStreamLine&); // Not implemented. 00084 }; 00085 00086 #endif