[vtkusers] vtkCubeAxesActor FlyMode changed on the fly does not	take place until mouse action
    Sebastien Calvi 
    sebastien.calvi at yahoo.com
       
    Fri Jun 29 10:28:49 EDT 2012
    
    
  
Hello Vtk Developers,
This little report to mention that when one changes the FlyMode of the vtkCubeAxesActor and call vtkRenderWindow::render(), well, nothing happens.
This because inside void vtkCubeAxesActor::DetermineRenderAxes( vtkViewport *viewport ) there is a simple check at the very beginning:
for ( i = 0; i < 4; ++i ) {
        if ( fabs( orientation[i] - OrientationWXYZ[i] ) > VTK_DBL_EPSILON )
            break;
    }
So, if the orientation has not changed then we just exit and the FlyMode modification is not taken into account.
I won't qualify that as a "bug" but I believe that it will be great to be able to have the FlyMode modification taken into account.
Thank you,
Sebastien.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120629/18baa872/attachment.htm>
    
    
More information about the vtkusers
mailing list