Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Parallel/vtkDistributedStreamTracer.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkDistributedStreamTracer.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 =========================================================================*/
00031 #ifndef __vtkDistributedStreamTracer_h
00032 #define __vtkDistributedStreamTracer_h
00033 
00034 #include "vtkPStreamTracer.h"
00035 
00036 class VTK_PARALLEL_EXPORT vtkDistributedStreamTracer : public vtkPStreamTracer
00037 {
00038 public:
00039   vtkTypeRevisionMacro(vtkDistributedStreamTracer,vtkPStreamTracer);
00040   void PrintSelf(ostream& os, vtkIndent indent);
00041 
00042   static vtkDistributedStreamTracer *New();
00043 
00044 protected:
00045 
00046   vtkDistributedStreamTracer();
00047   ~vtkDistributedStreamTracer();
00048 
00049   void ForwardTask(double seed[3], 
00050                    int direction, 
00051                    int isNewSeed, 
00052                    int lastid, 
00053                    int lastCellId,
00054                    int currentLine,
00055                    double* firstNormal);
00056   int ProcessTask(double seed[3], 
00057                   int direction, 
00058                   int isNewSeed, 
00059                   int lastid, 
00060                   int lastCellId,
00061                   int currentLine,
00062                   double* firstNormal);
00063   int ProcessNextLine(int currentLine);
00064   int ReceiveAndProcessTask();
00065 
00066   virtual void ParallelIntegrate();
00067 
00068 private:
00069   vtkDistributedStreamTracer(const vtkDistributedStreamTracer&);  // Not implemented.
00070   void operator=(const vtkDistributedStreamTracer&);  // Not implemented.
00071 };
00072 
00073 
00074 #endif
00075 
00076