vtkCubeAxesActor incorrectly overrides GetBounds of vtkProp3D
vtkProp3D::GetBounds
method(s) are a real mess with 1 being virtual and 1 not being virtual.
vtkCubeAxesActor
uses the vtkGetVector6Macro
to override these methods and store the result in a member variable, causing some bugs.
If vtkCubeAxesActor
is called through a pointer of type vtkProp3D
or vtkActor
the method GetBounds(double bounds[6])
will return the Bounds as defined in vtkProp3D
while double *GetBounds()
will return the different bounds defined in vtkCubeAxesActor
.
Likewise setting the bounds of a vtkCubeAxesActor
will not propagate to the base type and therefore only be available through the double *GetBounds()
API.