[vtkusers] vtkCubeAxesActor2D: updating with visibility changes?
amy.squillacote at kitware.com
Fri Jun 17 09:28:34 EDT 2005
I just tried to reproduce the behavior you were seeing using the
VTK/Hybrid/Testing/Tcl/cubeAxes.tcl script in VTK 4.4. When I call
VisibilityOff, for example, on one of the vtkCubeAxesActor2D's in this
example, I do have to call Render on the vtkRenderWindow to see the
visibility change, but this is the expected behavior. I don't have a VTK
4.4 build with Java wrapping on my machine, so I don't know if it's a Java
issue or not. vtkCubeAxesActor2D is not intended to behave differently
than other actors in VTK in this respect.
At 05:08 PM 6/16/2005, David Marshburn wrote:
>so, i have an instance of vtkCubeAxesActor2D in an application, and i want
>to turn its visibility off at times. when i do this, the pipeline doesn't
>seem to be updated/a redraw doesn't seem to be forced. i've tried calling
>Modified on the axes actor, too, but even that doesn't seem to work. if i
>do anything else to the scene (change the view or change some other actor,
>for instance), the axes' visibility visually updates correctly. is
>vtkCubeAxesActor2D a second-class citizen for modified times and
>propogated updates? what am i missing, please?
>this is with vtk 4.4 in java.
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at:
>Follow this link to subscribe/unsubscribe:
More information about the vtkusers