Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ecpcitest
vtk-m
Commits
78699598
Commit
78699598
authored
Mar 11, 2021
by
Larsen, Matthew
Browse files
extend the default clipping plane
parent
eb682c79
Changes
1
Hide whitespace changes
Inline
Side-by-side
vtkm/rendering/Camera.cxx
View file @
78699598
...
...
@@ -286,7 +286,7 @@ void Camera::ResetToBounds(const vtkm::Bounds& dataBounds,
vtkm
::
Float32
diagonalLength
=
vtkm
::
Magnitude
(
totalExtent
);
this
->
SetPosition
(
center
+
directionOfProjection
*
diagonalLength
*
1.0
f
);
this
->
SetFieldOfView
(
60.0
f
);
this
->
SetClippingRange
(
0.1
f
*
diagonalLength
,
diagonalLength
*
5
.0
f
);
this
->
SetClippingRange
(
0.1
f
*
diagonalLength
,
diagonalLength
*
10
.0
f
);
// Reset for 2D camera
this
->
SetViewRange2D
(
db
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment