VTK
dox/Filters/FlowPaths/vtkStreaklineFilter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkStreaklineFilter.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 =========================================================================*/
00028 #ifndef __vtkStreaklineFilter_h
00029 #define __vtkStreaklineFilter_h
00030 
00031 #include "vtkFiltersFlowPathsModule.h" // For export macro
00032 #include "vtkSmartPointer.h" // For protected ivars.
00033 #include "vtkParticleTracerBase.h"
00034 
00035 class VTKFILTERSFLOWPATHS_EXPORT StreaklineFilterInternal
00036 {
00037 public:
00038   StreaklineFilterInternal():Filter(NULL){}
00039   void Initialize(vtkParticleTracerBase* filter);
00040   virtual ~StreaklineFilterInternal(){}
00041   virtual int OutputParticles(vtkPolyData* poly);
00042   void Finalize();
00043   void Reset();
00044 private:
00045   vtkParticleTracerBase* Filter;
00046 
00047 };
00048 
00049 
00050 class VTKFILTERSFLOWPATHS_EXPORT vtkStreaklineFilter: public vtkParticleTracerBase
00051 {
00052  public:
00053   vtkTypeMacro(vtkStreaklineFilter,vtkParticleTracerBase)
00054   void PrintSelf(ostream& os, vtkIndent indent);
00055 
00056   static vtkStreaklineFilter *New();
00057 
00058  protected:
00059   vtkStreaklineFilter();
00060   ~vtkStreaklineFilter(){}
00061   vtkStreaklineFilter(const vtkStreaklineFilter&);  // Not implemented.
00062   void operator=(const vtkStreaklineFilter&);  // Not implemented.
00063   virtual int OutputParticles(vtkPolyData* poly);
00064   virtual void Finalize();
00065 
00066   StreaklineFilterInternal It;
00067 };
00068 
00069 
00070 #endif