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

IDVR.VolumeRenderer.SWVolumeRenderer.IDVRCompositingModels.IDVRMImPCompositingModelSW Class Reference

#include <IDVRMImPCompositingModelSW.h>

Inheritance diagram for IDVR.VolumeRenderer.SWVolumeRenderer.IDVRCompositingModels.IDVRMImPCompositingModelSW:

IDVR.Interfaces.IIDVRCompositingModel List of all members.

Detailed Description

Class for the maximum importance driven volume rendering.

Namespace: IDVR.VolumeRenderer.SWVolumeRenderer.IDVRCompositingModels

Baseclass: IDVR.Interfaces.IIDVRCompositingModel

This class does maximum importance driven volume rendering. To those raysamples, that have the objectID with the maximum importance along a given ray it assigns the sparseness value 1, to all other raysamples it assigns the value 0. It also contains a IDVRModulationModel, which modifies the raysamples of the ray with a certain method.

See also:
IDVR.VolumeRenderer.SWVolumeRenderer.IDVRModulationModels.IDVRColAndOpModulatorSW - the color and opacity modulator.
Author:
Christopher Thurnher
Version:
1.0
Date:
02-18-2005


Public Member Functions

 IDVRMImPCompositingModelSW (void)
 This is the standard constructor.
 IDVRMImPCompositingModelSW (IIDVRModulationModel *n_IIDVRModulator)
 Constuctor.
 IDVRMImPCompositingModelSW (IIDVRModulationModel *n_IIDVRModulator, double n_CountersinkSlope, double n_GradientScaleFactor)
 Constuctor.
 ~IDVRMImPCompositingModelSW (void)
 Standard destuctor.
virtual void doCompositing (void)
 Assigns the level of sparseness hashtable.
virtual RaySamplemodifyRaySample (RaySample *n_RaySample)
 Calls the modifyRaySample method of the IDVRModulation interface.
virtual void setFootprintArrayList (ArrayList *n_FootprintArrayList)
 Sets the objectID list.
IIDVRModulationModelgetIIDVRModulationModel (void)
 Returns the IDVRModulation interface.
void setIIDVRModulatonModel (IIDVRModulationModel *n_IIDVRModulationModel)
 Sets the IDVRModulation interface.
void setCountersinkSlope (double n_CountersinkSlope)
 Sets the countersink slope.
void setGradientScaleFactor (double n_GradientScaleFactor)
 Sets the gradient scalefactor.
double getCountersinkSlope (void)
 Returns the countersink slope.
double getGradientScaleFactor (void)
 Returns the gradient scalefactor.

Private Attributes

IIDVRModulationModelm_IIDVRModulatior
 Does the modulation of the raysample after the compositing.
ArrayList * m_FootprintArrayList
 List of objectIDs.
Hashtable * m_LevelsOfSparseness
 Level of Sparseness.
double m_CountersinkSlope
 Slope of the countersink geometry.
double m_GradientScaleFactor
 Factor of which the gradients on the countersink should be scaled.


Constructor & Destructor Documentation

IDVRMImPCompositingModelSW::IDVRMImPCompositingModelSW void   ) 
 

This is the standard constructor.

This standard constructor initialzed all elements with zero, exept the gradientScaleFactor with 1.

IDVRMImPCompositingModelSW::IDVRMImPCompositingModelSW IIDVRModulationModel n_IIDVRModulator  ) 
 

Constuctor.

Parameters:
n_IIDVRModulator an IDVRModulation interface.

IDVRMImPCompositingModelSW::IDVRMImPCompositingModelSW IIDVRModulationModel n_IIDVRModulator,
double  n_CountersinkSlope,
double  n_GradientScaleFactor
 

Constuctor.

Parameters:
n_IIDVRModulator an IDVRModulation interface.
n_CountersinkSlope the countersink slope.
n_GradientScaleFactor the gradient scalefactor.

IDVRMImPCompositingModelSW::~IDVRMImPCompositingModelSW void   ) 
 

Standard destuctor.


Member Function Documentation

void IDVRMImPCompositingModelSW::doCompositing void   )  [virtual]
 

Assigns the level of sparseness hashtable.

double IDVRMImPCompositingModelSW::getCountersinkSlope void   ) 
 

Returns the countersink slope.

Returns:
The Icountersink slope.

double IDVRMImPCompositingModelSW::getGradientScaleFactor void   ) 
 

Returns the gradient scalefactor.

Returns:
The gradient scalefactor.

IIDVRModulationModel * IDVRMImPCompositingModelSW::getIIDVRModulationModel void   ) 
 

Returns the IDVRModulation interface.

Returns:
The IDVRModulation interface.

RaySample * IDVRMImPCompositingModelSW::modifyRaySample RaySample n_RaySample  )  [virtual]
 

Calls the modifyRaySample method of the IDVRModulation interface.

Parameters:
n_RaySample the raysample that should be modified.

void IDVRMImPCompositingModelSW::setCountersinkSlope double  n_CountersinkSlope  ) 
 

Sets the countersink slope.

Parameters:
n_CountersinkSlope the countersink slope.

void IDVRMImPCompositingModelSW::setFootprintArrayList ArrayList *  n_FootprintArrayList  )  [virtual]
 

Sets the objectID list.

Parameters:
n_FootprintArrayList the objectID list.

void IDVRMImPCompositingModelSW::setGradientScaleFactor double  n_GradientScaleFactor  ) 
 

Sets the gradient scalefactor.

Parameters:
n_GradientScaleFactor the gradient scalefactor.

void IDVRMImPCompositingModelSW::setIIDVRModulatonModel IIDVRModulationModel n_IIDVRModulationModel  ) 
 

Sets the IDVRModulation interface.

Parameters:
n_IIDVRModulationModel the IDVRModulation interface.


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