------------------------------------------------------------------------------
| 1196 | |
| 1197 | //------------------------------------------------------------------------------ |
| 1198 | void vtkAxisActor2D::ShallowCopy(vtkProp* prop) |
| 1199 | { |
| 1200 | vtkAxisActor2D* a = vtkAxisActor2D::SafeDownCast(prop); |
| 1201 | if (a != nullptr) |
| 1202 | { |
| 1203 | this->SetRange(a->GetRange()); |
| 1204 | this->SetNumberOfLabels(a->GetNumberOfLabels()); |
| 1205 | this->SetLabelFormat(a->GetLabelFormat()); |
| 1206 | this->SetAdjustLabels(a->GetAdjustLabels()); |
| 1207 | this->SetSnapLabelsToGrid(a->GetSnapLabelsToGrid()); |
| 1208 | this->SetTitle(a->GetTitle()); |
| 1209 | this->SetTickLength(a->GetTickLength()); |
| 1210 | this->SetTickOffset(a->GetTickOffset()); |
| 1211 | this->SetAxisVisibility(a->GetAxisVisibility()); |
| 1212 | this->SetTickVisibility(a->GetTickVisibility()); |
| 1213 | this->SetLabelVisibility(a->GetLabelVisibility()); |
| 1214 | this->SetTitleVisibility(a->GetTitleVisibility()); |
| 1215 | this->SetFontFactor(a->GetFontFactor()); |
| 1216 | this->SetLabelFactor(a->GetLabelFactor()); |
| 1217 | this->SetLabelTextProperty(a->GetLabelTextProperty()); |
| 1218 | this->SetTitleTextProperty(a->GetTitleTextProperty()); |
| 1219 | } |
| 1220 | |
| 1221 | // Now do superclass |
| 1222 | this->vtkActor2D::ShallowCopy(prop); |
| 1223 | } |
| 1224 | VTK_ABI_NAMESPACE_END |
no test coverage detected