Module consisting of explorers and tracks that connect arbitrary paraview pipelines to cinema stores.
paraview.cinemaIO.pv_explorers.
Camera
(center, axis, distance, view)[source]¶Bases: paraview.cinemaIO.explorers.Track
A track that connects a ParaView script’s camera to the phi and theta tracks. This allows the creation of spherical camera stores where the user can view the data from many points around it.
paraview.cinemaIO.pv_explorers.
Clip
(argument, clip)[source]¶Bases: paraview.cinemaIO.explorers.Track
A track that connects a clip filter to a scalar valued parameter.
paraview.cinemaIO.pv_explorers.
Color
(parameter, colorlist, rep)[source]¶Bases: paraview.cinemaIO.explorers.Track
A track that connects a parameter to color controls.
paraview.cinemaIO.pv_explorers.
ColorList
[source]¶A helper that creates a dictionary of color controls for ParaView. The Color track takes in a color name from the Explorer and looks up into a ColorList to determine exactly what needs to be set to apply the color.
paraview.cinemaIO.pv_explorers.
Contour
(parameter, filt)[source]¶Bases: paraview.cinemaIO.explorers.Track
A track that connects a contour filter to a scalar valued parameter.
paraview.cinemaIO.pv_explorers.
ImageExplorer
(cinema_store, parameters, tracks, view=None, iSave=True)[source]¶Bases: paraview.cinemaIO.explorers.Explorer
An Explorer that connects a ParaView script’s views to a store. Basically it iterates over the parameters and for each unique combination it tells ParaView to make an image and saved the result into the store.
insert
(document)[source]¶overridden to use paraview to generate an image and create a the document for it
paraview.cinemaIO.pv_explorers.
PoseCamera
(view, camType, store)[source]¶Bases: paraview.cinemaIO.explorers.Track
A track that connects a ParaView script’s pose track which has 3x3 camera orientations in it. Also takes in camera_eye, _at and _up arrays, which designate the initial position at each timestep, from which the camera moves according to each pose.
paraview.cinemaIO.pv_explorers.
Slice
(parameter, filt)[source]¶Bases: paraview.cinemaIO.explorers.Track
A track that connects a slice filter to a scalar valued parameter.
paraview.cinemaIO.pv_explorers.
SourceProxyInLayer
(parameter, representation, proxy)[source]¶Bases: paraview.cinemaIO.explorers.LayerControl
A track that turns on and off an source proxy in a layer
paraview.cinemaIO.pv_explorers.
Templated
(parameter, filt, methodName)[source]¶Bases: paraview.cinemaIO.explorers.Track
A track that connects any type of filter to a scalar valued parameter. To use pass in a source proxy (aka filter) and the name of method (aka property) to be called on it.