------------------------------------------------------------------------------ Shallow copy of an actor.
| 167 | //------------------------------------------------------------------------------ |
| 168 | // Shallow copy of an actor. |
| 169 | void vtkAxesActor::ShallowCopy(vtkProp* prop) |
| 170 | { |
| 171 | vtkAxesActor* a = vtkAxesActor::SafeDownCast(prop); |
| 172 | if (a != nullptr) |
| 173 | { |
| 174 | this->SetAxisLabels(a->GetAxisLabels()); |
| 175 | this->SetXAxisLabelText(a->GetXAxisLabelText()); |
| 176 | this->SetYAxisLabelText(a->GetYAxisLabelText()); |
| 177 | this->SetZAxisLabelText(a->GetZAxisLabelText()); |
| 178 | this->SetTotalLength(a->GetTotalLength()); |
| 179 | this->SetNormalizedShaftLength(a->GetNormalizedShaftLength()); |
| 180 | this->SetNormalizedTipLength(a->GetNormalizedTipLength()); |
| 181 | this->SetNormalizedLabelPosition(a->GetNormalizedLabelPosition()); |
| 182 | this->SetConeResolution(a->GetConeResolution()); |
| 183 | this->SetSphereResolution(a->GetSphereResolution()); |
| 184 | this->SetCylinderResolution(a->GetCylinderResolution()); |
| 185 | this->SetConeRadius(a->GetConeRadius()); |
| 186 | this->SetSphereRadius(a->GetSphereRadius()); |
| 187 | this->SetCylinderRadius(a->GetCylinderRadius()); |
| 188 | this->SetTipType(a->GetTipType()); |
| 189 | this->SetShaftType(a->GetShaftType()); |
| 190 | this->SetUserDefinedTip(a->GetUserDefinedTip()); |
| 191 | this->SetUserDefinedShaft(a->GetUserDefinedShaft()); |
| 192 | } |
| 193 | |
| 194 | // Now do superclass |
| 195 | this->vtkProp3D::ShallowCopy(prop); |
| 196 | } |
| 197 | |
| 198 | //------------------------------------------------------------------------------ |
| 199 | void vtkAxesActor::GetActors(vtkPropCollection* ac) |