Main Page | Packages | Class Hierarchy | Class List | Directories | Class Members

IDVR.VolumeRenderer.SWVolumeRenderer.CompositingModels.DvrCompositingModelSW Class Reference

#include <DvrCompositingModelSW.h>

Inheritance diagram for IDVR.VolumeRenderer.SWVolumeRenderer.CompositingModels.DvrCompositingModelSW:

IDVR.Interfaces.ICompositingModel List of all members.

Detailed Description

Class for the dvr compositing model.

Namespace: IDVR.VolumeRenderer.SWVolumeRenderer.CompositingModels

Baseclass: IDVR.Interfaces.ICompositingModel

This class blends the color and opacity values of a given raysample to obtain the final pixel color according to normal direct volume renderind compositing.

See also:
LMipCompositingModelSW - the LMip compositing model
Author:
Christopher Thurnher
Version:
1.0
Date:
02-18-2005


Public Member Functions

 DvrCompositingModelSW (void)
 Standard constructor.
 ~DvrCompositingModelSW (void)
 Standard destructor.
virtual void doCompositing (RaySample *n_RaySample)
 Blends the final intensity and opacity values of a given raysample.
virtual void doCompositingBackground (float n_BackColor __gc[])
 Blends the final pixelcolor with the given background color.
virtual void resetValues (void)
 Resets the values of the composition model.
virtual __property void set_Intensity (float n_Intensity __gc[])
 Sets the intensity array.
virtual __property void set_Opacity (float n_Opacity)
 Sets the opacity value.
virtual __property float get_Intensity (void) __gc[]
 Returns the intensity array.
virtual __property float get_Opacity (void)
 Returns the opacity value.

Private Attributes

float m_Opacity
 the opacity value
float m_Intensity __gc []
 the intensity array
float m_BackgroundOpacity
 the background opacity


Constructor & Destructor Documentation

DvrCompositingModelSW::DvrCompositingModelSW void   ) 
 

Standard constructor.

DvrCompositingModelSW::~DvrCompositingModelSW void   ) 
 

Standard destructor.


Member Function Documentation

void DvrCompositingModelSW::doCompositing RaySample n_RaySample  )  [virtual]
 

Blends the final intensity and opacity values of a given raysample.

Parameters:
n_RaySample the raysample that should be blended.

void DvrCompositingModelSW::doCompositingBackground float n_BackColor  __gc[]  )  [virtual]
 

Blends the final pixelcolor with the given background color.

Parameters:
n_BackColor the background color which should be blended.

float DvrCompositingModelSW::get_Intensity void   )  [virtual]
 

Returns the intensity array.

Returns:
The intensity array.

opacity value float DvrCompositingModelSW::get_Opacity void   )  [virtual]
 

Returns the opacity value.

Returns:
The opacity value.

void DvrCompositingModelSW::resetValues void   )  [virtual]
 

Resets the values of the composition model.

void DvrCompositingModelSW::set_Intensity float n_Intensity  __gc[]  )  [virtual]
 

Sets the intensity array.

Parameters:
n_Intensity the intensity array.

void DvrCompositingModelSW::set_Opacity float  n_Opacity  )  [virtual]
 

Sets the opacity value.

Parameters:
n_Opacity the opacity value.


The documentation for this class was generated from the following files:
Generated on Sat Apr 9 11:51:02 2005 for RayCaster wiht Importance Driven Volume Rendering (IDVR) by  doxygen 1.4.1