MCPcopy Create free account
hub / github.com/Kitware/VTK / ShallowCopy

Method ShallowCopy

Rendering/Annotation/vtkCubeAxesActor2D.cxx:126–142  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Shallow copy of an actor.

Source from the content-addressed store, hash-verified

124//------------------------------------------------------------------------------
125// Shallow copy of an actor.
126void vtkCubeAxesActor2D::ShallowCopy(vtkCubeAxesActor2D* actor)
127{
128 this->vtkActor2D::ShallowCopy(actor);
129 this->SetAxisLabelTextProperty(actor->GetAxisLabelTextProperty());
130 this->SetAxisTitleTextProperty(actor->GetAxisTitleTextProperty());
131 this->SetLabelFormat(actor->GetLabelFormat());
132 this->SetFontFactor(actor->GetFontFactor());
133 this->SetCornerOffset(actor->GetCornerOffset());
134 this->SetInertia(actor->GetInertia());
135 this->SetXLabel(actor->GetXLabel());
136 this->SetYLabel(actor->GetYLabel());
137 this->SetZLabel(actor->GetZLabel());
138 this->SetFlyMode(actor->GetFlyMode());
139 this->SetInputConnection(actor->ConnectionHolder->GetInputConnection(0, 0));
140 this->SetViewProp(actor->GetViewProp());
141 this->SetCamera(actor->GetCamera());
142}
143
144//------------------------------------------------------------------------------
145vtkCubeAxesActor2D::~vtkCubeAxesActor2D()

Callers 2

vtkCubeAxesActor2DMethod · 0.45
RenderOpaqueGeometryMethod · 0.45

Calls 8

SetLabelFormatMethod · 0.95
SetInputConnectionMethod · 0.95
GetInputConnectionMethod · 0.45
SetViewPropMethod · 0.45
GetViewPropMethod · 0.45
SetCameraMethod · 0.45
GetCameraMethod · 0.45

Tested by

no test coverage detected