Dear all,
I am trying to augment an image from a real camera to a VR world.
I came into a problem try to configure the paraview camera to the real
camera.
I know that setting camera position, view-up direction and focal point,
will give me the correct extrinsics of the camera (i.e. orientation an
Dear all,
I would like to change the visibility property of a specific actor in
the renderer. Right now, I need to remember which orderly ID my actor
is in the actor list and iterate through the following to get to the
actor,
vtkPropCollection* props = renderer->GetViewProps();
props->InitTravers
Dear all,
I am trying to set the center of rotation of my environment w.r.t. the 3D
model I loaded.
pqView * view = pqActiveObjects::instance().activeView();
vtkSMRenderViewProxy *proxy =
vtkSMRenderViewProxy::SafeDownCast(view->getViewProxy());
...
...
proxy->GetRenderer()->AddActor(actor);
prox
Hi guys,
I am trying to load a wavefront obj file into paraview and display it using
only python shell scripts.
I searched online and only find
http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadOBJ
This is vtk C++ code, and I am trying to convert them to python script. I
got stuck at trying to find
documentation and examples, it seems I
was using the right format? How can I fix it? Many thanks!
Li Guan
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep
Hi all,
I am trying to set up the camera view w.r.t. the camera matrix K in
Paraview python shell. Basically, I create an intrinsic matrix to store the
new projective matrix obtained from 3x3 camera intrinsic matrix K, get the
current projection transform matrix A, and create a new matrix apply_ma
Hi all,
I just would like to update my question in case anyone also ever bumps into
it.
Apparently, if I change the last but second line from
camera.SetUserTransform(T);
to camera.SetUserViewTransform(T); , the problem is solved.
Cheers,
Li
On Fri, Mar 1, 2013 at 3:11 PM, Li Guan wrote
Hi all,
My monitor res is 1280x960.
Once I lock the paraview window to 2000x1000, and in python shell call
WriteImage("test.png"); the saved image is only the size that is displayed
on the window. Is it possible to save the whole image?
I know the option of clicking Save Screenshots on the control
On Wed, Mar 6, 2013 at 11:17 AM, Li Guan wrote:
> > Hi all,
> >
> > My monitor res is 1280x960.
> > Once I lock the paraview window to 2000x1000, and in python shell call
> > WriteImage("test.png"); the saved image is only the size that is
> displayed
>