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
8c4f9fc8
Commit
8c4f9fc8
authored
Nov 16, 2011
by
Philippe Pébay
Browse files
Testing various color options
Change-Id: I132b3e0e0374c430d803d2abd95e5334b3aa075e
parent
2f8c7b88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Rendering/Testing/Cxx/TestScalarBar.cxx
View file @
8c4f9fc8
...
...
@@ -101,8 +101,8 @@ int TestScalarBar( int argc, char *argv[] )
scalarBar2
->
GetPositionCoordinate
()
->
SetCoordinateSystemToNormalizedViewport
();
scalarBar2
->
GetPositionCoordinate
()
->
SetValue
(
0.05
,
0.05
);
scalarBar2
->
SetTextPositionToPrecedeScalarBar
();
scalarBar2
->
GetTitleTextProperty
()
->
SetColor
(
0
.
,
0.
,
1
.
);
scalarBar2
->
GetLabelTextProperty
()
->
SetColor
(
0
.
,
0.
,
1
.
);
scalarBar2
->
GetTitleTextProperty
()
->
SetColor
(
1
.
,
0.
,
0
.
);
scalarBar2
->
GetLabelTextProperty
()
->
SetColor
(
.
8
,
0.
,
0
.
);
scalarBar2
->
SetDrawFrame
(
1
);
scalarBar2
->
GetFrameProperty
()
->
SetColor
(
1.
,
0.
,
0.
);
scalarBar2
->
SetDrawBackground
(
1
);
...
...
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