Back to index

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

Go to the source code of this file.

Namespaces

namespace  B1

Variables

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