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

IDVR.VolumeRenderer.SWVolumeRenderer.ShadingModels.MipShadingModelSW Class Reference

#include <MipShadingModelSW.h>

Inheritance diagram for IDVR.VolumeRenderer.SWVolumeRenderer.ShadingModels.MipShadingModelSW:

IDVR.Interfaces.IShadingModel List of all members.

Detailed Description

Class for the mip shading model.

Namespace: IDVR.VolumeRenderer.SWVolumeRenderer.ShadingModels

Baseclass: IDVR.Interfaces.IShadingModel

This class calculates the color value of a given raysample according to their opacity value.

See also:
ContourShadingModelSW - the contour shading model

PhongShadingModelSW - the phong shading model

ToneShadingModelSW - the tone shading model

Author:
Christopher Thurnher
Version:
1.0
Date:
02-18-2005


Public Member Functions

 MipShadingModelSW (void)
 Standard constructor.
 MipShadingModelSW (unsigned short n_DensityScope, Color n_Col)
 Constructor.
virtual RaySampledoShading (RaySample *n_RaySample)
 Calculates the Color value for a given raysample.
__property Color get_Col (void)
 Returns the current color as Color object.

Private Attributes

unsigned short m_DensityScope
 the scope of the density values of the dataset
float m_BaseColor __gc []
 the base color


Constructor & Destructor Documentation

MipShadingModelSW::MipShadingModelSW void   ) 
 

Standard constructor.

MipShadingModelSW::MipShadingModelSW unsigned short  n_DensityScope,
Color  n_Col
 

Constructor.

Parameters:
n_DensityScope the scope of the density values of the dataset.
n_Col the base color.


Member Function Documentation

RaySample * MipShadingModelSW::doShading RaySample n_RaySample  )  [virtual]
 

Calculates the Color value for a given raysample.

Parameters:
n_RaySample the specified raysample.
Returns:
The modified raysample.

Color MipShadingModelSW::get_Col void   ) 
 

Returns the current color as Color object.

Returns:
The current color as Color object.


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