[vtkusers] vtkCubeAxesActor2D scaling
Bharati
bharati at sungrace.com
Wed Dec 7 09:37:50 EST 2005
Can it be a problem with QVTKWidget?
I am using VTK 4.5 version as QVTKWidget is available with VTK 4.5 only.
I have set the camera for vtkCubeAxesActor2D. I tried with
cubeAxesActor2DPtr_-> SetCamera ( rendererPtr_-> GetActiveCamera() );
and with the creation of new camera also as follows
vtkCamera* cameraPtr;
cameraPtr = vtkCamera::New();
cubeAxesActor2DPtr_-> SetCamera( cameraPtr );
With regards,
Bharati Page.
-----Original Message-----
From: Bruno da Silva de Oliveira [mailto:bruno at esss.com.br]
Sent: Wednesday, December 07, 2005 6:28 PM
To: Bharati
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] vtkCubeAxesActor2D scaling
Hi,
Bharati wrote:
> Hi,
>
>
>
> I am using vtkCubeAxesActor2D with QVTKWidget. I tried using function
> SetScaling with the value 0 and 1. But I do not see any difference in
> the vtkCubeAxesActor2D when I zoom the image and axes with mousewheel.
> I want the size of the axes scaled to fit in the viewport.
>
What version are you using? I'm using vtk 4.2 and everything works fine.
Did you set the camera in the vtkCubeAxesActor2D?
HTH,
--
Bruno da Silva de Oliveira
bruno at esss.com.br
ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br
More information about the vtkusers
mailing list