#include <vtkPVCompositeUtilities.h>
Public Member Functions | |
vtkTypeRevisionMacro (vtkPVCompositeUtilities, vtkObject) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkPVCompositeBuffer * | NewCompositeBuffer (int numPixels) |
unsigned long | GetTotalMemoryUsage () |
vtkFloatArray * | NewFloatArray (int numTuples, int numComponents) |
vtkUnsignedCharArray * | NewUnsignedCharArray (int numTuples, int numComponents) |
vtkPVCompositeBuffer * | NewCompositeBuffer (vtkUnsignedCharArray *pData, vtkFloatArray *zData) |
vtkPVCompositeBuffer * | ReceiveNewBuffer (vtkMultiProcessController *controller, int otherProc, int tag) |
virtual void | SetMaximumMemoryUsage (unsigned long) |
virtual unsigned long | GetMaximumMemoryUsage () |
Static Public Member Functions | |
vtkPVCompositeUtilities * | New () |
int | GetCompressedLength (vtkFloatArray *zIn) |
void | Uncompress (vtkPVCompositeBuffer *inBuf, vtkUnsignedCharArray *pOut) |
void | CompositeImagePair (vtkPVCompositeBuffer *inBuf1, vtkPVCompositeBuffer *inBuf2, vtkPVCompositeBuffer *outBuf) |
void | MagnifyBuffer (vtkDataArray *in, vtkDataArray *out, int inWinSize[2], int factor) |
void | SendBuffer (vtkMultiProcessController *controller, vtkPVCompositeBuffer *buf, int otherProc, int tag) |
void | Compress (vtkFloatArray *zIn, vtkUnsignedCharArray *pIn, vtkPVCompositeBuffer *outBuf) |
int | GetCompositedLength (vtkPVCompositeBuffer *b1, vtkPVCompositeBuffer *b2) |
Protected Member Functions | |
vtkPVCompositeUtilities () | |
~vtkPVCompositeUtilities () | |
int | RemoveOldestUnused (vtkCollection *arrayCollection) |
Protected Attributes | |
vtkCollection * | FloatArrayCollection |
vtkCollection * | UnsignedCharArrayCollection |
unsigned long | MaximumMemoryUsage |
unsigned long | FloatMemoryUsage |
unsigned long | UnsignedCharMemoryUsage |
This is going to handle buffer management, compressing buffers and compositing buffer pairs. ......
Definition at line 38 of file vtkPVCompositeUtilities.h.
|
|
|
|
|
|
|
|
|
|
|
Get a data array of the specified size and type. This will be used to get z and color buffers. |
|
Get a data array of the specified size and type. This will be used to get z and color buffers. |
|
This will return a special object to hold a compressed buffer. |
|
This is used to create a buffer when not using compositing. |
|
Send a buffer in one easy call. |
|
Receive a buffer in one easy call. The caller is responsible for deleting the returned buffer. |
|
I am granting access to these methods and making them static So I can create a TileDisplayCompositer which uses compression. |
|
This method predicts the length of a compressed buffer. It is used to get the best size array for compressed buffer. |
|
|
|
This method returns a conservative guess at the output length after two bufferes are composited. |
|
|
|
|
|
The maximum amount of memory (kB) that the buffers can use. If this value is set too low, then memory will be reallocated as needed. |
|
The maximum amount of memory (kB) that the buffers can use. If this value is set too low, then memory will be reallocated as needed. |
|
Access for debugging purposes. |
|
|
|
Definition at line 118 of file vtkPVCompositeUtilities.h. |
|
Definition at line 119 of file vtkPVCompositeUtilities.h. |
|
Definition at line 121 of file vtkPVCompositeUtilities.h. |
|
Definition at line 122 of file vtkPVCompositeUtilities.h. |
|
Definition at line 123 of file vtkPVCompositeUtilities.h. |