25 #ifndef vtkSurfaceLICComposite_h 26 #define vtkSurfaceLICComposite_h 29 #include "vtkRenderingLICOpenGL2Module.h" 55 const std::deque<vtkPixelExtent> &blockExts,
106 {
return static_cast<int>(this->CompositeExt.size()); }
113 {
return this->GuardExt[i]; }
116 {
return this->GuardExt; }
123 {
return this->DisjointGuardExt[i]; }
126 {
return this->GuardExt; }
133 {
return this->CompositeExt[i]; }
136 {
return this->CompositeExt; }
142 {
return this->DataSetExt; }
148 {
return this->WindowExt; }
154 int InitializeCompositeExtents(
float *vectors);
203 int MakeDecompDisjoint(
204 std::deque<vtkPixelExtent> &in,
205 std::deque<vtkPixelExtent> &out);
219 int MakeDecompDisjoint(
220 const std::deque<vtkPixelExtent> &in,
221 std::deque<vtkPixelExtent> &out,
236 const std::deque<vtkPixelExtent> &exts,
238 std::vector<float> &vMax);
244 const std::deque<vtkPixelExtent> &exts,
245 std::deque<vtkPixelExtent> &guardExts,
246 std::deque<vtkPixelExtent> &disjointGuardExts,
262 float GetFudgeFactor(
int nx[2]);
std::deque< vtkPixelExtent > DisjointGuardExt
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
std::deque< vtkPixelExtent > CompositeExt
std::deque< vtkPixelExtent > GuardExt
const vtkPixelExtent & GetGuardExtent(int i=0) const
Get the extent of the domain over which to compute the LIC.
dynamic, self-adjusting array of float
vtkPixelExtent DataSetExt
virtual vtkOpenGLRenderWindow * GetContext()
const std::deque< vtkPixelExtent > & GetGuardExtents() const
const vtkPixelExtent & GetDisjointGuardExtent(int i=0) const
Get the extent of the domain over which to compute the LIC.
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.
const std::deque< vtkPixelExtent > & GetCompositeExtents() const
const vtkPixelExtent & GetWindowExtent() const
Get the whole window extent.
const std::deque< vtkPixelExtent > & GetDisjointGuardExtents() const
a simple class to control print indentation
int NumberOfAAGuardPixels
virtual void SetContext(vtkOpenGLRenderWindow *)
Set the rendering context.
void SetStrategy(int val)
int NumberOfEEGuardPixels
std::deque< vtkPixelExtent > BlockExts
abstracts an OpenGL texture object.
const vtkPixelExtent & GetDataSetExtent() const
Get the whole dataset extent (all blocks).
Representation of a cartesian pixel plane and common operations on it.
const vtkPixelExtent & GetCompositeExtent(int i=0) const
Get the extent of the domain over which to compute the LIC.
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...
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual void RestoreDefaultCommunicator()
Set the communicator to the default communicator.
friend VTKCOMMONCORE_EXPORT ostream & operator<<(ostream &os, vtkObjectBase &o)
int GetNumberOfCompositeExtents() const
Get the number of new extents assigned to this rank after the decomposition.