Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

vtkKWEExtentCalculator Class Reference

facilitates iterating over structured data. More...

#include <vtkKWEExtentCalculator.h>

Inheritance diagram for vtkKWEExtentCalculator:
Inheritance graph
[legend]
Collaboration diagram for vtkKWEExtentCalculator:
Collaboration graph
[legend]

List of all members.

Public Types

enum  ChunkDescriptions {
  XY_PLANE = VTK_XY_PLANE, YZ_PLANE = VTK_YZ_PLANE, XZ_PLANE = VTK_XZ_PLANE, XYZ_GRID = VTK_XYZ_GRID,
  DEFAULT = XYZ_GRID
}

Public Member Functions

 vtkTypeRevisionMacro (vtkKWEExtentCalculator, vtkObject)
void PrintSelf (ostream &os, vtkIndent indent)
void Begin ()
bool IsDone ()
void Next ()

virtual void SetWholeExtent (int, int, int, int, int, int)
virtual void SetWholeExtent (int[6])
virtual int * GetWholeExtent ()
virtual void GetWholeExtent (int &, int &, int &, int &, int &, int &)
virtual void GetWholeExtent (int[6])

virtual void SetChunkDescription (int)
virtual int GetChunkDescription ()

virtual void SetGhostLevels (int, int, int)
virtual void SetGhostLevels (int[3])
virtual int * GetGhostLevels ()
virtual void GetGhostLevels (int &, int &, int &)
virtual void GetGhostLevels (int[3])

virtual void SetMax3DTextureSize (int)
virtual int GetMax3DTextureSize ()

virtual void SetMaxTextureSize (int)
virtual int GetMaxTextureSize ()

virtual void SetMaxTextureMemorySizeInBytes (int)
virtual int GetMaxTextureMemorySizeInBytes ()

virtual void SetInTupleSize (int)
virtual int GetInTupleSize ()

virtual void SetOutTupleSize (int)
virtual int GetOutTupleSize ()

virtual int * GetInChunkExtent ()
virtual void GetInChunkExtent (int &, int &, int &, int &, int &, int &)
virtual void GetInChunkExtent (int[6])

virtual int * GetOutChunkExtent ()
virtual void GetOutChunkExtent (int &, int &, int &, int &, int &, int &)
virtual void GetOutChunkExtent (int[6])

Static Public Member Functions

static vtkKWEExtentCalculatorNew ()

Protected Member Functions

void ComputeChunkExtents ()

Protected Attributes

int WholeExtent [6]
int ChunkDescription
int GhostLevels [3]
int InChunkExtent [6]
int OutChunkExtent [6]
int Max3DTextureSize
int MaxTextureSize
int MaxTextureMemorySizeInBytes
int InTupleSize
int OutTupleSize
int Cursor [3]
int Max [3]
int Order [3]
int Step [3]



void LoadLimits (vtkRenderWindow *context)
 vtkKWEExtentCalculator ()
 ~vtkKWEExtentCalculator ()

Detailed Description

facilitates iterating over structured data.

vtkKWEExtentCalculator facilitates iterating over structured data. Used to compute input/output image extents.

Definition at line 36 of file vtkKWEExtentCalculator.h.


Member Enumeration Documentation

Enumerator:
XY_PLANE 
YZ_PLANE 
XZ_PLANE 
XYZ_GRID 
DEFAULT 

Definition at line 56 of file vtkKWEExtentCalculator.h.


Constructor & Destructor Documentation

vtkKWEExtentCalculator::vtkKWEExtentCalculator (  )  [protected]

Load texture limits using the context.

vtkKWEExtentCalculator::~vtkKWEExtentCalculator (  )  [protected]

Load texture limits using the context.


Member Function Documentation

static vtkKWEExtentCalculator* vtkKWEExtentCalculator::New (  )  [static]

Reimplemented from vtkObject.

vtkKWEExtentCalculator::vtkTypeRevisionMacro ( vtkKWEExtentCalculator  ,
vtkObject   
)
void vtkKWEExtentCalculator::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkObject.

virtual void vtkKWEExtentCalculator::SetWholeExtent ( int  ,
int  ,
int  ,
int  ,
int  ,
int   
) [virtual]

Input extent to split.

virtual void vtkKWEExtentCalculator::SetWholeExtent ( int  [6]  )  [virtual]

Input extent to split.

virtual int* vtkKWEExtentCalculator::GetWholeExtent (  )  [virtual]

Input extent to split.

virtual void vtkKWEExtentCalculator::GetWholeExtent ( int &  ,
int &  ,
int &  ,
int &  ,
int &  ,
int &   
) [virtual]

Input extent to split.

virtual void vtkKWEExtentCalculator::GetWholeExtent ( int  [6]  )  [virtual]

Input extent to split.

virtual void vtkKWEExtentCalculator::SetChunkDescription ( int   )  [virtual]

Rule governing how to split the data into chunks.

virtual int vtkKWEExtentCalculator::GetChunkDescription (  )  [virtual]

Rule governing how to split the data into chunks.

virtual void vtkKWEExtentCalculator::SetGhostLevels ( int  ,
int  ,
int   
) [virtual]

Set ghost levels for each pass.

virtual void vtkKWEExtentCalculator::SetGhostLevels ( int  [3]  )  [virtual]

Set ghost levels for each pass.

virtual int* vtkKWEExtentCalculator::GetGhostLevels (  )  [virtual]

Set ghost levels for each pass.

virtual void vtkKWEExtentCalculator::GetGhostLevels ( int &  ,
int &  ,
int &   
) [virtual]

Set ghost levels for each pass.

virtual void vtkKWEExtentCalculator::GetGhostLevels ( int  [3]  )  [virtual]

Set ghost levels for each pass.

virtual void vtkKWEExtentCalculator::SetMax3DTextureSize ( int   )  [virtual]

Maximum size of any dimension of a 3D texture. Initial value is 16, the minimal value of the OpenGL specifications.

virtual int vtkKWEExtentCalculator::GetMax3DTextureSize (  )  [virtual]

Maximum size of any dimension of a 3D texture. Initial value is 16, the minimal value of the OpenGL specifications.

virtual void vtkKWEExtentCalculator::SetMaxTextureSize ( int   )  [virtual]

Maximum size of any dimension of a 1D or 2D texture. Initial value is 64, the minimal value of the OpenGL specifications.

virtual int vtkKWEExtentCalculator::GetMaxTextureSize (  )  [virtual]

Maximum size of any dimension of a 1D or 2D texture. Initial value is 64, the minimal value of the OpenGL specifications.

virtual void vtkKWEExtentCalculator::SetMaxTextureMemorySizeInBytes ( int   )  [virtual]

User-defined maximum size in bytes of a texture in GPU memory. Initial value is 134217728 bytes (128*2^20=128Mb). As this ivar is a signed int, it cannot encode more than 2GB. A negative value means no limit.

virtual int vtkKWEExtentCalculator::GetMaxTextureMemorySizeInBytes (  )  [virtual]

User-defined maximum size in bytes of a texture in GPU memory. Initial value is 134217728 bytes (128*2^20=128Mb). As this ivar is a signed int, it cannot encode more than 2GB. A negative value means no limit.

virtual void vtkKWEExtentCalculator::SetInTupleSize ( int   )  [virtual]

Size of a tuple of the incoming data in bytes. Initial value is 1.

virtual int vtkKWEExtentCalculator::GetInTupleSize (  )  [virtual]

Size of a tuple of the incoming data in bytes. Initial value is 1.

virtual void vtkKWEExtentCalculator::SetOutTupleSize ( int   )  [virtual]

Size of a tuple of the output data in bytes. Initial value is 1.

virtual int vtkKWEExtentCalculator::GetOutTupleSize (  )  [virtual]

Size of a tuple of the output data in bytes. Initial value is 1.

void vtkKWEExtentCalculator::Begin (  ) 

Place the cursor on the first chunk, if any.

bool vtkKWEExtentCalculator::IsDone (  ) 

Is the iteration over?

void vtkKWEExtentCalculator::Next (  ) 

Go the next chunk, if any.

Precondition:
not_done: !IsDone()
virtual int* vtkKWEExtentCalculator::GetInChunkExtent (  )  [virtual]

Returns the extent for the input for the current piece. This will be the output extent plus the ghost levels, if any.

Precondition:
not_done: !IsDone()
virtual void vtkKWEExtentCalculator::GetInChunkExtent ( int &  ,
int &  ,
int &  ,
int &  ,
int &  ,
int &   
) [virtual]

Returns the extent for the input for the current piece. This will be the output extent plus the ghost levels, if any.

Precondition:
not_done: !IsDone()
virtual void vtkKWEExtentCalculator::GetInChunkExtent ( int  [6]  )  [virtual]

Returns the extent for the input for the current piece. This will be the output extent plus the ghost levels, if any.

Precondition:
not_done: !IsDone()
virtual int* vtkKWEExtentCalculator::GetOutChunkExtent (  )  [virtual]

Returns the extent for the output for the current piece.

Precondition:
not_done: !IsDone()
virtual void vtkKWEExtentCalculator::GetOutChunkExtent ( int &  ,
int &  ,
int &  ,
int &  ,
int &  ,
int &   
) [virtual]

Returns the extent for the output for the current piece.

Precondition:
not_done: !IsDone()
virtual void vtkKWEExtentCalculator::GetOutChunkExtent ( int  [6]  )  [virtual]

Returns the extent for the output for the current piece.

Precondition:
not_done: !IsDone()
void vtkKWEExtentCalculator::LoadLimits ( vtkRenderWindow context  ) 

Load texture limits using the context.

void vtkKWEExtentCalculator::ComputeChunkExtents (  )  [protected]

Member Data Documentation

Definition at line 138 of file vtkKWEExtentCalculator.h.

Definition at line 139 of file vtkKWEExtentCalculator.h.

Definition at line 140 of file vtkKWEExtentCalculator.h.

Definition at line 141 of file vtkKWEExtentCalculator.h.

Definition at line 142 of file vtkKWEExtentCalculator.h.

Definition at line 144 of file vtkKWEExtentCalculator.h.

Definition at line 145 of file vtkKWEExtentCalculator.h.

Definition at line 146 of file vtkKWEExtentCalculator.h.

Definition at line 147 of file vtkKWEExtentCalculator.h.

Definition at line 148 of file vtkKWEExtentCalculator.h.

int vtkKWEExtentCalculator::Cursor[3] [protected]

Definition at line 152 of file vtkKWEExtentCalculator.h.

int vtkKWEExtentCalculator::Max[3] [protected]

Definition at line 153 of file vtkKWEExtentCalculator.h.

int vtkKWEExtentCalculator::Order[3] [protected]

Definition at line 154 of file vtkKWEExtentCalculator.h.

int vtkKWEExtentCalculator::Step[3] [protected]

Definition at line 157 of file vtkKWEExtentCalculator.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines