Skip to content
Snippets Groups Projects
Commit 276e272c authored by Sankhesh Jhaveri's avatar Sankhesh Jhaveri :speech_balloon:
Browse files

Improve documentation for IndependentComponents

Describe specific features for dependent component volumes.
parent bcf077f1
No related branches found
No related tags found
No related merge requests found
......@@ -70,12 +70,17 @@ public:
// determine functionality). If IndependentComponents is Off, then you
// must have either 2 or 4 component data. For 2 component data, the
// first is passed through the first color transfer function and the
// second component is passed through the first opacity transfer function.
// Normals will be generated off of the second component. For 4 component
// second component is passed through the first scalar opacity (and
// gradient opacity) transfer function.
// Normals will be generated off of the second component. When using gradient
// based opacity modulation, the gradients are computed off of the
// second component. For 4 component
// data, the first three will directly represent RGB (no lookup table).
// The fourth component will be passed through the first scalar opacity
// transfer function for opacity. Normals will be generated from the fourth
// component.
// transfer function for opacity and first gradient opacity transfer function
// for gradient based opacity modulation. Normals will be generated from the
// fourth component. When using gradient based opacity modulation, the
// gradients are computed off of the fourth component.
vtkSetClampMacro(IndependentComponents, int, 0, 1);
vtkGetMacro(IndependentComponents, int);
vtkBooleanMacro(IndependentComponents, int);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment