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
e896cb40
Commit
e896cb40
authored
Nov 14, 2011
by
Philippe Pébay
Browse files
More legible color and light
Change-Id: Ib9fe1aca437cf1791ac10d2984cebde2ffa20f11
parent
990fea44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Hybrid/Testing/Cxx/TestPolarAxes.cxx
View file @
e896cb40
...
...
@@ -50,7 +50,7 @@ int TestPolarAxes( int argc, char * argv [] )
vtkNew
<
vtkLODActor
>
readerActor
;
readerActor
->
SetMapper
(
readerMapper
.
GetPointer
()
);
readerActor
->
GetProperty
()
->
SetDiffuseColor
(
.
3
,
.
3
,
.3
);
readerActor
->
GetProperty
()
->
SetDiffuseColor
(
.
5
,
.
8
,
.3
);
vtkNew
<
vtkOutlineFilter
>
outline
;
outline
->
SetInputConnection
(
normals
->
GetOutputPort
()
);
...
...
@@ -65,7 +65,7 @@ int TestPolarAxes( int argc, char * argv [] )
vtkNew
<
vtkCamera
>
camera
;
camera
->
SetClippingRange
(
1.0
,
100.0
);
camera
->
SetFocalPoint
(
0.9
,
1.0
,
0.0
);
camera
->
SetPosition
(
11.63
,
6.
0
,
1
0.77
);
camera
->
SetPosition
(
2.
,
6.
,
1
3.
);
vtkNew
<
vtkLight
>
light
;
light
->
SetFocalPoint
(
0.21406
,
1.5
,
0.0
);
...
...
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