IDVR.Interfaces.IRenderer Interface Reference
#include <IRenderer.h>
Inheritance diagram for IDVR.Interfaces.IRenderer:
Detailed Description
Interface for the renderer.
namespace: IDVR.Interfaces
This interface provides methods to render the scene. Each renderer consists of three parts. the first one is a classification model. It assigns calculates an opacity value for a given raysample. The second one is a shading model which calculates a color value for a given raysample. At last, the compositing model calculates the final color and opacity values by blending the new color and opacity of a raysample with the already calcultaed ones.
- See also:
- IDVR.VolumeRenderer.SWVolumeRenderer.ClassificationModels.LinearClassificationModelSW - the linear classification model.
IDVR.VolumeRenderer.SWVolumeRenderer.ClassificationModels.TFClassificationModelSW - the transfer function classification model.
IDVR.VolumeRenderer.SWVolumeRenderer.ShadingModels.ContourShadingModelSW - the contour shading model
IDVR.VolumeRenderer.SWVolumeRenderer.ShadingModels.MipShadingModelSW - the mip shading model
IDVR.VolumeRenderer.SWVolumeRenderer.ShadingModels.PhongShadingModelSW - the phong shading model
IDVR.VolumeRenderer.SWVolumeRenderer.ShadingModels.ToneShadingModelSW - the tone shading model
IDVR.VolumeRenderer.SWVolumeRenderer.CompositingModels.DvrCompositingModelSW - the dvr compositing model
IDVR.VolumeRenderer.SWVolumeRenderer.CompositingModels.LMipCompositingModelSW - the LMip compositing model
- Author:
- Christopher Thurnher
- Version:
- 1.0
- Date:
- 02-19-2005
Public member function:
-
RaySample* doClassification(RaySample *n_RaySample)
Calculates the opacity value for a given raysample.
- Parameters:
-
| n_RaySample | the given raysample.
|
- Returns:
- The modified raysample.
-
RaySample* doShading(RaySample *n_RaySample)
Calculates the intensity value for a given raysample.
- Parameters:
-
| n_RaySample | the given raysample.
|
- Returns:
- The modified raysample.
-
void doCompositing(RaySample *n_RaySample)
Blends the final intensity and opacity values of a given raysample.
- Parameters:
-
| n_RaySample | the given raysample.
|
- Returns:
- The modified raysample.
-
void doCompositingBackground(float n_BackColor __gc[])
Blends the final pixelcolor with the given background color.
- Parameters:
-
| n_BackColor | the background color.
|
-
void setClassificator(IClassificationModel *n_IClassificator)
Sets the classification model.
- Parameters:
-
| n_IClassificator | the classification model.
|
-
void setShader(IShadingModel *n_IShader)
Sets the shading model.
- Parameters:
-
| n_IShader | the shading model.
|
-
void setCompositor(ICompositingModel *n_ICompositor)
Sets the composition model.
- Parameters:
-
| n_ICompositor | the composition model.
|
-
IClassificationModel* getClassificator(void)
Returns the classification model.
- Returns:
- The classification model.
-
IShadingModel* getShader(void)
Returns the shading model.
- Returns:
- The shading model.
-
ICompositingModel* getCompositor(void)
Returns the composition model.
- Returns:
- The composition model.
-
bool need_GradientEstimation(void)
Returns true, if gradinet estimation is needed.
- Returns:
- True, if gradinet estimation is needed.
-
void reset_Compositor(void)
Resets the values of the composition model.
-
float getIntensity(void) __gc[]
Returns the current intensity array.
- Returns:
- The current intensity array.
-
float getOpacity(void)
Returns the current opacity value.
- Returns:
- The current opacity value.
-
void setRenderMode(char n_RenderMode)
Sets the render mode.
- Parameters:
-
| n_RenderMode | the render mode.
|
-
char getRenderMode(void)
Returns the render mode.
- Returns:
- The render mode.
The documentation for this interface was generated from the following file:
- Eigene Dateien/Visual Studio Projects/IDVR/IRenderer.h
Generated on Sat Apr 9 11:51:00 2005 for RayCaster wiht Importance Driven Volume Rendering (IDVR) by
1.4.1