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
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
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
Erik Palmer
VTK
Commits
9b2883aa
Commit
9b2883aa
authored
9 years ago
by
Sankhesh Jhaveri
Browse files
Options
Downloads
Patches
Plain Diff
Improve documentation of new variable in vtkSmartVolumeMapper
parent
40ec94e5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Rendering/VolumeOpenGL2/vtkSmartVolumeMapper.cxx
+3
-2
3 additions, 2 deletions
Rendering/VolumeOpenGL2/vtkSmartVolumeMapper.cxx
Rendering/VolumeOpenGL2/vtkSmartVolumeMapper.h
+0
-5
0 additions, 5 deletions
Rendering/VolumeOpenGL2/vtkSmartVolumeMapper.h
with
3 additions
and
7 deletions
Rendering/VolumeOpenGL2/vtkSmartVolumeMapper.cxx
+
3
−
2
View file @
9b2883aa
...
...
@@ -52,8 +52,9 @@ vtkSmartVolumeMapper::vtkSmartVolumeMapper()
this
->
LowResGPUNecessary
=
0
;
this
->
InterpolationMode
=
VTK_RESLICE_CUBIC
;
// If the render window has a desired update rate of at least 1 frame
// per second or more, we'll consider this interactive
// If the render window has a desired update greater than or equal to the
// interactive update rate, we apply certain optimizations to ensure that the
// rendering is interactive.
this
->
InteractiveUpdateRate
=
1.0
;
// Enable checking whether the render is interactive and use the appropriate
// sample distance for rendering
...
...
This diff is collapsed.
Click to expand it.
Rendering/VolumeOpenGL2/vtkSmartVolumeMapper.h
+
0
−
5
View file @
9b2883aa
...
...
@@ -200,7 +200,6 @@ public:
double
viewUp
[
3
]
);
// Description:
// Set the rate at or above this render will be considered interactive.
// If the DesiredUpdateRate of the vtkRenderWindow that caused the Render
// falls at or above this rate, the render is considered interactive and
// the mapper may be adjusted (depending on the render mode).
...
...
@@ -219,8 +218,6 @@ public:
// AutoAdjustSampleDistances flag on the internal volume mapper. This flag
// along with InteractiveUpdateRate is useful to adjust volume mapper sample
// distance based on whether the render is interactive or still.
// Note that, if this flag is enabled,
// vtkSmartVolumeMapper::AutoAdjustSampleDistances flag is ignored.
// By default, InteractiveAdjustSampleDistances is enabled.
vtkSetClampMacro
(
InteractiveAdjustSampleDistances
,
int
,
0
,
1
);
vtkGetMacro
(
InteractiveAdjustSampleDistances
,
int
);
...
...
@@ -344,8 +341,6 @@ protected:
// AutoAdjustSampleDistances flag on the internal volume mapper. This flag
// along with InteractiveUpdateRate is useful to adjust volume mapper sample
// distance based on whether the render is interactive or still.
// Note that, if this flag is enabled,
// vtkSmartVolumeMapper::AutoAdjustSampleDistances flag is ignored.
int
InteractiveAdjustSampleDistances
;
private
:
...
...
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