Back to index

salome-paravis  6.5.0
Variables
B1 Namespace Reference

Variables

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

Variable Documentation

tuple B1.b = str(random.random())

Definition at line 238 of file B1.py.

tuple B1.bar = get_bar()

Definition at line 76 of file B1.py.

tuple B1.bounds = get_bounds(med_reader)

Definition at line 138 of file B1.py.

B1.cam_pos = view.CameraPosition

Definition at line 124 of file B1.py.

list B1.color = [0, 0.3, 1]

Definition at line 48 of file B1.py.

B1.contour = isosurf.Input

Definition at line 185 of file B1.py.

tuple B1.contours = get_contours(scalar_range, i)

Definition at line 190 of file B1.py.

tuple B1.curve = pvsimple.Show(cutsegment.Input, xy_view)

Definition at line 272 of file B1.py.

tuple B1.cutplanes
Initial value:
00001 CutPlanesOnField(med_reader, entity, field_name, timestamp,
00002                              orientation=orient,
00003                              displacement=displacement)

Definition at line 116 of file B1.py.

Initial value:
00001 CutSegmentOnField(med_reader, entity, field_name, timestamp,
00002                                point1, point2)

Definition at line 262 of file B1.py.

float B1.DELAY = 0.25

Definition at line 32 of file B1.py.

Definition at line 81 of file B1.py.

float B1.displacement = 0.5

Definition at line 114 of file B1.py.

Definition at line 55 of file B1.py.

string B1.field_name = "RN_precipite_restr"

Definition at line 39 of file B1.py.

string B1.file = "carre_en_quad4_seg2_fields.med"

Definition at line 34 of file B1.py.

string B1.file_name = "test_55_solid_concentr_dom.med"

Definition at line 38 of file B1.py.

tuple B1.g = str(random.random())

Definition at line 237 of file B1.py.

Definition at line 218 of file B1.py.

int B1.index = 0

Definition at line 227 of file B1.py.

tuple B1.isosurf = IsoSurfacesOnField(med_reader, entity, field_name, timestamp)

Definition at line 178 of file B1.py.

B1.lt = bar.LookupTable

Definition at line 77 of file B1.py.

string B1.med_file = "pointe.med"

Definition at line 53 of file B1.py.

Definition at line 43 of file B1.py.

Definition at line 34 of file B1.py.

Definition at line 29 of file B1.py.

int B1.nb_colors = lt.NumberOfTableValues

Definition at line 82 of file B1.py.

Definition at line 136 of file B1.py.

int B1.nb_surfaces = len(contour.Isosurfaces)

Definition at line 186 of file B1.py.

list B1.normal = get_normal_by_orientation(orient, x, y)

Definition at line 142 of file B1.py.

B1.offset_vals = slice_filter.SliceOffsetValues

Definition at line 135 of file B1.py.

Definition at line 115 of file B1.py.

Definition at line 216 of file B1.py.

Definition at line 217 of file B1.py.

string B1.pic_name = "_"

Definition at line 56 of file B1.py.

tuple B1.picturedir = get_picture_dir(sys.argv[1],"CutLines/B1")

Definition at line 32 of file B1.py.

list B1.point1 = [0.0, -1.0, 2.5]

Definition at line 260 of file B1.py.

list B1.point2 = [0.0, 1.0, 2.5]

Definition at line 261 of file B1.py.

tuple B1.pos = get_positions(i, normal, bounds, displacement)

Definition at line 144 of file B1.py.

tuple B1.prs = GaussPointsOnField(med_reader, EntityType.CELL, field_name, timestamp_nb)

Definition at line 48 of file B1.py.

tuple B1.r = str(random.random())

Definition at line 236 of file B1.py.

list B1.range_max = lt.RGBPoints[4]

Definition at line 80 of file B1.py.

list B1.range_min = lt.RGBPoints[0]

Definition at line 79 of file B1.py.

tuple B1.scalar_range = get_data_range(med_reader, entity, field_name, cut_off=True)

Definition at line 188 of file B1.py.

tuple B1.scalarmap = ScalarMapOnField(med_reader, entity, field_name, timestamp)

Definition at line 63 of file B1.py.

B1.slice_filter = cutplanes.Input

Definition at line 134 of file B1.py.

tuple B1.time = get_time(med_reader, timestamp_nb)

Definition at line 54 of file B1.py.

int B1.timestamp = 1

Definition at line 56 of file B1.py.

int B1.timestamp_nb = 1

Definition at line 40 of file B1.py.

Definition at line 53 of file B1.py.

Definition at line 87 of file B1.py.

Definition at line 225 of file B1.py.

Definition at line 229 of file B1.py.

Definition at line 88 of file B1.py.