Skip to content
GitLab
Menu
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
ae3edeee
Commit
ae3edeee
authored
Nov 15, 2011
by
Philippe Pébay
Browse files
Consistency in coloring of radial / non-polar axes. Testing this.
Change-Id: I2e3f4cbc9ff8691f06422c8a218d2fecf929dca2
parent
01bf6b6a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Hybrid/Testing/Cxx/TestPolarAxes.cxx
View file @
ae3edeee
...
...
@@ -88,8 +88,8 @@ int TestPolarAxes( int argc, char * argv [] )
polaxes
->
SetRadialLabelFormat
(
"%6.1f"
);
polaxes
->
GetRadialAxesProperty
()
->
SetColor
(
.0
,
.0
,
.9
);
polaxes
->
SetScreenSize
(
12.0
);
polaxes
->
GetPolarAxisTitleTextProperty
()
->
SetColor
(
1
.
,
0.
,
0.
);
polaxes
->
GetPolarAxisLabelTextProperty
()
->
SetColor
(
1
.
,
0.
,
0.
);
polaxes
->
GetPolarAxisTitleTextProperty
()
->
SetColor
(
.
8
,
0.
,
0.
);
polaxes
->
GetPolarAxisLabelTextProperty
()
->
SetColor
(
.
8
,
0.
,
0.
);
vtkNew
<
vtkRenderWindow
>
renWin
;
renWin
->
SetMultiSamples
(
0
);
...
...
Hybrid/vtkPolarAxesActor.cxx
View file @
ae3edeee
...
...
@@ -167,8 +167,6 @@ vtkPolarAxesActor::vtkPolarAxesActor() : vtkActor()
}
}
this
->
ActualRadialLabel
=
0
;
// Default tick location, defined in vtkAxisActor
this
->
TickLocation
=
VTK_TICKS_BOTH
;
...
...
@@ -561,6 +559,7 @@ void vtkPolarAxesActor::SetNonDependentAttributes()
{
axis
->
SetLabelVisibility
(
0
);
axis
->
SetTickVisibility
(
0
);
axis
->
GetTitleTextProperty
()
->
SetColor
(
this
->
GetRadialAxesProperty
()
->
GetColor
()
);
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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