cinemaIO.explorers Module

class paraview.cinemaIO.explorers.Explorer(cinema_store, parameters, tracks)[source]

Bases: object

Middleman that connects an arbitrary producing codes to the CinemaStore. The purpose of this class is to run through the parameter sets, and tell a set of tracks (in order) to do something with the parameter values it cares about.

cinema_store
execute(desc)[source]
explore(fixedargs=None)[source]

Explore the problem space to populate the store being careful not to hit combinations where dependencies are not satisfied. Fixed arguments are the parameters that we want to hold constant in the exploration.

finish()[source]

Give tracks a chance to clean up after a run

insert(doc)[source]
list_parameters()[source]

parameters is an ordered list of parameters that the Explorer varies over

prepare()[source]

Give tracks a chance to get ready for a run

class paraview.cinemaIO.explorers.Layer(layer, objectlist)[source]

Bases: paraview.cinemaIO.explorers.Track

A track that connects a layer to the set of objects in the scene that it controls.

execute(doc)[source]
class paraview.cinemaIO.explorers.LayerControl(name, showFunc, hideFunc)[source]

Bases: object

Prototype for something that Layer track can control

class paraview.cinemaIO.explorers.Track[source]

Bases: object

abstract interface for things that can produce data

to use this: caller should set up some visualization then tie a particular set of parameters to an action with a track

execute(document)[source]

subclasses operate on parameters here

finish()[source]

subclasses cleanup after running here

prepare(explorer)[source]

subclasses get ready to run here