Back to index

salome-paravis  6.5.0
Functions | Variables
demo5 Namespace Reference

Functions

def LoadMultipleFiles

Variables

tuple testdir = os.getenv("TESTDIR")
tuple pvdata = os.getenv("PVDATA")

Function Documentation

def demo5.LoadMultipleFiles (   FilePath,
  FilePrefix 
)

Definition at line 26 of file demo5.py.

00026 
00027 def LoadMultipleFiles(FilePath, FilePrefix):
00028 
00029   dualSphereAnimation = XMLPolyDataReader( FileName=[FilePath + FilePrefix + '0' + '.vtp',
00030                                                                                                      FilePath + FilePrefix + '1' + '.vtp',
00031                                                                                                      FilePath + FilePrefix + '2' + '.vtp',
00032                                                                                                      FilePath + FilePrefix + '3' + '.vtp',
00033                                                                                                      FilePath + FilePrefix + '4' + '.vtp',
00034                                                                                                      FilePath + FilePrefix + '5' + '.vtp',
00035                                                                                                      FilePath + FilePrefix + '6' + '.vtp',
00036                                                                                                      FilePath + FilePrefix + '7' + '.vtp',
00037                                                                                                      FilePath + FilePrefix + '8' + '.vtp',
00038                                                                                                      FilePath + FilePrefix + '9' + '.vtp',
00039                                                                                                      FilePath + FilePrefix + '10' + '.vtp'])
00040 
00041   dualSphereAnimation.PointArrayStatus = ['Normals']
00042   dualSphereAnimation.CellArrayStatus = ['cellNormals']
00043 
00044   DataRepr = Show()
00045   DataRepr.EdgeColor = [0.0, 0.0, 0.50000762951094835]
00046   DataRepr.SelectionCellLabelColor = [0.0, 1.0, 0.0]
00047   DataRepr.SelectionPointLabelJustification = 'Center'
00048   DataRepr.SelectionCellLabelJustification = 'Center'
00049   DataRepr.SelectionLineWidth = 2.0
00050   DataRepr.SelectionCellLabelFontSize = 24
00051   DataRepr.SelectionColor = [1.0, 0.0, 1.0]
00052   DataRepr.SelectionRepresentation = 'Wireframe'
00053 
00054   RenderV = GetRenderView()
00055   RenderV.CameraViewUp = [0.3643594701432189, -0.53089863872031573, -0.76510705912432175]
00056   RenderV.CameraPosition = [-1.43673886826885, 0.58420580818614165, -1.2056476292046452]
00057   RenderV.CameraClippingRange = [1.1902279246461551, 3.3614292621569204]
00058   RenderV.CameraFocalPoint = [0.24373197555541973, 4.2615454220042359e-08, -1.2218938645261819e-16]
00059   RenderV.CameraParallelScale = 0.5562421018838376
00060   RenderV.CenterOfRotation = [0.24373197555541992, 4.2615454276528908e-08, 0.0]
00061   RenderV.CameraViewUp = [-0.022295256951954404, 0.99334037123472696, -0.11303905693476472]
00062   RenderV.CameraFocalPoint = [0.24373197555541956, 4.261545421741021e-08, 6.2953480785622502e-17]
00063   RenderV.CameraClippingRange = [0.8880289667943051, 3.8672572119597652]
00064   RenderV.CameraPosition = [0.73282076784458949, 0.24745673087950623, 2.078081369909921]
00065 
00066   Render()
00067 

Here is the call graph for this function:


Variable Documentation

tuple demo5.pvdata = os.getenv("PVDATA")

Definition at line 69 of file demo5.py.

tuple demo5.testdir = os.getenv("TESTDIR")

Definition at line 68 of file demo5.py.