Back to index

salome-paravis  6.5.0
Variables
A4 Namespace Reference

Variables

tuple picturedir = get_picture_dir(sys.argv[1], "3D_viewer/A4")
 my_paravis = paravis.myParavis
tuple my_view = GetRenderView()
string file_name = "hydro_sea_alv.med"
tuple proxy = GetActiveSource()
list represents
list shrinks = [0, 1]
list shadings = [0, 1]
list opacities = [1.0, 0.5, 0.0]
list linewidths = [1.0, 3.0, 10.0]
float compare_prec = 0.00001
string field_name = 'Head'
tuple iso_surf = IsoSurfacesOnField(proxy, EntityType.CELL, field_name, 1)
tuple repr = RepresentationType.get_name(reprCode)
tuple is_good = call_and_check(iso_surf, "Representation", repr, 0)
string msg = "VOLUME representation must be not available for Iso Surface"
string pic_name = "params_"
 myParavis = paravis.myParavis
string theFileName = "TimeStamps.med"
tuple aProxy = GetActiveSource()
tuple aView = GetRenderView()
tuple prs = CutLinesOnField(aProxy,EntityType.CELL,'pression' , 2)
string my_format = "jpeg"
tuple scene = AnimateReader(aProxy,aView,picturedir+"A4_dom."+my_format)
tuple nb_frames = len(scene.TimeKeeper.TimestepValues)
tuple pics = os.listdir(picturedir)
string file = "Hexa8.med"
int timestamp_nb = 1
tuple med_reader = pvsimple.GetActiveSource()
tuple view = pvsimple.GetRenderView()
tuple time = get_time(med_reader, timestamp_nb)
float DELAY = 0.25
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())

Variable Documentation

tuple A4.aProxy = GetActiveSource()

Definition at line 42 of file A4.py.

tuple A4.aView = GetRenderView()

Definition at line 48 of file A4.py.

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

Definition at line 238 of file A4.py.

tuple A4.bar = get_bar()

Definition at line 76 of file A4.py.

tuple A4.bounds = get_bounds(med_reader)

Definition at line 138 of file A4.py.

A4.cam_pos = view.CameraPosition

Definition at line 124 of file A4.py.

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

Definition at line 48 of file A4.py.

float A4.compare_prec = 0.00001

Definition at line 62 of file A4.py.

A4.contour = isosurf.Input

Definition at line 185 of file A4.py.

tuple A4.contours = get_contours(scalar_range, i)

Definition at line 190 of file A4.py.

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

Definition at line 116 of file A4.py.

float A4.DELAY = 0.25

Definition at line 32 of file A4.py.

Definition at line 81 of file A4.py.

float A4.displacement = 0.5

Definition at line 114 of file A4.py.

Definition at line 55 of file A4.py.

string A4.field_name = 'Head'

Definition at line 64 of file A4.py.

string A4.file = "Hexa8.med"

Definition at line 34 of file A4.py.

string A4.file_name = "hydro_sea_alv.med"

Definition at line 44 of file A4.py.

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

Definition at line 237 of file A4.py.

Definition at line 218 of file A4.py.

int A4.index = 0

Definition at line 227 of file A4.py.

tuple A4.is_good = call_and_check(iso_surf, "Representation", repr, 0)

Definition at line 80 of file A4.py.

tuple A4.iso_surf = IsoSurfacesOnField(proxy, EntityType.CELL, field_name, 1)

Definition at line 67 of file A4.py.

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

Definition at line 178 of file A4.py.

list A4.linewidths = [1.0, 3.0, 10.0]

Definition at line 61 of file A4.py.

A4.lt = bar.LookupTable

Definition at line 77 of file A4.py.

string A4.med_file = "pointe.med"

Definition at line 53 of file A4.py.

Definition at line 43 of file A4.py.

string A4.msg = "VOLUME representation must be not available for Iso Surface"

Definition at line 82 of file A4.py.

string A4.my_format = "jpeg"

Definition at line 60 of file A4.py.

Definition at line 37 of file A4.py.

tuple A4.my_view = GetRenderView()

Definition at line 40 of file A4.py.

Definition at line 31 of file A4.py.

int A4.nb_colors = lt.NumberOfTableValues

Definition at line 82 of file A4.py.

tuple A4.nb_frames = len(scene.TimeKeeper.TimestepValues)

Definition at line 73 of file A4.py.

Definition at line 136 of file A4.py.

int A4.nb_surfaces = len(contour.Isosurfaces)

Definition at line 186 of file A4.py.

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

Definition at line 142 of file A4.py.

A4.offset_vals = slice_filter.SliceOffsetValues

Definition at line 135 of file A4.py.

list A4.opacities = [1.0, 0.5, 0.0]

Definition at line 60 of file A4.py.

Definition at line 115 of file A4.py.

Definition at line 216 of file A4.py.

Definition at line 217 of file A4.py.

string A4.pic_name = "params_"

Definition at line 101 of file A4.py.

tuple A4.pics = os.listdir(picturedir)

Definition at line 75 of file A4.py.

tuple A4.picturedir = get_picture_dir(sys.argv[1], "3D_viewer/A4")

Definition at line 31 of file A4.py.

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

Definition at line 144 of file A4.py.

tuple A4.proxy = GetActiveSource()

Definition at line 50 of file A4.py.

tuple A4.prs = CutLinesOnField(aProxy,EntityType.CELL,'pression' , 2)

Definition at line 56 of file A4.py.

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

Definition at line 236 of file A4.py.

list A4.range_max = lt.RGBPoints[4]

Definition at line 80 of file A4.py.

list A4.range_min = lt.RGBPoints[0]

Definition at line 79 of file A4.py.

Definition at line 78 of file A4.py.

Initial value:
00001 [RepresentationType.POINTS, RepresentationType.WIREFRAME,\
00002 RepresentationType.SURFACE, RepresentationType.VOLUME]

Definition at line 56 of file A4.py.

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

Definition at line 188 of file A4.py.

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

Definition at line 63 of file A4.py.

tuple A4.scene = AnimateReader(aProxy,aView,picturedir+"A4_dom."+my_format)

Definition at line 72 of file A4.py.

list A4.shadings = [0, 1]

Definition at line 59 of file A4.py.

list A4.shrinks = [0, 1]

Definition at line 58 of file A4.py.

A4.slice_filter = cutplanes.Input

Definition at line 134 of file A4.py.

string A4.theFileName = "TimeStamps.med"

Definition at line 36 of file A4.py.

tuple A4.time = get_time(med_reader, timestamp_nb)

Definition at line 54 of file A4.py.

int A4.timestamp = 1

Definition at line 56 of file A4.py.

int A4.timestamp_nb = 1

Definition at line 40 of file A4.py.

Definition at line 53 of file A4.py.

Definition at line 87 of file A4.py.

Definition at line 225 of file A4.py.

tuple A4.xyrep = pvsimple.Show(curve, xy_view)

Definition at line 229 of file A4.py.

Definition at line 88 of file A4.py.