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
fcb167df
Commit
fcb167df
authored
Nov 15, 2011
by
Philippe Pébay
Browse files
Removed ShallowCopy
Change-Id: I4d723bbe49d0f883a35c92b839aebaab1fa002ed
parent
1d0ed08f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Hybrid/vtkCubeAxesActor.cxx
View file @
fcb167df
...
@@ -301,35 +301,6 @@ void vtkCubeAxesActor::SetSaveTitlePosition( int val )
...
@@ -301,35 +301,6 @@ void vtkCubeAxesActor::SetSaveTitlePosition( int val )
}
}
}
}
// ****************************************************************************
// Shallow copy of an actor.
// ****************************************************************************
void
vtkCubeAxesActor
::
ShallowCopy
(
vtkCubeAxesActor
*
actor
)
{
this
->
Superclass
::
ShallowCopy
(
actor
);
this
->
SetXLabelFormat
(
actor
->
GetXLabelFormat
());
this
->
SetYLabelFormat
(
actor
->
GetYLabelFormat
());
this
->
SetZLabelFormat
(
actor
->
GetZLabelFormat
());
this
->
SetCornerOffset
(
actor
->
GetCornerOffset
());
this
->
SetInertia
(
actor
->
GetInertia
());
this
->
SetXTitle
(
actor
->
GetXTitle
());
this
->
SetYTitle
(
actor
->
GetYTitle
());
this
->
SetZTitle
(
actor
->
GetZTitle
());
this
->
SetFlyMode
(
actor
->
GetFlyMode
());
this
->
SetCamera
(
actor
->
GetCamera
());
this
->
SetBounds
(
actor
->
GetBounds
());
this
->
MustAdjustXValue
=
actor
->
MustAdjustXValue
;
this
->
MustAdjustYValue
=
actor
->
MustAdjustYValue
;
this
->
MustAdjustZValue
=
actor
->
MustAdjustZValue
;
this
->
ForceXLabelReset
=
actor
->
ForceXLabelReset
;
this
->
ForceYLabelReset
=
actor
->
ForceYLabelReset
;
this
->
ForceZLabelReset
=
actor
->
ForceZLabelReset
;
this
->
LabelScreenOffset
=
actor
->
LabelScreenOffset
;
this
->
TitleScreenOffset
=
actor
->
TitleScreenOffset
;
this
->
ScreenSize
=
actor
->
ScreenSize
;
}
// ****************************************************************************
// ****************************************************************************
vtkCubeAxesActor
::~
vtkCubeAxesActor
()
vtkCubeAxesActor
::~
vtkCubeAxesActor
()
{
{
...
...
Hybrid/vtkCubeAxesActor.h
View file @
fcb167df
...
@@ -545,8 +545,6 @@ private:
...
@@ -545,8 +545,6 @@ private:
void
AutoScale
(
vtkViewport
*
viewport
);
void
AutoScale
(
vtkViewport
*
viewport
);
void
AutoScale
(
vtkViewport
*
viewport
,
vtkAxisActor
*
axes
[
NUMBER_OF_ALIGNED_AXIS
]);
void
AutoScale
(
vtkViewport
*
viewport
,
vtkAxisActor
*
axes
[
NUMBER_OF_ALIGNED_AXIS
]);
double
AutoScale
(
vtkViewport
*
viewport
,
double
screenSize
,
double
position
[
3
]);
double
AutoScale
(
vtkViewport
*
viewport
,
double
screenSize
,
double
position
[
3
]);
void
ShallowCopy
(
vtkProp
*
prop
)
{
this
->
vtkProp
::
ShallowCopy
(
prop
);
};
};
};
...
...
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