[vtkusers] override resetCamera of vtkRenderer
Alex Malyushytskyy
alexmalvtk at gmail.com
Fri Nov 18 15:49:22 EST 2011
Correct me if I am wrong, but it is you who calls resetCamera in your code,
so why you don't create your own function (it does not have to be a
member of of vtkRenderer )
which does what you want ?
Alex
On Fri, Nov 18, 2011 at 12:42 AM, youpie <meriadegp at yahoo.fr> wrote:
> Ok, I noticed they are other methosd but they are no virtual too.
>
> I want to override it because to split the boundingbox boundaries from
> clipping planes.
> I want to add a grid that represent X plane and to no take it account for
> the bounding box control, but only for clipping plane process.
> I know clipping plane are process at every reset camera functions of the
> bounding box.
>
> You see that I want to do ?
>
> with the method SetUseBounds(false) of my actor associated with the
> vtkPlaneSource, my camera is put as i want, and i can see the grid, but the
> clipping plane process by resetCamera(double bound[]) clip a great part of
> my plane.
>
> So I want to override resetCamera to add a boolean that if I use grid, I use
> my own bounding box and if not, I use the classical boundingBox process.
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/override-resetCamera-of-vtkRenderer-tp5000496p5003690.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list