Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Butz
VTK
Commits
08952a59
Commit
08952a59
authored
Nov 18, 2011
by
Philippe Pébay
Browse files
Compute bounds only when needed
Change-Id: I28327cf1a30a2a0d978a02bf1092313b6a751c23
parent
7b92333a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Hybrid/vtkPolarAxesActor.cxx
View file @
08952a59
...
...
@@ -450,15 +450,14 @@ double *vtkPolarAxesActor::GetBounds()
//-----------------------------------------------------------------------------
void
vtkPolarAxesActor
::
BuildAxes
(
vtkViewport
*
viewport
)
{
double
bounds
[
6
];
if
(
(
this
->
GetMTime
()
<
this
->
BuildTime
.
GetMTime
()
))
{
this
->
AutoScale
(
viewport
);
return
;
}
// Determine the bounds for possible use ( input, prop, or user-defined )
// Determine the bounds
double
bounds
[
6
];
this
->
GetBounds
(
bounds
);
// If pole coordinates are invalid, use bounds
...
...
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