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
cade9cea
Commit
cade9cea
authored
Nov 18, 2011
by
Philippe Pébay
Browse files
Tick locatoion (for polar axis only) always will be TICKS_BOTH
Change-Id: I0a81d7d7ddb9f8feb7dcee67bf22b412d6a7e42b
parent
ebddc51d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Hybrid/vtkPolarAxesActor.cxx
View file @
cade9cea
...
...
@@ -102,9 +102,6 @@ void vtkPolarAxesActor::PrintSelf( ostream& os, vtkIndent indent )
os
<<
indent
<<
"Polar Arcs Visibility: "
<<
(
this
->
PolarArcsVisibility
?
"On"
:
"Off"
)
<<
endl
;
os
<<
indent
<<
"Tick Location: "
<<
this
->
TickLocation
<<
endl
;
}
//-----------------------------------------------------------------------------
...
...
@@ -205,9 +202,6 @@ vtkPolarAxesActor::vtkPolarAxesActor() : vtkActor()
axis
->
GetTitleActor
()
->
SetScreenOffset
(
.67
*
offset
);
}
// for ( int i = 0; i < VTK_MAXIMUM_NUMBER_OF_RADIAL_AXES; ++ i )
// Default tick location, defined in vtkAxisActor
this
->
TickLocation
=
VTK_TICKS_BOTH
;
// Create and set polar arcs and ancillary objects, with default color white
this
->
PolarArcs
=
vtkPolyData
::
New
();
this
->
PolarArcsMapper
=
vtkPolyDataMapper
::
New
();
...
...
@@ -506,7 +500,7 @@ void vtkPolarAxesActor::BuildAxes( vtkViewport *viewport )
// Set polar axis ticks (major only)
axis
->
SetTickVisibility
(
this
->
PolarTickVisibility
);
axis
->
SetTickLocation
(
this
->
TickLocation
);
axis
->
SetTickLocation
(
VTK_TICKS_BOTH
);
axis
->
SetMajorTickSize
(
.02
*
this
->
MaximumRadius
);
// Set polar axis labels
...
...
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