Back to index

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

Go to the source code of this file.

Namespaces

namespace  A4

Variables

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