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

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 =========================================================================*/
00041 #ifndef __vtkDistributedStreamTracer_h
00042 #define __vtkDistributedStreamTracer_h
00043 
00044 #include "vtkPStreamTracer.h"
00045 
00046 class VTK_PARALLEL_EXPORT vtkDistributedStreamTracer : public vtkPStreamTracer
00047 {
00048 public:
00049   vtkTypeRevisionMacro(vtkDistributedStreamTracer,vtkPStreamTracer);
00050   void PrintSelf(ostream& os, vtkIndent indent);
00051 
00052   static vtkDistributedStreamTracer *New();
00053 
00054 protected:
00055 
00056   vtkDistributedStreamTracer();
00057   ~vtkDistributedStreamTracer();
00058 
00059   void ForwardTask(double seed[3], 
00060                    int direction, 
00061                    int isNewSeed, 
00062                    int lastid, 
00063                    int lastCellId,
00064                    int currentLine,
00065                    double* firstNormal);
00066   int ProcessTask(double seed[3], 
00067                   int direction, 
00068                   int isNewSeed, 
00069                   int lastid, 
00070                   int lastCellId,
00071                   int currentLine,
00072                   double* firstNormal);
00073   int ProcessNextLine(int currentLine);
00074   int ReceiveAndProcessTask();
00075 
00076   virtual void ParallelIntegrate();
00077 
00078 private:
00079   vtkDistributedStreamTracer(const vtkDistributedStreamTracer&);  // Not implemented.
00080   void operator=(const vtkDistributedStreamTracer&);  // Not implemented.
00081 };
00082 
00083 
00084 #endif
00085 
00086