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
53dea381
Commit
53dea381
authored
Nov 15, 2011
by
Philippe Pébay
Browse files
Test with different title and label text colors
Change-Id: Ideafe84ab7c3db857dba8bcd4584e88dfb3e3035
parent
72fda524
Changes
1
Hide whitespace changes
Inline
Side-by-side
Hybrid/Testing/Cxx/TestCubeAxes3.cxx
View file @
53dea381
...
...
@@ -105,7 +105,10 @@ int TestCubeAxes3( int argc, char * argv [] )
axes2
->
SetScreenSize
(
15.0
);
axes2
->
SetFlyModeToClosestTriad
();
axes2
->
SetCornerOffset
(
0.0
);
axes2
->
GetTitleTextProperty
(
0
)
->
SetAmbient
(
1
);
axes2
->
GetTitleTextProperty
(
0
)
->
SetColor
(
1.
,
0.
,
0.
);
axes2
->
GetLabelTextProperty
(
0
)
->
SetColor
(
.5
,
0.
,
0.
);
axes2
->
GetTitleTextProperty
(
1
)
->
SetColor
(
0.
,
1.
,
0.
);
axes2
->
GetLabelTextProperty
(
1
)
->
SetColor
(
0.
,
.5
,
0.
);
ren2
->
AddViewProp
(
axes2
.
GetPointer
());
renWin
->
Render
();
...
...
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