VTK
dox/Filters/FlowPaths/vtkStreamLine.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkStreamLine.h
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 =========================================================================*/
00052 #ifndef __vtkStreamLine_h
00053 #define __vtkStreamLine_h
00054 
00055 #include "vtkFiltersFlowPathsModule.h" // For export macro
00056 #include "vtkStreamer.h"
00057 
00058 class VTKFILTERSFLOWPATHS_EXPORT vtkStreamLine : public vtkStreamer
00059 {
00060 public:
00061   vtkTypeMacro(vtkStreamLine,vtkStreamer);
00062   void PrintSelf(ostream& os, vtkIndent indent);
00063 
00065   static vtkStreamLine *New();
00066 
00068 
00071   vtkSetClampMacro(StepLength,double,0.000001,VTK_DOUBLE_MAX);
00072   vtkGetMacro(StepLength,double);
00074 
00075 protected:
00076   vtkStreamLine();
00077   ~vtkStreamLine() {}
00078 
00079   // Convert streamer array into vtkPolyData
00080   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00081 
00082   // the length of line primitives
00083   double StepLength;
00084 
00085 private:
00086   vtkStreamLine(const vtkStreamLine&);  // Not implemented.
00087   void operator=(const vtkStreamLine&);  // Not implemented.
00088 };
00089 
00090 #endif