VTK
vtkDistributedStreamTracer.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDistributedStreamTracer.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
30 #ifndef __vtkDistributedStreamTracer_h
31 #define __vtkDistributedStreamTracer_h
32 
33 #include "vtkPStreamTracer.h"
34 
36 {
37 public:
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
43 protected:
44 
47 
48  void ForwardTask(double seed[3],
49  int direction,
50  int isNewSeed,
51  int lastid,
52  int lastCellId,
53  int currentLine,
54  double* firstNormal,
55  double propagation,
56  vtkIdType numSteps);
57  int ProcessTask(double seed[3],
58  int direction,
59  int isNewSeed,
60  int lastid,
61  int lastCellId,
62  int currentLine,
63  double* firstNormal,
64  double propagation,
65  vtkIdType numSteps);
66  int ProcessNextLine(int currentLine);
67  int ReceiveAndProcessTask();
68 
69  virtual void ParallelIntegrate();
70 
71 private:
72  vtkDistributedStreamTracer(const vtkDistributedStreamTracer&); // Not implemented.
73  void operator=(const vtkDistributedStreamTracer&); // Not implemented.
74 };
75 
76 
77 #endif
78 
79