Commit fcb167df authored by Philippe Pébay's avatar Philippe Pébay
Browse files

Removed ShallowCopy

Change-Id: I4d723bbe49d0f883a35c92b839aebaab1fa002ed
parent 1d0ed08f
......@@ -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()
{
......
......@@ -545,8 +545,6 @@ private:
void AutoScale(vtkViewport *viewport);
void AutoScale(vtkViewport *viewport, vtkAxisActor *axes[NUMBER_OF_ALIGNED_AXIS]);
double AutoScale(vtkViewport *viewport, double screenSize, double position[3]);
void ShallowCopy(vtkProp *prop) { this->vtkProp::ShallowCopy( prop ); };
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment