[Paraview] Save View Image in Session Trace
Brad King
brad.king at kitware.com
Fri Dec 3 07:27:40 EST 2004
Benjamin Phillips wrote:
> Thanks for the help. I can now write images, but while I put
> 'SaveAsImage' as the last command in my script, the image is not of the
> final state, but of some intermediate view (In particular, it doesn't
> account for a rotation done through the 'SetCameraState' command). Can
> this be remedied?
Please submit a minimal script that duplicates this problem to the bug
tracker:
http://www.paraview.org/Bug
> Also, I would like to be able to delete modules in my
> script. I tried using 'DeleteCallback' but this produces an error, 'An
> output is used. We cannot delete this source.' Should I be using
> someting else?
You can only delete sources from the end of the pipeline. Once you
connect the output of one source to the input of another, it cannot be
deleted. Your script will have to delete sources in the reverse order
that it created them.
> Better yet, where should I look for listing of commands
> such as these? I searched around through the vtk and tcl sites, but
> didn't find a listing including the above commands and others.
This is an internal driver language for ParaView and is not documented
to my knowledge. You can look in the ParaView source tree under
GUI/Widgets and GUI/Client for classes that define these methods.
-Brad
More information about the ParaView
mailing list