25 #ifndef vtkPSurfaceLICComposite_h 26 #define vtkPSurfaceLICComposite_h 31 #include "vtkRenderingParallelLICModule.h" 43 class vtkPPixelExtentOps;
115 double EstimateCommunicationCost(
116 const std::deque<std::deque<vtkPixelExtent> > &srcExts,
117 const std::deque<std::deque<vtkPixelExtent> > &destExts);
124 double EstimateDecompEfficiency(
125 const std::deque< std::deque<vtkPixelExtent> > &exts,
126 const std::deque< std::deque<vtkPixelExtent> > &guardExts);
132 int DecomposeScreenExtent(
133 std::deque< std::deque<vtkPixelExtent> >&newExts,
143 std::list<vtkPixelExtent> &out);
154 const std::deque< std::deque< vtkPixelExtent> > &in,
155 std::deque< std::deque< vtkPixelExtent> > &out,
160 int MakeDecompLocallyDisjoint(
161 const std::deque< std::deque< vtkPixelExtent> > &in,
162 std::deque< std::deque< vtkPixelExtent> > &out);
171 int AllGatherExtents(
172 const std::deque<vtkPixelExtent> &localExts,
173 std::deque<std::deque<vtkPixelExtent> > &remoteExts,
179 int AllReduceVectorMax(
180 const std::deque<vtkPixelExtent> &originalExts,
181 const std::deque<std::deque<vtkPixelExtent> > &newExts,
189 const std::deque<std::deque<vtkPixelExtent> > &exts,
190 std::deque<std::deque<vtkPixelExtent> > &guardExts,
191 std::deque<std::deque<vtkPixelExtent> > &disjointGuardExts,
196 vtkPPixelExtentOps *PixelOps;
205 std::deque<vtkPPixelTransfer> GatherProgram;
206 std::deque<vtkPPixelTransfer> ScatterProgram;
208 friend VTKRENDERINGPARALLELLIC_EXPORT
215 VTKRENDERINGPARALLELLIC_EXPORT
static vtkSurfaceLICComposite * New()
friend ostream & operator<<(ostream &os, vtkSurfaceLICComposite &ss)
dynamic, self-adjusting array of float
virtual void SetCommunicator(vtkPainterCommunicator *)
Set the communicator for parallel communication.
virtual int Gather(void *, int, int, vtkTextureObject *&)
Move a single buffer from the geometry decomp to the LIC decomp.
a simple class to control print indentation
virtual void SetContext(vtkOpenGLRenderWindow *)
Set the rendering context.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Internal class which encapsulates OpenGL FramebufferObject.
int AddGuardPixels(const std::deque< vtkPixelExtent > &exts, std::deque< vtkPixelExtent > &guardExts, std::deque< vtkPixelExtent > &disjointGuardExts, float *vectors)
Add guard pixels (Serial run)
static int MakeDecompDisjoint(std::deque< vtkPixelExtent > &in, std::deque< vtkPixelExtent > &out)
Make a decomposition disjoint with respect to itself.
abstracts an OpenGL texture object.
virtual vtkOpenGLRenderWindow * GetContext() override
create a window for renderers to draw into
Representation of a cartesian pixel plane and common operations on it.
This class decomposes the image space and shuffles image space data onto the new decomposition with t...
A communicator that can safely be used inside a painter.
virtual int Scatter(void *, int, int, vtkTextureObject *&)
Move a single buffer from the LIC decomp to the geometry decomp In parallel THIS IS A COLLECTIVE OPER...
virtual int BuildProgram(float *)
Build programs to move data to the new decomp In parallel THIS IS A COLLECTIVE OPERATION.
This class decomposes the image space and shuffles image space data onto the new decomposition with t...