Back to index

salome-paravis  6.5.0
Namespaces | Variables
A9.py File Reference

Go to the source code of this file.

Namespaces

namespace  A9

Variables

float A9.DELAY = 0.25
tuple A9.samples_dir = os.getenv("DATA_DIR")
 A9.datadir = None
 A9.tablesdir = None
list A9.color = [0, 0.3, 1]
tuple A9.pv_root_dir = os.getenv("PARAVIS_ROOT_DIR")
string A9.med_file = "pointe.med"
 A9.entity = EntityType.NODE
int A9.timestamp = 1
tuple A9.scalarmap = ScalarMapOnField(med_reader, entity, field_name, timestamp)
tuple A9.bar = get_bar()
 A9.lt = bar.LookupTable
list A9.range_min = lt.RGBPoints[0]
list A9.range_max = lt.RGBPoints[4]
tuple A9.delta = (range_max - range_min)
 A9.nb_colors = lt.NumberOfTableValues
 A9.x = range_min+delta*i/nb_colors
 A9.y = range_max-delta*i/nb_colors
float A9.displacement = 0.5
 A9.orient = Orientation.YZ
tuple A9.cutplanes
 A9.cam_pos = view.CameraPosition
 A9.slice_filter = cutplanes.Input
 A9.offset_vals = slice_filter.SliceOffsetValues
tuple A9.nb_planes = len(offset_vals)
tuple A9.bounds = get_bounds(med_reader)
tuple A9.normal = get_normal_by_orientation(orient, x, y)
tuple A9.pos = get_positions(i, normal, bounds, displacement)
tuple A9.isosurf = IsoSurfacesOnField(med_reader, entity, field_name, timestamp)
 A9.contour = isosurf.Input
tuple A9.nb_surfaces = len(contour.Isosurfaces)
tuple A9.scalar_range = get_data_range(med_reader, entity, field_name, cut_off=True)
tuple A9.contours = get_contours(scalar_range, i)
 A9.orientation1 = Orientation.ZX,
 A9.orientation2 = Orientation.YZ,
 A9.generate_curves = True)
tuple A9.xy_view = pv.CreateXYPlotView()
int A9.index = 0
tuple A9.xyrep = pv.Show(curve, xy_view)
tuple A9.r = str(random.random())
tuple A9.g = str(random.random())
tuple A9.b = str(random.random())
list A9.point1 = [0.0, -1.0, 2.5]
list A9.point2 = [0.0, 1.0, 2.5]
tuple A9.cutsegment
tuple A9.curve = pv.Show(cutsegment.Input, xy_view)