Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mathieu Westphal (Kitware)
VTK
Commits
276e272c
Commit
276e272c
authored
9 years ago
by
Sankhesh Jhaveri
Browse files
Options
Downloads
Patches
Plain Diff
Improve documentation for IndependentComponents
Describe specific features for dependent component volumes.
parent
bcf077f1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Rendering/Core/vtkVolumeProperty.h
+9
-4
9 additions, 4 deletions
Rendering/Core/vtkVolumeProperty.h
with
9 additions
and
4 deletions
Rendering/Core/vtkVolumeProperty.h
+
9
−
4
View file @
276e272c
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment