Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

vuTFLinear Class Reference

A simple linear transfer function. More...

#include <vuTFLinear.h>

Inheritance diagram for vuTFLinear:

Inheritance graph
[legend]
Collaboration diagram for vuTFLinear:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void addLinear (dword channels, byte density, byte width, float max_value, float min_value)
 Adds a linear tent to the transfer function.
void addLinear (dword channels, byte density, byte width, float max_value, float min_value)
 Adds a linear tent to the transfer function.

Detailed Description

A simple linear transfer function.

This transfer function lets you add tents for each of the four colour channels (rgb and alpha = opacity). The tents can be given different drop off values, and multiple additions are superimposed.

Definition at line 19 of file General/vuTFunc/vuTFLinear.h.


Member Function Documentation

void vuTFLinear::addLinear dword  channels,
byte  density,
byte  width,
float  max_value,
float  min_value
 

Adds a linear tent to the transfer function.

Parameters:
channels Specify the colour channels to add the tent to.
density The byte density to center the tent on.
width The width of the tent in each direction from the center.
max_value The value of the tent at the center, from 0 to 1.
min_value The value of the tent at the edges, from 0 to 1.

void vuTFLinear::addLinear dword  channels,
byte  density,
byte  width,
float  max_value,
float  min_value
 

Adds a linear tent to the transfer function.

Parameters:
channels Specify the colour channels to add the tent to.
density The byte density to center the tent on.
width The width of the tent in each direction from the center.
max_value The value of the tent at the center, from 0 to 1.
min_value The value of the tent at the edges, from 0 to 1.

Definition at line 4 of file General/vuTFunc/vuTFLinear.cpp.

References byte, and snapToZeroOne().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Wed Dec 15 21:22:07 2004 for vuVolume by  doxygen 1.3.9.1