SliceRenderer Class Reference
A slicerenderer renders a slice of the data.
More...
#include <SliceRenderer.h>
Inheritance diagram for SliceRenderer:
[legend]Collaboration diagram for SliceRenderer:
[legend]List of all members.
Detailed Description
A slicerenderer renders a slice of the data.
It is constructed using a reference to a data class, which has to outlive the renderer.
It renders one slice of data; which one to render is specified with setAxis and setPosition. This position is the one to be held constant.
Member Enumeration Documentation
Constructor & Destructor Documentation
SliceRenderer::SliceRenderer |
( |
Data & |
aData |
) |
|
|
SliceRenderer::~SliceRenderer |
( |
|
) |
|
|
Member Function Documentation
void SliceRenderer::calcCoords |
( |
|
) |
[private] |
|
Size SliceRenderer::getImageSize |
( |
|
) |
const [virtual] |
|
|
Gets the intrinsic size of the image per the current settings.
Implements ARender. |
Color SliceRenderer::getPixelColor |
( |
unsigned int |
x, |
|
|
unsigned int |
y |
|
) |
[virtual] |
|
|
Gets the color of a specified screen pixel.
Implements ARender. |
unsigned int SliceRenderer::getPosition |
( |
|
) |
const |
|
unsigned int SliceRenderer::maxpos |
( |
|
) |
const |
|
void SliceRenderer::render |
( |
unsigned char * |
buffer |
) |
[virtual] |
|
|
Render the image into a provided buffer, in RGBA (native-endian) format.
Buffer must be of size getImageSize.width() * getImageSize.height() * 4.
Implements ARender. |
void SliceRenderer::setAxis |
( |
Axis |
newAxis |
) |
|
|
void SliceRenderer::setPosition |
( |
unsigned int |
aPos |
) |
|
|
Member Data Documentation
The documentation for this class was generated from the following files:
Generated on Mon Dec 19 00:13:46 2005 for Visualization by
1.4.5