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
573ec999
Commit
573ec999
authored
Nov 15, 2011
by
Philippe Pébay
Browse files
Fixed a bug
Change-Id: I1b9cf0edf85f034386668abce27b30ee055fab10
parent
53dea381
Changes
1
Hide whitespace changes
Inline
Side-by-side
Hybrid/vtkCubeAxesActor.cxx
View file @
573ec999
...
...
@@ -47,7 +47,7 @@ vtkCubeAxesActor::vtkCubeAxesActor() : vtkActor()
this
->
FlyMode
=
VTK_FLY_CLOSEST_TRIAD
;
// Title and label text properties
for
(
i
=
0
;
i
<
3
;
i
++
)
for
(
int
i
=
0
;
i
<
3
;
i
++
)
{
this
->
TitleTextProperty
[
i
]
=
vtkTextProperty
::
New
();
this
->
TitleTextProperty
[
i
]
->
SetColor
(
1.
,
1.
,
1.
);
...
...
@@ -86,8 +86,7 @@ vtkCubeAxesActor::vtkCubeAxesActor() : vtkActor()
//this->YAxesGridpolysProperty->LightingOff(); // To be able to see the polys from high camera angles
//this->ZAxesGridpolysProperty->LightingOff(); // To be able to see the polys from high camera angles
int
i
;
for
(
i
=
0
;
i
<
NUMBER_OF_ALIGNED_AXIS
;
i
++
)
for
(
int
i
=
0
;
i
<
NUMBER_OF_ALIGNED_AXIS
;
i
++
)
{
this
->
XAxes
[
i
]
=
vtkAxisActor
::
New
();
this
->
XAxes
[
i
]
->
SetTickVisibility
(
1
);
...
...
@@ -232,7 +231,7 @@ vtkCubeAxesActor::vtkCubeAxesActor() : vtkActor()
this
->
LastFlyMode
=
-
1
;
for
(
i
=
0
;
i
<
NUMBER_OF_ALIGNED_AXIS
;
i
++
)
for
(
int
i
=
0
;
i
<
NUMBER_OF_ALIGNED_AXIS
;
i
++
)
{
this
->
RenderAxesX
[
i
]
=
i
;
this
->
RenderAxesY
[
i
]
=
i
;
...
...
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