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

IDVR.VolumeRenderer.SWVolumeRenderer.CompositingModels.LMipCompositingModelSW Class Reference

#include <LMipCompositingModelSW.h>

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

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:
DvrCompositingModelSW - the dvr compositing model
Author:
Christopher Thurnher
Version:
1.0
Date:
02-18-2005


Public Member Functions

 LMipCompositingModelSW (float n_Threshold, char n_ProjectionMode)
 Constructor.
 ~LMipCompositingModelSW (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.
__property bool get_LocalMaximumFound (void)
 Returns true, if a local maximum is found.
__property float get_Threshold (void)
 Returns the threshold value.
__property void set_LocalMaximumFound (bool n_LocalMaximumFound)
 Sets the localMaximumFound value.

Private Attributes

float m_Opacity
 the opacity value
float m_Intensity __gc []
 the intensity array
bool m_LocalMaximumFound
 true, if a local maximum is found
float m_Threshold
 threshold for the local maximum
short m_Density
 the density value
char m_ProjectionMode
 the projection mode


Constructor & Destructor Documentation

LMipCompositingModelSW::LMipCompositingModelSW float  n_Threshold,
char  n_ProjectionMode
 

Constructor.

LMipCompositingModelSW::~LMipCompositingModelSW void   ) 
 

Standard destructor.


Member Function Documentation

void LMipCompositingModelSW::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 LMipCompositingModelSW::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 LMipCompositingModelSW::get_Intensity void   )  [virtual]
 

Returns the intensity array.

Returns:
The intensity array.

bool LMipCompositingModelSW::get_LocalMaximumFound void   ) 
 

Returns true, if a local maximum is found.

Returns:
True, if a local maximum is found.

float LMipCompositingModelSW::get_Opacity void   )  [virtual]
 

Returns the opacity value.

Returns:
The opacity value.

float LMipCompositingModelSW::get_Threshold void   ) 
 

Returns the threshold value.

Returns:
The threshold value.

void LMipCompositingModelSW::resetValues void   )  [virtual]
 

Resets the values of the composition model.

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

Sets the intensity array.

Parameters:
n_Intensity the intensity array.

void LMipCompositingModelSW::set_LocalMaximumFound bool  n_LocalMaximumFound  ) 
 

Sets the localMaximumFound value.

Parameters:
n_LocalMaximumFound the localMaximumFound value.

void LMipCompositingModelSW::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