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
6080f5ce
Commit
6080f5ce
authored
Nov 16, 2011
by
Philippe Pébay
Browse files
Testing with reentrant polar angle
Change-Id: I91cdc4f44aabf881795d311be6c3388a89928f51
parent
d2ba4d05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Hybrid/Testing/Cxx/TestPolarAxes.cxx
View file @
6080f5ce
...
@@ -82,8 +82,8 @@ int TestPolarAxes( int argc, char * argv [] )
...
@@ -82,8 +82,8 @@ int TestPolarAxes( int argc, char * argv [] )
polaxes
->
SetPole
(
.5
,
1.
,
3.
);
polaxes
->
SetPole
(
.5
,
1.
,
3.
);
polaxes
->
SetAutoScaleRadius
(
false
);
polaxes
->
SetAutoScaleRadius
(
false
);
polaxes
->
SetMaximumRadius
(
3.
);
polaxes
->
SetMaximumRadius
(
3.
);
polaxes
->
SetMaximumAngle
(
2
0
0.
);
polaxes
->
SetMaximumAngle
(
2
1
0.
);
polaxes
->
SetNumberOfRadialAxes
(
7
);
polaxes
->
SetNumberOfRadialAxes
(
8
);
polaxes
->
SetCamera
(
renderer
->
GetActiveCamera
()
);
polaxes
->
SetCamera
(
renderer
->
GetActiveCamera
()
);
polaxes
->
SetRadialLabelFormat
(
"%6.1f"
);
polaxes
->
SetRadialLabelFormat
(
"%6.1f"
);
polaxes
->
GetRadialAxesProperty
()
->
SetColor
(
.0
,
.0
,
1.
);
polaxes
->
GetRadialAxesProperty
()
->
SetColor
(
.0
,
.0
,
1.
);
...
@@ -101,7 +101,7 @@ int TestPolarAxes( int argc, char * argv [] )
...
@@ -101,7 +101,7 @@ int TestPolarAxes( int argc, char * argv [] )
vtkNew
<
vtkRenderWindowInteractor
>
iren
;
vtkNew
<
vtkRenderWindowInteractor
>
iren
;
iren
->
SetRenderWindow
(
renWin
.
GetPointer
()
);
iren
->
SetRenderWindow
(
renWin
.
GetPointer
()
);
renderer
->
SetBackground
(
.
7
,
.
7
,
.
7
);
renderer
->
SetBackground
(
.
8
,
.
8
,
.
8
);
renderer
->
AddViewProp
(
readerActor
.
GetPointer
()
);
renderer
->
AddViewProp
(
readerActor
.
GetPointer
()
);
renderer
->
AddViewProp
(
outlineActor
.
GetPointer
()
);
renderer
->
AddViewProp
(
outlineActor
.
GetPointer
()
);
renderer
->
AddViewProp
(
polaxes
.
GetPointer
()
);
renderer
->
AddViewProp
(
polaxes
.
GetPointer
()
);
...
...
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