From u.utku.turuncoglu at be.itu.edu.tr Mon Jan 2 05:27:00 2017 From: u.utku.turuncoglu at be.itu.edu.tr (Ufuk Utku Turuncoglu (BE)) Date: Mon, 2 Jan 2017 13:27:00 +0300 Subject: [Paraview] difference in the output of co-processing Message-ID: <28223582-6312-69d8-340f-2d9bcddddb9e@be.itu.edu.tr> Hi, I am trying to use Paraview co-processing component to create visualization from custom model. The problem is that the color bars are misplaced and also smaller and thinner in the co-processing output (saved png file) if i compare it with direct visualization from Paraview. I am attaching sample png files for both case and also Python file that is used for the co-processing. I just wonder that is it possible to fix it easily? It might be a bug but i am not sure. Thanks, Regards, --ufuk -------------- next part -------------- A non-text attachment was scrubbed... Name: paraview_co-processing.png Type: image/png Size: 124282 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: paraview_save_screenshot.png Type: image/png Size: 132046 bytes Desc: not available URL: -------------- next part -------------- from paraview.simple import * from paraview import coprocessing #-------------------------------------------------------------- # Code generated from cpstate.py to create the CoProcessor. # ParaView 5.2.0-RC3 64 bits # ----------------------- CoProcessor definition ----------------------- def CreateCoProcessor(): def _CreatePipeline(coprocessor, datadescription): class Pipeline: # state file generated using paraview version 5.2.0-RC3 # ---------------------------------------------------------------- # setup views used in the visualization # ---------------------------------------------------------------- #### disable automatic camera reset on 'Show' paraview.simple._DisableFirstRenderCameraReset() # Create a new 'Render View' renderView1 = CreateView('RenderView') renderView1.ViewSize = [1554, 756] renderView1.AxesGrid = 'GridAxes3DActor' renderView1.CenterOfRotation = [34.5676107406616, 41.595760345459, 1.002] renderView1.StereoType = 0 renderView1.CameraPosition = [11.61717660939287, 26.554894220511724, 22.326020354929348] renderView1.CameraFocalPoint = [34.65824386990966, 41.65515794794951, 0.9177897109105118] renderView1.CameraViewUp = [0.24084719012434333, 0.6519041543708579, 0.7190365807962937] renderView1.CameraParallelScale = 1.73205080756888 renderView1.Background = [0.32, 0.34, 0.43] # init the 'GridAxes3DActor' selected for 'AxesGrid' renderView1.AxesGrid.Visibility = 1 renderView1.AxesGrid.XTitle = 'Longitude' renderView1.AxesGrid.YTitle = 'Latitude' renderView1.AxesGrid.ZTitle = 'Height (m)' renderView1.AxesGrid.XTitleBold = 1 renderView1.AxesGrid.YTitleBold = 1 renderView1.AxesGrid.ZTitleBold = 1 renderView1.AxesGrid.XLabelBold = 1 renderView1.AxesGrid.YLabelBold = 1 renderView1.AxesGrid.ZLabelBold = 1 # register the view with coprocessor # and provide it with information such as the filename to use, # how frequently to write the images, etc. coprocessor.RegisterView(renderView1, filename='image_%t.png', freq=1, fittoscreen=0, magnification=1, width=1554, height=756, cinema={}) renderView1.ViewTime = datadescription.GetTime() # ---------------------------------------------------------------- # setup the data processing pipelines # ---------------------------------------------------------------- # create a new 'XML MultiBlock Data Reader' # create a producer from a simulation input atm_input2d_ = coprocessor.CreateProducer(datadescription, 'atm_input2d') # create a new 'Calculator' calculator1 = Calculator(Input=atm_input2d_) calculator1.ResultArrayName = 'topo_masked' calculator1.Function = 'topo*mask' # create a new 'Threshold' threshold2 = Threshold(Input=calculator1) threshold2.Scalars = ['POINTS', 'topo_masked'] threshold2.ThresholdRange = [1e-09, 3428.5] # create a new 'Merge Blocks' mergeBlocks2 = MergeBlocks(Input=atm_input2d_) # create a new 'Warp By Scalar' warpByScalar1 = WarpByScalar(Input=threshold2) warpByScalar1.Scalars = ['POINTS', 'topo_masked'] warpByScalar1.ScaleFactor = 0.0001 # create a new 'XML MultiBlock Data Reader' # create a producer from a simulation input atm_input3d_ = coprocessor.CreateProducer(datadescription, 'atm_input3d') # create a new 'Transform' transform1 = Transform(Input=atm_input3d_) transform1.Transform = 'Transform' # init the 'Transform' selected for 'Transform' transform1.Transform.Scale = [1.0, 1.0, 0.0002] # create a new 'Merge Blocks' mergeBlocks1 = MergeBlocks(Input=transform1) # create a new 'Threshold' threshold1 = Threshold(Input=mergeBlocks1) threshold1.Scalars = ['POINTS', 'qlev'] threshold1.ThresholdRange = [0.9, 1.00784758004649] # create a new 'Programmable Filter' programmableFilter1 = ProgrammableFilter(Input=threshold1) programmableFilter1.Script = 'import paraview.simple\nimport paraview.servermanager\nimport datetime\nimport locale\n\n# set epoc for date calculations\nlocale.setlocale(locale.LC_TIME, "en_US")\nepoc = datetime.datetime(2012, 1, 2, 0, 0, 0)\n\n# prapere input and output ports\nout = self.GetOutput()\nout.ShallowCopy(self.GetInput())\n\n# get time information\ntimeval = self.GetInput().GetInformation().Get(out.DATA_TIME_STEP())\n\n# find current time by adding elapsed time\ntimecur = epoc+datetime.timedelta(seconds=timeval)\ntimecur_str = timecur.strftime("%d-%b-%Y %H:%M:%S UTC")\n\n# output\nlabel = vtk.vtkStringArray()\nlabel.SetNumberOfComponents(1)\nlabel.Resize(1)\nlabel.SetName("TimeLabel")\nlabel.SetValue(0, timecur_str)\nout.GetFieldData().AddArray(label)' programmableFilter1.RequestInformationScript = '' programmableFilter1.RequestUpdateExtentScript = '' programmableFilter1.PythonPath = '' # create a new 'Annotate Global Data' annotateGlobalData1 = AnnotateGlobalData(Input=programmableFilter1) annotateGlobalData1.SelectArrays = 'TimeLabel' annotateGlobalData1.Prefix = 'Simulation Time: ' # create a new 'Calculator' calculator2 = Calculator(Input=mergeBlocks2) calculator2.ResultArrayName = 'wind_vec' calculator2.Function = 'wndu*iHat+wndv*jHat' # create a new 'Glyph' glyph1 = Glyph(Input=calculator2, GlyphType='Arrow') glyph1.Scalars = ['POINTS', 'None'] glyph1.Vectors = ['POINTS', 'wind_vec'] glyph1.ScaleMode = 'vector' glyph1.ScaleFactor = 0.10364504814147948 glyph1.GlyphMode = 'Every Nth Point' glyph1.Stride = 9 glyph1.GlyphTransform = 'Transform2' # init the 'Arrow' selected for 'GlyphType' glyph1.GlyphType.TipResolution = 36 glyph1.GlyphType.ShaftResolution = 36 # init the 'Transform2' selected for 'GlyphTransform' glyph1.GlyphTransform.Translate = [0.0, 0.0, -0.2] # ---------------------------------------------------------------- # setup color maps and opacity mapes used in the visualization # note: the Get..() functions create a new object, if needed # ---------------------------------------------------------------- # get color transfer function/color map for 'GlyphVector' glyphVectorLUT = GetColorTransferFunction('GlyphVector') glyphVectorLUT.LockDataRange = 1 glyphVectorLUT.RGBPoints = [0.0, 0.231373, 0.298039, 0.752941, 10.0, 0.865003, 0.865003, 0.865003, 20.0, 0.705882, 0.0156863, 0.14902] glyphVectorLUT.ScalarRangeInitialized = 1.0 # get opacity transfer function/opacity map for 'GlyphVector' glyphVectorPWF = GetOpacityTransferFunction('GlyphVector') glyphVectorPWF.Points = [0.0, 0.0, 0.5, 0.0, 20.0, 1.0, 0.5, 0.0] glyphVectorPWF.ScalarRangeInitialized = 1 # get color transfer function/color map for 'qlev' qlevLUT = GetColorTransferFunction('qlev') qlevLUT.RGBPoints = [0.9000005255687691, 0.0, 0.0, 0.0, 1.007838393570706, 1.0, 1.0, 1.0] qlevLUT.ColorSpace = 'RGB' qlevLUT.NanColor = [1.0, 0.0, 0.0] qlevLUT.ScalarRangeInitialized = 1.0 # get opacity transfer function/opacity map for 'qlev' qlevPWF = GetOpacityTransferFunction('qlev') qlevPWF.Points = [0.9000005255687691, 0.0, 0.5, 0.0, 1.007838393570706, 1.0, 0.5, 0.0] qlevPWF.ScalarRangeInitialized = 1 # get color transfer function/color map for 'topo_masked' topo_maskedLUT = GetColorTransferFunction('topo_masked') topo_maskedLUT.LockDataRange = 1 topo_maskedLUT.RGBPoints = [0.007018464617431164, 0.141176, 0.14902, 0.2, 171.43166754138656, 0.215686, 0.258824, 0.321569, 342.8563166181557, 0.243137, 0.368627, 0.380392, 514.2809656949248, 0.27451, 0.439216, 0.4, 685.705614771694, 0.32549, 0.501961, 0.384314, 857.1302638484631, 0.403922, 0.6, 0.419608, 1028.5549129252322, 0.486275, 0.701961, 0.454902, 1199.9795620020013, 0.556863, 0.74902, 0.494118, 1371.4042110787705, 0.670588, 0.8, 0.545098, 1714.2535092323087, 0.854902, 0.901961, 0.631373, 1885.678158309078, 0.92549, 0.941176, 0.694118, 2057.102807385847, 0.960784, 0.94902, 0.776471, 2228.527456462616, 0.988235, 0.968627, 0.909804, 2399.9521055393852, 0.839216, 0.815686, 0.772549, 2571.3767546161544, 0.701961, 0.662745, 0.615686, 2742.8014036929235, 0.6, 0.529412, 0.478431, 2914.2260527696926, 0.501961, 0.403922, 0.360784, 3085.6507018464617, 0.439216, 0.313725, 0.290196, 3428.5, 0.301961, 0.164706, 0.176471] topo_maskedLUT.ColorSpace = 'Lab' topo_maskedLUT.UseAboveRangeColor = 1 topo_maskedLUT.AboveRangeColor = [0.7843137254901961, 0.7843137254901961, 0.7843137254901961] topo_maskedLUT.NanColor = [0.25, 0.0, 0.0] topo_maskedLUT.ScalarRangeInitialized = 1.0 # get opacity transfer function/opacity map for 'topo_masked' topo_maskedPWF = GetOpacityTransferFunction('topo_masked') topo_maskedPWF.Points = [0.007018464617431164, 0.0, 0.5, 0.0, 3428.5, 1.0, 0.5, 0.0] topo_maskedPWF.ScalarRangeInitialized = 1 # ---------------------------------------------------------------- # setup the visualization in view 'renderView1' # ---------------------------------------------------------------- # show data from threshold1 threshold1Display = Show(threshold1, renderView1) # trace defaults for the display properties. threshold1Display.Representation = 'Volume' threshold1Display.ColorArrayName = ['POINTS', 'qlev'] threshold1Display.LookupTable = qlevLUT threshold1Display.OSPRayScaleArray = 'qlev' threshold1Display.OSPRayScaleFunction = 'PiecewiseFunction' threshold1Display.SelectOrientationVectors = 'None' threshold1Display.ScaleFactor = 3.56160907745361 threshold1Display.SelectScaleArray = 'None' threshold1Display.GlyphType = 'Arrow' threshold1Display.ScalarOpacityUnitDistance = 0.4 threshold1Display.SelectMapper = 'Bunyk ray cast' threshold1Display.GaussianRadius = 1.78080453872681 threshold1Display.SetScaleArray = ['POINTS', 'qlev'] threshold1Display.ScaleTransferFunction = 'PiecewiseFunction' threshold1Display.OpacityArray = ['POINTS', 'qlev'] threshold1Display.OpacityTransferFunction = 'PiecewiseFunction' # show color legend threshold1Display.SetScalarBarVisibility(renderView1, True) # show data from annotateGlobalData1 annotateGlobalData1Display = Show(annotateGlobalData1, renderView1) # trace defaults for the display properties. annotateGlobalData1Display.FontSize = 8 annotateGlobalData1Display.WindowLocation = 'AnyLocation' annotateGlobalData1Display.Position = [0.11863006846139695, 0.018211920529801348] # show data from warpByScalar1 warpByScalar1Display = Show(warpByScalar1, renderView1) # trace defaults for the display properties. warpByScalar1Display.ColorArrayName = ['POINTS', 'topo_masked'] warpByScalar1Display.LookupTable = topo_maskedLUT warpByScalar1Display.InterpolateScalarsBeforeMapping = 0 warpByScalar1Display.OSPRayScaleArray = 'topo_masked' warpByScalar1Display.OSPRayScaleFunction = 'PiecewiseFunction' warpByScalar1Display.SelectOrientationVectors = 'None' warpByScalar1Display.ScaleFactor = 3.4548349380493164 warpByScalar1Display.SelectScaleArray = 'topo_masked' warpByScalar1Display.GlyphType = 'Arrow' warpByScalar1Display.ScalarOpacityUnitDistance = 1.258217374203218 warpByScalar1Display.GaussianRadius = 1.7274174690246582 warpByScalar1Display.SetScaleArray = ['POINTS', 'topo_masked'] warpByScalar1Display.ScaleTransferFunction = 'PiecewiseFunction' warpByScalar1Display.OpacityArray = ['POINTS', 'topo_masked'] warpByScalar1Display.OpacityTransferFunction = 'PiecewiseFunction' # show data from glyph1 glyph1Display = Show(glyph1, renderView1) # trace defaults for the display properties. glyph1Display.ColorArrayName = ['POINTS', 'GlyphVector'] glyph1Display.LookupTable = glyphVectorLUT glyph1Display.Opacity = 0.4 glyph1Display.OSPRayScaleArray = 'topo_masked' glyph1Display.OSPRayScaleFunction = 'PiecewiseFunction' glyph1Display.SelectOrientationVectors = 'GlyphVector' glyph1Display.ScaleFactor = 3.6937280654907227 glyph1Display.SelectScaleArray = 'topo_masked' glyph1Display.GlyphType = 'Arrow' glyph1Display.GaussianRadius = 1.8468640327453614 glyph1Display.SetScaleArray = ['POINTS', 'topo_masked'] glyph1Display.ScaleTransferFunction = 'PiecewiseFunction' glyph1Display.OpacityArray = ['POINTS', 'topo_masked'] glyph1Display.OpacityTransferFunction = 'PiecewiseFunction' # show color legend glyph1Display.SetScalarBarVisibility(renderView1, True) # setup the color legend parameters for each legend in this view # get color legend/bar for qlevLUT in view renderView1 qlevLUTColorBar = GetScalarBar(qlevLUT, renderView1) qlevLUTColorBar.Position = [0.4622639179864949, 0.9160596026490065] qlevLUTColorBar.Position2 = [0.4300000000000008, 0.11999999999999955] qlevLUTColorBar.Orientation = 'Horizontal' qlevLUTColorBar.Title = 'Relative Humidity (0-1)' qlevLUTColorBar.ComponentTitle = '' qlevLUTColorBar.TitleBold = 1 qlevLUTColorBar.TitleFontSize = 4 qlevLUTColorBar.LabelBold = 1 qlevLUTColorBar.LabelFontSize = 4 qlevLUTColorBar.RangeLabelFormat = '%4.1f' qlevLUTColorBar.TextPosition = 'Ticks left/bottom, annotations right/top' qlevLUTColorBar.AspectRatio = 60.0 # get color legend/bar for glyphVectorLUT in view renderView1 glyphVectorLUTColorBar = GetScalarBar(glyphVectorLUT, renderView1) glyphVectorLUTColorBar.Position = [0.00841209173036786, 0.9196688741721852] glyphVectorLUTColorBar.Position2 = [0.4300000000000005, 0.12000000000000166] glyphVectorLUTColorBar.AutoOrient = 0 glyphVectorLUTColorBar.Orientation = 'Horizontal' glyphVectorLUTColorBar.Title = 'Surface Wind' glyphVectorLUTColorBar.ComponentTitle = 'Magnitude' glyphVectorLUTColorBar.TitleBold = 1 glyphVectorLUTColorBar.TitleFontSize = 4 glyphVectorLUTColorBar.LabelBold = 1 glyphVectorLUTColorBar.LabelFontSize = 4 glyphVectorLUTColorBar.RangeLabelFormat = '%4.1f' glyphVectorLUTColorBar.TextPosition = 'Ticks left/bottom, annotations right/top' glyphVectorLUTColorBar.AspectRatio = 60.0 # ---------------------------------------------------------------- # finally, restore active source SetActiveSource(threshold1) # ---------------------------------------------------------------- return Pipeline() class CoProcessor(coprocessing.CoProcessor): def CreatePipeline(self, datadescription): self.Pipeline = _CreatePipeline(self, datadescription) coprocessor = CoProcessor() # these are the frequencies at which the coprocessor updates. freqs = {'atm_input2d': [1, 1, 1, 1, 1, 1, 1], 'atm_input3d': [1, 1, 1, 1, 1, 1]} coprocessor.SetUpdateFrequencies(freqs) return coprocessor #-------------------------------------------------------------- # Global variables that will hold the pipeline for each timestep # Creating the CoProcessor object, doesn't actually create the ParaView pipeline. # It will be automatically setup when coprocessor.UpdateProducers() is called the # first time. coprocessor = CreateCoProcessor() #-------------------------------------------------------------- # Enable Live-Visualizaton with ParaView coprocessor.EnableLiveVisualization(False, 1) # ---------------------- Data Selection method ---------------------- def RequestDataDescription(datadescription): "Callback to populate the request for current timestep" global coprocessor if datadescription.GetForceOutput() == True: # We are just going to request all fields and meshes from the simulation # code/adaptor. for i in range(datadescription.GetNumberOfInputDescriptions()): datadescription.GetInputDescription(i).AllFieldsOn() datadescription.GetInputDescription(i).GenerateMeshOn() return # setup requests for all inputs based on the requirements of the # pipeline. coprocessor.LoadRequestedData(datadescription) # ------------------------ Processing method ------------------------ def DoCoProcessing(datadescription): "Callback to do co-processing for current timestep" global coprocessor # Update the coprocessor by providing it the newly generated simulation data. # If the pipeline hasn't been setup yet, this will setup the pipeline. coprocessor.UpdateProducers(datadescription) # Write output data, if appropriate. coprocessor.WriteData(datadescription); # Write image capture (Last arg: rescale lookup table), if appropriate. coprocessor.WriteImages(datadescription, rescale_lookuptable=False) # Live Visualization, if enabled. coprocessor.DoLiveVisualization(datadescription, "localhost", 22222) From debopamg at gmail.com Mon Jan 2 08:38:23 2017 From: debopamg at gmail.com (Debopam Ghoshal) Date: Mon, 2 Jan 2017 19:08:23 +0530 Subject: [Paraview] Error while launching Paraview (and Paraview Web) in Window 10 In-Reply-To: References: Message-ID: Hi Seb, 1. "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" works fine. Now we can see the list of files in the data folder. However, there seems to be some problem with the ParaviewWeb Application (or may be with the graphics driver?). Because we cannot render the sample mesh files (eg: can.ex2) in the visualizer. When we tried to view the files in the desktop application they are displayed without any problems. A screenshot of the graphics driver is attached for your reference. 2. Ok. Cheers & Best Wishes, Debopam ------------------------------- On Fri, Dec 30, 2016 at 9:02 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > Hi Debopam, > > 1) I'm not sure to know what is the issue with the path but try with > either: > > "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" > or > "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" > > 2) paraview_console_error.jpg is not an error since you are not using the > launcher. So that part is actually expected. > For the second error when you try to delete the TimeAnnotation, I'm not > sure to know what is the issue. You should know more by looking at the > output of the command line. > > Seb > > > On Fri, Dec 30, 2016 at 12:53 AM, Debopam Ghoshal > wrote: > >> (Reposting for a larger audience) >> >> Hi Ken, >> >> When we start paraview web we noted two things: >> >> 1. In the Visualizer, the Files tab is not showing any files. Please >> refer to the attached screenshot (paraview_home.jpg) >> 2. There is an error showing up at the browser console >> (paraview_console_error.jpg, paraview_console_error2.jpg) >> >> The paraview startup messages are also given for your reference >> (paraview_log.jpg) >> >> >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> Cell: +91 98304 10041 <+91%2098304%2010041> >> >> On Wed, Dec 28, 2016 at 10:35 AM, Debopam Ghoshal >> wrote: >> >>> Hi Ken, >>> >>> We finally got a machine where Paraview 5.2 MPI is running without any >>> issues. However, when we start paraview web we noted two things: >>> >>> 1. In the Visualizer, the Files tab is not showing any files. Please >>> refer to the attached screenshot (paraview_home.jpg) >>> 2. There is an error showing up at the browser console >>> (paraview_console_error.jpg, paraview_console_error2.jpg) >>> >>> The paraview startup messages are also given for your reference >>> (paraview_log.jpg) >>> >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> Cell: +91 98304 10041 <+91%2098304%2010041> >>> >>> On Tue, Dec 13, 2016 at 7:03 PM, Ken Martin >>> wrote: >>> >>>> ParaView with the old OpenGL backend should work on any windows >>>> machine. It may be slow and some of the advanced techniques may not work >>>> but the basics will all work. >>>> >>>> On Tue, Dec 13, 2016 at 5:57 AM, Debopam Ghoshal >>>> wrote: >>>> >>>>> Yes Ken, you are right. This is an older machine. So, will it be >>>>> possible to use ParaView (with the old OpenGL backend) on this machine? Or >>>>> we need to get a machine with better configuration to run ParaView? >>>>> >>>>> Additionally, will it be possible to run ParaView (and ParaViewWeb) on >>>>> a Windows 10 guest running in VirtualBox on a MacOS host? >>>>> >>>>> Cheers & Best Wishes, >>>>> Debopam >>>>> ------------------------------- >>>>> Cell: +91 98304 10041 >>>>> >>>>> On Mon, Dec 12, 2016 at 8:22 PM, Ken Martin >>>>> wrote: >>>>> >>>>>> So if I am reading this correctly the machine has a rv516 GPU which >>>>>> was released in 2007. That GPU does not support anything beyond OpenGL 2.0 >>>>>> which means you would need to use the old OpenGL backend with VTK/ParaView. >>>>>> >>>>>> http://www.gpureview.com/ati-rv516-chip-135.html >>>>>> >>>>>> >>>>>> >>>>>> On Mon, Dec 12, 2016 at 9:21 AM, Debopam Ghoshal >>>>>> wrote: >>>>>> >>>>>>> Hi Ken, >>>>>>> >>>>>>> This is a standard desktop PC running Window 10 Professional >>>>>>> Edition. If there is something I need to install on this machine, please >>>>>>> let me know. >>>>>>> >>>>>>> Cheers & Best Wishes, >>>>>>> Debopam >>>>>>> ------------------------------- >>>>>>> Cell: +91 98304 10041 >>>>>>> >>>>>>> On Mon, Dec 12, 2016 at 7:18 PM, Ken Martin >>>>>>> wrote: >>>>>>> >>>>>>>> Is this a server maybe? It seems like the system lacks any OpenGL >>>>>>>> support beyond the default Microsoft implementation which is circa OpenGL >>>>>>>> 1.4 I believe. >>>>>>>> >>>>>>>> On Sun, Dec 11, 2016 at 11:51 PM, Debopam Ghoshal < >>>>>>>> debopamg at gmail.com> wrote: >>>>>>>> >>>>>>>>> Hi Ken, >>>>>>>>> >>>>>>>>> When I ran the command: vtkRenderingOpenGL2CxxTests.exe >>>>>>>>> TestAppleBug there was an error. A screenshot of the error is attached for >>>>>>>>> your reference. Please let me know if you require any other details. >>>>>>>>> >>>>>>>>> Cheers & Best Wishes, >>>>>>>>> Debopam >>>>>>>>> ------------------------------- >>>>>>>>> Cell: +91 98304 10041 >>>>>>>>> >>>>>>>>> On Fri, Dec 9, 2016 at 7:17 PM, Ken Martin >>>>>>>> > wrote: >>>>>>>>> >>>>>>>>>> Here is a new version of the executable, can you try it? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Fri, Dec 9, 2016 at 1:42 AM, Debopam Ghoshal < >>>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Hi Cory and Ken, >>>>>>>>>>> >>>>>>>>>>> Thanks a lot for your prompt response. >>>>>>>>>>> >>>>>>>>>>> Below are the details you asked: >>>>>>>>>>> 1. display-props.png - screenshot of: Settings -> System -> >>>>>>>>>>> Display -> Advanced display settings -> Display adapter >>>>>>>>>>> properties >>>>>>>>>>> 2. vtkrendering.png - screenshot of the error which came up when >>>>>>>>>>> I ran: vtkRenderingOpenGL2CxxTests.exe TestAppleBug >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>>> Debopam >>>>>>>>>>> ------------------------------- >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Thu, Dec 8, 2016 at 10:49 PM, Ken Martin < >>>>>>>>>>> ken.martin at kitware.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> Can you try running the following executable (rename .foo to >>>>>>>>>>>> .exe) from a cmd shell as >>>>>>>>>>>> >>>>>>>>>>>> vtkRenderingOpenGL2CxxTests.exe TestAppleBug >>>>>>>>>>>> >>>>>>>>>>>> and see if it crashes, and send the output is produces >>>>>>>>>>>> >>>>>>>>>>>> Thanks >>>>>>>>>>>> Ken >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Thu, Dec 8, 2016 at 10:46 AM, Cory Quammen < >>>>>>>>>>>> cory.quammen at kitware.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hi Depobam, >>>>>>>>>>>>> >>>>>>>>>>>>> Thanks for trying out the other ParaView versions. I suspect >>>>>>>>>>>>> there >>>>>>>>>>>>> might be a problem with the new OpenGL backend on your system >>>>>>>>>>>>> as that >>>>>>>>>>>>> has changed between ParaView 4 and 5. What kind of graphics >>>>>>>>>>>>> card do >>>>>>>>>>>>> you have on your system. You can get some of the display >>>>>>>>>>>>> properties by >>>>>>>>>>>>> going to >>>>>>>>>>>>> >>>>>>>>>>>>> Settings -> System -> Display -> Advanced display settings -> >>>>>>>>>>>>> Display >>>>>>>>>>>>> adapter properties >>>>>>>>>>>>> >>>>>>>>>>>>> Ken, >>>>>>>>>>>>> >>>>>>>>>>>>> Are there any things Depobam can do on his Windows 10 system >>>>>>>>>>>>> to help >>>>>>>>>>>>> diagnose whether the OpenGL2 backend is causing the crash he >>>>>>>>>>>>> is seeing >>>>>>>>>>>>> in ParaView? >>>>>>>>>>>>> >>>>>>>>>>>>> Thanks, >>>>>>>>>>>>> Cory >>>>>>>>>>>>> >>>>>>>>>>>>> On Thu, Dec 8, 2016 at 2:51 AM, Debopam Ghoshal < >>>>>>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>>>>>> > Hi Cory, >>>>>>>>>>>>> > >>>>>>>>>>>>> > I tried to run Paraview 5.1.2, but it gives the same error. >>>>>>>>>>>>> However, I was >>>>>>>>>>>>> > able to run Paraview 4.1 successfully on Window 10. >>>>>>>>>>>>> > >>>>>>>>>>>>> > But ParaviewWeb failed to run as it seems that version 4.1 >>>>>>>>>>>>> does not have the >>>>>>>>>>>>> > python script used for running ParaviewWeb. >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > Cheers & Best Wishes, >>>>>>>>>>>>> > Debopam >>>>>>>>>>>>> > ------------------------------- >>>>>>>>>>>>> > Cell: +91 98304 10041 >>>>>>>>>>>>> > >>>>>>>>>>>>> > On Wed, Dec 7, 2016 at 5:14 AM, Sebastien Jourdain >>>>>>>>>>>>> > wrote: >>>>>>>>>>>>> >> >>>>>>>>>>>>> >> Cory you need to provide an absolute path as argument >>>>>>>>>>>>> "c:\.....". >>>>>>>>>>>>> >> >>>>>>>>>>>>> >> But the issue seems to be on ParaView itself. The (Qt) >>>>>>>>>>>>> executable crash at >>>>>>>>>>>>> >> startup on there machine, regardless of their goal to use >>>>>>>>>>>>> ParaViewWeb down >>>>>>>>>>>>> >> the road. >>>>>>>>>>>>> >> >>>>>>>>>>>>> >> Seb >>>>>>>>>>>>> >> >>>>>>>>>>>>> >> On Tue, Dec 6, 2016 at 10:06 AM, Cory Quammen < >>>>>>>>>>>>> cory.quammen at kitware.com> >>>>>>>>>>>>> >> wrote: >>>>>>>>>>>>> >>> >>>>>>>>>>>>> >>> Correction: I could run ParaViewWeb on Windows 10, but I >>>>>>>>>>>>> couldn't load >>>>>>>>>>>>> >>> data through the web client. I didn't get pvpython.exe to >>>>>>>>>>>>> crash, >>>>>>>>>>>>> >>> though. >>>>>>>>>>>>> >>> >>>>>>>>>>>>> >>> On Tue, Dec 6, 2016 at 11:35 AM, Cory Quammen < >>>>>>>>>>>>> cory.quammen at kitware.com> >>>>>>>>>>>>> >>> wrote: >>>>>>>>>>>>> >>> > Debopam, >>>>>>>>>>>>> >>> > >>>>>>>>>>>>> >>> > I just tried what you ran on Windows 10 and it ran fine >>>>>>>>>>>>> for me. One >>>>>>>>>>>>> >>> > thing I had to fix, which I doubt is the cause of your >>>>>>>>>>>>> crash, is the >>>>>>>>>>>>> >>> > data argument is actually just --data and not --data-dir. >>>>>>>>>>>>> >>> > >>>>>>>>>>>>> >>> > We've had some other reports of 5.2 crashing on start up >>>>>>>>>>>>> on Windows. >>>>>>>>>>>>> >>> > Did 5.1 run fine for you? >>>>>>>>>>>>> >>> > >>>>>>>>>>>>> >>> > I wonder if you could try installing ParaView 4.4 from >>>>>>>>>>>>> >>> > http://www.paraview.org/download/ to see if it runs. If >>>>>>>>>>>>> it does, that >>>>>>>>>>>>> >>> > gives me a clue on where to look. >>>>>>>>>>>>> >>> > >>>>>>>>>>>>> >>> > Thanks, >>>>>>>>>>>>> >>> > Cory >>>>>>>>>>>>> >>> > >>>>>>>>>>>>> >>> > On Tue, Dec 6, 2016 at 5:23 AM, Debopam Ghoshal < >>>>>>>>>>>>> debopamg at gmail.com> >>>>>>>>>>>>> >>> > wrote: >>>>>>>>>>>>> >>> >> Hi, >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> I followed the instructions given here, but I am >>>>>>>>>>>>> getting the following >>>>>>>>>>>>> >>> >> error: >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> Paraview Installation Directory: >>>>>>>>>>>>> >>> >> C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> Command: >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> .\bin\pvpython.exe \ >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>>>>>> -Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw- >>>>>>>>>>>>> visualizer.py" >>>>>>>>>>>>> >>> >> \ >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> --content >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>>>>>> -Windows-64bit\share\paraview-5.2\web\visualizer\www\" >>>>>>>>>>>>> >>> >> \ >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> --data-dir "C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\data\" >>>>>>>>>>>>> \ >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> --port 8080 >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> Output: >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> Console: 2016-12-02 10:09:51+0530 [-] Log opened. >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> Error Window screenshot attached (PVW-Error.png) >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> Other Details: >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> OS: Windows 10 Professional >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> RAM: 8GB >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> A screenshot of the system properties is attached for >>>>>>>>>>>>> your reference >>>>>>>>>>>>> >>> >> (Window10-SystemProps.png) >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> Similar error occurred when I launched the Paraview >>>>>>>>>>>>> desktop >>>>>>>>>>>>> >>> >> application >>>>>>>>>>>>> >>> >> (ParaviewError.png). >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> Cheers & Best Wishes, >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> Debopam >>>>>>>>>>>>> >>> >> ------------------------------- >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> _______________________________________________ >>>>>>>>>>>>> >>> >> Powered by www.kitware.com >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> Visit other Kitware open-source projects at >>>>>>>>>>>>> >>> >> http://www.kitware.com/opensource/opensource.html >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> Please keep messages on-topic and check the ParaView >>>>>>>>>>>>> Wiki at: >>>>>>>>>>>>> >>> >> http://paraview.org/Wiki/ParaView >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> Search the list archives at: >>>>>>>>>>>>> http://markmail.org/search/?q=ParaView >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> >> Follow this link to subscribe/unsubscribe: >>>>>>>>>>>>> >>> >> http://public.kitware.com/mailman/listinfo/paraview >>>>>>>>>>>>> >>> >> >>>>>>>>>>>>> >>> > >>>>>>>>>>>>> >>> > >>>>>>>>>>>>> >>> > >>>>>>>>>>>>> >>> > -- >>>>>>>>>>>>> >>> > Cory Quammen >>>>>>>>>>>>> >>> > Staff R&D Engineer >>>>>>>>>>>>> >>> > Kitware, Inc. >>>>>>>>>>>>> >>> >>>>>>>>>>>>> >>> >>>>>>>>>>>>> >>> >>>>>>>>>>>>> >>> -- >>>>>>>>>>>>> >>> Cory Quammen >>>>>>>>>>>>> >>> Staff R&D Engineer >>>>>>>>>>>>> >>> Kitware, Inc. >>>>>>>>>>>>> >>> _______________________________________________ >>>>>>>>>>>>> >>> Powered by www.kitware.com >>>>>>>>>>>>> >>> >>>>>>>>>>>>> >>> Visit other Kitware open-source projects at >>>>>>>>>>>>> >>> http://www.kitware.com/opensource/opensource.html >>>>>>>>>>>>> >>> >>>>>>>>>>>>> >>> Please keep messages on-topic and check the ParaView Wiki >>>>>>>>>>>>> at: >>>>>>>>>>>>> >>> http://paraview.org/Wiki/ParaView >>>>>>>>>>>>> >>> >>>>>>>>>>>>> >>> Search the list archives at: >>>>>>>>>>>>> http://markmail.org/search/?q=ParaView >>>>>>>>>>>>> >>> >>>>>>>>>>>>> >>> Follow this link to subscribe/unsubscribe: >>>>>>>>>>>>> >>> http://public.kitware.com/mailman/listinfo/paraview >>>>>>>>>>>>> >> >>>>>>>>>>>>> >> >>>>>>>>>>>>> > >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Cory Quammen >>>>>>>>>>>>> Staff R&D Engineer >>>>>>>>>>>>> Kitware, Inc. >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Ken Martin PhD >>>>>>>>>>>> Chairman & CFO >>>>>>>>>>>> Kitware Inc. >>>>>>>>>>>> 28 Corporate Drive >>>>>>>>>>>> Clifton Park NY 12065 >>>>>>>>>>>> 518 371 3971 >>>>>>>>>>>> >>>>>>>>>>>> This communication, including all attachments, contains >>>>>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Ken Martin PhD >>>>>>>>>> Chairman & CFO >>>>>>>>>> Kitware Inc. >>>>>>>>>> 28 Corporate Drive >>>>>>>>>> Clifton Park NY 12065 >>>>>>>>>> 518 371 3971 >>>>>>>>>> >>>>>>>>>> This communication, including all attachments, contains >>>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Ken Martin PhD >>>>>>>> Chairman & CFO >>>>>>>> Kitware Inc. >>>>>>>> 28 Corporate Drive >>>>>>>> Clifton Park NY 12065 >>>>>>>> 518 371 3971 >>>>>>>> >>>>>>>> This communication, including all attachments, contains >>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Ken Martin PhD >>>>>> Chairman & CFO >>>>>> Kitware Inc. >>>>>> 28 Corporate Drive >>>>>> Clifton Park NY 12065 >>>>>> 518 371 3971 >>>>>> >>>>>> This communication, including all attachments, contains confidential >>>>>> and legally privileged information, and it is intended only for the use of >>>>>> the addressee. Access to this email by anyone else is unauthorized. If you >>>>>> are not the intended recipient, any disclosure, copying, distribution or >>>>>> any action taken in reliance on it is prohibited and may be unlawful. If >>>>>> you received this communication in error please notify us immediately and >>>>>> destroy the original message. Thank you. >>>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Ken Martin PhD >>>> Chairman & CFO >>>> Kitware Inc. >>>> 28 Corporate Drive >>>> Clifton Park NY 12065 >>>> 518 371 3971 <(518)%20371-3971> >>>> >>>> This communication, including all attachments, contains confidential >>>> and legally privileged information, and it is intended only for the use of >>>> the addressee. Access to this email by anyone else is unauthorized. If you >>>> are not the intended recipient, any disclosure, copying, distribution or >>>> any action taken in reliance on it is prohibited and may be unlawful. If >>>> you received this communication in error please notify us immediately and >>>> destroy the original message. Thank you. >>>> >>> >>> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: WindowsGraphicsProperties.png Type: image/png Size: 21716 bytes Desc: not available URL: From andy.bauer at kitware.com Mon Jan 2 10:39:54 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Mon, 2 Jan 2017 10:39:54 -0500 Subject: [Paraview] How to start the Catalyst example: CxxFullExample In-Reply-To: <1e16d1e.252e6.15952d934da.Coremail.yzhzhang@ipe.ac.cn> References: <1e16d1e.252e6.15952d934da.Coremail.yzhzhang@ipe.ac.cn> Message-ID: Hi, The Catalyst examples have been moved to the ParaView source repo. I'd recommend using the newest version of ParaView as well as Catalyst since there have been a lot of improvements since PV 4.4. For the CxxFullExample, if you've built it with Catalyst enabled you can run it as you've done as well as pass in Catalyst Python scripts to use through command line arguments. Andy On Fri, Dec 30, 2016 at 10:08 PM, ??? wrote: > > > Hello everyone, > > I'm learning the ParaView Catalyst by starting at the CxxFullExample, > which is one of the Catalyst examples from https://github.com/Kitware/ > ParaViewCatalystExampleCode-MOVED-. I have compiled and built it and got > the CxxFullExample executable. It is said that it's a full example of a > simulation code interfacing with Catalyst, but I don't know how to execute > it. I typed "./CxxFullExample" in the command line under the build > directory of the example and nothing happened. I read the Chapter 2 of the > Catalyst User's Guide and found what's mainly discussed is about creating > ParaView Catalyst scripts in ParaView. It is said that to create ParaView > Catalyst scripts in ParaView, I must have a representative dataset, and the > Appendix 7.1.2 of the guide has a script that can be used to create the > dataset. I managed to get lots of files named "filename_x_x.vtu" and > "filename_x.pvtu"(x is a number) by typing "./CxxFullExample ./pvpython > python.py"(python.py i s the script from the appendix 7.1.2 of the user's > guide) in the command line under the bin directory of ParaView 4.4.0. Then > I followed the section 2.2 of the user's guide with one of the file I > generated above, only to get another script. Actually, what I want is a > condition shown at www.kitware.com/blog/home/post/722, but after read the > section 2.3 of the user's guide, I'm still unable to implement it. How > should I organize the Catalyst enabled simulation and ParaView? Can it work > in the client-server mode? Can I get it to work without much knowledge of > Python? Maybe I'm on the wrong way of learning Catalyst, if so, you can > ignore my questions and just tell me the right way. Thanks a lot! > > -Zhang > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Mon Jan 2 10:50:34 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Mon, 2 Jan 2017 10:50:34 -0500 Subject: [Paraview] difference in the output of co-processing In-Reply-To: <28223582-6312-69d8-340f-2d9bcddddb9e@be.itu.edu.tr> References: <28223582-6312-69d8-340f-2d9bcddddb9e@be.itu.edu.tr> Message-ID: Hi Ufuk, I'm not sure what is causing the difference. I'm guessing not all of the information for the view is saved in the state. Any chance that you're using different versions of ParaView for the GUI and Catalyst generated images? I see that the Python script is specifying that it was generated in a PV 5.2 release candidate. If it's the same version of PV then you can test the state mechanism in PV by saving the state as both a Python script as well as a pvsm file. After that, try generating the image by loading the pvsm state file and running the Python state file in the GUI. Another possibility is that there are some config settings in the GUI that aren't used in Catalyst. If you don't mind helping narrow down the cause of the issue we can put in a bug report for this. Thanks, Andy On Mon, Jan 2, 2017 at 5:27 AM, Ufuk Utku Turuncoglu (BE) < u.utku.turuncoglu at be.itu.edu.tr> wrote: > Hi, > > I am trying to use Paraview co-processing component to create > visualization from custom model. The problem is that the color bars are > misplaced and also smaller and thinner in the co-processing output (saved > png file) if i compare it with direct visualization from Paraview. I am > attaching sample png files for both case and also Python file that is used > for the co-processing. I just wonder that is it possible to fix it easily? > It might be a bug but i am not sure. > > Thanks, > Regards, > > --ufuk > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Mon Jan 2 11:06:46 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Mon, 2 Jan 2017 09:06:46 -0700 Subject: [Paraview] Error while launching Paraview (and Paraview Web) in Window 10 In-Reply-To: References: Message-ID: Hi Debopam, Do you see the orientation axis? Does it move when you rotate the scene? What happen when you click on "+" and choose the Wavelet? Do you see something? I'm wondering if you still run into an invalid path issue due to / or \. Seb On Mon, Jan 2, 2017 at 6:38 AM, Debopam Ghoshal wrote: > Hi Seb, > > 1. "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" works fine. Now > we can see the list of files in the data folder. > > However, there seems to be some problem with the ParaviewWeb Application > (or may be with the graphics driver?). Because we cannot render the sample > mesh files (eg: can.ex2) in the visualizer. When we tried to view the files > in the desktop application they are displayed without any problems. A > screenshot of the graphics driver is attached for your reference. > > 2. Ok. > > > Cheers & Best Wishes, > Debopam > ------------------------------- > > On Fri, Dec 30, 2016 at 9:02 PM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> Hi Debopam, >> >> 1) I'm not sure to know what is the issue with the path but try with >> either: >> >> "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" >> or >> "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" >> >> 2) paraview_console_error.jpg is not an error since you are not using the >> launcher. So that part is actually expected. >> For the second error when you try to delete the TimeAnnotation, I'm not >> sure to know what is the issue. You should know more by looking at the >> output of the command line. >> >> Seb >> >> >> On Fri, Dec 30, 2016 at 12:53 AM, Debopam Ghoshal >> wrote: >> >>> (Reposting for a larger audience) >>> >>> Hi Ken, >>> >>> When we start paraview web we noted two things: >>> >>> 1. In the Visualizer, the Files tab is not showing any files. Please >>> refer to the attached screenshot (paraview_home.jpg) >>> 2. There is an error showing up at the browser console >>> (paraview_console_error.jpg, paraview_console_error2.jpg) >>> >>> The paraview startup messages are also given for your reference >>> (paraview_log.jpg) >>> >>> >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> Cell: +91 98304 10041 <+91%2098304%2010041> >>> >>> On Wed, Dec 28, 2016 at 10:35 AM, Debopam Ghoshal >>> wrote: >>> >>>> Hi Ken, >>>> >>>> We finally got a machine where Paraview 5.2 MPI is running without any >>>> issues. However, when we start paraview web we noted two things: >>>> >>>> 1. In the Visualizer, the Files tab is not showing any files. Please >>>> refer to the attached screenshot (paraview_home.jpg) >>>> 2. There is an error showing up at the browser console >>>> (paraview_console_error.jpg, paraview_console_error2.jpg) >>>> >>>> The paraview startup messages are also given for your reference >>>> (paraview_log.jpg) >>>> >>>> >>>> Cheers & Best Wishes, >>>> Debopam >>>> ------------------------------- >>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>> >>>> On Tue, Dec 13, 2016 at 7:03 PM, Ken Martin >>>> wrote: >>>> >>>>> ParaView with the old OpenGL backend should work on any windows >>>>> machine. It may be slow and some of the advanced techniques may not work >>>>> but the basics will all work. >>>>> >>>>> On Tue, Dec 13, 2016 at 5:57 AM, Debopam Ghoshal >>>>> wrote: >>>>> >>>>>> Yes Ken, you are right. This is an older machine. So, will it be >>>>>> possible to use ParaView (with the old OpenGL backend) on this machine? Or >>>>>> we need to get a machine with better configuration to run ParaView? >>>>>> >>>>>> Additionally, will it be possible to run ParaView (and ParaViewWeb) >>>>>> on a Windows 10 guest running in VirtualBox on a MacOS host? >>>>>> >>>>>> Cheers & Best Wishes, >>>>>> Debopam >>>>>> ------------------------------- >>>>>> Cell: +91 98304 10041 >>>>>> >>>>>> On Mon, Dec 12, 2016 at 8:22 PM, Ken Martin >>>>>> wrote: >>>>>> >>>>>>> So if I am reading this correctly the machine has a rv516 GPU which >>>>>>> was released in 2007. That GPU does not support anything beyond OpenGL 2.0 >>>>>>> which means you would need to use the old OpenGL backend with VTK/ParaView. >>>>>>> >>>>>>> http://www.gpureview.com/ati-rv516-chip-135.html >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Mon, Dec 12, 2016 at 9:21 AM, Debopam Ghoshal >>>>>> > wrote: >>>>>>> >>>>>>>> Hi Ken, >>>>>>>> >>>>>>>> This is a standard desktop PC running Window 10 Professional >>>>>>>> Edition. If there is something I need to install on this machine, please >>>>>>>> let me know. >>>>>>>> >>>>>>>> Cheers & Best Wishes, >>>>>>>> Debopam >>>>>>>> ------------------------------- >>>>>>>> Cell: +91 98304 10041 >>>>>>>> >>>>>>>> On Mon, Dec 12, 2016 at 7:18 PM, Ken Martin >>>>>>> > wrote: >>>>>>>> >>>>>>>>> Is this a server maybe? It seems like the system lacks any OpenGL >>>>>>>>> support beyond the default Microsoft implementation which is circa OpenGL >>>>>>>>> 1.4 I believe. >>>>>>>>> >>>>>>>>> On Sun, Dec 11, 2016 at 11:51 PM, Debopam Ghoshal < >>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Hi Ken, >>>>>>>>>> >>>>>>>>>> When I ran the command: vtkRenderingOpenGL2CxxTests.exe >>>>>>>>>> TestAppleBug there was an error. A screenshot of the error is attached for >>>>>>>>>> your reference. Please let me know if you require any other details. >>>>>>>>>> >>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>> Debopam >>>>>>>>>> ------------------------------- >>>>>>>>>> Cell: +91 98304 10041 >>>>>>>>>> >>>>>>>>>> On Fri, Dec 9, 2016 at 7:17 PM, Ken Martin < >>>>>>>>>> ken.martin at kitware.com> wrote: >>>>>>>>>> >>>>>>>>>>> Here is a new version of the executable, can you try it? >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Fri, Dec 9, 2016 at 1:42 AM, Debopam Ghoshal < >>>>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi Cory and Ken, >>>>>>>>>>>> >>>>>>>>>>>> Thanks a lot for your prompt response. >>>>>>>>>>>> >>>>>>>>>>>> Below are the details you asked: >>>>>>>>>>>> 1. display-props.png - screenshot of: Settings -> System -> >>>>>>>>>>>> Display -> Advanced display settings -> Display adapter >>>>>>>>>>>> properties >>>>>>>>>>>> 2. vtkrendering.png - screenshot of the error which came up >>>>>>>>>>>> when I ran: vtkRenderingOpenGL2CxxTests.exe TestAppleBug >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>>>> Debopam >>>>>>>>>>>> ------------------------------- >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Thu, Dec 8, 2016 at 10:49 PM, Ken Martin < >>>>>>>>>>>> ken.martin at kitware.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Can you try running the following executable (rename .foo to >>>>>>>>>>>>> .exe) from a cmd shell as >>>>>>>>>>>>> >>>>>>>>>>>>> vtkRenderingOpenGL2CxxTests.exe TestAppleBug >>>>>>>>>>>>> >>>>>>>>>>>>> and see if it crashes, and send the output is produces >>>>>>>>>>>>> >>>>>>>>>>>>> Thanks >>>>>>>>>>>>> Ken >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Thu, Dec 8, 2016 at 10:46 AM, Cory Quammen < >>>>>>>>>>>>> cory.quammen at kitware.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Hi Depobam, >>>>>>>>>>>>>> >>>>>>>>>>>>>> Thanks for trying out the other ParaView versions. I suspect >>>>>>>>>>>>>> there >>>>>>>>>>>>>> might be a problem with the new OpenGL backend on your system >>>>>>>>>>>>>> as that >>>>>>>>>>>>>> has changed between ParaView 4 and 5. What kind of graphics >>>>>>>>>>>>>> card do >>>>>>>>>>>>>> you have on your system. You can get some of the display >>>>>>>>>>>>>> properties by >>>>>>>>>>>>>> going to >>>>>>>>>>>>>> >>>>>>>>>>>>>> Settings -> System -> Display -> Advanced display settings -> >>>>>>>>>>>>>> Display >>>>>>>>>>>>>> adapter properties >>>>>>>>>>>>>> >>>>>>>>>>>>>> Ken, >>>>>>>>>>>>>> >>>>>>>>>>>>>> Are there any things Depobam can do on his Windows 10 system >>>>>>>>>>>>>> to help >>>>>>>>>>>>>> diagnose whether the OpenGL2 backend is causing the crash he >>>>>>>>>>>>>> is seeing >>>>>>>>>>>>>> in ParaView? >>>>>>>>>>>>>> >>>>>>>>>>>>>> Thanks, >>>>>>>>>>>>>> Cory >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Thu, Dec 8, 2016 at 2:51 AM, Debopam Ghoshal < >>>>>>>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>>>>>>> > Hi Cory, >>>>>>>>>>>>>> > >>>>>>>>>>>>>> > I tried to run Paraview 5.1.2, but it gives the same error. >>>>>>>>>>>>>> However, I was >>>>>>>>>>>>>> > able to run Paraview 4.1 successfully on Window 10. >>>>>>>>>>>>>> > >>>>>>>>>>>>>> > But ParaviewWeb failed to run as it seems that version 4.1 >>>>>>>>>>>>>> does not have the >>>>>>>>>>>>>> > python script used for running ParaviewWeb. >>>>>>>>>>>>>> > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> > Cheers & Best Wishes, >>>>>>>>>>>>>> > Debopam >>>>>>>>>>>>>> > ------------------------------- >>>>>>>>>>>>>> > Cell: +91 98304 10041 >>>>>>>>>>>>>> > >>>>>>>>>>>>>> > On Wed, Dec 7, 2016 at 5:14 AM, Sebastien Jourdain >>>>>>>>>>>>>> > wrote: >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> >> Cory you need to provide an absolute path as argument >>>>>>>>>>>>>> "c:\.....". >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> >> But the issue seems to be on ParaView itself. The (Qt) >>>>>>>>>>>>>> executable crash at >>>>>>>>>>>>>> >> startup on there machine, regardless of their goal to use >>>>>>>>>>>>>> ParaViewWeb down >>>>>>>>>>>>>> >> the road. >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> >> Seb >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> >> On Tue, Dec 6, 2016 at 10:06 AM, Cory Quammen < >>>>>>>>>>>>>> cory.quammen at kitware.com> >>>>>>>>>>>>>> >> wrote: >>>>>>>>>>>>>> >>> >>>>>>>>>>>>>> >>> Correction: I could run ParaViewWeb on Windows 10, but I >>>>>>>>>>>>>> couldn't load >>>>>>>>>>>>>> >>> data through the web client. I didn't get pvpython.exe to >>>>>>>>>>>>>> crash, >>>>>>>>>>>>>> >>> though. >>>>>>>>>>>>>> >>> >>>>>>>>>>>>>> >>> On Tue, Dec 6, 2016 at 11:35 AM, Cory Quammen < >>>>>>>>>>>>>> cory.quammen at kitware.com> >>>>>>>>>>>>>> >>> wrote: >>>>>>>>>>>>>> >>> > Debopam, >>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>> >>> > I just tried what you ran on Windows 10 and it ran fine >>>>>>>>>>>>>> for me. One >>>>>>>>>>>>>> >>> > thing I had to fix, which I doubt is the cause of your >>>>>>>>>>>>>> crash, is the >>>>>>>>>>>>>> >>> > data argument is actually just --data and not >>>>>>>>>>>>>> --data-dir. >>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>> >>> > We've had some other reports of 5.2 crashing on start >>>>>>>>>>>>>> up on Windows. >>>>>>>>>>>>>> >>> > Did 5.1 run fine for you? >>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>> >>> > I wonder if you could try installing ParaView 4.4 from >>>>>>>>>>>>>> >>> > http://www.paraview.org/download/ to see if it runs. >>>>>>>>>>>>>> If it does, that >>>>>>>>>>>>>> >>> > gives me a clue on where to look. >>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>> >>> > Thanks, >>>>>>>>>>>>>> >>> > Cory >>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>> >>> > On Tue, Dec 6, 2016 at 5:23 AM, Debopam Ghoshal < >>>>>>>>>>>>>> debopamg at gmail.com> >>>>>>>>>>>>>> >>> > wrote: >>>>>>>>>>>>>> >>> >> Hi, >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> I followed the instructions given here, but I am >>>>>>>>>>>>>> getting the following >>>>>>>>>>>>>> >>> >> error: >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> Paraview Installation Directory: >>>>>>>>>>>>>> >>> >> C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> Command: >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> .\bin\pvpython.exe \ >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>>>>>>> -Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw- >>>>>>>>>>>>>> visualizer.py" >>>>>>>>>>>>>> >>> >> \ >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> --content >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>>>>>>> -Windows-64bit\share\paraview-5.2\web\visualizer\www\" >>>>>>>>>>>>>> >>> >> \ >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> --data-dir "C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\data\" >>>>>>>>>>>>>> \ >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> --port 8080 >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> Output: >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> Console: 2016-12-02 10:09:51+0530 [-] Log opened. >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> Error Window screenshot attached (PVW-Error.png) >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> Other Details: >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> OS: Windows 10 Professional >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> RAM: 8GB >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> A screenshot of the system properties is attached for >>>>>>>>>>>>>> your reference >>>>>>>>>>>>>> >>> >> (Window10-SystemProps.png) >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> Similar error occurred when I launched the Paraview >>>>>>>>>>>>>> desktop >>>>>>>>>>>>>> >>> >> application >>>>>>>>>>>>>> >>> >> (ParaviewError.png). >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> Cheers & Best Wishes, >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> Debopam >>>>>>>>>>>>>> >>> >> ------------------------------- >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> _______________________________________________ >>>>>>>>>>>>>> >>> >> Powered by www.kitware.com >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> Visit other Kitware open-source projects at >>>>>>>>>>>>>> >>> >> http://www.kitware.com/opensource/opensource.html >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> Please keep messages on-topic and check the ParaView >>>>>>>>>>>>>> Wiki at: >>>>>>>>>>>>>> >>> >> http://paraview.org/Wiki/ParaView >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> Search the list archives at: >>>>>>>>>>>>>> http://markmail.org/search/?q=ParaView >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> >> Follow this link to subscribe/unsubscribe: >>>>>>>>>>>>>> >>> >> http://public.kitware.com/mailman/listinfo/paraview >>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>> >>> > -- >>>>>>>>>>>>>> >>> > Cory Quammen >>>>>>>>>>>>>> >>> > Staff R&D Engineer >>>>>>>>>>>>>> >>> > Kitware, Inc. >>>>>>>>>>>>>> >>> >>>>>>>>>>>>>> >>> >>>>>>>>>>>>>> >>> >>>>>>>>>>>>>> >>> -- >>>>>>>>>>>>>> >>> Cory Quammen >>>>>>>>>>>>>> >>> Staff R&D Engineer >>>>>>>>>>>>>> >>> Kitware, Inc. >>>>>>>>>>>>>> >>> _______________________________________________ >>>>>>>>>>>>>> >>> Powered by www.kitware.com >>>>>>>>>>>>>> >>> >>>>>>>>>>>>>> >>> Visit other Kitware open-source projects at >>>>>>>>>>>>>> >>> http://www.kitware.com/opensource/opensource.html >>>>>>>>>>>>>> >>> >>>>>>>>>>>>>> >>> Please keep messages on-topic and check the ParaView Wiki >>>>>>>>>>>>>> at: >>>>>>>>>>>>>> >>> http://paraview.org/Wiki/ParaView >>>>>>>>>>>>>> >>> >>>>>>>>>>>>>> >>> Search the list archives at: >>>>>>>>>>>>>> http://markmail.org/search/?q=ParaView >>>>>>>>>>>>>> >>> >>>>>>>>>>>>>> >>> Follow this link to subscribe/unsubscribe: >>>>>>>>>>>>>> >>> http://public.kitware.com/mailman/listinfo/paraview >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> > >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> Cory Quammen >>>>>>>>>>>>>> Staff R&D Engineer >>>>>>>>>>>>>> Kitware, Inc. >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Ken Martin PhD >>>>>>>>>>>>> Chairman & CFO >>>>>>>>>>>>> Kitware Inc. >>>>>>>>>>>>> 28 Corporate Drive >>>>>>>>>>>>> Clifton Park NY 12065 >>>>>>>>>>>>> 518 371 3971 >>>>>>>>>>>>> >>>>>>>>>>>>> This communication, including all attachments, contains >>>>>>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Ken Martin PhD >>>>>>>>>>> Chairman & CFO >>>>>>>>>>> Kitware Inc. >>>>>>>>>>> 28 Corporate Drive >>>>>>>>>>> Clifton Park NY 12065 >>>>>>>>>>> 518 371 3971 >>>>>>>>>>> >>>>>>>>>>> This communication, including all attachments, contains >>>>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Ken Martin PhD >>>>>>>>> Chairman & CFO >>>>>>>>> Kitware Inc. >>>>>>>>> 28 Corporate Drive >>>>>>>>> Clifton Park NY 12065 >>>>>>>>> 518 371 3971 >>>>>>>>> >>>>>>>>> This communication, including all attachments, contains >>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Ken Martin PhD >>>>>>> Chairman & CFO >>>>>>> Kitware Inc. >>>>>>> 28 Corporate Drive >>>>>>> Clifton Park NY 12065 >>>>>>> 518 371 3971 >>>>>>> >>>>>>> This communication, including all attachments, contains confidential >>>>>>> and legally privileged information, and it is intended only for the use of >>>>>>> the addressee. Access to this email by anyone else is unauthorized. If you >>>>>>> are not the intended recipient, any disclosure, copying, distribution or >>>>>>> any action taken in reliance on it is prohibited and may be unlawful. If >>>>>>> you received this communication in error please notify us immediately and >>>>>>> destroy the original message. Thank you. >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Ken Martin PhD >>>>> Chairman & CFO >>>>> Kitware Inc. >>>>> 28 Corporate Drive >>>>> Clifton Park NY 12065 >>>>> 518 371 3971 <(518)%20371-3971> >>>>> >>>>> This communication, including all attachments, contains confidential >>>>> and legally privileged information, and it is intended only for the use of >>>>> the addressee. Access to this email by anyone else is unauthorized. If you >>>>> are not the intended recipient, any disclosure, copying, distribution or >>>>> any action taken in reliance on it is prohibited and may be unlawful. If >>>>> you received this communication in error please notify us immediately and >>>>> destroy the original message. Thank you. >>>>> >>>> >>>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben.boeckel at kitware.com Mon Jan 2 14:01:41 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Mon, 2 Jan 2017 14:01:41 -0500 Subject: [Paraview] Question on compiling external plugins with 5.2 In-Reply-To: References: Message-ID: <20170102190141.GA4158@megas.kitware.com> On Fri, Dec 30, 2016 at 23:48:52 +0100, Fabian Wein wrote: > ? enable_paraviewexternalplugins:BOOL=ON: Enables building using external plugins. Sorry, that should be ENABLE_paraviewexternalplugins. PR pushed: https://gitlab.kitware.com/paraview/paraview-superbuild/merge_requests/253 --Ben From ben.boeckel at kitware.com Mon Jan 2 14:04:36 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Mon, 2 Jan 2017 14:04:36 -0500 Subject: [Paraview] PV 5.2 Superbuild problem In-Reply-To: References: Message-ID: <20170102190436.GB4158@megas.kitware.com> On Wed, Dec 28, 2016 at 17:01:23 +0000, Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US) wrote: > I?ve stumbled onto an issue with the 5.2 Superbuild ? I?ve looked around in > the email archives but didn?t see this problem reported. > > I?m building on a generic RHEL6 workstation and I get a successful build, > but the install fails. It seems to be a simple misconfiguration in the > superbuild/projects/qt4.functions.cmake ?.. > > The error that I?m seeing is ?Unable to find the sqldrivers/libqsqlite > plugin from QT4 under /home/angel/PV-Build/install/../plugins. The issue > is that the plugins directory is in ?install/plugins? not > ?install/../plugins?. If I make that change in qt4.functions.cmake, the > install completes successfully. Oops, I got some logic mixed up when doing that bit. Here's a PR for the common superbuild to fix this: https://gitlab.kitware.com/paraview/common-superbuild/merge_requests/127 --Ben From dave.demarle at kitware.com Mon Jan 2 14:14:27 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Mon, 2 Jan 2017 14:14:27 -0500 Subject: [Paraview] Question about adding Widget to property panel In-Reply-To: <86B5D07F-3D3D-4559-8F1E-32B3A74A21D1@nasa.gov> References: <86B5D07F-3D3D-4559-8F1E-32B3A74A21D1@nasa.gov> Message-ID: Make sure to expose that in the proxy definition that contains the P3DReaderCore proxy definition too. ie, look further down in readers.xml and you will find ... ... add this ... David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Dec 29, 2016 at 6:56 PM, Beach, Timothy A. (GRC-LTE0)[Vantage Partners, LLC] wrote: > Hi, I?m trying to do something I thought would be simple and I?ll bet it > is once I see my error - but I?ve spent several hours trying things and > searching for answers in the docs. I want to add an entry box in the > property panel for Gamma in the PLOT3D reader. I?m compiling version 5.2. > I noticed in the header file that there are already MACRO?s for Gamma: > /** > * Set/Get the ratio of specific heats. Default is 1.4. > */ > vtkSetMacro(Gamma,double); > vtkGetMacro(Gamma,double); > > I thought all I would have to do is add appropriate entries into the > readers.xml file and it would appear in the property panel. I?ve tried > various things but they all look essentially like this: > > > name="Gamma" > default_values="1.4" > number_of_elements="1" > panel_visibility="default"> > Set Gamma > > > > It compiles and runs but I don?t get an entry box. What am I missing? I > am stumped for now so any help would be appreciated. I?ll hit it again > next week. > Thanks > Tim > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bflandard at gmail.com Mon Jan 2 14:35:26 2017 From: bflandard at gmail.com (Bob Flandard) Date: Mon, 2 Jan 2017 19:35:26 +0000 Subject: [Paraview] Custom Glyph Message-ID: Hi, Any links or advice on how to create a custom glyph? I'd like a sphere divided into 8 equal sized/shaped patches and colored alternate black and white, to represent the centroid of a point mass. I have lots of these, so a glyph would be best. Thanks, Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Mon Jan 2 14:49:42 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Mon, 2 Jan 2017 14:49:42 -0500 Subject: [Paraview] Custom Glyph In-Reply-To: References: Message-ID: Glyph with Custom source filter can do it. Note that it works in CPU/RAM instead of in a GPU shader so memory can be an issue for all the replicated geometry. To use it, manufacture a mesh that appears the way you want it and save it in a common mesh format. Load that into the pipeline and hide it, select the object you want to apply glyphs to and apply the Glyph with Custom Source filter. Choose the shape you read in as the "Glyph Type" input. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Mon, Jan 2, 2017 at 2:35 PM, Bob Flandard wrote: > Hi, > > Any links or advice on how to create a custom glyph? > > I'd like a sphere divided into 8 equal sized/shaped patches and colored > alternate black and white, to represent the centroid of a point mass. I > have lots of these, so a glyph would be best. > > Thanks, Bob > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fabian.wein at fau.de Mon Jan 2 15:36:51 2017 From: fabian.wein at fau.de (Fabian Wein) Date: Mon, 2 Jan 2017 21:36:51 +0100 Subject: [Paraview] Question on compiling external plugins with 5.2 In-Reply-To: <20170102190141.GA4158@megas.kitware.com> References: <20170102190141.GA4158@megas.kitware.com> Message-ID: <8F710F3C-CB04-44BF-B4BE-2B0AD57702F8@fau.de> Then I do something wrong: cmake ../paraview-superbuild -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_TESTING=OFF -DENABLE_cxx11=ON -DENABLE_qt5=ON -DENABLE_boost:BOOL=ON -DENABLE_hdf5:BOOL=ON -DENABLE_zlib:BOOL=ON -DENABLE_png:BOOL=ON -Dsuperbuild_download_location=$HOME/code/cfsdepscache/paraview -DCMAKE_OSX_SDK=macosx10.12 -DENABLE_paraviewexternalplugins:BOOL=ON -Dparaview_PLUGINS_EXTERNAL:STRING=CFSReader -Dparaview_PLUGIN_CFSReader_PATH:PATH=$METABUILD/../plugins/CFSReader ? CMake Warning: Manually-specified variables were not used by the project: ENABLE_paraviewexternalplugins ? I should have written, that I tried some variants before. Fabian > Am 02.01.2017 um 20:01 schrieb Ben Boeckel : > > On Fri, Dec 30, 2016 at 23:48:52 +0100, Fabian Wein wrote: >> ? enable_paraviewexternalplugins:BOOL=ON: Enables building using external plugins. > > Sorry, that should be ENABLE_paraviewexternalplugins. PR pushed: > > https://gitlab.kitware.com/paraview/paraview-superbuild/merge_requests/253 > > --Ben From ben.boeckel at kitware.com Mon Jan 2 15:51:18 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Mon, 2 Jan 2017 15:51:18 -0500 Subject: [Paraview] Question on compiling external plugins with 5.2 In-Reply-To: <8F710F3C-CB04-44BF-B4BE-2B0AD57702F8@fau.de> References: <20170102190141.GA4158@megas.kitware.com> <8F710F3C-CB04-44BF-B4BE-2B0AD57702F8@fau.de> Message-ID: <20170102205118.GA18573@megas.kitware.com> On Mon, Jan 02, 2017 at 21:36:51 +0100, Fabian Wein wrote: > Then I do something wrong: > > cmake ../paraview-superbuild -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_TESTING=OFF -DENABLE_cxx11=ON -DENABLE_qt5=ON -DENABLE_boost:BOOL=ON -DENABLE_hdf5:BOOL=ON -DENABLE_zlib:BOOL=ON -DENABLE_png:BOOL=ON -Dsuperbuild_download_location=$HOME/code/cfsdepscache/paraview -DCMAKE_OSX_SDK=macosx10.12 -DENABLE_paraviewexternalplugins:BOOL=ON -Dparaview_PLUGINS_EXTERNAL:STRING=CFSReader -Dparaview_PLUGIN_CFSReader_PATH:PATH=$METABUILD/../plugins/CFSReader > > ? > CMake Warning: > Manually-specified variables were not used by the project: > > ENABLE_paraviewexternalplugins > ? > > I should have written, that I tried some variants before. Oops, something even more fundumental was wrong; it is actually: ENABLE_paraviewpluginsexternal MR updated. Thanks, --Ben From fabian.wein at fau.de Mon Jan 2 17:40:20 2017 From: fabian.wein at fau.de (Fabian Wein) Date: Mon, 2 Jan 2017 23:40:20 +0100 Subject: [Paraview] Question on compiling external plugins with 5.2 In-Reply-To: <20170102205118.GA18573@megas.kitware.com> References: <20170102190141.GA4158@megas.kitware.com> <8F710F3C-CB04-44BF-B4BE-2B0AD57702F8@fau.de> <20170102205118.GA18573@megas.kitware.com> Message-ID: <24607109-7731-4344-A7FD-D7B967B454E9@fau.de> Thanks, now everything seems to work fine. Fabian > Am 02.01.2017 um 21:51 schrieb Ben Boeckel : > > On Mon, Jan 02, 2017 at 21:36:51 +0100, Fabian Wein wrote: >> Then I do something wrong: >> >> cmake ../paraview-superbuild -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_TESTING=OFF -DENABLE_cxx11=ON -DENABLE_qt5=ON -DENABLE_boost:BOOL=ON -DENABLE_hdf5:BOOL=ON -DENABLE_zlib:BOOL=ON -DENABLE_png:BOOL=ON -Dsuperbuild_download_location=$HOME/code/cfsdepscache/paraview -DCMAKE_OSX_SDK=macosx10.12 -DENABLE_paraviewexternalplugins:BOOL=ON -Dparaview_PLUGINS_EXTERNAL:STRING=CFSReader -Dparaview_PLUGIN_CFSReader_PATH:PATH=$METABUILD/../plugins/CFSReader >> >> ? >> CMake Warning: >> Manually-specified variables were not used by the project: >> >> ENABLE_paraviewexternalplugins >> ? >> >> I should have written, that I tried some variants before. > > Oops, something even more fundumental was wrong; it is actually: > > ENABLE_paraviewpluginsexternal > > MR updated. Thanks, > > --Ben From yzhzhang at ipe.ac.cn Tue Jan 3 03:38:40 2017 From: yzhzhang at ipe.ac.cn (=?UTF-8?B?5byg6amt5rSy?=) Date: Tue, 3 Jan 2017 16:38:40 +0800 (GMT+08:00) Subject: [Paraview] some more questions about Catalyst In-Reply-To: References: <1e16d1e.252e6.15952d934da.Coremail.yzhzhang@ipe.ac.cn> Message-ID: <8ccf03.6492.159637af897.Coremail.yzhzhang@ipe.ac.cn> Hi Andy, Thanks for your reply! Now I can run the CxxFullExample, but I've encountered some more problems about it. 1.The CxxFullExample has a 70x60x44 unstructured grid, and it runs relatively quickly. A truncated sample output of Timer Log is as follows: RenderView::Update, 0.161069 seconds PVTrivialProducer::GatherInformation, 0.051133 seconds vtkSMDataDeliveryManager: Deliver Geome, 0.336371 seconds FullRes Data Migration, 0.336246 seconds Still Render, 0.034509 seconds RenderView::Update, 0.149692 seconds PVTrivialProducer::GatherInformation, 0.051577 seconds vtkSMDataDeliveryManager: Deliver Geome, 0.322268 seconds FullRes Data Migration, 0.322144 seconds Still Render, 0.033618 seconds RenderView::Update, 0.156578 seconds PVTrivialProducer::GatherInformation, 0.051578 seconds vtkSMDataDeliveryManager: Deliver Geome, 0.342933 seconds FullRes Data Migration, 0.342809 seconds Still Render, 0.033976 seconds However, after I modified the grid to a 700x60x44 one and nothing else were modified, it became fairly slow when running. Also, a truncated sample output of Timer Log: RenderView::Update, 1.48987 seconds PVTrivialProducer::GatherInformation, 0.493497 seconds vtkSMRepresentationProxy::GetRepresente, 2.44198 seconds vtkSMDataDeliveryManager: Deliver Geome, 0.480933 seconds FullRes Data Migration, 0.480786 seconds Still Render, 0.116726 seconds OpenGL Dev Render, 0.020361 seconds RenderView::Update, 1.51507 seconds PVTrivialProducer::GatherInformation, 0.493821 seconds vtkSMRepresentationProxy::GetRepresente, 2.47383 seconds vtkSMDataDeliveryManager: Deliver Geome, 0.481844 seconds FullRes Data Migration, 0.481686 seconds Still Render, 0.116896 seconds OpenGL Dev Render, 0.020697 seconds RenderView::Update, 1.50415 seconds PVTrivialProducer::GatherInformation, 0.491896 seconds vtkSMRepresentationProxy::GetRepresente, 2.44277 seconds vtkSMDataDeliveryManager: Deliver Geome, 0.474105 seconds FullRes Data Migration, 0.473959 seconds Still Render, 0.114223 seconds OpenGL Dev Render, 0.020254 seconds Comparing the two outputs, I find that the time spent in some processes became about 10 times longer, as the dataset became 10 times larger, but some other processes didn't take 10 times longer time. The biggest difference is vtkSMRepresentationProxy::GetRepresente, which takes more than 2.4s per frame in the bigger dataset example while in the smaller dataset example it takes less than 0.01s per frame. I don't know what the program does in the vtkSMRepresentationProxy::GetRepresente method. Actually I only know about Still Render. Could you please give me a brief introduction to these items? And, as Catalyst is designed for in situ visualization of very large dataset, is there any method to make the example run faster? 2.When I create Catelyst Python scripts in the ParaView GUI, I have to enable all of the Live Visualization, Output to Cinema and Output rendering components i.e. views options to get live visualization of the simulation in the PV GUI, but under this setting, it generates lots of pictures, which I don't need. If I don't enable either of Output to Cinema or Output rendering components i.e. views, I could not get the live visualization, and of course no picture is generated. But what's the function of the Live Visualization option? All of the above are situations in the PV 4.4.0 in the client-server mode. As for PV 5.2, I have some problems in using it in the client-server mode. Hope you can help me. Thank you again! -Zhang -----????----- ???: "Andy Bauer" ????: 2017?1?2? ??? ???: "???" ??: "paraview at paraview.org" ??: Re: [Paraview] How to start the Catalyst example: CxxFullExample Hi, The Catalyst examples have been moved to the ParaView source repo. I'd recommend using the newest version of ParaView as well as Catalyst since there have been a lot of improvements since PV 4.4. For the CxxFullExample, if you've built it with Catalyst enabled you can run it as you've done as well as pass in Catalyst Python scripts to use through command line arguments. Andy On Fri, Dec 30, 2016 at 10:08 PM, ??? wrote: Hello everyone, I'm learning the ParaView Catalyst by starting at the CxxFullExample, which is one of the Catalyst examples from https://github.com/Kitware/ParaViewCatalystExampleCode-MOVED-. I have compiled and built it and got the CxxFullExample executable. It is said that it's a full example of a simulation code interfacing with Catalyst, but I don't know how to execute it. I typed "./CxxFullExample" in the command line under the build directory of the example and nothing happened. I read the Chapter 2 of the Catalyst User's Guide and found what's mainly discussed is about creating ParaView Catalyst scripts in ParaView. It is said that to create ParaView Catalyst scripts in ParaView, I must have a representative dataset, and the Appendix 7.1.2 of the guide has a script that can be used to create the dataset. I managed to get lots of files named "filename_x_x.vtu" and "filename_x.pvtu"(x is a number) by typing "./CxxFullExample ./pvpython python.py"(python.py i s the script from the appendix 7.1.2 of the user's guide) in the command line under the bin directory of ParaView 4.4.0. Then I followed the section 2.2 of the user's guide with one of the file I generated above, only to get another script. Actually, what I want is a condition shown at www.kitware.com/blog/home/post/722, but after read the section 2.3 of the user's guide, I'm still unable to implement it. How should I organize the Catalyst enabled simulation and ParaView? Can it work in the client-server mode? Can I get it to work without much knowledge of Python? Maybe I'm on the wrong way of learning Catalyst, if so, you can ignore my questions and just tell me the right way. Thanks a lot! -Zhang _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From u.utku.turuncoglu at be.itu.edu.tr Tue Jan 3 03:50:58 2017 From: u.utku.turuncoglu at be.itu.edu.tr (Ufuk Utku Turuncoglu (BE)) Date: Tue, 3 Jan 2017 11:50:58 +0300 Subject: [Paraview] difference in the output of co-processing In-Reply-To: References: <28223582-6312-69d8-340f-2d9bcddddb9e@be.itu.edu.tr> Message-ID: <04685334-4c86-efe7-0f51-dc558108dd58@be.itu.edu.tr> Hi Andy, No, i am using same PV installation in both case under same server. As you suggested, i saved the state in Python format and run under GUI (Tools > Python Shell > Run Script). It basically opens a new RenderView and places the color bars like in co-processing output (misplaced, thinner and smaller) and does not show anything about the rest of the visualization. It just have color bars but i could see the correct pipeline in the pipeline browser. It is little bit weird. If i am doing something wrong, please let me know. Also, i did not modify the default config settings of the GUI and if you want me to check any specific option, please let me know. Thank for your help, Regards, --ufuk On 02/01/2017 18:50, Andy Bauer wrote: > Hi Ufuk, > > I'm not sure what is causing the difference. I'm guessing not all of > the information for the view is saved in the state. Any chance that > you're using different versions of ParaView for the GUI and Catalyst > generated images? I see that the Python script is specifying that it > was generated in a PV 5.2 release candidate. > > If it's the same version of PV then you can test the state mechanism > in PV by saving the state as both a Python script as well as a pvsm > file. After that, try generating the image by loading the pvsm state > file and running the Python state file in the GUI. > > Another possibility is that there are some config settings in the GUI > that aren't used in Catalyst. If you don't mind helping narrow down > the cause of the issue we can put in a bug report for this. > > Thanks, > Andy > > > On Mon, Jan 2, 2017 at 5:27 AM, Ufuk Utku Turuncoglu (BE) > > wrote: > > Hi, > > I am trying to use Paraview co-processing component to create > visualization from custom model. The problem is that the color > bars are > misplaced and also smaller and thinner in the co-processing output > (saved > png file) if i compare it with direct visualization from Paraview. > I am > attaching sample png files for both case and also Python file that > is used > for the co-processing. I just wonder that is it possible to fix it > easily? > It might be a bug but i am not sure. > > Thanks, > Regards, > > --ufuk > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: > http://markmail.org/search/?q=ParaView > > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bflandard at gmail.com Tue Jan 3 04:41:27 2017 From: bflandard at gmail.com (Bob Flandard) Date: Tue, 3 Jan 2017 09:41:27 +0000 Subject: [Paraview] Custom Glyph In-Reply-To: References: Message-ID: Thanks David, I did try that first and was unable to select the "Glyph Type" and gave up. Luckily your post encouraged me to RTM where it states that vtkPolyData should be used for the glyph. A quick extract surface filter fixed that, so thanks very much for your help. Bob On 2 January 2017 at 19:49, David E DeMarle wrote: > Glyph with Custom source filter can do it. Note that it works in CPU/RAM > instead of in a GPU shader so memory can be an issue for all the replicated > geometry. > > To use it, manufacture a mesh that appears the way you want it and save it > in a common mesh format. Load that into the pipeline and hide it, select > the object you want to apply glyphs to and apply the Glyph with Custom > Source filter. Choose the shape you read in as the "Glyph Type" input. > > > > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 <(518)%20881-4909> > > On Mon, Jan 2, 2017 at 2:35 PM, Bob Flandard wrote: > >> Hi, >> >> Any links or advice on how to create a custom glyph? >> >> I'd like a sphere divided into 8 equal sized/shaped patches and colored >> alternate black and white, to represent the centroid of a point mass. I >> have lots of these, so a glyph would be best. >> >> Thanks, Bob >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From yzhzhang at ipe.ac.cn Tue Jan 3 06:08:34 2017 From: yzhzhang at ipe.ac.cn (=?GBK?B?1cXUptbe?=) Date: Tue, 3 Jan 2017 19:08:34 +0800 (GMT+08:00) Subject: [Paraview] Still Render in PV5.2.0 takes longer time than in PV4.4.0 Message-ID: <3ce5a9.6f5d.15964043482.Coremail.yzhzhang@ipe.ac.cn> Hi, I'm using PV 5.2.0 and PV 4.4.0 in the standalone mode rendering a dataset, which contains 10M random points and is just for test. I found after I turned off the display list as the PV User's Guide told me, the Still Render process in PV5.2.0 takes longer time than in PV4.4.0. First, there is a NVIDIA GeForce GT 730 GPU in my computer, so I don't use mesa. When rendering with the display list on as default, PV 5.2.0 is faster than 4.4.0, which is reasonable. A truncated sample output of Timer Log of PV 5.2.0 is as follows: RenderView::Update, 2.28551 seconds vtkPVView::Update, 2.28539 seconds Execute vtkFileSeriesReader id: 5063, 1.98558 seconds Execute vtkGeometryRepresentationWithFa, 0.298828 seconds LegacyVTKFileReader::GatherInformation, 0.300355 seconds Still Render, 0.43975 seconds OpenGL Dev Render, 0.334455 seconds And the counterpart in PV 4.4.0 is: RenderView::Update, 2.34043 seconds vtkPVView::Update, 2.34034 seconds Execute vtkFileSeriesReader id: 4734, 1.90546 seconds Execute vtkGeometryRepresentationWithFa, 0.43377 seconds LegacyVTKFileReader::GatherInformation, 0.440593 seconds Still Render, 0.963793 seconds OpenGL Dev Render, 0.806468 seconds While other processes take similar time, the Still Render process in PV 5.2.0 takes less than half of that in PV 4.4.0. The PV User's Guide recommends that when dealing with very large data, turning off display list may help. I tried it and found in this situation the Still Render process in PV 5.2.0 takes longer time than in PV 4.4.0. A truncated sample output of Timer Log of PV 5.2.0 when turning off display list is as follows: RenderView::Update, 2.23385 seconds vtkPVView::Update, 2.23374 seconds Execute vtkFileSeriesReader id: 4914, 1.93566 seconds Execute vtkGeometryRepresentationWithFa, 0.297103 seconds LegacyVTKFileReader::GatherInformation, 0.301925 seconds Still Render, 0.440343 seconds OpenGL Dev Render, 0.335149 seconds And the counterpart in PV 4.4.0 is: RenderView::Update, 2.4048 seconds vtkPVView::Update, 2.4047 seconds Execute vtkFileSeriesReader id: 4733, 1.97007 seconds Execute vtkGeometryRepresentationWithFa, 0.433521 seconds LegacyVTKFileReader::GatherInformation, 0.440413 seconds Still Render, 0.211394 seconds OpenGL Dev Render, 0.205734 seconds While in PV 5.2.0 turning that option off had little effect on the running time, it significantly reduced the Still Render time in PV 4.4.0 and made the time less than half of that in PV 5.2.0. Could anyone tell me why this happening? Thanks a lot! -Zhang -------------- next part -------------- An HTML attachment was scrubbed... URL: From debopamg at gmail.com Tue Jan 3 08:36:59 2017 From: debopamg at gmail.com (Debopam Ghoshal) Date: Tue, 3 Jan 2017 19:06:59 +0530 Subject: [Paraview] Error while launching Paraview (and Paraview Web) in Window 10 In-Reply-To: References: Message-ID: Hi Seb, 1. We are able to see the orientation axis and also able to rotate them. For example, when we click on can.ex2, we see a blank black screen. Then after we hide the left panel, we are able to see the orientation axis and also rotate them. 2. When we select the Wavelet we were able to view it properly, and was also able to rotate the scene. 3. We tried with both / and \\ but there is no change. The command we are using to launch paraview is as below: a: .\bin\pvpython.exe "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\share\\paraview-5.2\\web\\visualizer\\server\\pvw-visualizer.py" --content "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\share\\paraview-5.2\\web\\visualizer\\www" --data "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" --port 8080 b: .\bin\pvpython.exe "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/share/paraview-5.2/web/visualizer/server/pvw-visualizer.py" --content "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/share/paraview-5.2/web/visualizer/www" --data "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" --port 8080 Cheers & Best Wishes, Debopam ------------------------------- Cell: +91 98304 10041 On Mon, Jan 2, 2017 at 9:36 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > Hi Debopam, > > Do you see the orientation axis? Does it move when you rotate the scene? > What happen when you click on "+" and choose the Wavelet? Do you see > something? > > I'm wondering if you still run into an invalid path issue due to / or \. > > Seb > > On Mon, Jan 2, 2017 at 6:38 AM, Debopam Ghoshal > wrote: > >> Hi Seb, >> >> 1. "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" works fine. >> Now we can see the list of files in the data folder. >> >> However, there seems to be some problem with the ParaviewWeb Application >> (or may be with the graphics driver?). Because we cannot render the sample >> mesh files (eg: can.ex2) in the visualizer. When we tried to view the files >> in the desktop application they are displayed without any problems. A >> screenshot of the graphics driver is attached for your reference. >> >> 2. Ok. >> >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> >> On Fri, Dec 30, 2016 at 9:02 PM, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> Hi Debopam, >>> >>> 1) I'm not sure to know what is the issue with the path but try with >>> either: >>> >>> "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" >>> or >>> "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" >>> >>> 2) paraview_console_error.jpg is not an error since you are not using >>> the launcher. So that part is actually expected. >>> For the second error when you try to delete the TimeAnnotation, I'm not >>> sure to know what is the issue. You should know more by looking at the >>> output of the command line. >>> >>> Seb >>> >>> >>> On Fri, Dec 30, 2016 at 12:53 AM, Debopam Ghoshal >>> wrote: >>> >>>> (Reposting for a larger audience) >>>> >>>> Hi Ken, >>>> >>>> When we start paraview web we noted two things: >>>> >>>> 1. In the Visualizer, the Files tab is not showing any files. Please >>>> refer to the attached screenshot (paraview_home.jpg) >>>> 2. There is an error showing up at the browser console >>>> (paraview_console_error.jpg, paraview_console_error2.jpg) >>>> >>>> The paraview startup messages are also given for your reference >>>> (paraview_log.jpg) >>>> >>>> >>>> >>>> Cheers & Best Wishes, >>>> Debopam >>>> ------------------------------- >>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>> >>>> On Wed, Dec 28, 2016 at 10:35 AM, Debopam Ghoshal >>>> wrote: >>>> >>>>> Hi Ken, >>>>> >>>>> We finally got a machine where Paraview 5.2 MPI is running without any >>>>> issues. However, when we start paraview web we noted two things: >>>>> >>>>> 1. In the Visualizer, the Files tab is not showing any files. Please >>>>> refer to the attached screenshot (paraview_home.jpg) >>>>> 2. There is an error showing up at the browser console >>>>> (paraview_console_error.jpg, paraview_console_error2.jpg) >>>>> >>>>> The paraview startup messages are also given for your reference >>>>> (paraview_log.jpg) >>>>> >>>>> >>>>> Cheers & Best Wishes, >>>>> Debopam >>>>> ------------------------------- >>>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>>> >>>>> On Tue, Dec 13, 2016 at 7:03 PM, Ken Martin >>>>> wrote: >>>>> >>>>>> ParaView with the old OpenGL backend should work on any windows >>>>>> machine. It may be slow and some of the advanced techniques may not work >>>>>> but the basics will all work. >>>>>> >>>>>> On Tue, Dec 13, 2016 at 5:57 AM, Debopam Ghoshal >>>>>> wrote: >>>>>> >>>>>>> Yes Ken, you are right. This is an older machine. So, will it be >>>>>>> possible to use ParaView (with the old OpenGL backend) on this machine? Or >>>>>>> we need to get a machine with better configuration to run ParaView? >>>>>>> >>>>>>> Additionally, will it be possible to run ParaView (and ParaViewWeb) >>>>>>> on a Windows 10 guest running in VirtualBox on a MacOS host? >>>>>>> >>>>>>> Cheers & Best Wishes, >>>>>>> Debopam >>>>>>> ------------------------------- >>>>>>> Cell: +91 98304 10041 >>>>>>> >>>>>>> On Mon, Dec 12, 2016 at 8:22 PM, Ken Martin >>>>>>> wrote: >>>>>>> >>>>>>>> So if I am reading this correctly the machine has a rv516 GPU which >>>>>>>> was released in 2007. That GPU does not support anything beyond OpenGL 2.0 >>>>>>>> which means you would need to use the old OpenGL backend with VTK/ParaView. >>>>>>>> >>>>>>>> http://www.gpureview.com/ati-rv516-chip-135.html >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Mon, Dec 12, 2016 at 9:21 AM, Debopam Ghoshal < >>>>>>>> debopamg at gmail.com> wrote: >>>>>>>> >>>>>>>>> Hi Ken, >>>>>>>>> >>>>>>>>> This is a standard desktop PC running Window 10 Professional >>>>>>>>> Edition. If there is something I need to install on this machine, please >>>>>>>>> let me know. >>>>>>>>> >>>>>>>>> Cheers & Best Wishes, >>>>>>>>> Debopam >>>>>>>>> ------------------------------- >>>>>>>>> Cell: +91 98304 10041 >>>>>>>>> >>>>>>>>> On Mon, Dec 12, 2016 at 7:18 PM, Ken Martin < >>>>>>>>> ken.martin at kitware.com> wrote: >>>>>>>>> >>>>>>>>>> Is this a server maybe? It seems like the system lacks any OpenGL >>>>>>>>>> support beyond the default Microsoft implementation which is circa OpenGL >>>>>>>>>> 1.4 I believe. >>>>>>>>>> >>>>>>>>>> On Sun, Dec 11, 2016 at 11:51 PM, Debopam Ghoshal < >>>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Hi Ken, >>>>>>>>>>> >>>>>>>>>>> When I ran the command: vtkRenderingOpenGL2CxxTests.exe >>>>>>>>>>> TestAppleBug there was an error. A screenshot of the error is attached for >>>>>>>>>>> your reference. Please let me know if you require any other details. >>>>>>>>>>> >>>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>>> Debopam >>>>>>>>>>> ------------------------------- >>>>>>>>>>> Cell: +91 98304 10041 >>>>>>>>>>> >>>>>>>>>>> On Fri, Dec 9, 2016 at 7:17 PM, Ken Martin < >>>>>>>>>>> ken.martin at kitware.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> Here is a new version of the executable, can you try it? >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Fri, Dec 9, 2016 at 1:42 AM, Debopam Ghoshal < >>>>>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hi Cory and Ken, >>>>>>>>>>>>> >>>>>>>>>>>>> Thanks a lot for your prompt response. >>>>>>>>>>>>> >>>>>>>>>>>>> Below are the details you asked: >>>>>>>>>>>>> 1. display-props.png - screenshot of: Settings -> System -> >>>>>>>>>>>>> Display -> Advanced display settings -> Display adapter >>>>>>>>>>>>> properties >>>>>>>>>>>>> 2. vtkrendering.png - screenshot of the error which came up >>>>>>>>>>>>> when I ran: vtkRenderingOpenGL2CxxTests.exe TestAppleBug >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>>>>> Debopam >>>>>>>>>>>>> ------------------------------- >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Thu, Dec 8, 2016 at 10:49 PM, Ken Martin < >>>>>>>>>>>>> ken.martin at kitware.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Can you try running the following executable (rename .foo to >>>>>>>>>>>>>> .exe) from a cmd shell as >>>>>>>>>>>>>> >>>>>>>>>>>>>> vtkRenderingOpenGL2CxxTests.exe TestAppleBug >>>>>>>>>>>>>> >>>>>>>>>>>>>> and see if it crashes, and send the output is produces >>>>>>>>>>>>>> >>>>>>>>>>>>>> Thanks >>>>>>>>>>>>>> Ken >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Thu, Dec 8, 2016 at 10:46 AM, Cory Quammen < >>>>>>>>>>>>>> cory.quammen at kitware.com> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Hi Depobam, >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Thanks for trying out the other ParaView versions. I suspect >>>>>>>>>>>>>>> there >>>>>>>>>>>>>>> might be a problem with the new OpenGL backend on your >>>>>>>>>>>>>>> system as that >>>>>>>>>>>>>>> has changed between ParaView 4 and 5. What kind of graphics >>>>>>>>>>>>>>> card do >>>>>>>>>>>>>>> you have on your system. You can get some of the display >>>>>>>>>>>>>>> properties by >>>>>>>>>>>>>>> going to >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Settings -> System -> Display -> Advanced display settings >>>>>>>>>>>>>>> -> Display >>>>>>>>>>>>>>> adapter properties >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Ken, >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Are there any things Depobam can do on his Windows 10 system >>>>>>>>>>>>>>> to help >>>>>>>>>>>>>>> diagnose whether the OpenGL2 backend is causing the crash he >>>>>>>>>>>>>>> is seeing >>>>>>>>>>>>>>> in ParaView? >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Thanks, >>>>>>>>>>>>>>> Cory >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Thu, Dec 8, 2016 at 2:51 AM, Debopam Ghoshal < >>>>>>>>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>>>>>>>> > Hi Cory, >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > I tried to run Paraview 5.1.2, but it gives the same >>>>>>>>>>>>>>> error. However, I was >>>>>>>>>>>>>>> > able to run Paraview 4.1 successfully on Window 10. >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > But ParaviewWeb failed to run as it seems that version 4.1 >>>>>>>>>>>>>>> does not have the >>>>>>>>>>>>>>> > python script used for running ParaviewWeb. >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > Cheers & Best Wishes, >>>>>>>>>>>>>>> > Debopam >>>>>>>>>>>>>>> > ------------------------------- >>>>>>>>>>>>>>> > Cell: +91 98304 10041 >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > On Wed, Dec 7, 2016 at 5:14 AM, Sebastien Jourdain >>>>>>>>>>>>>>> > wrote: >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> Cory you need to provide an absolute path as argument >>>>>>>>>>>>>>> "c:\.....". >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> But the issue seems to be on ParaView itself. The (Qt) >>>>>>>>>>>>>>> executable crash at >>>>>>>>>>>>>>> >> startup on there machine, regardless of their goal to use >>>>>>>>>>>>>>> ParaViewWeb down >>>>>>>>>>>>>>> >> the road. >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> Seb >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> On Tue, Dec 6, 2016 at 10:06 AM, Cory Quammen < >>>>>>>>>>>>>>> cory.quammen at kitware.com> >>>>>>>>>>>>>>> >> wrote: >>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>> >>> Correction: I could run ParaViewWeb on Windows 10, but I >>>>>>>>>>>>>>> couldn't load >>>>>>>>>>>>>>> >>> data through the web client. I didn't get pvpython.exe >>>>>>>>>>>>>>> to crash, >>>>>>>>>>>>>>> >>> though. >>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>> >>> On Tue, Dec 6, 2016 at 11:35 AM, Cory Quammen < >>>>>>>>>>>>>>> cory.quammen at kitware.com> >>>>>>>>>>>>>>> >>> wrote: >>>>>>>>>>>>>>> >>> > Debopam, >>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>> >>> > I just tried what you ran on Windows 10 and it ran >>>>>>>>>>>>>>> fine for me. One >>>>>>>>>>>>>>> >>> > thing I had to fix, which I doubt is the cause of your >>>>>>>>>>>>>>> crash, is the >>>>>>>>>>>>>>> >>> > data argument is actually just --data and not >>>>>>>>>>>>>>> --data-dir. >>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>> >>> > We've had some other reports of 5.2 crashing on start >>>>>>>>>>>>>>> up on Windows. >>>>>>>>>>>>>>> >>> > Did 5.1 run fine for you? >>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>> >>> > I wonder if you could try installing ParaView 4.4 from >>>>>>>>>>>>>>> >>> > http://www.paraview.org/download/ to see if it runs. >>>>>>>>>>>>>>> If it does, that >>>>>>>>>>>>>>> >>> > gives me a clue on where to look. >>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>> >>> > Thanks, >>>>>>>>>>>>>>> >>> > Cory >>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>> >>> > On Tue, Dec 6, 2016 at 5:23 AM, Debopam Ghoshal < >>>>>>>>>>>>>>> debopamg at gmail.com> >>>>>>>>>>>>>>> >>> > wrote: >>>>>>>>>>>>>>> >>> >> Hi, >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> I followed the instructions given here, but I am >>>>>>>>>>>>>>> getting the following >>>>>>>>>>>>>>> >>> >> error: >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> Paraview Installation Directory: >>>>>>>>>>>>>>> >>> >> C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> Command: >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> .\bin\pvpython.exe \ >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>>>>>>>> -Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw- >>>>>>>>>>>>>>> visualizer.py" >>>>>>>>>>>>>>> >>> >> \ >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> --content >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>>>>>>>> -Windows-64bit\share\paraview-5.2\web\visualizer\www\" >>>>>>>>>>>>>>> >>> >> \ >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> --data-dir "C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\data\" >>>>>>>>>>>>>>> \ >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> --port 8080 >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> Output: >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> Console: 2016-12-02 10:09:51+0530 [-] Log opened. >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> Error Window screenshot attached (PVW-Error.png) >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> Other Details: >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> OS: Windows 10 Professional >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> RAM: 8GB >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> A screenshot of the system properties is attached for >>>>>>>>>>>>>>> your reference >>>>>>>>>>>>>>> >>> >> (Window10-SystemProps.png) >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> Similar error occurred when I launched the Paraview >>>>>>>>>>>>>>> desktop >>>>>>>>>>>>>>> >>> >> application >>>>>>>>>>>>>>> >>> >> (ParaviewError.png). >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> Cheers & Best Wishes, >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> Debopam >>>>>>>>>>>>>>> >>> >> ------------------------------- >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> _______________________________________________ >>>>>>>>>>>>>>> >>> >> Powered by www.kitware.com >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> Visit other Kitware open-source projects at >>>>>>>>>>>>>>> >>> >> http://www.kitware.com/opensource/opensource.html >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> Please keep messages on-topic and check the ParaView >>>>>>>>>>>>>>> Wiki at: >>>>>>>>>>>>>>> >>> >> http://paraview.org/Wiki/ParaView >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> Search the list archives at: >>>>>>>>>>>>>>> http://markmail.org/search/?q=ParaView >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> >> Follow this link to subscribe/unsubscribe: >>>>>>>>>>>>>>> >>> >> http://public.kitware.com/mailman/listinfo/paraview >>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>> >>> > -- >>>>>>>>>>>>>>> >>> > Cory Quammen >>>>>>>>>>>>>>> >>> > Staff R&D Engineer >>>>>>>>>>>>>>> >>> > Kitware, Inc. >>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>> >>> -- >>>>>>>>>>>>>>> >>> Cory Quammen >>>>>>>>>>>>>>> >>> Staff R&D Engineer >>>>>>>>>>>>>>> >>> Kitware, Inc. >>>>>>>>>>>>>>> >>> _______________________________________________ >>>>>>>>>>>>>>> >>> Powered by www.kitware.com >>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>> >>> Visit other Kitware open-source projects at >>>>>>>>>>>>>>> >>> http://www.kitware.com/opensource/opensource.html >>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>> >>> Please keep messages on-topic and check the ParaView >>>>>>>>>>>>>>> Wiki at: >>>>>>>>>>>>>>> >>> http://paraview.org/Wiki/ParaView >>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>> >>> Search the list archives at: >>>>>>>>>>>>>>> http://markmail.org/search/?q=ParaView >>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>> >>> Follow this link to subscribe/unsubscribe: >>>>>>>>>>>>>>> >>> http://public.kitware.com/mailman/listinfo/paraview >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> Cory Quammen >>>>>>>>>>>>>>> Staff R&D Engineer >>>>>>>>>>>>>>> Kitware, Inc. >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> Ken Martin PhD >>>>>>>>>>>>>> Chairman & CFO >>>>>>>>>>>>>> Kitware Inc. >>>>>>>>>>>>>> 28 Corporate Drive >>>>>>>>>>>>>> Clifton Park NY 12065 >>>>>>>>>>>>>> 518 371 3971 >>>>>>>>>>>>>> >>>>>>>>>>>>>> This communication, including all attachments, contains >>>>>>>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Ken Martin PhD >>>>>>>>>>>> Chairman & CFO >>>>>>>>>>>> Kitware Inc. >>>>>>>>>>>> 28 Corporate Drive >>>>>>>>>>>> Clifton Park NY 12065 >>>>>>>>>>>> 518 371 3971 >>>>>>>>>>>> >>>>>>>>>>>> This communication, including all attachments, contains >>>>>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Ken Martin PhD >>>>>>>>>> Chairman & CFO >>>>>>>>>> Kitware Inc. >>>>>>>>>> 28 Corporate Drive >>>>>>>>>> Clifton Park NY 12065 >>>>>>>>>> 518 371 3971 >>>>>>>>>> >>>>>>>>>> This communication, including all attachments, contains >>>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Ken Martin PhD >>>>>>>> Chairman & CFO >>>>>>>> Kitware Inc. >>>>>>>> 28 Corporate Drive >>>>>>>> Clifton Park NY 12065 >>>>>>>> 518 371 3971 >>>>>>>> >>>>>>>> This communication, including all attachments, contains >>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Ken Martin PhD >>>>>> Chairman & CFO >>>>>> Kitware Inc. >>>>>> 28 Corporate Drive >>>>>> Clifton Park NY 12065 >>>>>> 518 371 3971 <(518)%20371-3971> >>>>>> >>>>>> This communication, including all attachments, contains confidential >>>>>> and legally privileged information, and it is intended only for the use of >>>>>> the addressee. Access to this email by anyone else is unauthorized. If you >>>>>> are not the intended recipient, any disclosure, copying, distribution or >>>>>> any action taken in reliance on it is prohibited and may be unlawful. If >>>>>> you received this communication in error please notify us immediately and >>>>>> destroy the original message. Thank you. >>>>>> >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: >>>> http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Tue Jan 3 09:10:58 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Tue, 3 Jan 2017 09:10:58 -0500 Subject: [Paraview] Still Render in PV5.2.0 takes longer time than in PV4.4.0 In-Reply-To: <3ce5a9.6f5d.15964043482.Coremail.yzhzhang@ipe.ac.cn> References: <3ce5a9.6f5d.15964043482.Coremail.yzhzhang@ipe.ac.cn> Message-ID: Is this with OpenGL1 or 2 back end? If you are using Kitware's binaries 4.4 will be OpenGL1 and 5.2 will be OpenGL2. If you built from source or got it from a distro then it might be otherwise. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Jan 3, 2017 at 6:08 AM, ??? wrote: > > > Hi, > > I'm using PV 5.2.0 and PV 4.4.0 in the standalone mode rendering a > dataset, which contains 10M random points and is just for test. I found > after I turned off the display list as the PV User's Guide told me, the > Still Render process in PV5.2.0 takes longer time than in PV4.4.0. > > First, there is a NVIDIA GeForce GT 730 GPU in my computer, so I don't use > mesa. When rendering with the display list on as default, PV 5.2.0 is > faster than 4.4.0, which is reasonable. A truncated sample output of Timer > Log of PV 5.2.0 is as follows: > > RenderView::Update, 2.28551 seconds > vtkPVView::Update, 2.28539 seconds > Execute vtkFileSeriesReader id: 5063, 1.98558 seconds > Execute vtkGeometryRepresentationWithFa, 0.298828 seconds > LegacyVTKFileReader::GatherInformation, 0.300355 seconds > Still Render, 0.43975 seconds > & nbsp; OpenGL Dev Render, 0.334455 seconds > > And the counterpart in PV 4.4.0 is: > > RenderView::Update, 2.34043 seconds > vtkPVView::Update, 2.34034 seconds > Execute vtkFileSeriesReader id: 4734, 1.90546 seconds > Execute vtkGeometryRepresentationWithFa, 0.43377 seconds > LegacyVTKFileReader::GatherInformation, 0.440593 seconds > Still Render, 0.963793 seconds > OpenGL Dev Render, 0.806468 seconds > > While other processes take similar time, the Still Render process in PV > 5.2.0 takes less than half of that in PV 4.4.0. > The PV User's Guide recommends that when dealing with very large data, > turning off display list may help. I tried it and found in this situation > the Still Render process in PV 5.2.0 takes longer time than in PV 4.4.0. > > A truncated sample output of Timer Log of PV 5.2.0 when turning off > display list is as follows: > > RenderView::Update, 2.23385 seconds > vtkPVView::Update, 2.23374 seconds > Execute vtkFileSeriesReader id: 4914, 1.93566 seconds > Execute vtkGeometryRepresentationWithFa, 0.297103 seconds > LegacyVTKFileReader::GatherInformation, 0.301925 seconds > Still Render, 0.440343 seconds > OpenGL Dev Render, 0.335149 seconds > > And the counterpart in PV 4.4.0 is: > > RenderView::Update, 2.4048 seconds > vtkPVView::Update, 2.4047 seconds > Execute vtkFileSeriesReader id: 4733, 1.97007 seconds > Execute vtkGeometryRepresentationWithFa, 0.433521 seconds > LegacyVTKFileReader::GatherInformation, 0.440413 seconds > Still Render, 0.211394 seconds > OpenGL Dev Render, 0.205734 seconds > > While in PV 5.2.0 turning that option off had little effect on the running > time, it significantly reduced the Still Render time in PV 4.4.0 and made > the time less than half of that in PV 5.2.0. > > Could anyone tell me why this happening? Thanks a lot! > > -Zhang > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Jan 3 09:42:12 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 3 Jan 2017 09:42:12 -0500 Subject: [Paraview] Still Render in PV5.2.0 takes longer time than in PV4.4.0 In-Reply-To: References: <3ce5a9.6f5d.15964043482.Coremail.yzhzhang@ipe.ac.cn> Message-ID: On Tue, Jan 3, 2017 at 9:10 AM, David E DeMarle wrote: > Is this with OpenGL1 or 2 back end? If you are using Kitware's binaries 4.4 > will be OpenGL1 and 5.2 will be OpenGL2. If you built from source or got it > from a distro then it might be otherwise. A way to tell which type of build you're using is to loo at the title bar. For OpenGL1, the title bar says "Legacy Rendering Backend". Such a suffix is missing for OpenGL2 build. Utkarsh From ken.martin at kitware.com Tue Jan 3 09:52:31 2017 From: ken.martin at kitware.com (Ken Martin) Date: Tue, 3 Jan 2017 09:52:31 -0500 Subject: [Paraview] Still Render in PV5.2.0 takes longer time than in PV4.4.0 In-Reply-To: References: <3ce5a9.6f5d.15964043482.Coremail.yzhzhang@ipe.ac.cn> Message-ID: For the new OpenGL2 backend setting ImmediateModeRendering or UseDisplayLists or something similar has no impact. Those concepts are part of the legacy OpenGL API. So you should see no difference in timings with them turned on or off with the new OpenGL backend. On Tue, Jan 3, 2017 at 9:42 AM, Utkarsh Ayachit wrote: > On Tue, Jan 3, 2017 at 9:10 AM, David E DeMarle > wrote: > > Is this with OpenGL1 or 2 back end? If you are using Kitware's binaries > 4.4 > > will be OpenGL1 and 5.2 will be OpenGL2. If you built from source or got > it > > from a distro then it might be otherwise. > > A way to tell which type of build you're using is to loo at the title > bar. For OpenGL1, the title bar says "Legacy Rendering Backend". Such > a suffix is missing for OpenGL2 build. > > Utkarsh > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Ken Martin PhD Chairman & CFO Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 518 371 3971 This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre at rtech-engineering.nl Tue Jan 3 10:10:27 2017 From: pierre at rtech-engineering.nl (Pierre Van Hauwaert) Date: Tue, 3 Jan 2017 16:10:27 +0100 Subject: [Paraview] slicing a large VTK_POLYHEDRON Message-ID: Hi, I am using paraview to visualise my data. I generate my data using a combination of the 2 following types (http://www.vtk.org/doc/nightly/html/vtkCellType_8h_source.html) VTK_VOXEL = 11 VTK_POLYHEDRON = 42 I can visualize that data with parview without a problem. But, because I ended up having a segfault without any error message when slicing (Z=0) the data. I decomposed my data in separate files for each VTK_POLYHEDRON in order to investigate the problem. I found out that only the polyhedrons with the largest size were having the problem. The limit is somewhere between the 2 files: - poly-F1000-2395.vtu : working: 466 points, 928 faces - poly-F1000-2987.vtu : segfault when slicing: 546 points, 1088 faces So my guess is that there is a limit for the number of points or the number of faces that can have the polyhedron (1024 ?) if I want to be able to use the slice function. My questions are : 1) Is there actually a limitation in Paraview (VTK?) regarding the number of faces or the number of the point that the slice function can handle for a polyhedron ? 2) If there is this limitation, is there an option to remove it in Paraview ? (specific version, compilation option, etc) 3) If there is this limitation, is there any work around that exist so I am able to slice my data ? For example a different format ? I attached the data to be able to back up my statement: poly-F1000-*.vtu : files describing a polyhedron each: poly-F1000.pvd : load all those files Biggest file for which the slicing works (size, name): 34K poly-F1000-2395.vtu The 8 biggest files triggering the crash when doing a slice: (size, name) 38K poly-F1000-2987.vtu 39K poly-F1000-2983.vtu 39K poly-F1000-2935.vtu 39K poly-F1000-2988.vtu 39K poly-F1000-2931.vtu 40K poly-F1000-2937.vtu 40K poly-F1000-2981.vtu 40K poly-F1000-2930.vtu fail.pvd: load those 8 files the other files can be sliced without any issues Thanks, Pierre -- R.Tech Engineering B.V. Eekholt 42 - 1112 XH Diemen - the Netherlands Tel: +31 (0) 2 04 95 02 22 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: data.tgz Type: application/x-gtar-compressed Size: 187381 bytes Desc: not available URL: From mathieu.westphal at kitware.com Tue Jan 3 10:18:29 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Tue, 3 Jan 2017 16:18:29 +0100 Subject: [Paraview] slicing a large VTK_POLYHEDRON In-Reply-To: References: Message-ID: Hello for your information there is a bug in the slicing of vtkPolyHedron that can cause a segfault. It looks very much like your error. It has yet to be corrected. https://gitlab.kitware.com/vtk/vtk/issues/16877 You can already test this "work in progress" branch to see if this fixes your issue : https://gitlab.kitware.com/vtk/vtk/merge_requests/2304 You could of course modify your data to tetrahedron with tetrahedralize filter. Regards, Mathieu Westphal On Tue, Jan 3, 2017 at 4:10 PM, Pierre Van Hauwaert < pierre at rtech-engineering.nl> wrote: > Hi, > > I am using paraview to visualise my data. I generate my data using a > combination of the 2 following types ( > > http://www.vtk.org/doc/nightly/html/vtkCellType_8h_source.html) > VTK_VOXEL > > = 11 > VTK_POLYHEDRON = 42 I can visualize that data with parview without a > problem. But, because I ended up having a segfault without any error > message when slicing (Z=0) the data. I decomposed my data in separate files > for each VTK_POLYHEDRON in order to investigate the problem. > > I found out that only the polyhedrons with the largest size were having > the problem. The limit is somewhere between the 2 files: > - poly-F1000-2395.vtu : working: 466 points, 928 faces > - poly-F1000-2987.vtu : segfault when slicing: 546 points, 1088 faces > > So my guess is that there is a limit for the number of points or the > number of faces that can have the polyhedron (1024 ?) if I want to be able > to use the slice function. > > My questions are : > 1) Is there actually a limitation in Paraview (VTK?) regarding the number > of faces or the number of the point that the slice function can handle for > a polyhedron ? > 2) If there is this limitation, is there an option to remove it in > Paraview ? (specific version, compilation option, etc) > 3) If there is this limitation, is there any work around that exist so I > am able to slice my data ? For example a different format ? > > > I attached the data to be able to back up my statement: > > poly-F1000-*.vtu : files describing a polyhedron each: > poly-F1000.pvd : load all those files > > Biggest file for which the slicing works (size, name): > 34K poly-F1000-2395.vtu > > The 8 biggest files triggering the crash when doing a slice: (size, name) > 38K poly-F1000-2987.vtu > 39K poly-F1000-2983.vtu > 39K poly-F1000-2935.vtu > 39K poly-F1000-2988.vtu > 39K poly-F1000-2931.vtu > 40K poly-F1000-2937.vtu > 40K poly-F1000-2981.vtu > 40K poly-F1000-2930.vtu > fail.pvd: load those 8 files > > the other files can be sliced without any issues > > > Thanks, > > Pierre > > -- > R.Tech Engineering B.V. > Eekholt 42 - 1112 XH Diemen - the Netherlands > Tel: +31 (0) 2 04 95 02 22 > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aleksejs.fomins at lspr.swiss Tue Jan 3 10:13:44 2017 From: aleksejs.fomins at lspr.swiss (Aleksejs Fomins) Date: Tue, 3 Jan 2017 16:13:44 +0100 Subject: [Paraview] Animating a function of a field In-Reply-To: References: <3ce5a9.6f5d.15964043482.Coremail.yzhzhang@ipe.ac.cn> Message-ID: <6377e840-12e0-a63f-5792-d5880d2759f8@lspr.swiss> Dear Paraview, I have a 3d unstructured mesh with two fields defined over it - f(x,y,z) and g(x,y,z) I want to create a movie of a following function h(t) = f * sin(t) + g * cos(t) where t is time. How would you do it? Best regards, Aleksejs Fomins PhD Student in Nanophotonics, EPF Lausanne, Switzerland From sebastien.jourdain at kitware.com Tue Jan 3 10:35:17 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 3 Jan 2017 08:35:17 -0700 Subject: [Paraview] Error while launching Paraview (and Paraview Web) in Window 10 In-Reply-To: References: Message-ID: Ok that mean there is still a path issue when loading a file within ParaViewWeb on Windows. Did you look at the log of that given session to see if any error is printed? You can try to edit the file [lib/site-packages]/paraview/web/protocols.py within the ParaView application (The [...] part is for the path section that I'm not sure of). In the function @exportRpc("pv.proxy.manager.create.reader") def open(self, relativePath): """ Open relative file paths, attempting to use the file extension to select from the configured readers. """ fileToLoad = [] if type(relativePath) == list: for file in relativePath: validPath = self.getAbsolutePath(file) if validPath: fileToLoad.append(validPath) else: validPath = self.getAbsolutePath(relativePath) if validPath: fileToLoad.append(validPath) if len(fileToLoad) == 0: return { 'success': False, 'reason': 'No valid path name' } print "=" * 80 # <------ ADD THAT LINE TO SEE THE PATH YOU TRY TO LOAD print fileToLoad # <------ ADD THAT LINE TO SEE THE PATH YOU TRY TO LOAD print "=" * 80 # <------ ADD THAT LINE TO SEE THE PATH YOU TRY TO LOAD [...] Then look at the log to see which path is used to load that file. Seb On Tue, Jan 3, 2017 at 6:36 AM, Debopam Ghoshal wrote: > Hi Seb, > > 1. We are able to see the orientation axis and also able to rotate them. > For example, when we click on can.ex2, we see a blank black screen. Then > after we hide the left panel, we are able to see the orientation axis and > also rotate them. > > 2. When we select the Wavelet we were able to view it properly, and was > also able to rotate the scene. > > 3. We tried with both / and \\ but there is no change. The command we are > using to launch paraview is as below: > > a: .\bin\pvpython.exe "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\ > share\\paraview-5.2\\web\\visualizer\\server\\pvw-visualizer.py" > --content "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\ > share\\paraview-5.2\\web\\visualizer\\www" --data "C:\\ParaView-5.2.0-Qt4- > OpenGL2-MPI-Windows-64bit\\data" --port 8080 > > b: .\bin\pvpython.exe "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/ > share/paraview-5.2/web/visualizer/server/pvw-visualizer.py" --content > "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/share/paraview-5.2/web/visualizer/www" > --data "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" --port 8080 > > > Cheers & Best Wishes, > Debopam > ------------------------------- > Cell: +91 98304 10041 <+91%2098304%2010041> > > On Mon, Jan 2, 2017 at 9:36 PM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> Hi Debopam, >> >> Do you see the orientation axis? Does it move when you rotate the scene? >> What happen when you click on "+" and choose the Wavelet? Do you see >> something? >> >> I'm wondering if you still run into an invalid path issue due to / or \. >> >> Seb >> >> On Mon, Jan 2, 2017 at 6:38 AM, Debopam Ghoshal >> wrote: >> >>> Hi Seb, >>> >>> 1. "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" works fine. >>> Now we can see the list of files in the data folder. >>> >>> However, there seems to be some problem with the ParaviewWeb Application >>> (or may be with the graphics driver?). Because we cannot render the sample >>> mesh files (eg: can.ex2) in the visualizer. When we tried to view the files >>> in the desktop application they are displayed without any problems. A >>> screenshot of the graphics driver is attached for your reference. >>> >>> 2. Ok. >>> >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> >>> On Fri, Dec 30, 2016 at 9:02 PM, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>>> Hi Debopam, >>>> >>>> 1) I'm not sure to know what is the issue with the path but try with >>>> either: >>>> >>>> "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" >>>> or >>>> "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" >>>> >>>> 2) paraview_console_error.jpg is not an error since you are not using >>>> the launcher. So that part is actually expected. >>>> For the second error when you try to delete the TimeAnnotation, I'm not >>>> sure to know what is the issue. You should know more by looking at the >>>> output of the command line. >>>> >>>> Seb >>>> >>>> >>>> On Fri, Dec 30, 2016 at 12:53 AM, Debopam Ghoshal >>>> wrote: >>>> >>>>> (Reposting for a larger audience) >>>>> >>>>> Hi Ken, >>>>> >>>>> When we start paraview web we noted two things: >>>>> >>>>> 1. In the Visualizer, the Files tab is not showing any files. Please >>>>> refer to the attached screenshot (paraview_home.jpg) >>>>> 2. There is an error showing up at the browser console >>>>> (paraview_console_error.jpg, paraview_console_error2.jpg) >>>>> >>>>> The paraview startup messages are also given for your reference >>>>> (paraview_log.jpg) >>>>> >>>>> >>>>> >>>>> Cheers & Best Wishes, >>>>> Debopam >>>>> ------------------------------- >>>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>>> >>>>> On Wed, Dec 28, 2016 at 10:35 AM, Debopam Ghoshal >>>>> wrote: >>>>> >>>>>> Hi Ken, >>>>>> >>>>>> We finally got a machine where Paraview 5.2 MPI is running without >>>>>> any issues. However, when we start paraview web we noted two things: >>>>>> >>>>>> 1. In the Visualizer, the Files tab is not showing any files. Please >>>>>> refer to the attached screenshot (paraview_home.jpg) >>>>>> 2. There is an error showing up at the browser console >>>>>> (paraview_console_error.jpg, paraview_console_error2.jpg) >>>>>> >>>>>> The paraview startup messages are also given for your reference >>>>>> (paraview_log.jpg) >>>>>> >>>>>> >>>>>> Cheers & Best Wishes, >>>>>> Debopam >>>>>> ------------------------------- >>>>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>>>> >>>>>> On Tue, Dec 13, 2016 at 7:03 PM, Ken Martin >>>>>> wrote: >>>>>> >>>>>>> ParaView with the old OpenGL backend should work on any windows >>>>>>> machine. It may be slow and some of the advanced techniques may not work >>>>>>> but the basics will all work. >>>>>>> >>>>>>> On Tue, Dec 13, 2016 at 5:57 AM, Debopam Ghoshal >>>>>> > wrote: >>>>>>> >>>>>>>> Yes Ken, you are right. This is an older machine. So, will it be >>>>>>>> possible to use ParaView (with the old OpenGL backend) on this machine? Or >>>>>>>> we need to get a machine with better configuration to run ParaView? >>>>>>>> >>>>>>>> Additionally, will it be possible to run ParaView (and ParaViewWeb) >>>>>>>> on a Windows 10 guest running in VirtualBox on a MacOS host? >>>>>>>> >>>>>>>> Cheers & Best Wishes, >>>>>>>> Debopam >>>>>>>> ------------------------------- >>>>>>>> Cell: +91 98304 10041 >>>>>>>> >>>>>>>> On Mon, Dec 12, 2016 at 8:22 PM, Ken Martin >>>>>>> > wrote: >>>>>>>> >>>>>>>>> So if I am reading this correctly the machine has a rv516 GPU >>>>>>>>> which was released in 2007. That GPU does not support anything beyond >>>>>>>>> OpenGL 2.0 which means you would need to use the old OpenGL backend with >>>>>>>>> VTK/ParaView. >>>>>>>>> >>>>>>>>> http://www.gpureview.com/ati-rv516-chip-135.html >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Dec 12, 2016 at 9:21 AM, Debopam Ghoshal < >>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Hi Ken, >>>>>>>>>> >>>>>>>>>> This is a standard desktop PC running Window 10 Professional >>>>>>>>>> Edition. If there is something I need to install on this machine, please >>>>>>>>>> let me know. >>>>>>>>>> >>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>> Debopam >>>>>>>>>> ------------------------------- >>>>>>>>>> Cell: +91 98304 10041 >>>>>>>>>> >>>>>>>>>> On Mon, Dec 12, 2016 at 7:18 PM, Ken Martin < >>>>>>>>>> ken.martin at kitware.com> wrote: >>>>>>>>>> >>>>>>>>>>> Is this a server maybe? It seems like the system lacks any >>>>>>>>>>> OpenGL support beyond the default Microsoft implementation which is circa >>>>>>>>>>> OpenGL 1.4 I believe. >>>>>>>>>>> >>>>>>>>>>> On Sun, Dec 11, 2016 at 11:51 PM, Debopam Ghoshal < >>>>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi Ken, >>>>>>>>>>>> >>>>>>>>>>>> When I ran the command: vtkRenderingOpenGL2CxxTests.exe >>>>>>>>>>>> TestAppleBug there was an error. A screenshot of the error is attached for >>>>>>>>>>>> your reference. Please let me know if you require any other details. >>>>>>>>>>>> >>>>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>>>> Debopam >>>>>>>>>>>> ------------------------------- >>>>>>>>>>>> Cell: +91 98304 10041 >>>>>>>>>>>> >>>>>>>>>>>> On Fri, Dec 9, 2016 at 7:17 PM, Ken Martin < >>>>>>>>>>>> ken.martin at kitware.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Here is a new version of the executable, can you try it? >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Fri, Dec 9, 2016 at 1:42 AM, Debopam Ghoshal < >>>>>>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Hi Cory and Ken, >>>>>>>>>>>>>> >>>>>>>>>>>>>> Thanks a lot for your prompt response. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Below are the details you asked: >>>>>>>>>>>>>> 1. display-props.png - screenshot of: Settings -> System -> >>>>>>>>>>>>>> Display -> Advanced display settings -> Display adapter >>>>>>>>>>>>>> properties >>>>>>>>>>>>>> 2. vtkrendering.png - screenshot of the error which came up >>>>>>>>>>>>>> when I ran: vtkRenderingOpenGL2CxxTests.exe TestAppleBug >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>>>>>> Debopam >>>>>>>>>>>>>> ------------------------------- >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Thu, Dec 8, 2016 at 10:49 PM, Ken Martin < >>>>>>>>>>>>>> ken.martin at kitware.com> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Can you try running the following executable (rename .foo to >>>>>>>>>>>>>>> .exe) from a cmd shell as >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> vtkRenderingOpenGL2CxxTests.exe TestAppleBug >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> and see if it crashes, and send the output is produces >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Thanks >>>>>>>>>>>>>>> Ken >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Thu, Dec 8, 2016 at 10:46 AM, Cory Quammen < >>>>>>>>>>>>>>> cory.quammen at kitware.com> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Hi Depobam, >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Thanks for trying out the other ParaView versions. I >>>>>>>>>>>>>>>> suspect there >>>>>>>>>>>>>>>> might be a problem with the new OpenGL backend on your >>>>>>>>>>>>>>>> system as that >>>>>>>>>>>>>>>> has changed between ParaView 4 and 5. What kind of graphics >>>>>>>>>>>>>>>> card do >>>>>>>>>>>>>>>> you have on your system. You can get some of the display >>>>>>>>>>>>>>>> properties by >>>>>>>>>>>>>>>> going to >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Settings -> System -> Display -> Advanced display settings >>>>>>>>>>>>>>>> -> Display >>>>>>>>>>>>>>>> adapter properties >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Ken, >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Are there any things Depobam can do on his Windows 10 >>>>>>>>>>>>>>>> system to help >>>>>>>>>>>>>>>> diagnose whether the OpenGL2 backend is causing the crash >>>>>>>>>>>>>>>> he is seeing >>>>>>>>>>>>>>>> in ParaView? >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Thanks, >>>>>>>>>>>>>>>> Cory >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On Thu, Dec 8, 2016 at 2:51 AM, Debopam Ghoshal < >>>>>>>>>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>>>>>>>>> > Hi Cory, >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> > I tried to run Paraview 5.1.2, but it gives the same >>>>>>>>>>>>>>>> error. However, I was >>>>>>>>>>>>>>>> > able to run Paraview 4.1 successfully on Window 10. >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> > But ParaviewWeb failed to run as it seems that version >>>>>>>>>>>>>>>> 4.1 does not have the >>>>>>>>>>>>>>>> > python script used for running ParaviewWeb. >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> > Cheers & Best Wishes, >>>>>>>>>>>>>>>> > Debopam >>>>>>>>>>>>>>>> > ------------------------------- >>>>>>>>>>>>>>>> > Cell: +91 98304 10041 >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> > On Wed, Dec 7, 2016 at 5:14 AM, Sebastien Jourdain >>>>>>>>>>>>>>>> > wrote: >>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>> >> Cory you need to provide an absolute path as argument >>>>>>>>>>>>>>>> "c:\.....". >>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>> >> But the issue seems to be on ParaView itself. The (Qt) >>>>>>>>>>>>>>>> executable crash at >>>>>>>>>>>>>>>> >> startup on there machine, regardless of their goal to >>>>>>>>>>>>>>>> use ParaViewWeb down >>>>>>>>>>>>>>>> >> the road. >>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>> >> Seb >>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>> >> On Tue, Dec 6, 2016 at 10:06 AM, Cory Quammen < >>>>>>>>>>>>>>>> cory.quammen at kitware.com> >>>>>>>>>>>>>>>> >> wrote: >>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>> >>> Correction: I could run ParaViewWeb on Windows 10, but >>>>>>>>>>>>>>>> I couldn't load >>>>>>>>>>>>>>>> >>> data through the web client. I didn't get pvpython.exe >>>>>>>>>>>>>>>> to crash, >>>>>>>>>>>>>>>> >>> though. >>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>> >>> On Tue, Dec 6, 2016 at 11:35 AM, Cory Quammen < >>>>>>>>>>>>>>>> cory.quammen at kitware.com> >>>>>>>>>>>>>>>> >>> wrote: >>>>>>>>>>>>>>>> >>> > Debopam, >>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>> >>> > I just tried what you ran on Windows 10 and it ran >>>>>>>>>>>>>>>> fine for me. One >>>>>>>>>>>>>>>> >>> > thing I had to fix, which I doubt is the cause of >>>>>>>>>>>>>>>> your crash, is the >>>>>>>>>>>>>>>> >>> > data argument is actually just --data and not >>>>>>>>>>>>>>>> --data-dir. >>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>> >>> > We've had some other reports of 5.2 crashing on start >>>>>>>>>>>>>>>> up on Windows. >>>>>>>>>>>>>>>> >>> > Did 5.1 run fine for you? >>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>> >>> > I wonder if you could try installing ParaView 4.4 from >>>>>>>>>>>>>>>> >>> > http://www.paraview.org/download/ to see if it runs. >>>>>>>>>>>>>>>> If it does, that >>>>>>>>>>>>>>>> >>> > gives me a clue on where to look. >>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>> >>> > Thanks, >>>>>>>>>>>>>>>> >>> > Cory >>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>> >>> > On Tue, Dec 6, 2016 at 5:23 AM, Debopam Ghoshal < >>>>>>>>>>>>>>>> debopamg at gmail.com> >>>>>>>>>>>>>>>> >>> > wrote: >>>>>>>>>>>>>>>> >>> >> Hi, >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> I followed the instructions given here, but I am >>>>>>>>>>>>>>>> getting the following >>>>>>>>>>>>>>>> >>> >> error: >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> Paraview Installation Directory: >>>>>>>>>>>>>>>> >>> >> C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> Command: >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> .\bin\pvpython.exe \ >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>>>>>>>>> -Windows-64bit\share\paraview- >>>>>>>>>>>>>>>> 5.2\web\visualizer\server\pvw-visualizer.py" >>>>>>>>>>>>>>>> >>> >> \ >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> --content >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>>>>>>>>> -Windows-64bit\share\paraview-5.2\web\visualizer\www\" >>>>>>>>>>>>>>>> >>> >> \ >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> --data-dir "C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\data\" >>>>>>>>>>>>>>>> \ >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> --port 8080 >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> Output: >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> Console: 2016-12-02 10:09:51+0530 [-] Log opened. >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> Error Window screenshot attached (PVW-Error.png) >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> Other Details: >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> OS: Windows 10 Professional >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> RAM: 8GB >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> A screenshot of the system properties is attached >>>>>>>>>>>>>>>> for your reference >>>>>>>>>>>>>>>> >>> >> (Window10-SystemProps.png) >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> Similar error occurred when I launched the Paraview >>>>>>>>>>>>>>>> desktop >>>>>>>>>>>>>>>> >>> >> application >>>>>>>>>>>>>>>> >>> >> (ParaviewError.png). >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> Cheers & Best Wishes, >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> Debopam >>>>>>>>>>>>>>>> >>> >> ------------------------------- >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> _______________________________________________ >>>>>>>>>>>>>>>> >>> >> Powered by www.kitware.com >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> Visit other Kitware open-source projects at >>>>>>>>>>>>>>>> >>> >> http://www.kitware.com/opensource/opensource.html >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> Please keep messages on-topic and check the ParaView >>>>>>>>>>>>>>>> Wiki at: >>>>>>>>>>>>>>>> >>> >> http://paraview.org/Wiki/ParaView >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> Search the list archives at: >>>>>>>>>>>>>>>> http://markmail.org/search/?q=ParaView >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> >> Follow this link to subscribe/unsubscribe: >>>>>>>>>>>>>>>> >>> >> http://public.kitware.com/mailman/listinfo/paraview >>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>> >>> > -- >>>>>>>>>>>>>>>> >>> > Cory Quammen >>>>>>>>>>>>>>>> >>> > Staff R&D Engineer >>>>>>>>>>>>>>>> >>> > Kitware, Inc. >>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>> >>> -- >>>>>>>>>>>>>>>> >>> Cory Quammen >>>>>>>>>>>>>>>> >>> Staff R&D Engineer >>>>>>>>>>>>>>>> >>> Kitware, Inc. >>>>>>>>>>>>>>>> >>> _______________________________________________ >>>>>>>>>>>>>>>> >>> Powered by www.kitware.com >>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>> >>> Visit other Kitware open-source projects at >>>>>>>>>>>>>>>> >>> http://www.kitware.com/opensource/opensource.html >>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>> >>> Please keep messages on-topic and check the ParaView >>>>>>>>>>>>>>>> Wiki at: >>>>>>>>>>>>>>>> >>> http://paraview.org/Wiki/ParaView >>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>> >>> Search the list archives at: >>>>>>>>>>>>>>>> http://markmail.org/search/?q=ParaView >>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>> >>> Follow this link to subscribe/unsubscribe: >>>>>>>>>>>>>>>> >>> http://public.kitware.com/mailman/listinfo/paraview >>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>> Cory Quammen >>>>>>>>>>>>>>>> Staff R&D Engineer >>>>>>>>>>>>>>>> Kitware, Inc. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> Ken Martin PhD >>>>>>>>>>>>>>> Chairman & CFO >>>>>>>>>>>>>>> Kitware Inc. >>>>>>>>>>>>>>> 28 Corporate Drive >>>>>>>>>>>>>>> Clifton Park NY 12065 >>>>>>>>>>>>>>> 518 371 3971 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> This communication, including all attachments, contains >>>>>>>>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Ken Martin PhD >>>>>>>>>>>>> Chairman & CFO >>>>>>>>>>>>> Kitware Inc. >>>>>>>>>>>>> 28 Corporate Drive >>>>>>>>>>>>> Clifton Park NY 12065 >>>>>>>>>>>>> 518 371 3971 >>>>>>>>>>>>> >>>>>>>>>>>>> This communication, including all attachments, contains >>>>>>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Ken Martin PhD >>>>>>>>>>> Chairman & CFO >>>>>>>>>>> Kitware Inc. >>>>>>>>>>> 28 Corporate Drive >>>>>>>>>>> Clifton Park NY 12065 >>>>>>>>>>> 518 371 3971 >>>>>>>>>>> >>>>>>>>>>> This communication, including all attachments, contains >>>>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Ken Martin PhD >>>>>>>>> Chairman & CFO >>>>>>>>> Kitware Inc. >>>>>>>>> 28 Corporate Drive >>>>>>>>> Clifton Park NY 12065 >>>>>>>>> 518 371 3971 >>>>>>>>> >>>>>>>>> This communication, including all attachments, contains >>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Ken Martin PhD >>>>>>> Chairman & CFO >>>>>>> Kitware Inc. >>>>>>> 28 Corporate Drive >>>>>>> Clifton Park NY 12065 >>>>>>> 518 371 3971 <(518)%20371-3971> >>>>>>> >>>>>>> This communication, including all attachments, contains confidential >>>>>>> and legally privileged information, and it is intended only for the use of >>>>>>> the addressee. Access to this email by anyone else is unauthorized. If you >>>>>>> are not the intended recipient, any disclosure, copying, distribution or >>>>>>> any action taken in reliance on it is prohibited and may be unlawful. If >>>>>>> you received this communication in error please notify us immediately and >>>>>>> destroy the original message. Thank you. >>>>>>> >>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Powered by www.kitware.com >>>>> >>>>> Visit other Kitware open-source projects at >>>>> http://www.kitware.com/opensource/opensource.html >>>>> >>>>> Please keep messages on-topic and check the ParaView Wiki at: >>>>> http://paraview.org/Wiki/ParaView >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Tue Jan 3 10:36:31 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Tue, 3 Jan 2017 10:36:31 -0500 Subject: [Paraview] some more questions about Catalyst In-Reply-To: <8ccf03.6492.159637af897.Coremail.yzhzhang@ipe.ac.cn> References: <1e16d1e.252e6.15952d934da.Coremail.yzhzhang@ipe.ac.cn> <8ccf03.6492.159637af897.Coremail.yzhzhang@ipe.ac.cn> Message-ID: Hi, There have been a lot of rendering improvements between 4.4 and 5.2 so you'll definitely want to use 5.2 for the best performance. Also, 5.2 has a lot of Catalyst and Live improvements. You shouldn't need to output images or Cinema data bases in order to get the Live functionality. Andy On Tue, Jan 3, 2017 at 3:38 AM, ??? wrote: > > Hi Andy, > > Thanks for your reply! Now I can run the CxxFullExample, but I've > encountered some more problems about it. > > 1.The CxxFullExample has a 70x60x44 unstructured grid, and it runs > relatively quickly. A truncated sample output of Timer Log is as follows: > > RenderView::Update, 0.161069 seconds > PVTrivialProducer::GatherInformation, 0.051133 seconds > vtkSMDataDeliveryManager: Deliver Geome, 0.336371 seconds > FullRes Data Migration, 0.336246 seconds > Still Render, 0.034509 seconds > RenderView::Update, 0.149692 seconds > PVTrivialProducer::GatherInformation, 0.051577 seconds > vtkSMDataDeliveryManager: Deliver Geome, 0.322268 seconds > FullRes Data Migration, 0.322144 seconds > Still Render, 0.033618 seconds > RenderView::Update, 0.156578 seconds > PVTrivialProducer::GatherInformation, 0.051578 seconds > vtkSMDataDeliveryManager: Deliver Geome, 0.342933 seconds > FullRes Data Migration, 0.342809 seconds > Still Render, 0.033976 seconds > > However, after I modified the grid to a 700x60x44 one and nothing else > were modified, it became fairly slow when running. Also, a truncated sample > output of Timer Log: > > RenderView::Update, 1.48987 seconds > PVTrivialProducer::GatherInformation, 0.493497 seconds > vtkSMRepresentationProxy::GetRepresente, 2.44198 seconds > vtkSMDataDeliveryManager: Deliver Geome, 0.480933 seconds > FullRes Data Migration, 0.480786 seconds > Still Render, 0.116726 seconds > OpenGL Dev Render, 0.020361 seconds > RenderView::Update, 1.51507 seconds > PVTrivialProducer::GatherInformation, 0.493821 seconds > vtkSMRepresentationProxy::GetRepresente, 2.47383 seconds > vtkSMDataDeliveryManager: Deliver Geome, 0.481844 seconds > FullRes Data Migration, 0.481686 seconds > Still Render, 0.116896 seconds > OpenGL Dev Render, 0.020697 seconds > RenderView::Update, 1.50415 seconds > PVTrivialProducer::GatherInformation, 0.491896 seconds > vtkSMRepresentationProxy::GetRepresente, 2.44277 seconds > vtkSMDataDeliveryManager: Deliver Geome, 0.474105 seconds > FullRes Data Migration, 0.473959 seconds > Still Render, 0.114223 seconds > OpenGL Dev Render, 0.020254 seconds > > Comparing the two outputs, I find that the time spent in some processes > became about 10 times longer, as the dataset became 10 times larger, but > some other processes didn't take 10 times longer time. The biggest > difference is vtkSMRepresentationProxy::GetRepresente, which takes more > than 2.4s per frame in the bigger dataset example while in the smaller > dataset example it takes less than 0.01s per frame. I don't know what the > program does in the vtkSMRepresentationProxy::GetRepresente method. > Actually I only know about Still Render. Could you please give me a brief > introduction to these items? And, as Catalyst is designed for in situ > visualization of very large dataset, is there any method to make the > example run faster? > > 2.When I create Catelyst Python scripts in the ParaView GUI, I have to > enable all of the *Live Visualization, Output to Cinema *and *Output > rendering components i.e. views *options to get live visualization of the > simulation in the PV GUI, but under this setting, it generates lots of > pictures, which I don't need. If I don't enable either of *Output to > Cinema *or *Output rendering components i.e. views, *I could not get the > live visualization, and of course no picture is generated. But what's the > function of the *Live Visualization *option? > > All of the above are situations in the PV 4.4.0 in the client-server mode. > As for PV 5.2, I have some problems in using it in the client-server mode. > Hope you can help me. Thank you again! > > -Zhang > > -----????----- > *???:* "Andy Bauer" > *????:* 2017?1?2? ??? > *???:* "???" > *??:* "paraview at paraview.org" > *??:* Re: [Paraview] How to start the Catalyst example: CxxFullExample > > Hi, > > The Catalyst examples have been moved to the ParaView source repo. I'd > recommend using the newest version of ParaView as well as Catalyst since > there have been a lot of improvements since PV 4.4. > > For the CxxFullExample, if you've built it with Catalyst enabled you can > run it as you've done as well as pass in Catalyst Python scripts to use > through command line arguments. > > Andy > > On Fri, Dec 30, 2016 at 10:08 PM, ??? wrote: > >> >> >> Hello everyone, >> >> I'm learning the ParaView Catalyst by starting at the CxxFullExample, >> which is one of the Catalyst examples from https://github.com/Kitware/Par >> aViewCatalystExampleCode-MOVED-. I have compiled and built it and got >> the CxxFullExample executable. It is said that it's a full example of a >> simulation code interfacing with Catalyst, but I don't know how to execute >> it. I typed "./CxxFullExample" in the command line under the build >> directory of the example and nothing happened. I read the Chapter 2 of the >> Catalyst User's Guide and found what's mainly discussed is about creating >> ParaView Catalyst scripts in ParaView. It is said that to create ParaView >> Catalyst scripts in ParaView, I must have a representative dataset, and the >> Appendix 7.1.2 of the guide has a script that can be used to create the >> dataset. I managed to get lots of files named "filename_x_x.vtu" and >> "filename_x.pvtu"(x is a number) by typing "./CxxFullExample ./pvpython >> python.py"(python.py i s the script from the appendix 7.1.2 of the user's >> guide) in the command line under the bin directory of ParaView 4.4.0. Then >> I followed the section 2.2 of the user's guide with one of the file I >> generated above, only to get another script. Actually, what I want is a >> condition shown at www.kitware.com/blog/home/post/722, but after read >> the section 2.3 of the user's guide, I'm still unable to implement it. How >> should I organize the Catalyst enabled simulation and ParaView? Can it work >> in the client-server mode? Can I get it to work without much knowledge of >> Python? Maybe I'm on the wrong way of learning Catalyst, if so, you can >> ignore my questions and just tell me the right way. Thanks a lot! >> >> -Zhang >> >> >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Tue Jan 3 10:39:32 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Tue, 3 Jan 2017 10:39:32 -0500 Subject: [Paraview] difference in the output of co-processing In-Reply-To: <04685334-4c86-efe7-0f51-dc558108dd58@be.itu.edu.tr> References: <28223582-6312-69d8-340f-2d9bcddddb9e@be.itu.edu.tr> <04685334-4c86-efe7-0f51-dc558108dd58@be.itu.edu.tr> Message-ID: Hi Ufuk, Thanks for checking this out. Did you try out saving the trace as a pvsm file? Did you get the correct result when loading the pvsm file back or not? Can you share the data set and the generated pvsm file and the Python state file? Thanks, Andy On Tue, Jan 3, 2017 at 3:50 AM, Ufuk Utku Turuncoglu (BE) < u.utku.turuncoglu at be.itu.edu.tr> wrote: > Hi Andy, > > No, i am using same PV installation in both case under same server. > > As you suggested, i saved the state in Python format and run under GUI > (Tools > Python Shell > Run Script). It basically opens a new RenderView > and places the color bars like in co-processing output (misplaced, thinner > and smaller) and does not show anything about the rest of the > visualization. It just have color bars but i could see the correct pipeline > in the pipeline browser. It is little bit weird. If i am doing something > wrong, please let me know. > > Also, i did not modify the default config settings of the GUI and if you > want me to check any specific option, please let me know. > > Thank for your help, > Regards, > > --ufuk > > On 02/01/2017 18:50, Andy Bauer wrote: > > Hi Ufuk, > > I'm not sure what is causing the difference. I'm guessing not all of the > information for the view is saved in the state. Any chance that you're > using different versions of ParaView for the GUI and Catalyst generated > images? I see that the Python script is specifying that it was generated in > a PV 5.2 release candidate. > > If it's the same version of PV then you can test the state mechanism in PV > by saving the state as both a Python script as well as a pvsm file. After > that, try generating the image by loading the pvsm state file and running > the Python state file in the GUI. > > Another possibility is that there are some config settings in the GUI that > aren't used in Catalyst. If you don't mind helping narrow down the cause of > the issue we can put in a bug report for this. > > Thanks, > Andy > > > On Mon, Jan 2, 2017 at 5:27 AM, Ufuk Utku Turuncoglu (BE) < > u.utku.turuncoglu at be.itu.edu.tr> wrote: > >> Hi, >> >> I am trying to use Paraview co-processing component to create >> visualization from custom model. The problem is that the color bars are >> misplaced and also smaller and thinner in the co-processing output (saved >> png file) if i compare it with direct visualization from Paraview. I am >> attaching sample png files for both case and also Python file that is used >> for the co-processing. I just wonder that is it possible to fix it easily? >> It might be a bug but i am not sure. >> >> Thanks, >> Regards, >> >> --ufuk >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tj.corona at kitware.com Tue Jan 3 10:46:29 2017 From: tj.corona at kitware.com (T.J. Corona) Date: Tue, 3 Jan 2017 10:46:29 -0500 Subject: [Paraview] slicing a large VTK_POLYHEDRON In-Reply-To: References: Message-ID: Hi Mathieu and Pierre, Perhaps you meant to point to this ?work in progress? branch? https://gitlab.kitware.com/vtk/vtk/merge_requests/2088 Sincerely, T.J. Thomas J. Corona, Ph.D. Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4443 > On Jan 3, 2017, at 10:18 AM, Mathieu Westphal wrote: > > Hello > > for your information there is a bug in the slicing of vtkPolyHedron that can cause a segfault. > It looks very much like your error. It has yet to be corrected. > https://gitlab.kitware.com/vtk/vtk/issues/16877 > > You can already test this "work in progress" branch to see if this fixes your issue : > https://gitlab.kitware.com/vtk/vtk/merge_requests/2304 > > You could of course modify your data to tetrahedron with tetrahedralize filter. > > Regards, > > Mathieu Westphal > > On Tue, Jan 3, 2017 at 4:10 PM, Pierre Van Hauwaert > wrote: > Hi, > > I am using paraview to visualise my data. I generate my data using a combination of the 2 following types ( http://www.vtk.org/doc/nightly/html/vtkCellType_8h_source.html ) > VTK_VOXEL = 11 > VTK_POLYHEDRON = 42 > I can visualize that data with parview without a problem. But, because I ended up having a segfault without any error message when slicing (Z=0) the data. I decomposed my data in separate files for each VTK_POLYHEDRON in order to investigate the problem. > > I found out that only the polyhedrons with the largest size were having the problem. The limit is somewhere between the 2 files: > - poly-F1000-2395.vtu : working: 466 points, 928 faces > - poly-F1000-2987.vtu : segfault when slicing: 546 points, 1088 faces > > So my guess is that there is a limit for the number of points or the number of faces that can have the polyhedron (1024 ?) if I want to be able to use the slice function. > > My questions are : > 1) Is there actually a limitation in Paraview (VTK?) regarding the number of faces or the number of the point that the slice function can handle for a polyhedron ? > 2) If there is this limitation, is there an option to remove it in Paraview ? (specific version, compilation option, etc) > 3) If there is this limitation, is there any work around that exist so I am able to slice my data ? For example a different format ? > > > I attached the data to be able to back up my statement: > > poly-F1000-*.vtu : files describing a polyhedron each: > poly-F1000.pvd : load all those files > > Biggest file for which the slicing works (size, name): > 34K poly-F1000-2395.vtu > > The 8 biggest files triggering the crash when doing a slice: (size, name) > 38K poly-F1000-2987.vtu > 39K poly-F1000-2983.vtu > 39K poly-F1000-2935.vtu > 39K poly-F1000-2988.vtu > 39K poly-F1000-2931.vtu > 40K poly-F1000-2937.vtu > 40K poly-F1000-2981.vtu > 40K poly-F1000-2930.vtu > fail.pvd: load those 8 files > > the other files can be sliced without any issues > > > Thanks, > > Pierre > > -- > R.Tech Engineering B.V. > Eekholt 42 - 1112 XH Diemen - the Netherlands > Tel: +31 (0) 2 04 95 02 22 > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.westphal at kitware.com Tue Jan 3 10:51:19 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Tue, 3 Jan 2017 16:51:19 +0100 Subject: [Paraview] slicing a large VTK_POLYHEDRON In-Reply-To: References: Message-ID: Hi Indeed, incorrect copy paste. thanks for pointing it out. Mathieu Westphal On Tue, Jan 3, 2017 at 4:46 PM, T.J. Corona wrote: > Hi Mathieu and Pierre, > > Perhaps you meant to point to this ?work in progress? branch? > > https://gitlab.kitware.com/vtk/vtk/merge_requests/2088 > > Sincerely, > T.J. > > Thomas J. Corona, Ph.D. > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4443 <(518)%20881-4443> > > On Jan 3, 2017, at 10:18 AM, Mathieu Westphal < > mathieu.westphal at kitware.com> wrote: > > Hello > > for your information there is a bug in the slicing of vtkPolyHedron that > can cause a segfault. > It looks very much like your error. It has yet to be corrected. > https://gitlab.kitware.com/vtk/vtk/issues/16877 > > You can already test this "work in progress" branch to see if this fixes > your issue : > https://gitlab.kitware.com/vtk/vtk/merge_requests/2304 > > You could of course modify your data to tetrahedron with tetrahedralize > filter. > > Regards, > > Mathieu Westphal > > On Tue, Jan 3, 2017 at 4:10 PM, Pierre Van Hauwaert < > pierre at rtech-engineering.nl> wrote: > >> Hi, >> >> I am using paraview to visualise my data. I generate my data using a >> combination of the 2 following types ( >> >> http://www.vtk.org/doc/nightly/html/vtkCellType_8h_source.html) >> VTK_VOXEL >> >> = 11 >> VTK_POLYHEDRON = 42 I can visualize that data with parview without a >> problem. But, because I ended up having a segfault without any error >> message when slicing (Z=0) the data. I decomposed my data in separate files >> for each VTK_POLYHEDRON in order to investigate the problem. >> >> I found out that only the polyhedrons with the largest size were having >> the problem. The limit is somewhere between the 2 files: >> - poly-F1000-2395.vtu : working: 466 points, 928 faces >> - poly-F1000-2987.vtu : segfault when slicing: 546 points, 1088 faces >> >> So my guess is that there is a limit for the number of points or the >> number of faces that can have the polyhedron (1024 ?) if I want to be able >> to use the slice function. >> >> My questions are : >> 1) Is there actually a limitation in Paraview (VTK?) regarding the number >> of faces or the number of the point that the slice function can handle for >> a polyhedron ? >> 2) If there is this limitation, is there an option to remove it in >> Paraview ? (specific version, compilation option, etc) >> 3) If there is this limitation, is there any work around that exist so I >> am able to slice my data ? For example a different format ? >> >> >> I attached the data to be able to back up my statement: >> >> poly-F1000-*.vtu : files describing a polyhedron each: >> poly-F1000.pvd : load all those files >> >> Biggest file for which the slicing works (size, name): >> 34K poly-F1000-2395.vtu >> >> The 8 biggest files triggering the crash when doing a slice: (size, name) >> 38K poly-F1000-2987.vtu >> 39K poly-F1000-2983.vtu >> 39K poly-F1000-2935.vtu >> 39K poly-F1000-2988.vtu >> 39K poly-F1000-2931.vtu >> 40K poly-F1000-2937.vtu >> 40K poly-F1000-2981.vtu >> 40K poly-F1000-2930.vtu >> fail.pvd: load those 8 files >> >> the other files can be sliced without any issues >> >> >> Thanks, >> >> Pierre >> >> -- >> R.Tech Engineering B.V. >> Eekholt 42 - 1112 XH Diemen - the Netherlands >> Tel: +31 (0) 2 04 95 02 22 >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bloring at lbl.gov Tue Jan 3 14:13:33 2017 From: bloring at lbl.gov (Burlen Loring) Date: Tue, 3 Jan 2017 11:13:33 -0800 Subject: [Paraview] plugins with 5.2 In-Reply-To: References: <956770b0-b7f3-2931-622d-df0abdbe5aa5@gmail.com> Message-ID: Hi Utkarsh, Happy new year! I have a couple of questions about the new way. Shouldn't this be automatically added by ADD_PARAVIEW_PLUGIN macro like the rest of the PV related link dependencies? Should you really need to link Qt to all plugins? My plugin is a number of simple server side only classes, for ex a reader. It has no need of Qt. I'd rather not have Qt as a dependency of my project. Burlen On 12/22/2016 12:17 PM, Utkarsh Ayachit wrote: > Burlen, > > See Qt dependencies changes documented here: > http://www.paraview.org/ParaView3/Doc/Nightly/www/cxx-doc/MajorAPIChanges.html > include(ParaViewQt) # generally not needed, since auto-included > pv_find_package_qt(qt_targets > QT4_COMPONENTS QtGui > QT5_COMPONENTS Widgets) > > pv_qt_wrap_cpp(moc_files ${headers}) > pv_qt_wrap_ui(ui_files ${uis}) > > ... > target_link_libraries(${target} LINK_PRIVATE ${qt_targets}) > > Utkarsh > > On Wed, Dec 21, 2016 at 1:25 PM, Burlen Loring > > wrote: > > After upgrading to 5.2 my plugin is not compiling. When I > configure the plugin I see a few pages of the following: > > CMake Warning (dev) at io/CMakeLists.txt:54 (add_library): > Policy CMP0028 is not set: Double colon in target name means > ALIAS or > IMPORTED target. Run "cmake --help-policy CMP0028" for > policy details. > Use the cmake_policy command to set the policy and suppress > this warning. > > Target "teca_io" links to target "Qt4::QtCore" but the > target was not > found. Perhaps a find_package() call is missing for an > IMPORTED target, or > an ALIAS target is missing? > This warning is for project developers. Use -Wno-dev to > suppress it. > > then linker errors > > [ 32%] Linking CXX shared library ../lib/libteca_io.so > /bin/ld: cannot find -lQt4::QtCore > /bin/ld: cannot find -lQt4::QtGui > collect2: error: ld returned 1 exit status > io/CMakeFiles/teca_io.dir/build.make:402: recipe for target > 'lib/libteca_io.so' failed > make[2]: *** [lib/libteca_io.so] Error 1 > CMakeFiles/Makefile2:196: recipe for target > 'io/CMakeFiles/teca_io.dir/all' failed > make[1]: *** [io/CMakeFiles/teca_io.dir/all] Error 2 > Makefile:127: recipe for target 'all' failed > make: *** [all] Error 2 > > It's not a library so I set the policy to new, and the cmake > configure errors out. Any idea what's missing? > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: > http://markmail.org/search/?q=ParaView > > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From samuelkey at bresnan.net Tue Jan 3 14:25:01 2017 From: samuelkey at bresnan.net (Samuel Key) Date: Tue, 3 Jan 2017 12:25:01 -0700 Subject: [Paraview] Animating a function of a field In-Reply-To: <6377e840-12e0-a63f-5792-d5880d2759f8@lspr.swiss> References: <3ce5a9.6f5d.15964043482.Coremail.yzhzhang@ipe.ac.cn> <6377e840-12e0-a63f-5792-d5880d2759f8@lspr.swiss> Message-ID: <29609561-fbd9-dc8d-080f-5b3b9bc683c0@bresnan.net> Aleksejs, Using brute strength and awkwardness, three conditions are needed: (1) if your datum set is defined as f(x,y,z,t) & g(x,y,z,t), (2) if both f(.) and g(.) are either cell values or point values, and (3) if the variable 'time(.)' has been explicitly added as a datum set item (a name and a value), then add PV's Calculator Filter to the pipeline where 'results' is replaced by 'h' and the equation is set as f*sin(time)+g*cos(time). After selecting the 'APPLY' button, 'h(.) will be added to your datum-set. (To the best my knowledge, 'time' is not available in the PV Calculator filter.) Sam Key On 1/3/2017 8:13 AM, Aleksejs Fomins wrote: > Dear Paraview, > > I have a 3d unstructured mesh with two fields defined over it - f(x,y,z) and g(x,y,z) > I want to create a movie of a following function > > h(t) = f * sin(t) + g * cos(t) > > where t is time. How would you do it? > > Best regards, > Aleksejs Fomins > > PhD Student in Nanophotonics, EPF Lausanne, Switzerland > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From utkarsh.ayachit at kitware.com Tue Jan 3 16:35:37 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 3 Jan 2017 16:35:37 -0500 Subject: [Paraview] plugins with 5.2 In-Reply-To: References: <956770b0-b7f3-2931-622d-df0abdbe5aa5@gmail.com> Message-ID: Burlen, Happy new year to you too! Hmm, that's odd. Can you share the plugin code with me? Let's see if I can reproduce the issue. Utkarsh On Tue, Jan 3, 2017 at 2:13 PM, Burlen Loring wrote: > Hi Utkarsh, Happy new year! > > I have a couple of questions about the new way. > > Shouldn't this be automatically added by ADD_PARAVIEW_PLUGIN macro like the > rest of the PV related link dependencies? > Should you really need to link Qt to all plugins? > > My plugin is a number of simple server side only classes, for ex a reader. > It has no need of Qt. I'd rather not have Qt as a dependency of my project. > > Burlen > > > On 12/22/2016 12:17 PM, Utkarsh Ayachit wrote: > > Burlen, > > See Qt dependencies changes documented here: > http://www.paraview.org/ParaView3/Doc/Nightly/www/cxx-doc/MajorAPIChanges.html > > include(ParaViewQt) # generally not needed, since auto-included > pv_find_package_qt(qt_targets > QT4_COMPONENTS QtGui > QT5_COMPONENTS Widgets) > > pv_qt_wrap_cpp(moc_files ${headers}) > pv_qt_wrap_ui(ui_files ${uis}) > > ... > target_link_libraries(${target} LINK_PRIVATE ${qt_targets}) > > > Utkarsh > > On Wed, Dec 21, 2016 at 1:25 PM, Burlen Loring > wrote: >> >> After upgrading to 5.2 my plugin is not compiling. When I configure the >> plugin I see a few pages of the following: >> >> CMake Warning (dev) at io/CMakeLists.txt:54 (add_library): >> Policy CMP0028 is not set: Double colon in target name means ALIAS or >> IMPORTED target. Run "cmake --help-policy CMP0028" for policy details. >> Use the cmake_policy command to set the policy and suppress this >> warning. >> >> Target "teca_io" links to target "Qt4::QtCore" but the target was not >> found. Perhaps a find_package() call is missing for an IMPORTED target, >> or >> an ALIAS target is missing? >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> then linker errors >> >> [ 32%] Linking CXX shared library ../lib/libteca_io.so >> /bin/ld: cannot find -lQt4::QtCore >> /bin/ld: cannot find -lQt4::QtGui >> collect2: error: ld returned 1 exit status >> io/CMakeFiles/teca_io.dir/build.make:402: recipe for target >> 'lib/libteca_io.so' failed >> make[2]: *** [lib/libteca_io.so] Error 1 >> CMakeFiles/Makefile2:196: recipe for target >> 'io/CMakeFiles/teca_io.dir/all' failed >> make[1]: *** [io/CMakeFiles/teca_io.dir/all] Error 2 >> Makefile:127: recipe for target 'all' failed >> make: *** [all] Error 2 >> >> It's not a library so I set the policy to new, and the cmake configure >> errors out. Any idea what's missing? >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > From pierre at rtech-engineering.nl Tue Jan 3 16:46:27 2017 From: pierre at rtech-engineering.nl (Pierre Van Hauwaert) Date: Tue, 3 Jan 2017 22:46:27 +0100 Subject: [Paraview] slicing a large VTK_POLYHEDRON In-Reply-To: References: Message-ID: <85244813-dccc-6348-1d2b-d53e6014cc5e@rtech-engineering.nl> Hi Mathieu and Thomas, Thank you for the suggestions. 1) I tried the tetrahedralize filter on my data but I did not get the results I was expecting. I have a polyhedron which is not convex (https://postimg.org/image/9s3egl8rz/) and the filter fill the gap as you can see here (https://postimg.org/image/5u1nt6d2h/) and it is not what I was expecting. Indeed, the initial purpose of the slice was to visualize the hole. 2) I tried this fix: https://gitlab.kitware.com/vtk/vtk/merge_requests/2088 only modifying the 2 files (*Common/DataModel/vtkPolyhedron.cxx* *Common/Core/vtkSetGet.h) * And compile VTK alone. I used a python script (activating the python VTK wrapping) to do the test with the vtkCutter function but I ended having the same exact issue (segfault, no error message) with only the polyhedron that have more than 1024 faces. I am not sure I should get the same results if I manage to compile paraview. When I will manage I will get back to you. Thanks, Pierre On 03-01-17 16:51, Mathieu Westphal wrote: > Hi > > Indeed, incorrect copy paste. thanks for pointing it out. > > Mathieu Westphal > > On Tue, Jan 3, 2017 at 4:46 PM, T.J. Corona > wrote: > > Hi Mathieu and Pierre, > > Perhaps you meant to point to this ?work in progress? branch? > > https://gitlab.kitware.com/vtk/vtk/merge_requests/2088 > > > Sincerely, > T.J. > > Thomas J. Corona, Ph.D. > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4443 > >> On Jan 3, 2017, at 10:18 AM, Mathieu Westphal >> > > wrote: >> >> Hello >> >> for your information there is a bug in the slicing of >> vtkPolyHedron that can cause a segfault. >> It looks very much like your error. It has yet to be corrected. >> https://gitlab.kitware.com/vtk/vtk/issues/16877 >> >> >> You can already test this "work in progress" branch to see if >> this fixes your issue : >> https://gitlab.kitware.com/vtk/vtk/merge_requests/2304 >> >> >> You could of course modify your data to tetrahedron with >> tetrahedralize filter. >> >> Regards, >> >> Mathieu Westphal >> >> On Tue, Jan 3, 2017 at 4:10 PM, Pierre Van Hauwaert >> > > wrote: >> >> Hi, >> >> I am using paraview to visualise my data. I generate my data >> using a combination of the 2 following types >> (http://www.vtk.org/doc/nightly/html/vtkCellType_8h_source.html >> ) >> VTK_VOXEL >> = >> 11 >> VTK_POLYHEDRON = 42 I can visualize that data with parview >> without a problem. But, because I ended up having a segfault >> without any error message when slicing (Z=0) the data. I >> decomposed my data in separate files for each VTK_POLYHEDRON >> in order to investigate the problem. >> >> I found out that only the polyhedrons with the largest size >> were having the problem. The limit is somewhere between the 2 >> files: >> - poly-F1000-2395.vtu : working: 466 points, 928 faces >> - poly-F1000-2987.vtu : segfault when slicing: 546 points, >> 1088 faces >> >> So my guess is that there is a limit for the number of points >> or the number of faces that can have the polyhedron (1024 ?) >> if I want to be able to use the slice function. >> >> My questions are : >> 1) Is there actually a limitation in Paraview (VTK?) >> regarding the number of faces or the number of the point that >> the slice function can handle for a polyhedron ? >> 2) If there is this limitation, is there an option to remove >> it in Paraview ? (specific version, compilation option, etc) >> 3) If there is this limitation, is there any work around that >> exist so I am able to slice my data ? For example a different >> format ? >> >> >> I attached the data to be able to back up my statement: >> >> poly-F1000-*.vtu : files describing a polyhedron each: >> poly-F1000.pvd : load all those files >> >> Biggest file for which the slicing works (size, name): >> 34K poly-F1000-2395.vtu >> >> The 8 biggest files triggering the crash when doing a slice: >> (size, name) >> 38K poly-F1000-2987.vtu >> 39K poly-F1000-2983.vtu >> 39K poly-F1000-2935.vtu >> 39K poly-F1000-2988.vtu >> 39K poly-F1000-2931.vtu >> 40K poly-F1000-2937.vtu >> 40K poly-F1000-2981.vtu >> 40K poly-F1000-2930.vtu >> fail.pvd: load those 8 files >> >> the other files can be sliced without any issues >> >> >> Thanks, >> >> Pierre >> >> -- >> R.Tech Engineering B.V. >> Eekholt 42 - 1112 XH Diemen - the Netherlands >> Tel: +31 (0) 2 04 95 02 22 >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> >> Search the list archives at: >> http://markmail.org/search/?q=ParaView >> >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: >> http://markmail.org/search/?q=ParaView >> >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From burlen.loring at gmail.com Tue Jan 3 17:38:16 2017 From: burlen.loring at gmail.com (Burlen Loring) Date: Tue, 3 Jan 2017 14:38:16 -0800 Subject: [Paraview] plugins with 5.2 In-Reply-To: References: <956770b0-b7f3-2931-622d-df0abdbe5aa5@gmail.com> Message-ID: <4c4357c1-2575-418f-d05b-dee41b6608aa@gmail.com> sure, although I hope this isn't asking too much, as the build has a few dependencies, I think for this only NetCDF is needed. here is the repo https://github.com/LBL-EESA/TECA plugin is in the ParaView dir. On 01/03/2017 01:35 PM, Utkarsh Ayachit wrote: > Burlen, > > Happy new year to you too! > > Hmm, that's odd. Can you share the plugin code with me? Let's see if I > can reproduce the issue. > > Utkarsh > > On Tue, Jan 3, 2017 at 2:13 PM, Burlen Loring wrote: >> Hi Utkarsh, Happy new year! >> >> I have a couple of questions about the new way. >> >> Shouldn't this be automatically added by ADD_PARAVIEW_PLUGIN macro like the >> rest of the PV related link dependencies? >> Should you really need to link Qt to all plugins? >> >> My plugin is a number of simple server side only classes, for ex a reader. >> It has no need of Qt. I'd rather not have Qt as a dependency of my project. >> >> Burlen >> >> >> On 12/22/2016 12:17 PM, Utkarsh Ayachit wrote: >> >> Burlen, >> >> See Qt dependencies changes documented here: >> http://www.paraview.org/ParaView3/Doc/Nightly/www/cxx-doc/MajorAPIChanges.html >> >> include(ParaViewQt) # generally not needed, since auto-included >> pv_find_package_qt(qt_targets >> QT4_COMPONENTS QtGui >> QT5_COMPONENTS Widgets) >> >> pv_qt_wrap_cpp(moc_files ${headers}) >> pv_qt_wrap_ui(ui_files ${uis}) >> >> ... >> target_link_libraries(${target} LINK_PRIVATE ${qt_targets}) >> >> >> Utkarsh >> >> On Wed, Dec 21, 2016 at 1:25 PM, Burlen Loring >> wrote: >>> After upgrading to 5.2 my plugin is not compiling. When I configure the >>> plugin I see a few pages of the following: >>> >>> CMake Warning (dev) at io/CMakeLists.txt:54 (add_library): >>> Policy CMP0028 is not set: Double colon in target name means ALIAS or >>> IMPORTED target. Run "cmake --help-policy CMP0028" for policy details. >>> Use the cmake_policy command to set the policy and suppress this >>> warning. >>> >>> Target "teca_io" links to target "Qt4::QtCore" but the target was not >>> found. Perhaps a find_package() call is missing for an IMPORTED target, >>> or >>> an ALIAS target is missing? >>> This warning is for project developers. Use -Wno-dev to suppress it. >>> >>> then linker errors >>> >>> [ 32%] Linking CXX shared library ../lib/libteca_io.so >>> /bin/ld: cannot find -lQt4::QtCore >>> /bin/ld: cannot find -lQt4::QtGui >>> collect2: error: ld returned 1 exit status >>> io/CMakeFiles/teca_io.dir/build.make:402: recipe for target >>> 'lib/libteca_io.so' failed >>> make[2]: *** [lib/libteca_io.so] Error 1 >>> CMakeFiles/Makefile2:196: recipe for target >>> 'io/CMakeFiles/teca_io.dir/all' failed >>> make[1]: *** [io/CMakeFiles/teca_io.dir/all] Error 2 >>> Makefile:127: recipe for target 'all' failed >>> make: *** [all] Error 2 >>> >>> It's not a library so I set the policy to new, and the cmake configure >>> errors out. Any idea what's missing? >>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> From yzhzhang at ipe.ac.cn Tue Jan 3 20:13:38 2017 From: yzhzhang at ipe.ac.cn (=?UTF-8?B?5byg6amt5rSy?=) Date: Wed, 4 Jan 2017 09:13:38 +0800 (GMT+08:00) Subject: [Paraview] Still Render in PV5.2.0 takes longer time than in PV4.4.0 In-Reply-To: References: <3ce5a9.6f5d.15964043482.Coremail.yzhzhang@ipe.ac.cn> Message-ID: <30ea3d.8178.1596709e2d6.Coremail.yzhzhang@ipe.ac.cn> Thank you all! I'm using Kitware's binaries and 4.4 is with OpenGL 1 and 5.2 is with OpenGL 2. Now that this option has no impact on OpenGL2 backend, is there any other option (besides those mentioned in the User's Guide) that can improve the performance of PV 5.2? In my case, by turning off the display list, the overall performance of PV 4.4 is similar to that of PV 5.2. -Zhang -----????----- ???: "Ken Martin" ????: 2017?1?3? ??? ???: "Utkarsh Ayachit" ??: "David E DeMarle" , "???" , "paraview at paraview.org" ??: Re: [Paraview] Still Render in PV5.2.0 takes longer time than in PV4.4.0 For the new OpenGL2 backend setting ImmediateModeRendering or UseDisplayLists or something similar has no impact. Those concepts are part of the legacy OpenGL API. So you should see no difference in timings with them turned on or off with the new OpenGL backend. On Tue, Jan 3, 2017 at 9:42 AM, Utkarsh Ayachit wrote: On Tue, Jan 3, 2017 at 9:10 AM, David E DeMarle wrote: > Is this with OpenGL1 or 2 back end? If you are using Kitware's binaries 4.4 > will be OpenGL1 and 5.2 will be OpenGL2. If you built from source or got it > from a distro then it might be otherwise. A way to tell which type of build you're using is to loo at the title bar. For OpenGL1, the title bar says "Legacy Rendering Backend". Such a suffix is missing for OpenGL2 build. Utkarsh _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -- Ken Martin PhD Chairman & CFO Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 518 371 3971 This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken.martin at kitware.com Tue Jan 3 21:51:12 2017 From: ken.martin at kitware.com (Ken Martin) Date: Tue, 3 Jan 2017 21:51:12 -0500 Subject: [Paraview] Still Render in PV5.2.0 takes longer time than in PV4.4.0 In-Reply-To: <30ea3d.8178.1596709e2d6.Coremail.yzhzhang@ipe.ac.cn> References: <3ce5a9.6f5d.15964043482.Coremail.yzhzhang@ipe.ac.cn> <30ea3d.8178.1596709e2d6.Coremail.yzhzhang@ipe.ac.cn> Message-ID: For the first render of points your numbers seem reasonable. For subsequent renders you will find different tradeoffs on the old backend. Display Lists are typically slower for a first render but faster on subsequent renders. With them turned off the first render is fast but subsequent renders are not any faster. Subsequent renders with OpenGL2 should be fairly fast. On Tue, Jan 3, 2017 at 8:13 PM, ??? wrote: > > > Thank you all! > > I'm using Kitware's binaries and 4.4 is with OpenGL 1 and 5.2 is with > OpenGL 2. Now that this option has no impact on OpenGL2 backend, is there > any other option (besides those mentioned in the User's Guide) that can > improve the performance of PV 5.2? In my case, by turning off the display > list, the overall performance of PV 4.4 is similar to that of PV 5.2. > > -Zhang > > -----????----- > *???:* "Ken Martin" > *????:* 2017?1?3? ??? > *???:* "Utkarsh Ayachit" > *??:* "David E DeMarle" , "???" < > yzhzhang at ipe.ac.cn>, "paraview at paraview.org" > *??:* Re: [Paraview] Still Render in PV5.2.0 takes longer time than in > PV4.4.0 > > For the new OpenGL2 backend setting ImmediateModeRendering or > UseDisplayLists or something similar has no impact. Those concepts are part > of the legacy OpenGL API. So you should see no difference in timings with > them turned on or off with the new OpenGL backend. > > On Tue, Jan 3, 2017 at 9:42 AM, Utkarsh Ayachit < > utkarsh.ayachit at kitware.com> wrote: > >> On Tue, Jan 3, 2017 at 9:10 AM, David E DeMarle >> wrote: >> > Is this with OpenGL1 or 2 back end? If you are using Kitware's binaries >> 4.4 >> > will be OpenGL1 and 5.2 will be OpenGL2. If you built from source or >> got it >> > from a distro then it might be otherwise. >> >> A way to tell which type of build you're using is to loo at the title >> bar. For OpenGL1, the title bar says "Legacy Rendering Backend". Such >> a suffix is missing for OpenGL2 build. >> >> Utkarsh >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > > > > -- > Ken Martin PhD > Chairman & CFO > Kitware Inc. > 28 Corporate Drive > Clifton Park NY 12065 > 518 371 3971 <(518)%20371-3971> > > This communication, including all attachments, contains confidential and > legally privileged information, and it is intended only for the use of the > addressee. Access to this email by anyone else is unauthorized. If you are > not the intended recipient, any disclosure, copying, distribution or any > action taken in reliance on it is prohibited and may be unlawful. If you > received this communication in error please notify us immediately and > destroy the original message. Thank you. > > > > > > -- Ken Martin PhD Chairman & CFO Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 518 371 3971 This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.westphal at kitware.com Wed Jan 4 04:11:58 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Wed, 4 Jan 2017 10:11:58 +0100 Subject: [Paraview] slicing a large VTK_POLYHEDRON In-Reply-To: <85244813-dccc-6348-1d2b-d53e6014cc5e@rtech-engineering.nl> References: <85244813-dccc-6348-1d2b-d53e6014cc5e@rtech-engineering.nl> Message-ID: Hi It may be a different issue than the one i'm fixing. If you can share the segfaulting polyhedron, please do so i can take a look when i get back on this issue ( which my not be soon, feel free to find other solutions) Regards, Mathieu Westphal On Tue, Jan 3, 2017 at 10:46 PM, Pierre Van Hauwaert < pierre at rtech-engineering.nl> wrote: > Hi Mathieu and Thomas, > > Thank you for the suggestions. > > 1) I tried the tetrahedralize filter on my data but I did not get the > results I was expecting. I have a polyhedron which is not convex ( > https://postimg.org/image/9s3egl8rz/) and the filter fill the gap as you > can see here (https://postimg.org/image/5u1nt6d2h/) and it is not what I > was expecting. Indeed, the initial purpose of the slice was to visualize > the hole. > 2) I tried this fix: https://gitlab.kitware.com/vtk > /vtk/merge_requests/2088 > only modifying the 2 files (*Common/DataModel/vtkPolyhedron.cxx * > > *Common/Core/vtkSetGet.h) * > > And compile VTK alone. I used a python script (activating the python VTK > wrapping) to do the test with the vtkCutter function but I ended having the > same exact issue (segfault, no error message) with only the polyhedron that > have more than 1024 faces. I am not sure I should get the same results if I > manage to compile paraview. When I will manage I will get back to you. > > Thanks, > > Pierre > > > > On 03-01-17 16:51, Mathieu Westphal wrote: > > Hi > > Indeed, incorrect copy paste. thanks for pointing it out. > > Mathieu Westphal > > On Tue, Jan 3, 2017 at 4:46 PM, T.J. Corona wrote: > >> Hi Mathieu and Pierre, >> >> Perhaps you meant to point to this ?work in progress? branch? >> >> https://gitlab.kitware.com/vtk/vtk/merge_requests/2088 >> >> Sincerely, >> T.J. >> >> Thomas J. Corona, Ph.D. >> Kitware, Inc. >> R&D Engineer >> 21 Corporate Drive >> Clifton Park, NY 12065-8662 >> Phone: 518-881-4443 <%28518%29%20881-4443> >> >> On Jan 3, 2017, at 10:18 AM, Mathieu Westphal < >> mathieu.westphal at kitware.com> wrote: >> >> Hello >> >> for your information there is a bug in the slicing of vtkPolyHedron that >> can cause a segfault. >> It looks very much like your error. It has yet to be corrected. >> https://gitlab.kitware.com/vtk/vtk/issues/16877 >> >> You can already test this "work in progress" branch to see if this fixes >> your issue : >> https://gitlab.kitware.com/vtk/vtk/merge_requests/2304 >> >> You could of course modify your data to tetrahedron with tetrahedralize >> filter. >> >> Regards, >> >> Mathieu Westphal >> >> On Tue, Jan 3, 2017 at 4:10 PM, Pierre Van Hauwaert < >> pierre at rtech-engineering.nl> wrote: >> >>> Hi, >>> >>> I am using paraview to visualise my data. I generate my data using a >>> combination of the 2 following types ( >>> >>> http://www.vtk.org/doc/nightly/html/vtkCellType_8h_source.html) >>> VTK_VOXEL >>> >>> = 11 >>> VTK_POLYHEDRON = 42 I can visualize that data with parview without a >>> problem. But, because I ended up having a segfault without any error >>> message when slicing (Z=0) the data. I decomposed my data in separate files >>> for each VTK_POLYHEDRON in order to investigate the problem. >>> >>> I found out that only the polyhedrons with the largest size were having >>> the problem. The limit is somewhere between the 2 files: >>> - poly-F1000-2395.vtu : working: 466 points, 928 faces >>> - poly-F1000-2987.vtu : segfault when slicing: 546 points, 1088 faces >>> >>> So my guess is that there is a limit for the number of points or the >>> number of faces that can have the polyhedron (1024 ?) if I want to be able >>> to use the slice function. >>> >>> My questions are : >>> 1) Is there actually a limitation in Paraview (VTK?) regarding the >>> number of faces or the number of the point that the slice function can >>> handle for a polyhedron ? >>> 2) If there is this limitation, is there an option to remove it in >>> Paraview ? (specific version, compilation option, etc) >>> 3) If there is this limitation, is there any work around that exist so I >>> am able to slice my data ? For example a different format ? >>> >>> >>> I attached the data to be able to back up my statement: >>> >>> poly-F1000-*.vtu : files describing a polyhedron each: >>> poly-F1000.pvd : load all those files >>> >>> Biggest file for which the slicing works (size, name): >>> 34K poly-F1000-2395.vtu >>> >>> The 8 biggest files triggering the crash when doing a slice: (size, name) >>> 38K poly-F1000-2987.vtu >>> 39K poly-F1000-2983.vtu >>> 39K poly-F1000-2935.vtu >>> 39K poly-F1000-2988.vtu >>> 39K poly-F1000-2931.vtu >>> 40K poly-F1000-2937.vtu >>> 40K poly-F1000-2981.vtu >>> 40K poly-F1000-2930.vtu >>> fail.pvd: load those 8 files >>> >>> the other files can be sliced without any issues >>> >>> >>> Thanks, >>> >>> Pierre >>> >>> -- >>> R.Tech Engineering B.V. >>> Eekholt 42 - 1112 XH Diemen - the Netherlands >>> Tel: +31 (0) 2 04 95 02 22 >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: >>> http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: >> http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From guillaume.jacquenot at gmail.com Wed Jan 4 04:14:05 2017 From: guillaume.jacquenot at gmail.com (Guillaume Jacquenot) Date: Wed, 4 Jan 2017 10:14:05 +0100 Subject: [Paraview] Problem reading a numpy NPZ file in ParaView 5.2.0 on Windows Message-ID: Hello everyone, I want to report a possible bug. I have a Python script that creates data, exports data in a numpy NPZ file, and reads it later in a ProgrammableFilter. With ParaView 5.1.2, everything works fine. However, when I try it with ParaView 5.2.0, I have a weird reading error. I have checked the 'About ParaView' window, but see no real difference between the two versions. If I try to import the PV 5.2.0 npz generated file in another Python interpreter with anoter numpy version (1.11.3), I have no problem. So I guess, the PV 5.2.0 npz generated files are correct, but there is a problem accessing its content from PV 5.2.0 Here is a script that reproduces the bug. It is to be run from the PV interpreter. import os import tempfile import numpy as np outputFilename = os.path.join(tempfile.mkdtemp(), 'dummy.npz') varName='Time' np.savez(outputFilename, **{varName:np.random.rand(3,4)}) d = np.load(outputFilename) time = d[varName] d.close() os.remove(outputFilename) print('Success PV can create a NPZ file and read its content : ' + outputFilename) Here is the message error on Windows with PV 5.2.0 >>> Traceback (most recent call last): File "", line 8, in File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\lib\npyio.py", line 250, in __getitem__ return format.read_array(bytes) File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\lib\format.py", line 437, in read_array shape, fortran_order, dtype = read_array_header_1_0(fp) File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\lib\format.py", line 334, in read_array_header_1_0 d = safe_eval(header) File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\lib\utils.py", line 1132, in safe_eval return walker.visit(ast) File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\lib\utils.py", line 980, in visit return meth(node, **kw) File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\lib\utils.py", line 987, in visitExpression for child in node.getChildNodes(): AttributeError: 'Expression' object has no attribute 'getChildNodes' Guillaume Jacquenot -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre at rtech-engineering.nl Wed Jan 4 04:18:26 2017 From: pierre at rtech-engineering.nl (Pierre Van Hauwaert) Date: Wed, 4 Jan 2017 10:18:26 +0100 Subject: [Paraview] slicing a large VTK_POLYHEDRON In-Reply-To: References: <85244813-dccc-6348-1d2b-d53e6014cc5e@rtech-engineering.nl> Message-ID: Hi, As requested I attached with that email a list of 8 segfaulting polyhedrons. It happens with a centre of (0,0,0) and an oZ normal. Regards, Pierre On 01/04/2017 10:11 AM, Mathieu Westphal wrote: > Hi > > It may be a different issue than the one i'm fixing. If you can share > the segfaulting polyhedron, please do so i can take a look when i get > back on this issue ( which my not be soon, feel free to find other > solutions) > > Regards, > > Mathieu Westphal > > On Tue, Jan 3, 2017 at 10:46 PM, Pierre Van Hauwaert > > wrote: > > Hi Mathieu and Thomas, > > Thank you for the suggestions. > > 1) I tried the tetrahedralize filter on my data but I did not get > the results I was expecting. I have a polyhedron which is not > convex (https://postimg.org/image/9s3egl8rz/ > ) and the filter fill the > gap as you can see here (https://postimg.org/image/5u1nt6d2h/ > ) and it is not what I was > expecting. Indeed, the initial purpose of the slice was to > visualize the hole. > > 2) I tried this fix: > https://gitlab.kitware.com/vtk/vtk/merge_requests/2088 > > only modifying the 2 files (*Common/DataModel/vtkPolyhedron.cxx* > > *Common/Core/vtkSetGet.h) * > > And compile VTK alone. I used a python script (activating the > python VTK wrapping) to do the test with the vtkCutter function > but I ended having the same exact issue (segfault, no error > message) with only the polyhedron that have more than 1024 faces. > I am not sure I should get the same results if I manage to compile > paraview. When I will manage I will get back to you. > > Thanks, > > Pierre > > > > On 03-01-17 16:51, Mathieu Westphal wrote: >> Hi >> >> Indeed, incorrect copy paste. thanks for pointing it out. >> >> Mathieu Westphal >> >> On Tue, Jan 3, 2017 at 4:46 PM, T.J. Corona >> > wrote: >> >> Hi Mathieu and Pierre, >> >> Perhaps you meant to point to this ?work in progress? branch? >> >> https://gitlab.kitware.com/vtk/vtk/merge_requests/2088 >> >> >> Sincerely, >> T.J. >> >> Thomas J. Corona, Ph.D. >> Kitware, Inc. >> R&D Engineer >> 21 Corporate Drive >> Clifton Park, NY 12065-8662 >> Phone: 518-881-4443 >> >>> On Jan 3, 2017, at 10:18 AM, Mathieu Westphal >>> >> > wrote: >>> >>> Hello >>> >>> for your information there is a bug in the slicing of >>> vtkPolyHedron that can cause a segfault. >>> It looks very much like your error. It has yet to be corrected. >>> https://gitlab.kitware.com/vtk/vtk/issues/16877 >>> >>> >>> You can already test this "work in progress" branch to see >>> if this fixes your issue : >>> https://gitlab.kitware.com/vtk/vtk/merge_requests/2304 >>> >>> >>> You could of course modify your data to tetrahedron with >>> tetrahedralize filter. >>> >>> Regards, >>> >>> Mathieu Westphal >>> >>> On Tue, Jan 3, 2017 at 4:10 PM, Pierre Van Hauwaert >>> >> > wrote: >>> >>> Hi, >>> >>> I am using paraview to visualise my data. I generate my >>> data using a combination of the 2 following types >>> (http://www.vtk.org/doc/nightly/html/vtkCellType_8h_source.html) >>> VTK_VOXEL >>> = >>> 11 >>> VTK_POLYHEDRON = 42 I can visualize that data with >>> parview without a problem. But, because I ended up >>> having a segfault without any error message when slicing >>> (Z=0) the data. I decomposed my data in separate files >>> for each VTK_POLYHEDRON in order to investigate the problem. >>> >>> I found out that only the polyhedrons with the largest >>> size were having the problem. The limit is somewhere >>> between the 2 files: >>> - poly-F1000-2395.vtu : working: 466 points, 928 faces >>> - poly-F1000-2987.vtu : segfault when slicing: 546 >>> points, 1088 faces >>> >>> So my guess is that there is a limit for the number of >>> points or the number of faces that can have the >>> polyhedron (1024 ?) if I want to be able to use the >>> slice function. >>> >>> My questions are : >>> 1) Is there actually a limitation in Paraview (VTK?) >>> regarding the number of faces or the number of the point >>> that the slice function can handle for a polyhedron ? >>> 2) If there is this limitation, is there an option to >>> remove it in Paraview ? (specific version, compilation >>> option, etc) >>> 3) If there is this limitation, is there any work around >>> that exist so I am able to slice my data ? For example a >>> different format ? >>> >>> >>> I attached the data to be able to back up my statement: >>> >>> poly-F1000-*.vtu : files describing a polyhedron each: >>> poly-F1000.pvd : load all those files >>> >>> Biggest file for which the slicing works (size, name): >>> 34K poly-F1000-2395.vtu >>> >>> The 8 biggest files triggering the crash when doing a >>> slice: (size, name) >>> 38K poly-F1000-2987.vtu >>> 39K poly-F1000-2983.vtu >>> 39K poly-F1000-2935.vtu >>> 39K poly-F1000-2988.vtu >>> 39K poly-F1000-2931.vtu >>> 40K poly-F1000-2937.vtu >>> 40K poly-F1000-2981.vtu >>> 40K poly-F1000-2930.vtu >>> fail.pvd: load those 8 files >>> >>> the other files can be sliced without any issues >>> >>> >>> Thanks, >>> >>> Pierre >>> >>> -- >>> R.Tech Engineering B.V. >>> Eekholt 42 - 1112 XH Diemen - the Netherlands >>> Tel: +31 (0) 2 04 95 02 22 >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> >>> Please keep messages on-topic and check the ParaView >>> Wiki at: http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: >>> http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki >>> at: http://paraview.org/Wiki/ParaView >>> >>> >>> Search the list archives at: >>> http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: segfaultingPolyhedrons.tgz Type: application/x-gtar-compressed Size: 74951 bytes Desc: not available URL: From bflandard at gmail.com Wed Jan 4 08:02:43 2017 From: bflandard at gmail.com (Bob Flandard) Date: Wed, 4 Jan 2017 13:02:43 +0000 Subject: [Paraview] Custom source glyph error Message-ID: Hi, I'm getting an error message (see end) using the "glyph with custom source filter" for the case where the input points have associated results data sets and the custom glyph source is of multiblock type. I've attached two small sample state files that demonstrate the issue. The custom glyph should be two hemispheres, one black and one white. One state file shows the desired result, but the point source data has no results data sets associated with it. The other state file has point sources with two associated results data sets (mode1 and mode2) contained in the attached Ensight *.case files. This second file gives the error message below when loading. Is this a bug or is there a filter that implements "CopyStructure", that I should use? Thanks for any suggestions, Bob The error message is: ERROR: In C:\bbd\df0abce0\source-paraview\VTK\Common\DataModel\vtkDataObjectTree.cxx, line 306 vtkMultiBlockDataSet (0000000017C45180): Structure does not match. You must use CopyStructure before calling this method. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: sampleCustomGlyph.zip Type: application/zip Size: 41298 bytes Desc: not available URL: From robertsawko at gmail.com Wed Jan 4 10:12:18 2017 From: robertsawko at gmail.com (Robert Sawko) Date: Wed, 4 Jan 2017 15:12:18 +0000 Subject: [Paraview] Newer object always in front in Render View Message-ID: <20170104151218.GA28983@avignon> Hi, I am playing with a 5.1 version of ParaView and I came across a bug or feature which makes me a little dizzy. Basically, it seems that objects that appear lower in the Pipeline Browser are always on top in Render View. That behaviour was definitely not a default in earlier versions. Is there a way to switch to a behaviour when objects culling based on the spatial position? Please let me know. I've taken a few pictures of radius 0.5 spheres displaced by 1 in the X direction. Funnily enough the perspective is calculated properly so even though the blue sphere appears behind it's actually bigger. Kind Regards, Robert -- The Awkward Case of "His or Her" (MW-series) http://www.merriam-webster.com/video/the-awkward-case-of-his-or-her -------------- next part -------------- A non-text attachment was scrubbed... Name: spheresXm.png Type: image/png Size: 67673 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: spheresXp.png Type: image/png Size: 95336 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: spheresYp.png Type: image/png Size: 100723 bytes Desc: not available URL: From dave.demarle at kitware.com Wed Jan 4 10:27:03 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Wed, 4 Jan 2017 10:27:03 -0500 Subject: [Paraview] Newer object always in front in Render View In-Reply-To: <20170104151218.GA28983@avignon> References: <20170104151218.GA28983@avignon> Message-ID: That's pretty crazy. You typically have to do some coding to get the layering effect. Try running with -dr to disable your preferences and settings. Also, please share more information about your binary and OS as well as passing along a state file to see if anyone can reproduce it. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Jan 4, 2017 at 10:12 AM, Robert Sawko wrote: > Hi, > > I am playing with a 5.1 version of ParaView and I came across a bug or > feature > which makes me a little dizzy. Basically, it seems that objects that appear > lower in the Pipeline Browser are always on top in Render View. That > behaviour > was definitely not a default in earlier versions. > > Is there a way to switch to a behaviour when objects culling based on the > spatial position? Please let me know. > > I've taken a few pictures of radius 0.5 spheres displaced by 1 in the X > direction. Funnily enough the perspective is calculated properly so even > though > the blue sphere appears behind it's actually bigger. > > > Kind Regards, > Robert > -- > The Awkward Case of "His or Her" (MW-series) > http://www.merriam-webster.com/video/the-awkward-case-of-his-or-her > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From robertsawko at gmail.com Wed Jan 4 10:41:15 2017 From: robertsawko at gmail.com (Robert Sawko) Date: Wed, 4 Jan 2017 15:41:15 +0000 Subject: [Paraview] Newer object always in front in Render View In-Reply-To: References: <20170104151218.GA28983@avignon> Message-ID: <20170104154115.GA14151@avignon> David, Thanks for a quick reply. Tried with -dr and it's the same. I am attaching my state file for spheres. It may help someone to reproduce. I am running it on Arch Linux and paraview is taken from AUR. I am just looking at the way the binary was generated and I see these options in cmake cmake \ -DBUILD_SHARED_LIBS:BOOL=ON \ -DBUILD_TESTING:BOOL=OFF \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_COMPILER=mpicc \ -DCMAKE_CXX_COMPILER=mpicxx \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=OFF \ -DOSPRAY_INSTALL_DIR:PATH=/usr \ -DPARAVIEW_ENABLE_CGNS:BOOL=OFF \ -DPARAVIEW_ENABLE_FFMPEG:BOOL=ON \ -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \ -DPARAVIEW_PYTHON_VERSION=2 \ -DPARAVIEW_QT_VERSION=5 \ -DPARAVIEW_USE_MPI:BOOL=ON \ -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON \ -DPARAVIEW_USE_OSPRAY:BOOL=ON \ -DVISIT_BUILD_READER_CGNS:BOOL=OFF \ -DVTK_PYTHON_VERSION=2 \ -DVTK_QT_VERSION=5 \ -DVTK_RENDERING_BACKEND:STRING=OpenGL2 \ -DVTK_SMP_IMPLEMENTATION_TYPE:STRING=OpenMP \ -DVTK_USE_SYSTEM_HDF5:BOOL=OFF \ ${VTK_USE_SYSTEM_LIB} \ ../ParaView-v${_pkgver} Does any of this look suspicious? Robert -- Newton's bucket http://en.wikipedia.org/wiki/Bucket_argument From utkarsh.ayachit at kitware.com Wed Jan 4 11:54:18 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 4 Jan 2017 11:54:18 -0500 Subject: [Paraview] plugins with 5.2 In-Reply-To: <4c4357c1-2575-418f-d05b-dee41b6608aa@gmail.com> References: <956770b0-b7f3-2931-622d-df0abdbe5aa5@gmail.com> <4c4357c1-2575-418f-d05b-dee41b6608aa@gmail.com> Message-ID: Burlen, Looking at the code, the problem is not with the plugin (or add_paraview_plugin), which indeed add the dependency as appropriate, the issue is in io/CMakeLists.txt [1]. When you use VTK_LIBRARIES, you're linking against all VTK modules and its dependencies, which is really an over kill. Instead, change to using COMPONENTS for the find_package(VTK ..) or find_package(ParaView...) calls e.g. [2]. Utkarsh [1] https://github.com/LBL-EESA/TECA/blob/master/io/CMakeLists.txt#L34-L42 [2] https://gitlab.kitware.com/sensei/sensei-pub/blob/master/sensei/CMakeLists.txt#L78-86 On Tue, Jan 3, 2017 at 5:38 PM, Burlen Loring wrote: > sure, although I hope this isn't asking too much, as the build has a few > dependencies, I think for this only NetCDF is needed. > > here is the repo > https://github.com/LBL-EESA/TECA > plugin is in the ParaView dir. > > > On 01/03/2017 01:35 PM, Utkarsh Ayachit wrote: >> >> Burlen, >> >> Happy new year to you too! >> >> Hmm, that's odd. Can you share the plugin code with me? Let's see if I >> can reproduce the issue. >> >> Utkarsh >> >> On Tue, Jan 3, 2017 at 2:13 PM, Burlen Loring wrote: >>> >>> Hi Utkarsh, Happy new year! >>> >>> I have a couple of questions about the new way. >>> >>> Shouldn't this be automatically added by ADD_PARAVIEW_PLUGIN macro like >>> the >>> rest of the PV related link dependencies? >>> Should you really need to link Qt to all plugins? >>> >>> My plugin is a number of simple server side only classes, for ex a >>> reader. >>> It has no need of Qt. I'd rather not have Qt as a dependency of my >>> project. >>> >>> Burlen >>> >>> >>> On 12/22/2016 12:17 PM, Utkarsh Ayachit wrote: >>> >>> Burlen, >>> >>> See Qt dependencies changes documented here: >>> >>> http://www.paraview.org/ParaView3/Doc/Nightly/www/cxx-doc/MajorAPIChanges.html >>> >>> include(ParaViewQt) # generally not needed, since auto-included >>> pv_find_package_qt(qt_targets >>> QT4_COMPONENTS QtGui >>> QT5_COMPONENTS Widgets) >>> >>> pv_qt_wrap_cpp(moc_files ${headers}) >>> pv_qt_wrap_ui(ui_files ${uis}) >>> >>> ... >>> target_link_libraries(${target} LINK_PRIVATE ${qt_targets}) >>> >>> >>> Utkarsh >>> >>> On Wed, Dec 21, 2016 at 1:25 PM, Burlen Loring >>> wrote: >>>> >>>> After upgrading to 5.2 my plugin is not compiling. When I configure the >>>> plugin I see a few pages of the following: >>>> >>>> CMake Warning (dev) at io/CMakeLists.txt:54 (add_library): >>>> Policy CMP0028 is not set: Double colon in target name means ALIAS or >>>> IMPORTED target. Run "cmake --help-policy CMP0028" for policy >>>> details. >>>> Use the cmake_policy command to set the policy and suppress this >>>> warning. >>>> >>>> Target "teca_io" links to target "Qt4::QtCore" but the target was not >>>> found. Perhaps a find_package() call is missing for an IMPORTED >>>> target, >>>> or >>>> an ALIAS target is missing? >>>> This warning is for project developers. Use -Wno-dev to suppress it. >>>> >>>> then linker errors >>>> >>>> [ 32%] Linking CXX shared library ../lib/libteca_io.so >>>> /bin/ld: cannot find -lQt4::QtCore >>>> /bin/ld: cannot find -lQt4::QtGui >>>> collect2: error: ld returned 1 exit status >>>> io/CMakeFiles/teca_io.dir/build.make:402: recipe for target >>>> 'lib/libteca_io.so' failed >>>> make[2]: *** [lib/libteca_io.so] Error 1 >>>> CMakeFiles/Makefile2:196: recipe for target >>>> 'io/CMakeFiles/teca_io.dir/all' failed >>>> make[1]: *** [io/CMakeFiles/teca_io.dir/all] Error 2 >>>> Makefile:127: recipe for target 'all' failed >>>> make: *** [all] Error 2 >>>> >>>> It's not a library so I set the policy to new, and the cmake configure >>>> errors out. Any idea what's missing? >>>> >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: >>>> http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> > From debopamg at gmail.com Wed Jan 4 11:55:33 2017 From: debopamg at gmail.com (Debopam Ghoshal) Date: Wed, 4 Jan 2017 22:25:33 +0530 Subject: [Paraview] Error while launching Paraview (and Paraview Web) in Window 10 In-Reply-To: References: Message-ID: Hi Seb, We made the changes in the protocols.py file (highlighted) @exportRpc("pv.proxy.manager.create.reader") def open(self, relativePath): """ Open relative file paths, attempting to use the file extension to select from the configured readers. """ fileToLoad = [] if type(relativePath) == list: for file in relativePath: validPath = self.getAbsolutePath(file) if validPath: fileToLoad.append(validPath) else: validPath = self.getAbsolutePath(relativePath) if validPath: fileToLoad.append(validPath) if len(fileToLoad) == 0: print "=" * 80 print "file not found" print "fileToLoad: ", fileToLoad print "=" * 80 return { 'success': False, 'reason': 'No valid path name' } The output in the console is a follows: C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit>.\bin\pvpython.exe "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\ share\\paraview-5.2\\web\\visualizer\\server\\pvw-visualizer.py" --content "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\ share\\paraview-5.2\\web\\visualizer\\www" --data "C:\\ParaView-5.2.0-Qt4- OpenGL2-MPI-Windows-64bit\\data" --port 8080 2017-01-04 11:06:38+0530 [-] Log opened. 2017-01-04 11:06:39+0530 [-] Site starting on 8080 2017-01-04 11:06:39+0530 [-] Starting factory 2017-01-04 11:06:43+0530 [HTTPChannel,0,127.0.0.1] "127.0.0.1" - - [ 04/Jan/2017:05:36:43 +0000] "GET / HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36" 2017-01-04 11:06:43+0530 [HTTPChannel,0,127.0.0.1] "127.0.0.1" - - [ 04/Jan/2017:05:36:43 +0000] "POST /paraview/ HTTP/1.1" 404 145 " http://localhost:8080/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36" 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Client has reconnected, cancelling reaper 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] on_connect: connection count = 1 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property BeginValueCapture has no GetData() method, skipping 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property CaptureValuesFloat has no GetData() method, skipping 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property CaptureZBuffer has no GetData() method, skipping 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property EndValueCapture has no GetData() method, skipping 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property StartCaptureLuminance has no GetData() method, skipping 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property StopCaptureLuminance has no GetData() method, skipping *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] ================================================================================* *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] file not found* *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] fileToLoad: []* *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] ================================================================================* 2017-01-04 11:06:56+0530 [-] Received SIGINT, shutting down. Cheers & Best Wishes, Debopam ------------------------------- Cell: +91 98304 10041 On Tue, Jan 3, 2017 at 9:05 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > Ok that mean there is still a path issue when loading a file within > ParaViewWeb on Windows. > > Did you look at the log of that given session to see if any error is > printed? > > You can try to edit the file [lib/site-packages]/paraview/web/protocols.py > within the ParaView application (The [...] part is for the path section > that I'm not sure of). > > In the function > > @exportRpc("pv.proxy.manager.create.reader") > def open(self, relativePath): > """ > Open relative file paths, attempting to use the file extension to > select > from the configured readers. > """ > fileToLoad = [] > if type(relativePath) == list: > for file in relativePath: > validPath = self.getAbsolutePath(file) > if validPath: > fileToLoad.append(validPath) > else: > validPath = self.getAbsolutePath(relativePath) > if validPath: > fileToLoad.append(validPath) > > if len(fileToLoad) == 0: > return { 'success': False, 'reason': 'No valid path name' } > > print "=" * 80 # <------ ADD THAT LINE TO SEE THE PATH YOU > TRY TO LOAD > print fileToLoad # <------ ADD THAT LINE TO SEE THE PATH YOU TRY > TO LOAD > print "=" * 80 # <------ ADD THAT LINE TO SEE THE PATH YOU > TRY TO LOAD > > [...] > > Then look at the log to see which path is used to load that file. > > Seb > > On Tue, Jan 3, 2017 at 6:36 AM, Debopam Ghoshal > wrote: > >> Hi Seb, >> >> 1. We are able to see the orientation axis and also able to rotate them. >> For example, when we click on can.ex2, we see a blank black screen. Then >> after we hide the left panel, we are able to see the orientation axis and >> also rotate them. >> >> 2. When we select the Wavelet we were able to view it properly, and was >> also able to rotate the scene. >> >> 3. We tried with both / and \\ but there is no change. The command we >> are using to launch paraview is as below: >> >> a: .\bin\pvpython.exe "C:\\ParaView-5.2.0-Qt4-OpenGL >> 2-MPI-Windows-64bit\\share\\paraview-5.2\\web\\visualizer\\server\\pvw-visualizer.py" >> --content "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\share\\ >> paraview-5.2\\web\\visualizer\\www" --data "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" >> --port 8080 >> >> b: .\bin\pvpython.exe "C:/ParaView-5.2.0-Qt4-OpenGL2 >> -MPI-Windows-64bit/share/paraview-5.2/web/visualizer/server/pvw-visualizer.py" >> --content "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/share/ >> paraview-5.2/web/visualizer/www" --data "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" >> --port 8080 >> >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> Cell: +91 98304 10041 <+91%2098304%2010041> >> >> On Mon, Jan 2, 2017 at 9:36 PM, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> Hi Debopam, >>> >>> Do you see the orientation axis? Does it move when you rotate the scene? >>> What happen when you click on "+" and choose the Wavelet? Do you see >>> something? >>> >>> I'm wondering if you still run into an invalid path issue due to / or \. >>> >>> Seb >>> >>> On Mon, Jan 2, 2017 at 6:38 AM, Debopam Ghoshal >>> wrote: >>> >>>> Hi Seb, >>>> >>>> 1. "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" works fine. >>>> Now we can see the list of files in the data folder. >>>> >>>> However, there seems to be some problem with the ParaviewWeb >>>> Application (or may be with the graphics driver?). Because we cannot render >>>> the sample mesh files (eg: can.ex2) in the visualizer. When we tried to >>>> view the files in the desktop application they are displayed without any >>>> problems. A screenshot of the graphics driver is attached for your >>>> reference. >>>> >>>> 2. Ok. >>>> >>>> >>>> Cheers & Best Wishes, >>>> Debopam >>>> ------------------------------- >>>> >>>> On Fri, Dec 30, 2016 at 9:02 PM, Sebastien Jourdain < >>>> sebastien.jourdain at kitware.com> wrote: >>>> >>>>> Hi Debopam, >>>>> >>>>> 1) I'm not sure to know what is the issue with the path but try with >>>>> either: >>>>> >>>>> "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" >>>>> or >>>>> "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" >>>>> >>>>> 2) paraview_console_error.jpg is not an error since you are not using >>>>> the launcher. So that part is actually expected. >>>>> For the second error when you try to delete the TimeAnnotation, I'm >>>>> not sure to know what is the issue. You should know more by looking at the >>>>> output of the command line. >>>>> >>>>> Seb >>>>> >>>>> >>>>> On Fri, Dec 30, 2016 at 12:53 AM, Debopam Ghoshal >>>>> wrote: >>>>> >>>>>> (Reposting for a larger audience) >>>>>> >>>>>> Hi Ken, >>>>>> >>>>>> When we start paraview web we noted two things: >>>>>> >>>>>> 1. In the Visualizer, the Files tab is not showing any files. Please >>>>>> refer to the attached screenshot (paraview_home.jpg) >>>>>> 2. There is an error showing up at the browser console >>>>>> (paraview_console_error.jpg, paraview_console_error2.jpg) >>>>>> >>>>>> The paraview startup messages are also given for your reference >>>>>> (paraview_log.jpg) >>>>>> >>>>>> >>>>>> >>>>>> Cheers & Best Wishes, >>>>>> Debopam >>>>>> ------------------------------- >>>>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>>>> >>>>>> On Wed, Dec 28, 2016 at 10:35 AM, Debopam Ghoshal >>>>> > wrote: >>>>>> >>>>>>> Hi Ken, >>>>>>> >>>>>>> We finally got a machine where Paraview 5.2 MPI is running without >>>>>>> any issues. However, when we start paraview web we noted two things: >>>>>>> >>>>>>> 1. In the Visualizer, the Files tab is not showing any files. Please >>>>>>> refer to the attached screenshot (paraview_home.jpg) >>>>>>> 2. There is an error showing up at the browser console >>>>>>> (paraview_console_error.jpg, paraview_console_error2.jpg) >>>>>>> >>>>>>> The paraview startup messages are also given for your reference >>>>>>> (paraview_log.jpg) >>>>>>> >>>>>>> >>>>>>> Cheers & Best Wishes, >>>>>>> Debopam >>>>>>> ------------------------------- >>>>>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>>>>> >>>>>>> On Tue, Dec 13, 2016 at 7:03 PM, Ken Martin >>>>>>> wrote: >>>>>>> >>>>>>>> ParaView with the old OpenGL backend should work on any windows >>>>>>>> machine. It may be slow and some of the advanced techniques may not work >>>>>>>> but the basics will all work. >>>>>>>> >>>>>>>> On Tue, Dec 13, 2016 at 5:57 AM, Debopam Ghoshal < >>>>>>>> debopamg at gmail.com> wrote: >>>>>>>> >>>>>>>>> Yes Ken, you are right. This is an older machine. So, will it be >>>>>>>>> possible to use ParaView (with the old OpenGL backend) on this machine? Or >>>>>>>>> we need to get a machine with better configuration to run ParaView? >>>>>>>>> >>>>>>>>> Additionally, will it be possible to run ParaView (and >>>>>>>>> ParaViewWeb) on a Windows 10 guest running in VirtualBox on a MacOS host? >>>>>>>>> >>>>>>>>> Cheers & Best Wishes, >>>>>>>>> Debopam >>>>>>>>> ------------------------------- >>>>>>>>> Cell: +91 98304 10041 >>>>>>>>> >>>>>>>>> On Mon, Dec 12, 2016 at 8:22 PM, Ken Martin < >>>>>>>>> ken.martin at kitware.com> wrote: >>>>>>>>> >>>>>>>>>> So if I am reading this correctly the machine has a rv516 GPU >>>>>>>>>> which was released in 2007. That GPU does not support anything beyond >>>>>>>>>> OpenGL 2.0 which means you would need to use the old OpenGL backend with >>>>>>>>>> VTK/ParaView. >>>>>>>>>> >>>>>>>>>> http://www.gpureview.com/ati-rv516-chip-135.html >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Mon, Dec 12, 2016 at 9:21 AM, Debopam Ghoshal < >>>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Hi Ken, >>>>>>>>>>> >>>>>>>>>>> This is a standard desktop PC running Window 10 Professional >>>>>>>>>>> Edition. If there is something I need to install on this machine, please >>>>>>>>>>> let me know. >>>>>>>>>>> >>>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>>> Debopam >>>>>>>>>>> ------------------------------- >>>>>>>>>>> Cell: +91 98304 10041 >>>>>>>>>>> >>>>>>>>>>> On Mon, Dec 12, 2016 at 7:18 PM, Ken Martin < >>>>>>>>>>> ken.martin at kitware.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> Is this a server maybe? It seems like the system lacks any >>>>>>>>>>>> OpenGL support beyond the default Microsoft implementation which is circa >>>>>>>>>>>> OpenGL 1.4 I believe. >>>>>>>>>>>> >>>>>>>>>>>> On Sun, Dec 11, 2016 at 11:51 PM, Debopam Ghoshal < >>>>>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hi Ken, >>>>>>>>>>>>> >>>>>>>>>>>>> When I ran the command: vtkRenderingOpenGL2CxxTests.exe >>>>>>>>>>>>> TestAppleBug there was an error. A screenshot of the error is attached for >>>>>>>>>>>>> your reference. Please let me know if you require any other details. >>>>>>>>>>>>> >>>>>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>>>>> Debopam >>>>>>>>>>>>> ------------------------------- >>>>>>>>>>>>> Cell: +91 98304 10041 >>>>>>>>>>>>> >>>>>>>>>>>>> On Fri, Dec 9, 2016 at 7:17 PM, Ken Martin < >>>>>>>>>>>>> ken.martin at kitware.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Here is a new version of the executable, can you try it? >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Fri, Dec 9, 2016 at 1:42 AM, Debopam Ghoshal < >>>>>>>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Hi Cory and Ken, >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Thanks a lot for your prompt response. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Below are the details you asked: >>>>>>>>>>>>>>> 1. display-props.png - screenshot of: Settings -> System >>>>>>>>>>>>>>> -> Display -> Advanced display settings -> Display adapter >>>>>>>>>>>>>>> properties >>>>>>>>>>>>>>> 2. vtkrendering.png - screenshot of the error which came up >>>>>>>>>>>>>>> when I ran: vtkRenderingOpenGL2CxxTests.exe TestAppleBug >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>>>>>>> Debopam >>>>>>>>>>>>>>> ------------------------------- >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Thu, Dec 8, 2016 at 10:49 PM, Ken Martin < >>>>>>>>>>>>>>> ken.martin at kitware.com> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Can you try running the following executable (rename .foo >>>>>>>>>>>>>>>> to .exe) from a cmd shell as >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> vtkRenderingOpenGL2CxxTests.exe TestAppleBug >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> and see if it crashes, and send the output is produces >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Thanks >>>>>>>>>>>>>>>> Ken >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On Thu, Dec 8, 2016 at 10:46 AM, Cory Quammen < >>>>>>>>>>>>>>>> cory.quammen at kitware.com> wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Hi Depobam, >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Thanks for trying out the other ParaView versions. I >>>>>>>>>>>>>>>>> suspect there >>>>>>>>>>>>>>>>> might be a problem with the new OpenGL backend on your >>>>>>>>>>>>>>>>> system as that >>>>>>>>>>>>>>>>> has changed between ParaView 4 and 5. What kind of >>>>>>>>>>>>>>>>> graphics card do >>>>>>>>>>>>>>>>> you have on your system. You can get some of the display >>>>>>>>>>>>>>>>> properties by >>>>>>>>>>>>>>>>> going to >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Settings -> System -> Display -> Advanced display settings >>>>>>>>>>>>>>>>> -> Display >>>>>>>>>>>>>>>>> adapter properties >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Ken, >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Are there any things Depobam can do on his Windows 10 >>>>>>>>>>>>>>>>> system to help >>>>>>>>>>>>>>>>> diagnose whether the OpenGL2 backend is causing the crash >>>>>>>>>>>>>>>>> he is seeing >>>>>>>>>>>>>>>>> in ParaView? >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Thanks, >>>>>>>>>>>>>>>>> Cory >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> On Thu, Dec 8, 2016 at 2:51 AM, Debopam Ghoshal < >>>>>>>>>>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>>>>>>>>>> > Hi Cory, >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> > I tried to run Paraview 5.1.2, but it gives the same >>>>>>>>>>>>>>>>> error. However, I was >>>>>>>>>>>>>>>>> > able to run Paraview 4.1 successfully on Window 10. >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> > But ParaviewWeb failed to run as it seems that version >>>>>>>>>>>>>>>>> 4.1 does not have the >>>>>>>>>>>>>>>>> > python script used for running ParaviewWeb. >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> > Cheers & Best Wishes, >>>>>>>>>>>>>>>>> > Debopam >>>>>>>>>>>>>>>>> > ------------------------------- >>>>>>>>>>>>>>>>> > Cell: +91 98304 10041 >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> > On Wed, Dec 7, 2016 at 5:14 AM, Sebastien Jourdain >>>>>>>>>>>>>>>>> > wrote: >>>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>>> >> Cory you need to provide an absolute path as argument >>>>>>>>>>>>>>>>> "c:\.....". >>>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>>> >> But the issue seems to be on ParaView itself. The (Qt) >>>>>>>>>>>>>>>>> executable crash at >>>>>>>>>>>>>>>>> >> startup on there machine, regardless of their goal to >>>>>>>>>>>>>>>>> use ParaViewWeb down >>>>>>>>>>>>>>>>> >> the road. >>>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>>> >> Seb >>>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>>> >> On Tue, Dec 6, 2016 at 10:06 AM, Cory Quammen < >>>>>>>>>>>>>>>>> cory.quammen at kitware.com> >>>>>>>>>>>>>>>>> >> wrote: >>>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>>> >>> Correction: I could run ParaViewWeb on Windows 10, but >>>>>>>>>>>>>>>>> I couldn't load >>>>>>>>>>>>>>>>> >>> data through the web client. I didn't get pvpython.exe >>>>>>>>>>>>>>>>> to crash, >>>>>>>>>>>>>>>>> >>> though. >>>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>>> >>> On Tue, Dec 6, 2016 at 11:35 AM, Cory Quammen < >>>>>>>>>>>>>>>>> cory.quammen at kitware.com> >>>>>>>>>>>>>>>>> >>> wrote: >>>>>>>>>>>>>>>>> >>> > Debopam, >>>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>>> >>> > I just tried what you ran on Windows 10 and it ran >>>>>>>>>>>>>>>>> fine for me. One >>>>>>>>>>>>>>>>> >>> > thing I had to fix, which I doubt is the cause of >>>>>>>>>>>>>>>>> your crash, is the >>>>>>>>>>>>>>>>> >>> > data argument is actually just --data and not >>>>>>>>>>>>>>>>> --data-dir. >>>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>>> >>> > We've had some other reports of 5.2 crashing on >>>>>>>>>>>>>>>>> start up on Windows. >>>>>>>>>>>>>>>>> >>> > Did 5.1 run fine for you? >>>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>>> >>> > I wonder if you could try installing ParaView 4.4 >>>>>>>>>>>>>>>>> from >>>>>>>>>>>>>>>>> >>> > http://www.paraview.org/download/ to see if it >>>>>>>>>>>>>>>>> runs. If it does, that >>>>>>>>>>>>>>>>> >>> > gives me a clue on where to look. >>>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>>> >>> > Thanks, >>>>>>>>>>>>>>>>> >>> > Cory >>>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>>> >>> > On Tue, Dec 6, 2016 at 5:23 AM, Debopam Ghoshal < >>>>>>>>>>>>>>>>> debopamg at gmail.com> >>>>>>>>>>>>>>>>> >>> > wrote: >>>>>>>>>>>>>>>>> >>> >> Hi, >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> I followed the instructions given here, but I am >>>>>>>>>>>>>>>>> getting the following >>>>>>>>>>>>>>>>> >>> >> error: >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> Paraview Installation Directory: >>>>>>>>>>>>>>>>> >>> >> C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> Command: >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> .\bin\pvpython.exe \ >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>>>>>>>>>> -Windows-64bit\share\paraview- >>>>>>>>>>>>>>>>> 5.2\web\visualizer\server\pvw-visualizer.py" >>>>>>>>>>>>>>>>> >>> >> \ >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> --content >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>>>>>>>>>> -Windows-64bit\share\paraview-5.2\web\visualizer\www\" >>>>>>>>>>>>>>>>> >>> >> \ >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> --data-dir "C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\data\" >>>>>>>>>>>>>>>>> \ >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> --port 8080 >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> Output: >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> Console: 2016-12-02 10:09:51+0530 [-] Log opened. >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> Error Window screenshot attached (PVW-Error.png) >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> Other Details: >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> OS: Windows 10 Professional >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> RAM: 8GB >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> A screenshot of the system properties is attached >>>>>>>>>>>>>>>>> for your reference >>>>>>>>>>>>>>>>> >>> >> (Window10-SystemProps.png) >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> Similar error occurred when I launched the Paraview >>>>>>>>>>>>>>>>> desktop >>>>>>>>>>>>>>>>> >>> >> application >>>>>>>>>>>>>>>>> >>> >> (ParaviewError.png). >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> Cheers & Best Wishes, >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> Debopam >>>>>>>>>>>>>>>>> >>> >> ------------------------------- >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> _______________________________________________ >>>>>>>>>>>>>>>>> >>> >> Powered by www.kitware.com >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> Visit other Kitware open-source projects at >>>>>>>>>>>>>>>>> >>> >> http://www.kitware.com/opensource/opensource.html >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> Please keep messages on-topic and check the >>>>>>>>>>>>>>>>> ParaView Wiki at: >>>>>>>>>>>>>>>>> >>> >> http://paraview.org/Wiki/ParaView >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> Search the list archives at: >>>>>>>>>>>>>>>>> http://markmail.org/search/?q=ParaView >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> >> Follow this link to subscribe/unsubscribe: >>>>>>>>>>>>>>>>> >>> >> http://public.kitware.com/mailman/listinfo/paraview >>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>>> >>> > -- >>>>>>>>>>>>>>>>> >>> > Cory Quammen >>>>>>>>>>>>>>>>> >>> > Staff R&D Engineer >>>>>>>>>>>>>>>>> >>> > Kitware, Inc. >>>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>>> >>> -- >>>>>>>>>>>>>>>>> >>> Cory Quammen >>>>>>>>>>>>>>>>> >>> Staff R&D Engineer >>>>>>>>>>>>>>>>> >>> Kitware, Inc. >>>>>>>>>>>>>>>>> >>> _______________________________________________ >>>>>>>>>>>>>>>>> >>> Powered by www.kitware.com >>>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>>> >>> Visit other Kitware open-source projects at >>>>>>>>>>>>>>>>> >>> http://www.kitware.com/opensource/opensource.html >>>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>>> >>> Please keep messages on-topic and check the ParaView >>>>>>>>>>>>>>>>> Wiki at: >>>>>>>>>>>>>>>>> >>> http://paraview.org/Wiki/ParaView >>>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>>> >>> Search the list archives at: >>>>>>>>>>>>>>>>> http://markmail.org/search/?q=ParaView >>>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>>> >>> Follow this link to subscribe/unsubscribe: >>>>>>>>>>>>>>>>> >>> http://public.kitware.com/mailman/listinfo/paraview >>>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>> Cory Quammen >>>>>>>>>>>>>>>>> Staff R&D Engineer >>>>>>>>>>>>>>>>> Kitware, Inc. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>> Ken Martin PhD >>>>>>>>>>>>>>>> Chairman & CFO >>>>>>>>>>>>>>>> Kitware Inc. >>>>>>>>>>>>>>>> 28 Corporate Drive >>>>>>>>>>>>>>>> Clifton Park NY 12065 >>>>>>>>>>>>>>>> 518 371 3971 >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> This communication, including all attachments, contains >>>>>>>>>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> Ken Martin PhD >>>>>>>>>>>>>> Chairman & CFO >>>>>>>>>>>>>> Kitware Inc. >>>>>>>>>>>>>> 28 Corporate Drive >>>>>>>>>>>>>> Clifton Park NY 12065 >>>>>>>>>>>>>> 518 371 3971 >>>>>>>>>>>>>> >>>>>>>>>>>>>> This communication, including all attachments, contains >>>>>>>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Ken Martin PhD >>>>>>>>>>>> Chairman & CFO >>>>>>>>>>>> Kitware Inc. >>>>>>>>>>>> 28 Corporate Drive >>>>>>>>>>>> Clifton Park NY 12065 >>>>>>>>>>>> 518 371 3971 >>>>>>>>>>>> >>>>>>>>>>>> This communication, including all attachments, contains >>>>>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Ken Martin PhD >>>>>>>>>> Chairman & CFO >>>>>>>>>> Kitware Inc. >>>>>>>>>> 28 Corporate Drive >>>>>>>>>> Clifton Park NY 12065 >>>>>>>>>> 518 371 3971 >>>>>>>>>> >>>>>>>>>> This communication, including all attachments, contains >>>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Ken Martin PhD >>>>>>>> Chairman & CFO >>>>>>>> Kitware Inc. >>>>>>>> 28 Corporate Drive >>>>>>>> Clifton Park NY 12065 >>>>>>>> 518 371 3971 <(518)%20371-3971> >>>>>>>> >>>>>>>> This communication, including all attachments, contains >>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Powered by www.kitware.com >>>>>> >>>>>> Visit other Kitware open-source projects at >>>>>> http://www.kitware.com/opensource/opensource.html >>>>>> >>>>>> Please keep messages on-topic and check the ParaView Wiki at: >>>>>> http://paraview.org/Wiki/ParaView >>>>>> >>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>> >>>>>> Follow this link to subscribe/unsubscribe: >>>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>>> >>>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.lonie at kitware.com Wed Jan 4 12:20:13 2017 From: david.lonie at kitware.com (David Lonie) Date: Wed, 4 Jan 2017 12:20:13 -0500 Subject: [Paraview] Custom Glyph In-Reply-To: References: Message-ID: I'm currently working on adding the ability to use custom glyphs with ParaView's glyph mapper. It will allow you to select a pipeline connection for the glyph type (rather than the static list of arrow, sphere, etc). Should be available in the next few weeks. Dave On Tue, Jan 3, 2017 at 4:41 AM, Bob Flandard wrote: > Thanks David, > > I did try that first and was unable to select the "Glyph Type" and gave > up. Luckily your post encouraged me to RTM where it states that vtkPolyData > should be used for the glyph. A quick extract surface filter fixed that, so > thanks very much for your help. > > Bob > > On 2 January 2017 at 19:49, David E DeMarle > wrote: > >> Glyph with Custom source filter can do it. Note that it works in CPU/RAM >> instead of in a GPU shader so memory can be an issue for all the replicated >> geometry. >> >> To use it, manufacture a mesh that appears the way you want it and save >> it in a common mesh format. Load that into the pipeline and hide it, select >> the object you want to apply glyphs to and apply the Glyph with Custom >> Source filter. Choose the shape you read in as the "Glyph Type" input. >> >> >> >> >> David E DeMarle >> Kitware, Inc. >> R&D Engineer >> 21 Corporate Drive >> Clifton Park, NY 12065-8662 >> Phone: 518-881-4909 <(518)%20881-4909> >> >> On Mon, Jan 2, 2017 at 2:35 PM, Bob Flandard wrote: >> >>> Hi, >>> >>> Any links or advice on how to create a custom glyph? >>> >>> I'd like a sphere divided into 8 equal sized/shaped patches and colored >>> alternate black and white, to represent the centroid of a point mass. I >>> have lots of these, so a glyph would be best. >>> >>> Thanks, Bob >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Wed Jan 4 12:22:28 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 4 Jan 2017 10:22:28 -0700 Subject: [Paraview] Error while launching Paraview (and Paraview Web) in Window 10 In-Reply-To: References: Message-ID: Do you mind printing relativePath so we can understand what you are getting... Then, you most likely will have to debug self.getAbsolutePath(relativePath) call... On Wed, Jan 4, 2017 at 9:55 AM, Debopam Ghoshal wrote: > Hi Seb, > > We made the changes in the protocols.py file (highlighted) > > @exportRpc("pv.proxy.manager.create.reader") > def open(self, relativePath): > """ > Open relative file paths, attempting to use the file extension to > select > from the configured readers. > """ > fileToLoad = [] > if type(relativePath) == list: > for file in relativePath: > validPath = self.getAbsolutePath(file) > if validPath: > fileToLoad.append(validPath) > else: > validPath = self.getAbsolutePath(relativePath) > if validPath: > fileToLoad.append(validPath) > if len(fileToLoad) == 0: > print "=" * 80 > print "file not found" > print "fileToLoad: ", fileToLoad > print "=" * 80 > return { > 'success': False, > 'reason': 'No valid path name' } > > > > The output in the console is a follows: > > C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit>.\bin\pvpython.exe > "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\share\\ > paraview-5.2\\web\\visualizer\\server\\pvw-visualizer.py" --content > "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\share\\ > paraview-5.2\\web\\visualizer\\www" --data "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" > --port 8080 > 2017-01-04 11:06:38+0530 [-] Log opened. > 2017-01-04 11:06:39+0530 [-] Site starting on 8080 > 2017-01-04 11:06:39+0530 [-] Starting factory instance at 0x0000022A9C7BAF48> > 2017-01-04 11:06:43+0530 [HTTPChannel,0,127.0.0.1] "127.0.0.1" - - [ > 04/Jan/2017:05:36:43 +0000] "GET / HTTP/1.1" 304 - "-" "Mozilla/5.0 > (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) > Chrome/55.0.2883.87 Safari/537.36" > 2017-01-04 11:06:43+0530 [HTTPChannel,0,127.0.0.1] "127.0.0.1" - - [ > 04/Jan/2017:05:36:43 +0000] "POST /paraview/ HTTP/1.1" 404 145 " > http://localhost:8080/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) > AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36" > 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Client has reconnected, > cancelling reaper > 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] on_connect: connection > count = 1 > 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property > BeginValueCapture has no GetData() method, skipping > 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property > CaptureValuesFloat has no GetData() method, skipping > 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property CaptureZBuffer > has no GetData() method, skipping > 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property > EndValueCapture has no GetData() method, skipping > 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property > StartCaptureLuminance has no GetData() method, skipping > 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property > StopCaptureLuminance has no GetData() method, skipping > *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] > ================================================================================* > *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] file not found* > *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] fileToLoad: []* > *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] > ================================================================================* > 2017-01-04 11:06:56+0530 [-] Received SIGINT, shutting down. > > > > Cheers & Best Wishes, > Debopam > ------------------------------- > Cell: +91 98304 10041 <+91%2098304%2010041> > > On Tue, Jan 3, 2017 at 9:05 PM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> Ok that mean there is still a path issue when loading a file within >> ParaViewWeb on Windows. >> >> Did you look at the log of that given session to see if any error is >> printed? >> >> You can try to edit the file [lib/site-packages]/paraview/web/protocols.py >> within the ParaView application (The [...] part is for the path section >> that I'm not sure of). >> >> In the function >> >> @exportRpc("pv.proxy.manager.create.reader") >> def open(self, relativePath): >> """ >> Open relative file paths, attempting to use the file extension to >> select >> from the configured readers. >> """ >> fileToLoad = [] >> if type(relativePath) == list: >> for file in relativePath: >> validPath = self.getAbsolutePath(file) >> if validPath: >> fileToLoad.append(validPath) >> else: >> validPath = self.getAbsolutePath(relativePath) >> if validPath: >> fileToLoad.append(validPath) >> >> if len(fileToLoad) == 0: >> return { 'success': False, 'reason': 'No valid path name' } >> >> print "=" * 80 # <------ ADD THAT LINE TO SEE THE PATH YOU >> TRY TO LOAD >> print fileToLoad # <------ ADD THAT LINE TO SEE THE PATH YOU >> TRY TO LOAD >> print "=" * 80 # <------ ADD THAT LINE TO SEE THE PATH YOU >> TRY TO LOAD >> >> [...] >> >> Then look at the log to see which path is used to load that file. >> >> Seb >> >> On Tue, Jan 3, 2017 at 6:36 AM, Debopam Ghoshal >> wrote: >> >>> Hi Seb, >>> >>> 1. We are able to see the orientation axis and also able to rotate them. >>> For example, when we click on can.ex2, we see a blank black screen. Then >>> after we hide the left panel, we are able to see the orientation axis and >>> also rotate them. >>> >>> 2. When we select the Wavelet we were able to view it properly, and was >>> also able to rotate the scene. >>> >>> 3. We tried with both / and \\ but there is no change. The command we >>> are using to launch paraview is as below: >>> >>> a: .\bin\pvpython.exe "C:\\ParaView-5.2.0-Qt4-OpenGL >>> 2-MPI-Windows-64bit\\share\\paraview-5.2\\web\\visualizer\\server\\pvw-visualizer.py" >>> --content "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\share\\pa >>> raview-5.2\\web\\visualizer\\www" --data "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" >>> --port 8080 >>> >>> b: .\bin\pvpython.exe "C:/ParaView-5.2.0-Qt4-OpenGL2 >>> -MPI-Windows-64bit/share/paraview-5.2/web/visualizer/server/pvw-visualizer.py" >>> --content "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/share/paraview-5.2/web/visualizer/www" >>> --data "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" --port >>> 8080 >>> >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> Cell: +91 98304 10041 <+91%2098304%2010041> >>> >>> On Mon, Jan 2, 2017 at 9:36 PM, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>>> Hi Debopam, >>>> >>>> Do you see the orientation axis? Does it move when you rotate the scene? >>>> What happen when you click on "+" and choose the Wavelet? Do you see >>>> something? >>>> >>>> I'm wondering if you still run into an invalid path issue due to / or \. >>>> >>>> Seb >>>> >>>> On Mon, Jan 2, 2017 at 6:38 AM, Debopam Ghoshal >>>> wrote: >>>> >>>>> Hi Seb, >>>>> >>>>> 1. "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" works fine. >>>>> Now we can see the list of files in the data folder. >>>>> >>>>> However, there seems to be some problem with the ParaviewWeb >>>>> Application (or may be with the graphics driver?). Because we cannot render >>>>> the sample mesh files (eg: can.ex2) in the visualizer. When we tried to >>>>> view the files in the desktop application they are displayed without any >>>>> problems. A screenshot of the graphics driver is attached for your >>>>> reference. >>>>> >>>>> 2. Ok. >>>>> >>>>> >>>>> Cheers & Best Wishes, >>>>> Debopam >>>>> ------------------------------- >>>>> >>>>> On Fri, Dec 30, 2016 at 9:02 PM, Sebastien Jourdain < >>>>> sebastien.jourdain at kitware.com> wrote: >>>>> >>>>>> Hi Debopam, >>>>>> >>>>>> 1) I'm not sure to know what is the issue with the path but try with >>>>>> either: >>>>>> >>>>>> "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" >>>>>> or >>>>>> "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" >>>>>> >>>>>> 2) paraview_console_error.jpg is not an error since you are not using >>>>>> the launcher. So that part is actually expected. >>>>>> For the second error when you try to delete the TimeAnnotation, I'm >>>>>> not sure to know what is the issue. You should know more by looking at the >>>>>> output of the command line. >>>>>> >>>>>> Seb >>>>>> >>>>>> >>>>>> On Fri, Dec 30, 2016 at 12:53 AM, Debopam Ghoshal >>>>> > wrote: >>>>>> >>>>>>> (Reposting for a larger audience) >>>>>>> >>>>>>> Hi Ken, >>>>>>> >>>>>>> When we start paraview web we noted two things: >>>>>>> >>>>>>> 1. In the Visualizer, the Files tab is not showing any files. Please >>>>>>> refer to the attached screenshot (paraview_home.jpg) >>>>>>> 2. There is an error showing up at the browser console >>>>>>> (paraview_console_error.jpg, paraview_console_error2.jpg) >>>>>>> >>>>>>> The paraview startup messages are also given for your reference >>>>>>> (paraview_log.jpg) >>>>>>> >>>>>>> >>>>>>> >>>>>>> Cheers & Best Wishes, >>>>>>> Debopam >>>>>>> ------------------------------- >>>>>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>>>>> >>>>>>> On Wed, Dec 28, 2016 at 10:35 AM, Debopam Ghoshal < >>>>>>> debopamg at gmail.com> wrote: >>>>>>> >>>>>>>> Hi Ken, >>>>>>>> >>>>>>>> We finally got a machine where Paraview 5.2 MPI is running without >>>>>>>> any issues. However, when we start paraview web we noted two things: >>>>>>>> >>>>>>>> 1. In the Visualizer, the Files tab is not showing any files. >>>>>>>> Please refer to the attached screenshot (paraview_home.jpg) >>>>>>>> 2. There is an error showing up at the browser console >>>>>>>> (paraview_console_error.jpg, paraview_console_error2.jpg) >>>>>>>> >>>>>>>> The paraview startup messages are also given for your reference >>>>>>>> (paraview_log.jpg) >>>>>>>> >>>>>>>> >>>>>>>> Cheers & Best Wishes, >>>>>>>> Debopam >>>>>>>> ------------------------------- >>>>>>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>>>>>> >>>>>>>> On Tue, Dec 13, 2016 at 7:03 PM, Ken Martin >>>>>>> > wrote: >>>>>>>> >>>>>>>>> ParaView with the old OpenGL backend should work on any windows >>>>>>>>> machine. It may be slow and some of the advanced techniques may not work >>>>>>>>> but the basics will all work. >>>>>>>>> >>>>>>>>> On Tue, Dec 13, 2016 at 5:57 AM, Debopam Ghoshal < >>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Yes Ken, you are right. This is an older machine. So, will it be >>>>>>>>>> possible to use ParaView (with the old OpenGL backend) on this machine? Or >>>>>>>>>> we need to get a machine with better configuration to run ParaView? >>>>>>>>>> >>>>>>>>>> Additionally, will it be possible to run ParaView (and >>>>>>>>>> ParaViewWeb) on a Windows 10 guest running in VirtualBox on a MacOS host? >>>>>>>>>> >>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>> Debopam >>>>>>>>>> ------------------------------- >>>>>>>>>> Cell: +91 98304 10041 >>>>>>>>>> >>>>>>>>>> On Mon, Dec 12, 2016 at 8:22 PM, Ken Martin < >>>>>>>>>> ken.martin at kitware.com> wrote: >>>>>>>>>> >>>>>>>>>>> So if I am reading this correctly the machine has a rv516 GPU >>>>>>>>>>> which was released in 2007. That GPU does not support anything beyond >>>>>>>>>>> OpenGL 2.0 which means you would need to use the old OpenGL backend with >>>>>>>>>>> VTK/ParaView. >>>>>>>>>>> >>>>>>>>>>> http://www.gpureview.com/ati-rv516-chip-135.html >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Mon, Dec 12, 2016 at 9:21 AM, Debopam Ghoshal < >>>>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi Ken, >>>>>>>>>>>> >>>>>>>>>>>> This is a standard desktop PC running Window 10 Professional >>>>>>>>>>>> Edition. If there is something I need to install on this machine, please >>>>>>>>>>>> let me know. >>>>>>>>>>>> >>>>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>>>> Debopam >>>>>>>>>>>> ------------------------------- >>>>>>>>>>>> Cell: +91 98304 10041 >>>>>>>>>>>> >>>>>>>>>>>> On Mon, Dec 12, 2016 at 7:18 PM, Ken Martin < >>>>>>>>>>>> ken.martin at kitware.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Is this a server maybe? It seems like the system lacks any >>>>>>>>>>>>> OpenGL support beyond the default Microsoft implementation which is circa >>>>>>>>>>>>> OpenGL 1.4 I believe. >>>>>>>>>>>>> >>>>>>>>>>>>> On Sun, Dec 11, 2016 at 11:51 PM, Debopam Ghoshal < >>>>>>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Hi Ken, >>>>>>>>>>>>>> >>>>>>>>>>>>>> When I ran the command: vtkRenderingOpenGL2CxxTests.exe >>>>>>>>>>>>>> TestAppleBug there was an error. A screenshot of the error is attached for >>>>>>>>>>>>>> your reference. Please let me know if you require any other details. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>>>>>> Debopam >>>>>>>>>>>>>> ------------------------------- >>>>>>>>>>>>>> Cell: +91 98304 10041 >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Fri, Dec 9, 2016 at 7:17 PM, Ken Martin < >>>>>>>>>>>>>> ken.martin at kitware.com> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Here is a new version of the executable, can you try it? >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Fri, Dec 9, 2016 at 1:42 AM, Debopam Ghoshal < >>>>>>>>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Hi Cory and Ken, >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Thanks a lot for your prompt response. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Below are the details you asked: >>>>>>>>>>>>>>>> 1. display-props.png - screenshot of: Settings -> System >>>>>>>>>>>>>>>> -> Display -> Advanced display settings -> Display adapter >>>>>>>>>>>>>>>> properties >>>>>>>>>>>>>>>> 2. vtkrendering.png - screenshot of the error which came up >>>>>>>>>>>>>>>> when I ran: vtkRenderingOpenGL2CxxTests.exe TestAppleBug >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>>>>>>>> Debopam >>>>>>>>>>>>>>>> ------------------------------- >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On Thu, Dec 8, 2016 at 10:49 PM, Ken Martin < >>>>>>>>>>>>>>>> ken.martin at kitware.com> wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Can you try running the following executable (rename .foo >>>>>>>>>>>>>>>>> to .exe) from a cmd shell as >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> vtkRenderingOpenGL2CxxTests.exe TestAppleBug >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> and see if it crashes, and send the output is produces >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Thanks >>>>>>>>>>>>>>>>> Ken >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> On Thu, Dec 8, 2016 at 10:46 AM, Cory Quammen < >>>>>>>>>>>>>>>>> cory.quammen at kitware.com> wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Hi Depobam, >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Thanks for trying out the other ParaView versions. I >>>>>>>>>>>>>>>>>> suspect there >>>>>>>>>>>>>>>>>> might be a problem with the new OpenGL backend on your >>>>>>>>>>>>>>>>>> system as that >>>>>>>>>>>>>>>>>> has changed between ParaView 4 and 5. What kind of >>>>>>>>>>>>>>>>>> graphics card do >>>>>>>>>>>>>>>>>> you have on your system. You can get some of the display >>>>>>>>>>>>>>>>>> properties by >>>>>>>>>>>>>>>>>> going to >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Settings -> System -> Display -> Advanced display >>>>>>>>>>>>>>>>>> settings -> Display >>>>>>>>>>>>>>>>>> adapter properties >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Ken, >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Are there any things Depobam can do on his Windows 10 >>>>>>>>>>>>>>>>>> system to help >>>>>>>>>>>>>>>>>> diagnose whether the OpenGL2 backend is causing the crash >>>>>>>>>>>>>>>>>> he is seeing >>>>>>>>>>>>>>>>>> in ParaView? >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Thanks, >>>>>>>>>>>>>>>>>> Cory >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> On Thu, Dec 8, 2016 at 2:51 AM, Debopam Ghoshal < >>>>>>>>>>>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>>>>>>>>>>> > Hi Cory, >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> > I tried to run Paraview 5.1.2, but it gives the same >>>>>>>>>>>>>>>>>> error. However, I was >>>>>>>>>>>>>>>>>> > able to run Paraview 4.1 successfully on Window 10. >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> > But ParaviewWeb failed to run as it seems that version >>>>>>>>>>>>>>>>>> 4.1 does not have the >>>>>>>>>>>>>>>>>> > python script used for running ParaviewWeb. >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> > Cheers & Best Wishes, >>>>>>>>>>>>>>>>>> > Debopam >>>>>>>>>>>>>>>>>> > ------------------------------- >>>>>>>>>>>>>>>>>> > Cell: +91 98304 10041 >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> > On Wed, Dec 7, 2016 at 5:14 AM, Sebastien Jourdain >>>>>>>>>>>>>>>>>> > wrote: >>>>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>>>> >> Cory you need to provide an absolute path as argument >>>>>>>>>>>>>>>>>> "c:\.....". >>>>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>>>> >> But the issue seems to be on ParaView itself. The (Qt) >>>>>>>>>>>>>>>>>> executable crash at >>>>>>>>>>>>>>>>>> >> startup on there machine, regardless of their goal to >>>>>>>>>>>>>>>>>> use ParaViewWeb down >>>>>>>>>>>>>>>>>> >> the road. >>>>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>>>> >> Seb >>>>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>>>> >> On Tue, Dec 6, 2016 at 10:06 AM, Cory Quammen < >>>>>>>>>>>>>>>>>> cory.quammen at kitware.com> >>>>>>>>>>>>>>>>>> >> wrote: >>>>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>>>> >>> Correction: I could run ParaViewWeb on Windows 10, >>>>>>>>>>>>>>>>>> but I couldn't load >>>>>>>>>>>>>>>>>> >>> data through the web client. I didn't get >>>>>>>>>>>>>>>>>> pvpython.exe to crash, >>>>>>>>>>>>>>>>>> >>> though. >>>>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>>>> >>> On Tue, Dec 6, 2016 at 11:35 AM, Cory Quammen < >>>>>>>>>>>>>>>>>> cory.quammen at kitware.com> >>>>>>>>>>>>>>>>>> >>> wrote: >>>>>>>>>>>>>>>>>> >>> > Debopam, >>>>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>>>> >>> > I just tried what you ran on Windows 10 and it ran >>>>>>>>>>>>>>>>>> fine for me. One >>>>>>>>>>>>>>>>>> >>> > thing I had to fix, which I doubt is the cause of >>>>>>>>>>>>>>>>>> your crash, is the >>>>>>>>>>>>>>>>>> >>> > data argument is actually just --data and not >>>>>>>>>>>>>>>>>> --data-dir. >>>>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>>>> >>> > We've had some other reports of 5.2 crashing on >>>>>>>>>>>>>>>>>> start up on Windows. >>>>>>>>>>>>>>>>>> >>> > Did 5.1 run fine for you? >>>>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>>>> >>> > I wonder if you could try installing ParaView 4.4 >>>>>>>>>>>>>>>>>> from >>>>>>>>>>>>>>>>>> >>> > http://www.paraview.org/download/ to see if it >>>>>>>>>>>>>>>>>> runs. If it does, that >>>>>>>>>>>>>>>>>> >>> > gives me a clue on where to look. >>>>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>>>> >>> > Thanks, >>>>>>>>>>>>>>>>>> >>> > Cory >>>>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>>>> >>> > On Tue, Dec 6, 2016 at 5:23 AM, Debopam Ghoshal < >>>>>>>>>>>>>>>>>> debopamg at gmail.com> >>>>>>>>>>>>>>>>>> >>> > wrote: >>>>>>>>>>>>>>>>>> >>> >> Hi, >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> I followed the instructions given here, but I am >>>>>>>>>>>>>>>>>> getting the following >>>>>>>>>>>>>>>>>> >>> >> error: >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> Paraview Installation Directory: >>>>>>>>>>>>>>>>>> >>> >> C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> Command: >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> .\bin\pvpython.exe \ >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>>>>>>>>>>> -Windows-64bit\share\paraview- >>>>>>>>>>>>>>>>>> 5.2\web\visualizer\server\pvw-visualizer.py" >>>>>>>>>>>>>>>>>> >>> >> \ >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> --content >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>>>>>>>>>>> -Windows-64bit\share\paraview-5.2\web\visualizer\www\" >>>>>>>>>>>>>>>>>> >>> >> \ >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> --data-dir "C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\data\" >>>>>>>>>>>>>>>>>> \ >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> --port 8080 >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> Output: >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> Console: 2016-12-02 10:09:51+0530 [-] Log opened. >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> Error Window screenshot attached (PVW-Error.png) >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> Other Details: >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> OS: Windows 10 Professional >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> RAM: 8GB >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> A screenshot of the system properties is attached >>>>>>>>>>>>>>>>>> for your reference >>>>>>>>>>>>>>>>>> >>> >> (Window10-SystemProps.png) >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> Similar error occurred when I launched the >>>>>>>>>>>>>>>>>> Paraview desktop >>>>>>>>>>>>>>>>>> >>> >> application >>>>>>>>>>>>>>>>>> >>> >> (ParaviewError.png). >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> Cheers & Best Wishes, >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> Debopam >>>>>>>>>>>>>>>>>> >>> >> ------------------------------- >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> _______________________________________________ >>>>>>>>>>>>>>>>>> >>> >> Powered by www.kitware.com >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> Visit other Kitware open-source projects at >>>>>>>>>>>>>>>>>> >>> >> http://www.kitware.com/opensource/opensource.html >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> Please keep messages on-topic and check the >>>>>>>>>>>>>>>>>> ParaView Wiki at: >>>>>>>>>>>>>>>>>> >>> >> http://paraview.org/Wiki/ParaView >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> Search the list archives at: >>>>>>>>>>>>>>>>>> http://markmail.org/search/?q=ParaView >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> >> Follow this link to subscribe/unsubscribe: >>>>>>>>>>>>>>>>>> >>> >> http://public.kitware.com/mail >>>>>>>>>>>>>>>>>> man/listinfo/paraview >>>>>>>>>>>>>>>>>> >>> >> >>>>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>>>> >>> > >>>>>>>>>>>>>>>>>> >>> > -- >>>>>>>>>>>>>>>>>> >>> > Cory Quammen >>>>>>>>>>>>>>>>>> >>> > Staff R&D Engineer >>>>>>>>>>>>>>>>>> >>> > Kitware, Inc. >>>>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>>>> >>> -- >>>>>>>>>>>>>>>>>> >>> Cory Quammen >>>>>>>>>>>>>>>>>> >>> Staff R&D Engineer >>>>>>>>>>>>>>>>>> >>> Kitware, Inc. >>>>>>>>>>>>>>>>>> >>> _______________________________________________ >>>>>>>>>>>>>>>>>> >>> Powered by www.kitware.com >>>>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>>>> >>> Visit other Kitware open-source projects at >>>>>>>>>>>>>>>>>> >>> http://www.kitware.com/opensource/opensource.html >>>>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>>>> >>> Please keep messages on-topic and check the ParaView >>>>>>>>>>>>>>>>>> Wiki at: >>>>>>>>>>>>>>>>>> >>> http://paraview.org/Wiki/ParaView >>>>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>>>> >>> Search the list archives at: >>>>>>>>>>>>>>>>>> http://markmail.org/search/?q=ParaView >>>>>>>>>>>>>>>>>> >>> >>>>>>>>>>>>>>>>>> >>> Follow this link to subscribe/unsubscribe: >>>>>>>>>>>>>>>>>> >>> http://public.kitware.com/mailman/listinfo/paraview >>>>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>> Cory Quammen >>>>>>>>>>>>>>>>>> Staff R&D Engineer >>>>>>>>>>>>>>>>>> Kitware, Inc. >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>> Ken Martin PhD >>>>>>>>>>>>>>>>> Chairman & CFO >>>>>>>>>>>>>>>>> Kitware Inc. >>>>>>>>>>>>>>>>> 28 Corporate Drive >>>>>>>>>>>>>>>>> Clifton Park NY 12065 >>>>>>>>>>>>>>>>> 518 371 3971 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> This communication, including all attachments, contains >>>>>>>>>>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>>>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>>>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>>>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>>>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>>>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> Ken Martin PhD >>>>>>>>>>>>>>> Chairman & CFO >>>>>>>>>>>>>>> Kitware Inc. >>>>>>>>>>>>>>> 28 Corporate Drive >>>>>>>>>>>>>>> Clifton Park NY 12065 >>>>>>>>>>>>>>> 518 371 3971 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> This communication, including all attachments, contains >>>>>>>>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Ken Martin PhD >>>>>>>>>>>>> Chairman & CFO >>>>>>>>>>>>> Kitware Inc. >>>>>>>>>>>>> 28 Corporate Drive >>>>>>>>>>>>> Clifton Park NY 12065 >>>>>>>>>>>>> 518 371 3971 >>>>>>>>>>>>> >>>>>>>>>>>>> This communication, including all attachments, contains >>>>>>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Ken Martin PhD >>>>>>>>>>> Chairman & CFO >>>>>>>>>>> Kitware Inc. >>>>>>>>>>> 28 Corporate Drive >>>>>>>>>>> Clifton Park NY 12065 >>>>>>>>>>> 518 371 3971 >>>>>>>>>>> >>>>>>>>>>> This communication, including all attachments, contains >>>>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Ken Martin PhD >>>>>>>>> Chairman & CFO >>>>>>>>> Kitware Inc. >>>>>>>>> 28 Corporate Drive >>>>>>>>> Clifton Park NY 12065 >>>>>>>>> 518 371 3971 <(518)%20371-3971> >>>>>>>>> >>>>>>>>> This communication, including all attachments, contains >>>>>>>>> confidential and legally privileged information, and it is intended only >>>>>>>>> for the use of the addressee. Access to this email by anyone else is >>>>>>>>> unauthorized. If you are not the intended recipient, any disclosure, >>>>>>>>> copying, distribution or any action taken in reliance on it is prohibited >>>>>>>>> and may be unlawful. If you received this communication in error please >>>>>>>>> notify us immediately and destroy the original message. Thank you. >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Powered by www.kitware.com >>>>>>> >>>>>>> Visit other Kitware open-source projects at >>>>>>> http://www.kitware.com/opensource/opensource.html >>>>>>> >>>>>>> Please keep messages on-topic and check the ParaView Wiki at: >>>>>>> http://paraview.org/Wiki/ParaView >>>>>>> >>>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>>> >>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.lonie at kitware.com Wed Jan 4 12:25:52 2017 From: david.lonie at kitware.com (David Lonie) Date: Wed, 4 Jan 2017 12:25:52 -0500 Subject: [Paraview] Custom source glyph error In-Reply-To: References: Message-ID: I believe the issue here is that the glyph source must be polydata at the moment. Does a dataset surface filter (or similar) help? I mentioned on the other thread that I'm working on improving the glyph representation so you won't need to use the filter to get custom glyphs. This patch will also add the ability to use a composite dataset (with polydata leaves) as the glyph source. Cheers, Dave On Wed, Jan 4, 2017 at 8:02 AM, Bob Flandard wrote: > Hi, > > I'm getting an error message (see end) using the "glyph with custom source > filter" for the case where the input points have associated results data > sets and the custom glyph source is of multiblock type. > > I've attached two small sample state files that demonstrate the issue. > > The custom glyph should be two hemispheres, one black and one white. One > state file shows the desired result, but the point source data has no > results data sets associated with it. The other state file has point > sources with two associated results data sets (mode1 and mode2) contained > in the attached Ensight *.case files. This second file gives the error > message below when loading. > > Is this a bug or is there a filter that implements "CopyStructure", that I > should use? > > Thanks for any suggestions, > > Bob > > > The error message is: > > ERROR: In C:\bbd\df0abce0\source-paraview\VTK\Common\DataModel\vtkDataObjectTree.cxx, > line 306 > vtkMultiBlockDataSet (0000000017C45180): Structure does not match. You > must use CopyStructure before calling this method. > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.lonie at kitware.com Wed Jan 4 12:33:52 2017 From: david.lonie at kitware.com (David Lonie) Date: Wed, 4 Jan 2017 12:33:52 -0500 Subject: [Paraview] Newer object always in front in Render View In-Reply-To: <20170104154115.GA14151@avignon> References: <20170104151218.GA28983@avignon> <20170104154115.GA14151@avignon> Message-ID: The cmake config looks ok to me. What sort of graphics set up are you using? Is this mesa, or on a GPU? It sounds like a driver bug or something may be causing the depth test to break, or maybe there's a misconfigured framebuffer. Does an earlier version of ParaView work on the same system? Dave On Wed, Jan 4, 2017 at 10:41 AM, Robert Sawko wrote: > David, > > Thanks for a quick reply. Tried with -dr and it's the same. I am attaching > my > state file for spheres. It may help someone to reproduce. > > I am running it on Arch Linux and paraview is taken from AUR. I am just > looking at the way the binary was generated and I see these options in > cmake > > cmake \ > -DBUILD_SHARED_LIBS:BOOL=ON \ > -DBUILD_TESTING:BOOL=OFF \ > -DCMAKE_BUILD_TYPE=Release \ > -DCMAKE_C_COMPILER=mpicc \ > -DCMAKE_CXX_COMPILER=mpicxx \ > -DCMAKE_INSTALL_PREFIX:PATH=/usr \ > -DCMAKE_VERBOSE_MAKEFILE:BOOL=OFF \ > -DOSPRAY_INSTALL_DIR:PATH=/usr \ > -DPARAVIEW_ENABLE_CGNS:BOOL=OFF \ > -DPARAVIEW_ENABLE_FFMPEG:BOOL=ON \ > -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \ > -DPARAVIEW_PYTHON_VERSION=2 \ > -DPARAVIEW_QT_VERSION=5 \ > -DPARAVIEW_USE_MPI:BOOL=ON \ > -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON \ > -DPARAVIEW_USE_OSPRAY:BOOL=ON \ > -DVISIT_BUILD_READER_CGNS:BOOL=OFF \ > -DVTK_PYTHON_VERSION=2 \ > -DVTK_QT_VERSION=5 \ > -DVTK_RENDERING_BACKEND:STRING=OpenGL2 \ > -DVTK_SMP_IMPLEMENTATION_TYPE:STRING=OpenMP \ > -DVTK_USE_SYSTEM_HDF5:BOOL=OFF \ > ${VTK_USE_SYSTEM_LIB} \ > ../ParaView-v${_pkgver} > > Does any of this look suspicious? > > Robert > -- > Newton's bucket > http://en.wikipedia.org/wiki/Bucket_argument > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Wed Jan 4 12:39:55 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Wed, 4 Jan 2017 17:39:55 +0000 Subject: [Paraview] [EXTERNAL] Re: Newer object always in front in Render View In-Reply-To: References: <20170104151218.GA28983@avignon> <20170104154115.GA14151@avignon> Message-ID: <119e8085884f491aa43fcdc4a9a8f884@ES01AMSNLNT.srn.sandia.gov> Can you replicate this bug with one of the downloads from Kitware (i.e., paraview.org)? The Kitware binaries work correctly for me... Then, we will have a better idea if it?s the OS/graphics/hardware or ParaView... Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of David Lonie Sent: Wednesday, January 4, 2017 10:34 AM To: Robert Sawko Cc: paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview] Newer object always in front in Render View The cmake config looks ok to me. What sort of graphics set up are you using? Is this mesa, or on a GPU? It sounds like a driver bug or something may be causing the depth test to break, or maybe there's a misconfigured framebuffer. Does an earlier version of ParaView work on the same system? Dave On Wed, Jan 4, 2017 at 10:41 AM, Robert Sawko > wrote: David, Thanks for a quick reply. Tried with -dr and it's the same. I am attaching my state file for spheres. It may help someone to reproduce. I am running it on Arch Linux and paraview is taken from AUR. I am just looking at the way the binary was generated and I see these options in cmake cmake \ -DBUILD_SHARED_LIBS:BOOL=ON \ -DBUILD_TESTING:BOOL=OFF \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_COMPILER=mpicc \ -DCMAKE_CXX_COMPILER=mpicxx \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=OFF \ -DOSPRAY_INSTALL_DIR:PATH=/usr \ -DPARAVIEW_ENABLE_CGNS:BOOL=OFF \ -DPARAVIEW_ENABLE_FFMPEG:BOOL=ON \ -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \ -DPARAVIEW_PYTHON_VERSION=2 \ -DPARAVIEW_QT_VERSION=5 \ -DPARAVIEW_USE_MPI:BOOL=ON \ -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON \ -DPARAVIEW_USE_OSPRAY:BOOL=ON \ -DVISIT_BUILD_READER_CGNS:BOOL=OFF \ -DVTK_PYTHON_VERSION=2 \ -DVTK_QT_VERSION=5 \ -DVTK_RENDERING_BACKEND:STRING=OpenGL2 \ -DVTK_SMP_IMPLEMENTATION_TYPE:STRING=OpenMP \ -DVTK_USE_SYSTEM_HDF5:BOOL=OFF \ ${VTK_USE_SYSTEM_LIB} \ ../ParaView-v${_pkgver} Does any of this look suspicious? Robert -- Newton's bucket http://en.wikipedia.org/wiki/Bucket_argument _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From debopamg at gmail.com Wed Jan 4 12:40:53 2017 From: debopamg at gmail.com (Debopam Ghoshal) Date: Wed, 04 Jan 2017 17:40:53 +0000 Subject: [Paraview] Error while launching Paraview (and Paraview Web) in Window 10 In-Reply-To: References: Message-ID: Hi Seb, We did print them, and found: relativePath: can.ex2 self.getAbsolutePath(relativePath): [] I do not have access to the machine right now. But will try out anything else you might need shortly. So just let me known what else we need to debug. On Wed, Jan 4, 2017 at 22:52 Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > Do you mind printing relativePath so we can understand what you are > getting... > > Then, you most likely will have to debug self.getAbsolutePath(relativeP > ath) call... > > On Wed, Jan 4, 2017 at 9:55 AM, Debopam Ghoshal > wrote: > > Hi Seb, > > We made the changes in the protocols.py file (highlighted) > > @exportRpc("pv.proxy.manager.create.reader") > def open(self, relativePath): > """ > Open relative file paths, attempting to use the file extension to > select > from the configured readers. > """ > fileToLoad = [] > if type(relativePath) == list: > for file in relativePath: > validPath = self.getAbsolutePath(file) > if validPath: > fileToLoad.append(validPath) > else: > validPath = self.getAbsolutePath(relativePath) > if validPath: > fileToLoad.append(validPath) > if len(fileToLoad) == 0: > print "=" * 80 > print "file not found" > print "fileToLoad: ", fileToLoad > print "=" * 80 > return { > 'success': False, > 'reason': 'No valid path name' } > > > > The output in the console is a follows: > > C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit>.\bin\pvpython.exe > "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\share\\paraview-5.2\\web\\visualizer\\server\\pvw-visualizer.py" > --content > "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\share\\paraview-5.2\\web\\visualizer\\www" > --data "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" --port 8080 > 2017-01-04 11:06:38+0530 [-] Log opened. > 2017-01-04 11:06:39+0530 [-] Site starting on 8080 > 2017-01-04 11:06:39+0530 [-] Starting factory instance at 0x0000022A9C7BAF48> > 2017-01-04 11:06:43+0530 [HTTPChannel,0,127.0.0.1] "127.0.0.1" - - [ > 04/Jan/2017:05:36:43 +0000] "GET / HTTP/1.1" 304 - "-" "Mozilla/5.0 > (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) > Chrome/55.0.2883.87 Safari/537.36" > 2017-01-04 11:06:43+0530 [HTTPChannel,0,127.0.0.1] "127.0.0.1" - - [ > 04/Jan/2017:05:36:43 +0000] "POST /paraview/ HTTP/1.1" 404 145 " > http://localhost:8080/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) > AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36" > 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Client has reconnected, > cancelling reaper > 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] on_connect: connection > count = 1 > 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property > BeginValueCapture has no GetData() method, skipping > 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property > CaptureValuesFloat has no GetData() method, skipping > 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property CaptureZBuffer > has no GetData() method, skipping > 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property > EndValueCapture has no GetData() method, skipping > 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property > StartCaptureLuminance has no GetData() method, skipping > 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property > StopCaptureLuminance has no GetData() method, skipping > *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] > ================================================================================* > *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] file not found* > *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] fileToLoad: []* > *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] > ================================================================================* > 2017-01-04 11:06:56+0530 [-] Received SIGINT, shutting down. > > > > Cheers & Best Wishes, > Debopam > ------------------------------- > Cell: +91 98304 10041 <+91%2098304%2010041> > > > > On Tue, Jan 3, 2017 at 9:05 PM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > > Ok that mean there is still a path issue when loading a file within > ParaViewWeb on Windows. > > Did you look at the log of that given session to see if any error is > printed? > > You can try to edit the file [lib/site-packages]/paraview/web/protocols.py > within the ParaView application (The [...] part is for the path section > that I'm not sure of). > > In the function > > @exportRpc("pv.proxy.manager.create.reader") > def open(self, relativePath): > """ > Open relative file paths, attempting to use the file extension to > select > from the configured readers. > """ > fileToLoad = [] > if type(relativePath) == list: > for file in relativePath: > validPath = self.getAbsolutePath(file) > if validPath: > fileToLoad.append(validPath) > else: > validPath = self.getAbsolutePath(relativePath) > if validPath: > fileToLoad.append(validPath) > > if len(fileToLoad) == 0: > return { 'success': False, 'reason': 'No valid path name' } > > print "=" * 80 # <------ ADD THAT LINE TO SEE THE PATH YOU > TRY TO LOAD > print fileToLoad # <------ ADD THAT LINE TO SEE THE PATH YOU TRY > TO LOAD > print "=" * 80 # <------ ADD THAT LINE TO SEE THE PATH YOU > TRY TO LOAD > > [...] > > Then look at the log to see which path is used to load that file. > > Seb > > On Tue, Jan 3, 2017 at 6:36 AM, Debopam Ghoshal > wrote: > > Hi Seb, > > 1. We are able to see the orientation axis and also able to rotate them. > For example, when we click on can.ex2, we see a blank black screen. Then > after we hide the left panel, we are able to see the orientation axis and > also rotate them. > > 2. When we select the Wavelet we were able to view it properly, and was > also able to rotate the scene. > > 3. We tried with both / and \\ but there is no change. The command we are > using to launch paraview is as below: > > a: .\bin\pvpython.exe > "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\share\\paraview-5.2\\web\\visualizer\\server\\pvw-visualizer.py" > --content > "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\share\\paraview-5.2\\web\\visualizer\\www" > --data "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" --port 8080 > > b: .\bin\pvpython.exe > "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/share/paraview-5.2/web/visualizer/server/pvw-visualizer.py" > --content > "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/share/paraview-5.2/web/visualizer/www" > --data "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" --port 8080 > > > Cheers & Best Wishes, > Debopam > ------------------------------- > Cell: +91 98304 10041 <+91%2098304%2010041> > > > > On Mon, Jan 2, 2017 at 9:36 PM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > > Hi Debopam, > > Do you see the orientation axis? Does it move when you rotate the scene? > What happen when you click on "+" and choose the Wavelet? Do you see > something? > > I'm wondering if you still run into an invalid path issue due to / or \. > > Seb > > On Mon, Jan 2, 2017 at 6:38 AM, Debopam Ghoshal > wrote: > > Hi Seb, > > 1. "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" works fine. Now > we can see the list of files in the data folder. > > However, there seems to be some problem with the ParaviewWeb Application > (or may be with the graphics driver?). Because we cannot render the sample > mesh files (eg: can.ex2) in the visualizer. When we tried to view the files > in the desktop application they are displayed without any problems. A > screenshot of the graphics driver is attached for your reference. > > 2. Ok. > > > Cheers & Best Wishes, > Debopam > ------------------------------- > > > > On Fri, Dec 30, 2016 at 9:02 PM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > > Hi Debopam, > > 1) I'm not sure to know what is the issue with the path but try with > either: > > "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" > or > "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" > > 2) paraview_console_error.jpg is not an error since you are not using the > launcher. So that part is actually expected. > For the second error when you try to delete the TimeAnnotation, I'm not > sure to know what is the issue. You should know more by looking at the > output of the command line. > > Seb > > > On Fri, Dec 30, 2016 at 12:53 AM, Debopam Ghoshal > wrote: > > (Reposting for a larger audience) > > Hi Ken, > > When we start paraview web we noted two things: > > 1. In the Visualizer, the Files tab is not showing any files. Please refer > to the attached screenshot (paraview_home.jpg) > 2. There is an error showing up at the browser console > (paraview_console_error.jpg, paraview_console_error2.jpg) > > The paraview startup messages are also given for your reference > (paraview_log.jpg) > > > > Cheers & Best Wishes, > Debopam > ------------------------------- > Cell: +91 98304 10041 <+91%2098304%2010041> > > > > On Wed, Dec 28, 2016 at 10:35 AM, Debopam Ghoshal > wrote: > > Hi Ken, > > We finally got a machine where Paraview 5.2 MPI is running without any > issues. However, when we start paraview web we noted two things: > > 1. In the Visualizer, the Files tab is not showing any files. Please refer > to the attached screenshot (paraview_home.jpg) > 2. There is an error showing up at the browser console > (paraview_console_error.jpg, paraview_console_error2.jpg) > > The paraview startup messages are also given for your reference > (paraview_log.jpg) > > > Cheers & Best Wishes, > Debopam > ------------------------------- > Cell: +91 98304 10041 <+91%2098304%2010041> > > > > On Tue, Dec 13, 2016 at 7:03 PM, Ken Martin > wrote: > > ParaView with the old OpenGL backend should work on any windows machine. > It may be slow and some of the advanced techniques may not work but the > basics will all work. > > On Tue, Dec 13, 2016 at 5:57 AM, Debopam Ghoshal > wrote: > > Yes Ken, you are right. This is an older machine. So, will it be possible > to use ParaView (with the old OpenGL backend) on this machine? Or we need > to get a machine with better configuration to run ParaView? > > Additionally, will it be possible to run ParaView (and ParaViewWeb) on a > Windows 10 guest running in VirtualBox on a MacOS host? > > Cheers & Best Wishes, > Debopam > ------------------------------- > Cell: +91 98304 10041 > > > > On Mon, Dec 12, 2016 at 8:22 PM, Ken Martin > wrote: > > So if I am reading this correctly the machine has a rv516 GPU which was > released in 2007. That GPU does not support anything beyond OpenGL 2.0 > which means you would need to use the old OpenGL backend with VTK/ParaView. > > http://www.gpureview.com/ati-rv516-chip-135.html > > > > On Mon, Dec 12, 2016 at 9:21 AM, Debopam Ghoshal > wrote: > > Hi Ken, > > This is a standard desktop PC running Window 10 Professional Edition. If > there is something I need to install on this machine, please let me know. > > Cheers & Best Wishes, > Debopam > ------------------------------- > Cell: +91 98304 10041 > > > > On Mon, Dec 12, 2016 at 7:18 PM, Ken Martin > wrote: > > Is this a server maybe? It seems like the system lacks any OpenGL support > beyond the default Microsoft implementation which is circa OpenGL 1.4 I > believe. > > On Sun, Dec 11, 2016 at 11:51 PM, Debopam Ghoshal > wrote: > > Hi Ken, > > When I ran the command: vtkRenderingOpenGL2CxxTests.exe TestAppleBug there > was an error. A screenshot of the error is attached for your reference. > Please let me know if you require any other details. > > Cheers & Best Wishes, > Debopam > ------------------------------- > Cell: +91 98304 10041 > > > > On Fri, Dec 9, 2016 at 7:17 PM, Ken Martin wrote: > > Here is a new version of the executable, can you try it? > > > > On Fri, Dec 9, 2016 at 1:42 AM, Debopam Ghoshal > wrote: > > Hi Cory and Ken, > > Thanks a lot for your prompt response. > > Below are the details you asked: > 1. display-props.png - screenshot of: Settings -> System -> Display -> > Advanced display settings -> Display adapter properties > 2. vtkrendering.png - screenshot of the error which came up when I ran: vtkRenderingOpenGL2CxxTests.exe > TestAppleBug > > > Cheers & Best Wishes, > Debopam > ------------------------------- > > > > > On Thu, Dec 8, 2016 at 10:49 PM, Ken Martin > wrote: > > Can you try running the following executable (rename .foo to .exe) from a > cmd shell as > > vtkRenderingOpenGL2CxxTests.exe TestAppleBug > > and see if it crashes, and send the output is produces > > Thanks > Ken > > > > On Thu, Dec 8, 2016 at 10:46 AM, Cory Quammen > wrote: > > Hi Depobam, > > > > > > Thanks for trying out the other ParaView versions. I suspect there > > > might be a problem with the new OpenGL backend on your system as that > > > has changed between ParaView 4 and 5. What kind of graphics card do > > > you have on your system. You can get some of the display properties by > > > going to > > > > > > Settings -> System -> Display -> Advanced display settings -> Display > > > adapter properties > > > > > > Ken, > > > > > > Are there any things Depobam can do on his Windows 10 system to help > > > diagnose whether the OpenGL2 backend is causing the crash he is seeing > > > in ParaView? > > > > > > Thanks, > > > Cory > > > > > > On Thu, Dec 8, 2016 at 2:51 AM, Debopam Ghoshal > wrote: > > > > Hi Cory, > > > > > > > > I tried to run Paraview 5.1.2, but it gives the same error. However, I > was > > > > able to run Paraview 4.1 successfully on Window 10. > > > > > > > > But ParaviewWeb failed to run as it seems that version 4.1 does not have > the > > > > python script used for running ParaviewWeb. > > > > > > > > > > > > > > > > Cheers & Best Wishes, > > > > Debopam > > > > ------------------------------- > > > > Cell: +91 98304 10041 > > > > > > > > On Wed, Dec 7, 2016 at 5:14 AM, Sebastien Jourdain > > > > wrote: > > > >> > > > >> Cory you need to provide an absolute path as argument "c:\.....". > > > >> > > > >> But the issue seems to be on ParaView itself. The (Qt) executable crash > at > > > >> startup on there machine, regardless of their goal to use ParaViewWeb > down > > > >> the road. > > > >> > > > >> Seb > > > >> > > > >> On Tue, Dec 6, 2016 at 10:06 AM, Cory Quammen > > > > >> wrote: > > > >>> > > > >>> Correction: I could run ParaViewWeb on Windows 10, but I couldn't load > > > >>> data through the web client. I didn't get pvpython.exe to crash, > > > >>> though. > > > >>> > > > >>> On Tue, Dec 6, 2016 at 11:35 AM, Cory Quammen < > cory.quammen at kitware.com> > > > >>> wrote: > > > >>> > Debopam, > > > >>> > > > > >>> > I just tried what you ran on Windows 10 and it ran fine for me. One > > > >>> > thing I had to fix, which I doubt is the cause of your crash, is the > > > >>> > data argument is actually just --data and not --data-dir. > > > >>> > > > > >>> > We've had some other reports of 5.2 crashing on start up on Windows. > > > >>> > Did 5.1 run fine for you? > > > >>> > > > > >>> > I wonder if you could try installing ParaView 4.4 from > > > >>> > http://www.paraview.org/download/ to see if it runs. If it does, > that > > > >>> > gives me a clue on where to look. > > > >>> > > > > >>> > Thanks, > > > >>> > Cory > > > >>> > > > > >>> > On Tue, Dec 6, 2016 at 5:23 AM, Debopam Ghoshal > > > >>> > wrote: > > > >>> >> Hi, > > > >>> >> > > > >>> >> I followed the instructions given here, but I am getting the > following > > > >>> >> error: > > > >>> >> > > > >>> >> > > > >>> >> Paraview Installation Directory: > > > >>> >> C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit > > > >>> >> > > > >>> >> Command: > > > >>> >> > > > >>> >> .\bin\pvpython.exe \ > > > >>> >> > > > >>> >> > > > >>> >> > > > >>> >> > "C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" > > > >>> >> \ > > > >>> >> > > > >>> >> --content > > > >>> >> > > > >>> >> > "C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\share\paraview-5.2\web\visualizer\www\" > > > >>> >> \ > > > >>> >> > > > >>> >> --data-dir "C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\data\" \ > > > >>> >> > > > >>> >> --port 8080 > > > >>> >> > > > >>> >> > > > >>> >> Output: > > > >>> >> > > > >>> >> Console: 2016-12-02 10:09:51+0530 [-] Log opened. > > > >>> >> > > > >>> >> Error Window screenshot attached (PVW-Error.png) > > > >>> >> > > > >>> >> > > > >>> >> Other Details: > > > >>> >> > > > >>> >> OS: Windows 10 Professional > > > >>> >> > > > >>> >> RAM: 8GB > > > >>> >> > > > >>> >> A screenshot of the system properties is attached for your reference > > > >>> >> (Window10-SystemProps.png) > > > >>> >> > > > >>> >> Similar error occurred when I launched the Paraview desktop > > > >>> >> application > > > >>> >> (ParaviewError.png). > > > >>> >> > > > >>> >> > > > >>> >> Cheers & Best Wishes, > > > >>> >> > > > >>> >> Debopam > > > >>> >> ------------------------------- > > > >>> >> > > > >>> >> > > > >>> >> _______________________________________________ > > > >>> >> Powered by www.kitware.com > > > >>> >> > > > >>> >> Visit other Kitware open-source projects at > > > >>> >> http://www.kitware.com/opensource/opensource.html > > > >>> >> > > > >>> >> Please keep messages on-topic and check the ParaView Wiki at: > > > >>> >> http://paraview.org/Wiki/ParaView > > > >>> >> > > > >>> >> Search the list archives at: http://markmail.org/search/?q=ParaView > > > >>> >> > > > >>> >> Follow this link to subscribe/unsubscribe: > > > >>> >> http://public.kitware.com/mailman/listinfo/paraview > > > >>> >> > > > >>> > > > > >>> > > > > >>> > > > > >>> > -- > > > >>> > Cory Quammen > > > >>> > Staff R&D Engineer > > > >>> > Kitware, Inc. > > > >>> > > > >>> > > > >>> > > > >>> -- > > > >>> Cory Quammen > > > >>> Staff R&D Engineer > > > >>> Kitware, Inc. > > > >>> _______________________________________________ > > > >>> Powered by www.kitware.com > > > >>> > > > >>> Visit other Kitware open-source projects at > > > >>> http://www.kitware.com/opensource/opensource.html > > > >>> > > > >>> Please keep messages on-topic and check the ParaView Wiki at: > > > >>> http://paraview.org/Wiki/ParaView > > > >>> > > > >>> Search the list archives at: http://markmail.org/search/?q=ParaView > > > >>> > > > >>> Follow this link to subscribe/unsubscribe: > > > >>> http://public.kitware.com/mailman/listinfo/paraview > > > >> > > > >> > > > > > > > > > > > > > > > > -- > > > Cory Quammen > > > Staff R&D Engineer > > > Kitware, Inc. > > > > > > -- > Ken Martin PhD > Chairman & CFO > Kitware Inc. > 28 Corporate Drive > Clifton Park NY 12065 > 518 371 3971 > > This communication, > > including all attachments, contains confidential and legally privileged > > information, and it is intended only for the use of the addressee. Access > to this email by anyone else is > > unauthorized. If you are not the intended recipient, any disclosure, > copying, > > distribution or any action taken in reliance on it is prohibited and may be > > unlawful. If you received this communication in error please notify us > > immediately and destroy the original message. > > Thank you. > > > > > > > > > > > -- > Ken Martin PhD > Chairman & CFO > Kitware Inc. > 28 Corporate Drive > Clifton Park NY 12065 > 518 371 3971 > > This communication, > > including all attachments, contains confidential and legally privileged > > information, and it is intended only for the use of the addressee. Access > to this email by anyone else is > > unauthorized. If you are not the intended recipient, any disclosure, > copying, > > distribution or any action taken in reliance on it is prohibited and may be > > unlawful. If you received this communication in error please notify us > > immediately and destroy the original message. > > Thank you. > > > > > > > > > > > -- > Ken Martin PhD > Chairman & CFO > Kitware Inc. > 28 Corporate Drive > Clifton Park NY 12065 > 518 371 3971 > > This communication, > > including all attachments, contains confidential and legally privileged > > information, and it is intended only for the use of the addressee. Access > to this email by anyone else is > > unauthorized. If you are not the intended recipient, any disclosure, > copying, > > distribution or any action taken in reliance on it is prohibited and may be > > unlawful. If you received this communication in error please notify us > > immediately and destroy the original message. > > Thank you. > > > > > > > > > > > -- > Ken Martin PhD > Chairman & CFO > Kitware Inc. > 28 Corporate Drive > Clifton Park NY 12065 > 518 371 3971 > > This communication, > > including all attachments, contains confidential and legally privileged > > information, and it is intended only for the use of the addressee. Access > to this email by anyone else is > > unauthorized. If you are not the intended recipient, any disclosure, > copying, > > distribution or any action taken in reliance on it is prohibited and may be > > unlawful. If you received this communication in error please notify us > > immediately and destroy the original message. > > Thank you. > > > > > > > > > > > -- > Ken Martin PhD > Chairman & CFO > Kitware Inc. > 28 Corporate Drive > Clifton Park NY 12065 > 518 371 3971 <(518)%20371-3971> > > This communication, > > including all attachments, contains confidential and legally privileged > > information, and it is intended only for the use of the addressee. Access > to this email by anyone else is > > unauthorized. If you are not the intended recipient, any disclosure, > copying, > > distribution or any action taken in reliance on it is prohibited and may be > > unlawful. If you received this communication in error please notify us > > immediately and destroy the original message. > > Thank you. > > > > > > > > > > > > _______________________________________________ > > > Powered by www.kitware.com > > > > > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > > > > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > > > Follow this link to subscribe/unsubscribe: > > > http://public.kitware.com/mailman/listinfo/paraview > > > > > > > > > > > > > > > > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bflandard at gmail.com Wed Jan 4 12:46:12 2017 From: bflandard at gmail.com (Bob Flandard) Date: Wed, 4 Jan 2017 17:46:12 +0000 Subject: [Paraview] Custom source glyph error In-Reply-To: References: Message-ID: Hi Dave, In the state file, the glyph source is already polyData - created using the sphere source (sensibly the gui doesn't allow selection of a non polyData glyph source). The composite dataset feature will be very useful for multi colored glyphs. Thanks, Bob On 4 January 2017 at 17:25, David Lonie wrote: > I believe the issue here is that the glyph source must be polydata at the > moment. Does a dataset surface filter (or similar) help? > > I mentioned on the other thread that I'm working on improving the glyph > representation so you won't need to use the filter to get custom glyphs. > This patch will also add the ability to use a composite dataset (with > polydata leaves) as the glyph source. > > Cheers, > Dave > > On Wed, Jan 4, 2017 at 8:02 AM, Bob Flandard wrote: > >> Hi, >> >> I'm getting an error message (see end) using the "glyph with custom >> source filter" for the case where the input points have associated results >> data sets and the custom glyph source is of multiblock type. >> >> I've attached two small sample state files that demonstrate the issue. >> >> The custom glyph should be two hemispheres, one black and one white. One >> state file shows the desired result, but the point source data has no >> results data sets associated with it. The other state file has point >> sources with two associated results data sets (mode1 and mode2) contained >> in the attached Ensight *.case files. This second file gives the error >> message below when loading. >> >> Is this a bug or is there a filter that implements "CopyStructure", that >> I should use? >> >> Thanks for any suggestions, >> >> Bob >> >> >> The error message is: >> >> ERROR: In C:\bbd\df0abce0\source-paraview\VTK\Common\DataModel\vtkDataObjectTree.cxx, >> line 306 >> vtkMultiBlockDataSet (0000000017C45180): Structure does not match. You >> must use CopyStructure before calling this method. >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From robertsawko at gmail.com Wed Jan 4 12:51:59 2017 From: robertsawko at gmail.com (Robert Sawko) Date: Wed, 4 Jan 2017 17:51:59 +0000 Subject: [Paraview] [EXTERNAL] Re: Newer object always in front in Render View In-Reply-To: <119e8085884f491aa43fcdc4a9a8f884@ES01AMSNLNT.srn.sandia.gov> References: <20170104151218.GA28983@avignon> <20170104154115.GA14151@avignon> <119e8085884f491aa43fcdc4a9a8f884@ES01AMSNLNT.srn.sandia.gov> Message-ID: <20170104175159.GA15884@avignon> On this computer I have two PV installed. One from AUR and one compiled from OpenFOAM third party directory. The OpenFOAM works fine. It does say "Legacy Rendering Backend" in the title bar which may or may not be significant. The computer is running NVidia drivers and the card is Quadro. But I am reproducing this problem on another Arch machine with some Intel integrated graphics card. I'll try now Alan's suggestion and download it from Kitware directly. Robert -- The finger of icy death https://www.youtube.com/watch?v=WyWn1XJ9kTE http://en.wikipedia.org/wiki/Brinicle From ken.martin at kitware.com Wed Jan 4 12:53:41 2017 From: ken.martin at kitware.com (Ken Martin) Date: Wed, 4 Jan 2017 12:53:41 -0500 Subject: [Paraview] [EXTERNAL] Re: Newer object always in front in Render View In-Reply-To: <20170104175159.GA15884@avignon> References: <20170104151218.GA28983@avignon> <20170104154115.GA14151@avignon> <119e8085884f491aa43fcdc4a9a8f884@ES01AMSNLNT.srn.sandia.gov> <20170104175159.GA15884@avignon> Message-ID: Possibly unrelated, but we did see this odd behavior on some systems with a paraview built against Qt5. It seems it lacked a depth buffer in that case. On Wed, Jan 4, 2017 at 12:51 PM, Robert Sawko wrote: > > On this computer I have two PV installed. One from AUR and one compiled > from > OpenFOAM third party directory. The OpenFOAM works fine. It does say > "Legacy > Rendering Backend" in the title bar which may or may not be significant. > The > computer is running NVidia drivers and the card is Quadro. But I am > reproducing > this problem on another Arch machine with some Intel integrated graphics > card. > > I'll try now Alan's suggestion and download it from Kitware directly. > > Robert > -- > The finger of icy death > https://www.youtube.com/watch?v=WyWn1XJ9kTE > http://en.wikipedia.org/wiki/Brinicle > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Ken Martin PhD Chairman & CFO Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 518 371 3971 This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Wed Jan 4 13:03:25 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 4 Jan 2017 11:03:25 -0700 Subject: [Paraview] Error while launching Paraview (and Paraview Web) in Window 10 In-Reply-To: References: Message-ID: Still in the same protocol.py file around line 141: def getAbsolutePath(self, relativePath): absolutePath = None if self.multiRoot == True: relPathParts = relativePath.replace('\\', '/').split('/') realBasePath = self.baseDirectoryMap[relPathParts[0]] absolutePath = os.path.join(realBasePath, *relPathParts[1:]) else: print 'baseDirectory', self.baseDirectory # ADD DEBUG OUTPUT absolutePath = os.path.join(self.baseDirectory, relativePath) print 'absolutePath', absolutePath # ADD DEBUG OUTPUT cleanedPath = os.path.normpath(absolutePath) print 'cleanedPath', cleanedPath # ADD DEBUG OUTPUT # Make sure the cleanedPath is part of the allowed ones if self.multiRoot: for key, value in self.baseDirectoryMap.iteritems(): if cleanedPath.startswith(value): return cleanedPath elif cleanedPath.startswith(self.baseDirectory): return cleanedPath print 'cleanedPath does not start with baseDirectory', cleanedPath, self.baseDirectory # ADD DEBUG OUTPUT return None But looking at the code, I can see why it may not work on windows.... Next you can try to replace elif cleanedPath.startswith(self.baseDirectory): by elif cleanedPath.startswith(os.path.normpath(self.baseDirectory)): On Wed, Jan 4, 2017 at 10:40 AM, Debopam Ghoshal wrote: > Hi Seb, > > We did print them, and found: > > relativePath: can.ex2 > self.getAbsolutePath(relativePath): [] > > I do not have access to the machine right now. But will try out anything > else you might need shortly. So just let me known what else we need to > debug. > > > On Wed, Jan 4, 2017 at 22:52 Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> Do you mind printing relativePath so we can understand what you are >> getting... >> >> Then, you most likely will have to debug self.getAbsolutePath(relativeP >> ath) call... >> >> On Wed, Jan 4, 2017 at 9:55 AM, Debopam Ghoshal >> wrote: >> >> Hi Seb, >> >> We made the changes in the protocols.py file (highlighted) >> >> @exportRpc("pv.proxy.manager.create.reader") >> def open(self, relativePath): >> """ >> Open relative file paths, attempting to use the file extension to >> select >> from the configured readers. >> """ >> fileToLoad = [] >> if type(relativePath) == list: >> for file in relativePath: >> validPath = self.getAbsolutePath(file) >> if validPath: >> fileToLoad.append(validPath) >> else: >> validPath = self.getAbsolutePath(relativePath) >> if validPath: >> fileToLoad.append(validPath) >> if len(fileToLoad) == 0: >> print "=" * 80 >> print "file not found" >> print "fileToLoad: ", fileToLoad >> print "=" * 80 >> return { >> 'success': False, >> 'reason': 'No valid path name' } >> >> >> >> The output in the console is a follows: >> >> C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit>.\bin\pvpython.exe >> "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\ >> share\\paraview-5.2\\web\\visualizer\\server\\pvw-visualizer.py" >> --content "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\ >> share\\paraview-5.2\\web\\visualizer\\www" --data >> "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" --port 8080 >> 2017-01-04 11:06:38+0530 [-] Log opened. >> 2017-01-04 11:06:39+0530 [-] Site starting on 8080 >> 2017-01-04 11:06:39+0530 [-] Starting factory > instance at 0x0000022A9C7BAF48> >> 2017-01-04 11:06:43+0530 [HTTPChannel,0,127.0.0.1] "127.0.0.1" - - [ >> 04/Jan/2017:05:36:43 +0000] "GET / HTTP/1.1" 304 - "-" "Mozilla/5.0 >> (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) >> Chrome/55.0.2883.87 Safari/537.36" >> 2017-01-04 11:06:43+0530 [HTTPChannel,0,127.0.0.1] "127.0.0.1" - - [ >> 04/Jan/2017:05:36:43 +0000] "POST /paraview/ HTTP/1.1" 404 145 " >> http://localhost:8080/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) >> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36" >> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Client has >> reconnected, cancelling reaper >> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] on_connect: connection >> count = 1 >> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property >> BeginValueCapture has no GetData() method, skipping >> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property >> CaptureValuesFloat has no GetData() method, skipping >> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property >> CaptureZBuffer has no GetData() method, skipping >> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property >> EndValueCapture has no GetData() method, skipping >> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property >> StartCaptureLuminance has no GetData() method, skipping >> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property >> StopCaptureLuminance has no GetData() method, skipping >> *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] >> ================================================================================* >> *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] file not found* >> *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] fileToLoad: []* >> *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] >> ================================================================================* >> 2017-01-04 11:06:56+0530 [-] Received SIGINT, shutting down. >> >> >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> Cell: +91 98304 10041 <+91%2098304%2010041> >> >> >> >> On Tue, Jan 3, 2017 at 9:05 PM, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >> Ok that mean there is still a path issue when loading a file within >> ParaViewWeb on Windows. >> >> Did you look at the log of that given session to see if any error is >> printed? >> >> You can try to edit the file [lib/site-packages]/paraview/web/protocols.py >> within the ParaView application (The [...] part is for the path section >> that I'm not sure of). >> >> In the function >> >> @exportRpc("pv.proxy.manager.create.reader") >> def open(self, relativePath): >> """ >> Open relative file paths, attempting to use the file extension to >> select >> from the configured readers. >> """ >> fileToLoad = [] >> if type(relativePath) == list: >> for file in relativePath: >> validPath = self.getAbsolutePath(file) >> if validPath: >> fileToLoad.append(validPath) >> else: >> validPath = self.getAbsolutePath(relativePath) >> if validPath: >> fileToLoad.append(validPath) >> >> if len(fileToLoad) == 0: >> return { 'success': False, 'reason': 'No valid path name' } >> >> print "=" * 80 # <------ ADD THAT LINE TO SEE THE PATH YOU >> TRY TO LOAD >> print fileToLoad # <------ ADD THAT LINE TO SEE THE PATH YOU >> TRY TO LOAD >> print "=" * 80 # <------ ADD THAT LINE TO SEE THE PATH YOU >> TRY TO LOAD >> >> [...] >> >> Then look at the log to see which path is used to load that file. >> >> Seb >> >> On Tue, Jan 3, 2017 at 6:36 AM, Debopam Ghoshal >> wrote: >> >> Hi Seb, >> >> 1. We are able to see the orientation axis and also able to rotate them. >> For example, when we click on can.ex2, we see a blank black screen. Then >> after we hide the left panel, we are able to see the orientation axis and >> also rotate them. >> >> 2. When we select the Wavelet we were able to view it properly, and was >> also able to rotate the scene. >> >> 3. We tried with both / and \\ but there is no change. The command we >> are using to launch paraview is as below: >> >> a: .\bin\pvpython.exe "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\ >> share\\paraview-5.2\\web\\visualizer\\server\\pvw-visualizer.py" >> --content "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\ >> share\\paraview-5.2\\web\\visualizer\\www" --data >> "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" --port 8080 >> >> b: .\bin\pvpython.exe "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/ >> share/paraview-5.2/web/visualizer/server/pvw-visualizer.py" --content >> "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/share/paraview-5.2/web/visualizer/www" >> --data "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" --port 8080 >> >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> Cell: +91 98304 10041 <+91%2098304%2010041> >> >> >> >> On Mon, Jan 2, 2017 at 9:36 PM, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >> Hi Debopam, >> >> Do you see the orientation axis? Does it move when you rotate the scene? >> What happen when you click on "+" and choose the Wavelet? Do you see >> something? >> >> I'm wondering if you still run into an invalid path issue due to / or \. >> >> Seb >> >> On Mon, Jan 2, 2017 at 6:38 AM, Debopam Ghoshal >> wrote: >> >> Hi Seb, >> >> 1. "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" works fine. >> Now we can see the list of files in the data folder. >> >> However, there seems to be some problem with the ParaviewWeb Application >> (or may be with the graphics driver?). Because we cannot render the sample >> mesh files (eg: can.ex2) in the visualizer. When we tried to view the files >> in the desktop application they are displayed without any problems. A >> screenshot of the graphics driver is attached for your reference. >> >> 2. Ok. >> >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> >> >> >> On Fri, Dec 30, 2016 at 9:02 PM, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >> Hi Debopam, >> >> 1) I'm not sure to know what is the issue with the path but try with >> either: >> >> "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" >> or >> "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" >> >> 2) paraview_console_error.jpg is not an error since you are not using the >> launcher. So that part is actually expected. >> For the second error when you try to delete the TimeAnnotation, I'm not >> sure to know what is the issue. You should know more by looking at the >> output of the command line. >> >> Seb >> >> >> On Fri, Dec 30, 2016 at 12:53 AM, Debopam Ghoshal >> wrote: >> >> (Reposting for a larger audience) >> >> Hi Ken, >> >> When we start paraview web we noted two things: >> >> 1. In the Visualizer, the Files tab is not showing any files. Please >> refer to the attached screenshot (paraview_home.jpg) >> 2. There is an error showing up at the browser console >> (paraview_console_error.jpg, paraview_console_error2.jpg) >> >> The paraview startup messages are also given for your reference >> (paraview_log.jpg) >> >> >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> Cell: +91 98304 10041 <+91%2098304%2010041> >> >> >> >> On Wed, Dec 28, 2016 at 10:35 AM, Debopam Ghoshal >> wrote: >> >> Hi Ken, >> >> We finally got a machine where Paraview 5.2 MPI is running without any >> issues. However, when we start paraview web we noted two things: >> >> 1. In the Visualizer, the Files tab is not showing any files. Please >> refer to the attached screenshot (paraview_home.jpg) >> 2. There is an error showing up at the browser console >> (paraview_console_error.jpg, paraview_console_error2.jpg) >> >> The paraview startup messages are also given for your reference >> (paraview_log.jpg) >> >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> Cell: +91 98304 10041 <+91%2098304%2010041> >> >> >> >> On Tue, Dec 13, 2016 at 7:03 PM, Ken Martin >> wrote: >> >> ParaView with the old OpenGL backend should work on any windows machine. >> It may be slow and some of the advanced techniques may not work but the >> basics will all work. >> >> On Tue, Dec 13, 2016 at 5:57 AM, Debopam Ghoshal >> wrote: >> >> Yes Ken, you are right. This is an older machine. So, will it be possible >> to use ParaView (with the old OpenGL backend) on this machine? Or we need >> to get a machine with better configuration to run ParaView? >> >> Additionally, will it be possible to run ParaView (and ParaViewWeb) on a >> Windows 10 guest running in VirtualBox on a MacOS host? >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> Cell: +91 98304 10041 >> >> >> >> On Mon, Dec 12, 2016 at 8:22 PM, Ken Martin >> wrote: >> >> So if I am reading this correctly the machine has a rv516 GPU which was >> released in 2007. That GPU does not support anything beyond OpenGL 2.0 >> which means you would need to use the old OpenGL backend with VTK/ParaView. >> >> http://www.gpureview.com/ati-rv516-chip-135.html >> >> >> >> On Mon, Dec 12, 2016 at 9:21 AM, Debopam Ghoshal >> wrote: >> >> Hi Ken, >> >> This is a standard desktop PC running Window 10 Professional Edition. If >> there is something I need to install on this machine, please let me know. >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> Cell: +91 98304 10041 >> >> >> >> On Mon, Dec 12, 2016 at 7:18 PM, Ken Martin >> wrote: >> >> Is this a server maybe? It seems like the system lacks any OpenGL support >> beyond the default Microsoft implementation which is circa OpenGL 1.4 I >> believe. >> >> On Sun, Dec 11, 2016 at 11:51 PM, Debopam Ghoshal >> wrote: >> >> Hi Ken, >> >> When I ran the command: vtkRenderingOpenGL2CxxTests.exe TestAppleBug >> there was an error. A screenshot of the error is attached for your >> reference. Please let me know if you require any other details. >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> Cell: +91 98304 10041 >> >> >> >> On Fri, Dec 9, 2016 at 7:17 PM, Ken Martin >> wrote: >> >> Here is a new version of the executable, can you try it? >> >> >> >> On Fri, Dec 9, 2016 at 1:42 AM, Debopam Ghoshal >> wrote: >> >> Hi Cory and Ken, >> >> Thanks a lot for your prompt response. >> >> Below are the details you asked: >> 1. display-props.png - screenshot of: Settings -> System -> Display -> >> Advanced display settings -> Display adapter properties >> 2. vtkrendering.png - screenshot of the error which came up when I ran: >> vtkRenderingOpenGL2CxxTests.exe TestAppleBug >> >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> >> >> >> >> On Thu, Dec 8, 2016 at 10:49 PM, Ken Martin >> wrote: >> >> Can you try running the following executable (rename .foo to .exe) from a >> cmd shell as >> >> vtkRenderingOpenGL2CxxTests.exe TestAppleBug >> >> and see if it crashes, and send the output is produces >> >> Thanks >> Ken >> >> >> >> On Thu, Dec 8, 2016 at 10:46 AM, Cory Quammen >> wrote: >> >> Hi Depobam, >> >> >> >> >> >> Thanks for trying out the other ParaView versions. I suspect there >> >> >> might be a problem with the new OpenGL backend on your system as that >> >> >> has changed between ParaView 4 and 5. What kind of graphics card do >> >> >> you have on your system. You can get some of the display properties by >> >> >> going to >> >> >> >> >> >> Settings -> System -> Display -> Advanced display settings -> Display >> >> >> adapter properties >> >> >> >> >> >> Ken, >> >> >> >> >> >> Are there any things Depobam can do on his Windows 10 system to help >> >> >> diagnose whether the OpenGL2 backend is causing the crash he is seeing >> >> >> in ParaView? >> >> >> >> >> >> Thanks, >> >> >> Cory >> >> >> >> >> >> On Thu, Dec 8, 2016 at 2:51 AM, Debopam Ghoshal >> wrote: >> >> >> > Hi Cory, >> >> >> > >> >> >> > I tried to run Paraview 5.1.2, but it gives the same error. However, I >> was >> >> >> > able to run Paraview 4.1 successfully on Window 10. >> >> >> > >> >> >> > But ParaviewWeb failed to run as it seems that version 4.1 does not >> have the >> >> >> > python script used for running ParaviewWeb. >> >> >> > >> >> >> > >> >> >> > >> >> >> > Cheers & Best Wishes, >> >> >> > Debopam >> >> >> > ------------------------------- >> >> >> > Cell: +91 98304 10041 >> >> >> > >> >> >> > On Wed, Dec 7, 2016 at 5:14 AM, Sebastien Jourdain >> >> >> > wrote: >> >> >> >> >> >> >> >> Cory you need to provide an absolute path as argument "c:\.....". >> >> >> >> >> >> >> >> But the issue seems to be on ParaView itself. The (Qt) executable >> crash at >> >> >> >> startup on there machine, regardless of their goal to use ParaViewWeb >> down >> >> >> >> the road. >> >> >> >> >> >> >> >> Seb >> >> >> >> >> >> >> >> On Tue, Dec 6, 2016 at 10:06 AM, Cory Quammen < >> cory.quammen at kitware.com> >> >> >> >> wrote: >> >> >> >>> >> >> >> >>> Correction: I could run ParaViewWeb on Windows 10, but I couldn't load >> >> >> >>> data through the web client. I didn't get pvpython.exe to crash, >> >> >> >>> though. >> >> >> >>> >> >> >> >>> On Tue, Dec 6, 2016 at 11:35 AM, Cory Quammen < >> cory.quammen at kitware.com> >> >> >> >>> wrote: >> >> >> >>> > Debopam, >> >> >> >>> > >> >> >> >>> > I just tried what you ran on Windows 10 and it ran fine for me. One >> >> >> >>> > thing I had to fix, which I doubt is the cause of your crash, is the >> >> >> >>> > data argument is actually just --data and not --data-dir. >> >> >> >>> > >> >> >> >>> > We've had some other reports of 5.2 crashing on start up on Windows. >> >> >> >>> > Did 5.1 run fine for you? >> >> >> >>> > >> >> >> >>> > I wonder if you could try installing ParaView 4.4 from >> >> >> >>> > http://www.paraview.org/download/ to see if it runs. If it does, >> that >> >> >> >>> > gives me a clue on where to look. >> >> >> >>> > >> >> >> >>> > Thanks, >> >> >> >>> > Cory >> >> >> >>> > >> >> >> >>> > On Tue, Dec 6, 2016 at 5:23 AM, Debopam Ghoshal > > >> >> >> >>> > wrote: >> >> >> >>> >> Hi, >> >> >> >>> >> >> >> >> >>> >> I followed the instructions given here, but I am getting the >> following >> >> >> >>> >> error: >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> Paraview Installation Directory: >> >> >> >>> >> C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit >> >> >> >>> >> >> >> >> >>> >> Command: >> >> >> >>> >> >> >> >> >>> >> .\bin\pvpython.exe \ >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> "C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\share\ >> paraview-5.2\web\visualizer\server\pvw-visualizer.py" >> >> >> >>> >> \ >> >> >> >>> >> >> >> >> >>> >> --content >> >> >> >>> >> >> >> >> >>> >> "C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\share\ >> paraview-5.2\web\visualizer\www\" >> >> >> >>> >> \ >> >> >> >>> >> >> >> >> >>> >> --data-dir "C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\data\" \ >> >> >> >>> >> >> >> >> >>> >> --port 8080 >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> Output: >> >> >> >>> >> >> >> >> >>> >> Console: 2016-12-02 10:09:51+0530 [-] Log opened. >> >> >> >>> >> >> >> >> >>> >> Error Window screenshot attached (PVW-Error.png) >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> Other Details: >> >> >> >>> >> >> >> >> >>> >> OS: Windows 10 Professional >> >> >> >>> >> >> >> >> >>> >> RAM: 8GB >> >> >> >>> >> >> >> >> >>> >> A screenshot of the system properties is attached for your >> reference >> >> >> >>> >> (Window10-SystemProps.png) >> >> >> >>> >> >> >> >> >>> >> Similar error occurred when I launched the Paraview desktop >> >> >> >>> >> application >> >> >> >>> >> (ParaviewError.png). >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> Cheers & Best Wishes, >> >> >> >>> >> >> >> >> >>> >> Debopam >> >> >> >>> >> ------------------------------- >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> _______________________________________________ >> >> >> >>> >> Powered by www.kitware.com >> >> >> >>> >> >> >> >> >>> >> Visit other Kitware open-source projects at >> >> >> >>> >> http://www.kitware.com/opensource/opensource.html >> >> >> >>> >> >> >> >> >>> >> Please keep messages on-topic and check the ParaView Wiki at: >> >> >> >>> >> http://paraview.org/Wiki/ParaView >> >> >> >>> >> >> >> >> >>> >> Search the list archives at: http://markmail.org/search/?q= >> ParaView >> >> >> >>> >> >> >> >> >>> >> Follow this link to subscribe/unsubscribe: >> >> >> >>> >> http://public.kitware.com/mailman/listinfo/paraview >> >> >> >>> >> >> >> >> >>> > >> >> >> >>> > >> >> >> >>> > >> >> >> >>> > -- >> >> >> >>> > Cory Quammen >> >> >> >>> > Staff R&D Engineer >> >> >> >>> > Kitware, Inc. >> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> -- >> >> >> >>> Cory Quammen >> >> >> >>> Staff R&D Engineer >> >> >> >>> Kitware, Inc. >> >> >> >>> _______________________________________________ >> >> >> >>> Powered by www.kitware.com >> >> >> >>> >> >> >> >>> Visit other Kitware open-source projects at >> >> >> >>> http://www.kitware.com/opensource/opensource.html >> >> >> >>> >> >> >> >>> Please keep messages on-topic and check the ParaView Wiki at: >> >> >> >>> http://paraview.org/Wiki/ParaView >> >> >> >>> >> >> >> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> >> >>> >> >> >> >>> Follow this link to subscribe/unsubscribe: >> >> >> >>> http://public.kitware.com/mailman/listinfo/paraview >> >> >> >> >> >> >> >> >> >> >> > >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> Cory Quammen >> >> >> Staff R&D Engineer >> >> >> Kitware, Inc. >> >> >> >> >> >> -- >> Ken Martin PhD >> Chairman & CFO >> Kitware Inc. >> 28 Corporate Drive >> Clifton Park NY 12065 >> 518 371 3971 >> >> This communication, >> >> including all attachments, contains confidential and legally privileged >> >> information, and it is intended only for the use of the addressee. >> Access to this email by anyone else is >> >> unauthorized. If you are not the intended recipient, any disclosure, >> copying, >> >> distribution or any action taken in reliance on it is prohibited and may >> be >> >> unlawful. If you received this communication in error please notify us >> >> immediately and destroy the original message. >> >> Thank you. >> >> >> >> >> >> >> >> >> >> >> -- >> Ken Martin PhD >> Chairman & CFO >> Kitware Inc. >> 28 Corporate Drive >> Clifton Park NY 12065 >> 518 371 3971 >> >> This communication, >> >> including all attachments, contains confidential and legally privileged >> >> information, and it is intended only for the use of the addressee. >> Access to this email by anyone else is >> >> unauthorized. If you are not the intended recipient, any disclosure, >> copying, >> >> distribution or any action taken in reliance on it is prohibited and may >> be >> >> unlawful. If you received this communication in error please notify us >> >> immediately and destroy the original message. >> >> Thank you. >> >> >> >> >> >> >> >> >> >> >> -- >> Ken Martin PhD >> Chairman & CFO >> Kitware Inc. >> 28 Corporate Drive >> Clifton Park NY 12065 >> 518 371 3971 >> >> This communication, >> >> including all attachments, contains confidential and legally privileged >> >> information, and it is intended only for the use of the addressee. >> Access to this email by anyone else is >> >> unauthorized. If you are not the intended recipient, any disclosure, >> copying, >> >> distribution or any action taken in reliance on it is prohibited and may >> be >> >> unlawful. If you received this communication in error please notify us >> >> immediately and destroy the original message. >> >> Thank you. >> >> >> >> >> >> >> >> >> >> >> -- >> Ken Martin PhD >> Chairman & CFO >> Kitware Inc. >> 28 Corporate Drive >> Clifton Park NY 12065 >> 518 371 3971 >> >> This communication, >> >> including all attachments, contains confidential and legally privileged >> >> information, and it is intended only for the use of the addressee. >> Access to this email by anyone else is >> >> unauthorized. If you are not the intended recipient, any disclosure, >> copying, >> >> distribution or any action taken in reliance on it is prohibited and may >> be >> >> unlawful. If you received this communication in error please notify us >> >> immediately and destroy the original message. >> >> Thank you. >> >> >> >> >> >> >> >> >> >> >> -- >> Ken Martin PhD >> Chairman & CFO >> Kitware Inc. >> 28 Corporate Drive >> Clifton Park NY 12065 >> 518 371 3971 <(518)%20371-3971> >> >> This communication, >> >> including all attachments, contains confidential and legally privileged >> >> information, and it is intended only for the use of the addressee. >> Access to this email by anyone else is >> >> unauthorized. If you are not the intended recipient, any disclosure, >> copying, >> >> distribution or any action taken in reliance on it is prohibited and may >> be >> >> unlawful. If you received this communication in error please notify us >> >> immediately and destroy the original message. >> >> Thank you. >> >> >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> >> >> Powered by www.kitware.com >> >> >> >> >> >> Visit other Kitware open-source projects at http://www.kitware.com/ >> opensource/opensource.html >> >> >> >> >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> >> >> >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> >> >> >> >> Follow this link to subscribe/unsubscribe: >> >> >> http://public.kitware.com/mailman/listinfo/paraview >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From patriciop at gmail.com Wed Jan 4 14:14:29 2017 From: patriciop at gmail.com (Patricio Palma C.) Date: Wed, 04 Jan 2017 19:14:29 +0000 Subject: [Paraview] Opening VTK data exported with CompositeDataWriter Message-ID: Dear all I am exporting vtkUnstructuredGrid and vtkPolyData wrapping them into a vtkMultiblockDataSet and then written using vtkCompositeDataWriter to create a data file in legacy format. Trying to open this file in Paraview 5.2 64bit cause the application to display the "Select Reader" dialog. Should I use a different extension (.vtk/.vtmb) so Paraview can load and display the data? Regards -- -- Patricio Palma Contreras -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.lonie at kitware.com Wed Jan 4 14:15:58 2017 From: david.lonie at kitware.com (David Lonie) Date: Wed, 4 Jan 2017 14:15:58 -0500 Subject: [Paraview] Custom Glyph In-Reply-To: References: Message-ID: cc'ing this reply to the list. On Wed, Jan 4, 2017 at 12:36 PM, Bob Flandard wrote: > Hi Dave, > > That sounds like an exciting feature. Will it be able to use a multiblock > source from the pipeline? > Yes -- there will be a drop-down menu on the property panel that lets you select arbitrary inputs from the pipeline browser the produce the supported data types. > That would be useful because then a single glyph can easily be made to > have regions of different colors - easily edited using the excellent > multiblock inspector - without the need for something hacky, like multiple > glyph filters (one for each color part). > Unfortunately, it looks like there will still be some hoop-jumping needed for multicolored glyphs. The glyph mapping engine doesn't support multicolored glyphs at the moment, since it doesn't fit well with the current coloring logic in vtk/paraview's glyphing. Cheers, Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Wed Jan 4 14:20:20 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 4 Jan 2017 14:20:20 -0500 Subject: [Paraview] Custom Glyph In-Reply-To: References: Message-ID: This might be obvious, but I'll chime in anyway. You could glyph the data twice, one with the part of the glyph that should be white and one with the part of the glyph that should be black. Then, just color the two glyphed geometries white and black as needed. - Cory On Wed, Jan 4, 2017 at 2:15 PM, David Lonie wrote: > cc'ing this reply to the list. > > On Wed, Jan 4, 2017 at 12:36 PM, Bob Flandard wrote: >> >> Hi Dave, >> >> That sounds like an exciting feature. Will it be able to use a multiblock >> source from the pipeline? > > > Yes -- there will be a drop-down menu on the property panel that lets you > select arbitrary inputs from the pipeline browser the produce the supported > data types. > >> >> That would be useful because then a single glyph can easily be made to >> have regions of different colors - easily edited using the excellent >> multiblock inspector - without the need for something hacky, like multiple >> glyph filters (one for each color part). > > > Unfortunately, it looks like there will still be some hoop-jumping needed > for multicolored glyphs. The glyph mapping engine doesn't support > multicolored glyphs at the moment, since it doesn't fit well with the > current coloring logic in vtk/paraview's glyphing. > > Cheers, > Dave > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From bflandard at gmail.com Wed Jan 4 14:55:10 2017 From: bflandard at gmail.com (Bob Flandard) Date: Wed, 4 Jan 2017 19:55:10 +0000 Subject: [Paraview] Custom Glyph In-Reply-To: References: Message-ID: Hi Dave, The multi-colored glyph mechanism using using multi-block data is already supported (see attached), but as I mentioned in my original message, there's an error with it if the input point data to the custom glyph has associated results data. Thanks, Bob On 4 January 2017 at 19:15, David Lonie wrote: > cc'ing this reply to the list. > > On Wed, Jan 4, 2017 at 12:36 PM, Bob Flandard wrote: > >> Hi Dave, >> >> That sounds like an exciting feature. Will it be able to use a multiblock >> source from the pipeline? >> > > Yes -- there will be a drop-down menu on the property panel that lets you > select arbitrary inputs from the pipeline browser the produce the supported > data types. > > >> That would be useful because then a single glyph can easily be made to >> have regions of different colors - easily edited using the excellent >> multiblock inspector - without the need for something hacky, like multiple >> glyph filters (one for each color part). >> > > Unfortunately, it looks like there will still be some hoop-jumping needed > for multicolored glyphs. The glyph mapping engine doesn't support > multicolored glyphs at the moment, since it doesn't fit well with the > current coloring logic in vtk/paraview's glyphing. > > Cheers, > Dave > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: sampleCustomGlyph - no point data - works okay.zip Type: application/zip Size: 18939 bytes Desc: not available URL: From Mark.Olesen at esi-group.com Wed Jan 4 11:20:34 2017 From: Mark.Olesen at esi-group.com (Mark Olesen) Date: Wed, 4 Jan 2017 16:20:34 +0000 Subject: [Paraview] upgrading reader module/plugin In-Reply-To: References: Message-ID: Second attempt at posting: --- I'm currently upgrading a reader module from using a pqAutoGeneratedObjectPanel to a using a property group widget (as per http://www.paraview.org/Wiki/Plugin_HowTo#Adding_Customizations_for_Properties_Panel). I have my bunch of properties in a PropertyGroup and have a panel_widget associated with them. Everything loads up, and using printf() I can verify that the property values are all being updated. However, not only does it seems rather clunky, I cannot get the "Apply" button on the property panel to notice when the property values have been updated. Here's a basic sketch of what I have: // Get the property from the group (with down-cast): interpolateFields_ = group->GetProperty("interpolate"); // Provide a checkbox as widget for it - two-column layout. QCheckBox* b = new QCheckBox(prop->GetXMLLabel(), this); form->addWidget(b, row, col, Qt::AlignLeft); // Connect to slot: connect(b, SIGNAL(toggled(bool)), this, SLOT(interpolateFields(bool))); // This is ugly, but seems to be needed??? interpolateFields_->SetImmediateUpdate(true); // And the slot itself void interpolateFields(bool checked) { interpolateFields_->SetElement(0, checked); // this->setModified(); //^^^ used to work with pqAutoGeneratedObjectPanel } I used to rely on the setModified() method from the pqAutoGeneratedObjectPanel, but now can't seem to get from the SMproxy to the pqProxy or whatever. Or am I going about this entirely the wrong way? FWIW, here are the relevant sub-entries from the XML, in case there is something missing there: ... Unfortunately, the Examples/Plugins/PropertyWidgets is a bit scanty here. Thanks for any advice, /mark From cory.quammen at kitware.com Wed Jan 4 15:04:09 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 4 Jan 2017 15:04:09 -0500 Subject: [Paraview] PV 5.2 Superbuild problem In-Reply-To: <20170102190436.GB4158@megas.kitware.com> References: <20170102190436.GB4158@megas.kitware.com> Message-ID: Hi Rick, The patch Ben cited has been merged in paraview-superbuild master. Please checkout the master branch and fetch the latest changes. master will build 5.2.0 by default. Thanks, Cory On Mon, Jan 2, 2017 at 2:04 PM, Ben Boeckel wrote: > On Wed, Dec 28, 2016 at 17:01:23 +0000, Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US) wrote: >> I?ve stumbled onto an issue with the 5.2 Superbuild ? I?ve looked around in >> the email archives but didn?t see this problem reported. >> >> I?m building on a generic RHEL6 workstation and I get a successful build, >> but the install fails. It seems to be a simple misconfiguration in the >> superbuild/projects/qt4.functions.cmake ?.. >> >> The error that I?m seeing is ?Unable to find the sqldrivers/libqsqlite >> plugin from QT4 under /home/angel/PV-Build/install/../plugins. The issue >> is that the plugins directory is in ?install/plugins? not >> ?install/../plugins?. If I make that change in qt4.functions.cmake, the >> install completes successfully. > > Oops, I got some logic mixed up when doing that bit. Here's a PR for the > common superbuild to fix this: > > https://gitlab.kitware.com/paraview/common-superbuild/merge_requests/127 > > --Ben > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -- Cory Quammen Staff R&D Engineer Kitware, Inc. From david.lonie at kitware.com Wed Jan 4 15:36:39 2017 From: david.lonie at kitware.com (David Lonie) Date: Wed, 4 Jan 2017 15:36:39 -0500 Subject: [Paraview] Custom Glyph In-Reply-To: References: Message-ID: On Wed, Jan 4, 2017 at 2:55 PM, Bob Flandard wrote: > Hi Dave, > > The multi-colored glyph mechanism using using multi-block data is already > supported (see attached), but as I mentioned in my original message, > there's an error with it if the input point data to the custom glyph has > associated results data. > Ah, gotcha -- yes, that will work. I was thinking of the case where not only would the colors of the components differ, but the colors would also vary from point to point. That was recently requested but no feasible with the current glyphing code. Cheers, Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.lonie at kitware.com Wed Jan 4 16:00:02 2017 From: david.lonie at kitware.com (David Lonie) Date: Wed, 4 Jan 2017 16:00:02 -0500 Subject: [Paraview] Custom source glyph error In-Reply-To: References: Message-ID: I dug into the error a bit and at a glance, it seems like it might be an issue with the vtkCompositeDataPipeline (pinging Berk for this since he knows more about composite pipelines). The stack for the error is: 1 vtkDataObjectTree::SetDataSetFrom vtkDataObjectTree.cxx:305 2 vtkDataObjectTree::SetDataSet vtkDataObjectTree.cxx:242 3 vtkCompositeDataPipeline::ExecuteEach vtkCompositeDataPipeline.cxx:310 4 vtkCompositeDataPipeline::ExecuteSimpleAlgorithm vtkCompositeDataPipeline.cxx:398 5 vtkCompositeDataPipeline::ExecuteData vtkCompositeDataPipeline.cxx:167 ... Since the glyph filter is not equipped to handle composite glyphs, the pipeline iterates through all of the datasets in the composite glyph source and executes the filter for each of them, combining the outputs into another composite dataset. But for some reason, the output composite dataset doesn't seem to match the input composite dataset's structure. The odd thing I see is that ExecuteSimpleAlgorithm does call CopyStructure before iterating through the glyphs at vtkCompositeDataPipeline:369. Not sure why things are mismatched when the output is updated. On Wed, Jan 4, 2017 at 12:46 PM, Bob Flandard wrote: > Hi Dave, > > In the state file, the glyph source is already polyData - created using > the sphere source (sensibly the gui doesn't allow selection of a non > polyData glyph source). > > The composite dataset feature will be very useful for multi colored glyphs. > > Thanks, Bob > > On 4 January 2017 at 17:25, David Lonie wrote: > >> I believe the issue here is that the glyph source must be polydata at the >> moment. Does a dataset surface filter (or similar) help? >> >> I mentioned on the other thread that I'm working on improving the glyph >> representation so you won't need to use the filter to get custom glyphs. >> This patch will also add the ability to use a composite dataset (with >> polydata leaves) as the glyph source. >> >> Cheers, >> Dave >> >> On Wed, Jan 4, 2017 at 8:02 AM, Bob Flandard wrote: >> >>> Hi, >>> >>> I'm getting an error message (see end) using the "glyph with custom >>> source filter" for the case where the input points have associated results >>> data sets and the custom glyph source is of multiblock type. >>> >>> I've attached two small sample state files that demonstrate the issue. >>> >>> The custom glyph should be two hemispheres, one black and one white. One >>> state file shows the desired result, but the point source data has no >>> results data sets associated with it. The other state file has point >>> sources with two associated results data sets (mode1 and mode2) contained >>> in the attached Ensight *.case files. This second file gives the error >>> message below when loading. >>> >>> Is this a bug or is there a filter that implements "CopyStructure", that >>> I should use? >>> >>> Thanks for any suggestions, >>> >>> Bob >>> >>> >>> The error message is: >>> >>> ERROR: In C:\bbd\df0abce0\source-paraview\VTK\Common\DataModel\vtkDataObjectTree.cxx, >>> line 306 >>> vtkMultiBlockDataSet (0000000017C45180): Structure does not match. You >>> must use CopyStructure before calling this method. >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bflandard at gmail.com Wed Jan 4 16:00:44 2017 From: bflandard at gmail.com (Bob Flandard) Date: Wed, 4 Jan 2017 21:00:44 +0000 Subject: [Paraview] Custom Glyph In-Reply-To: References: Message-ID: Excellent! Thanks Dave. Bob On 4 January 2017 at 20:36, David Lonie wrote: > On Wed, Jan 4, 2017 at 2:55 PM, Bob Flandard wrote: > >> Hi Dave, >> >> The multi-colored glyph mechanism using using multi-block data is already >> supported (see attached), but as I mentioned in my original message, >> there's an error with it if the input point data to the custom glyph has >> associated results data. >> > > Ah, gotcha -- yes, that will work. I was thinking of the case where not > only would the colors of the components differ, but the colors would also > vary from point to point. That was recently requested but no feasible with > the current glyphing code. > > Cheers, > Dave > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fabian.wein at fau.de Wed Jan 4 16:38:44 2017 From: fabian.wein at fau.de (Fabian Wein) Date: Wed, 4 Jan 2017 22:38:44 +0100 Subject: [Paraview] Reconfiguring external project Message-ID: Hello, I successfully build my external project via cmake ../paraview-superbuild ? ?DENABLE_paraviewpluginsexternal:BOOL=ON ? my CMakeLists.txt of my external project ist still work in progress. How can I make the cmake ../paraview-superbuild to execute by plugin?s CMakeLists.txt again? Removing ./superbuild/paraviewpluginsexternal-prefix does not help and I found no other stamp file source. Thanks, Fabian From utkarsh.ayachit at kitware.com Wed Jan 4 17:20:50 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 4 Jan 2017 17:20:50 -0500 Subject: [Paraview] [EXTERNAL] Re: Newer object always in front in Render View In-Reply-To: References: <20170104151218.GA28983@avignon> <20170104154115.GA14151@avignon> <119e8085884f491aa43fcdc4a9a8f884@ES01AMSNLNT.srn.sandia.gov> <20170104175159.GA15884@avignon> Message-ID: This indeed sounds like Qt 5 + OpenGL2 rendering backend issue. I am actively working on a fix for that here: https://gitlab.kitware.com/paraview/paraview/merge_requests/1262 https://gitlab.kitware.com/vtk/vtk/merge_requests/2300 Qt5 support in ParaView is not official yet. We hope it have it sorted about before the next release. Utkarsh On Wed, Jan 4, 2017 at 12:53 PM, Ken Martin wrote: > Possibly unrelated, but we did see this odd behavior on some systems with a > paraview built against Qt5. It seems it lacked a depth buffer in that case. > > On Wed, Jan 4, 2017 at 12:51 PM, Robert Sawko wrote: >> >> >> On this computer I have two PV installed. One from AUR and one compiled >> from >> OpenFOAM third party directory. The OpenFOAM works fine. It does say >> "Legacy >> Rendering Backend" in the title bar which may or may not be significant. >> The >> computer is running NVidia drivers and the card is Quadro. But I am >> reproducing >> this problem on another Arch machine with some Intel integrated graphics >> card. >> >> I'll try now Alan's suggestion and download it from Kitware directly. >> >> Robert >> -- >> The finger of icy death >> https://www.youtube.com/watch?v=WyWn1XJ9kTE >> http://en.wikipedia.org/wiki/Brinicle >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview > > > > > -- > Ken Martin PhD > Chairman & CFO > Kitware Inc. > 28 Corporate Drive > Clifton Park NY 12065 > 518 371 3971 > > This communication, including all attachments, contains confidential and > legally privileged information, and it is intended only for the use of the > addressee. Access to this email by anyone else is unauthorized. If you are > not the intended recipient, any disclosure, copying, distribution or any > action taken in reliance on it is prohibited and may be unlawful. If you > received this communication in error please notify us immediately and > destroy the original message. Thank you. > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From bflandard at gmail.com Wed Jan 4 18:11:46 2017 From: bflandard at gmail.com (Bob Flandard) Date: Wed, 4 Jan 2017 23:11:46 +0000 Subject: [Paraview] Custom source glyph error In-Reply-To: References: Message-ID: Hi Dave, Thanks for looking at that. I've experimented with creating point results data within ParaView (rather than importing it from the Ensight *.case file) using the programmable python filter and code stolen from the wiki (see attached state file). In this case it seems that everything works as expected with no error messages and as a bonus it also allows contouring the results data on the glyphs, which you mentioned in a previous message. One fix would be to convert all my data files from Ensight to vtkPolydata, but I think that may be more effort than it's worth and would possible open a can of malevolent worms. Maybe the Ensight data format isn't being converted internally to the same format as the native vtk format. Thanks again, Bob On 4 January 2017 at 21:00, David Lonie wrote: > I dug into the error a bit and at a glance, it seems like it might be an > issue with the vtkCompositeDataPipeline (pinging Berk for this since he > knows more about composite pipelines). > > The stack for the error is: > > 1 vtkDataObjectTree::SetDataSetFrom vtkDataObjectTree.cxx:305 > 2 vtkDataObjectTree::SetDataSet vtkDataObjectTree.cxx:242 > 3 vtkCompositeDataPipeline::ExecuteEach vtkCompositeDataPipeline.cxx:310 > 4 vtkCompositeDataPipeline::ExecuteSimpleAlgorithm > vtkCompositeDataPipeline.cxx:398 > 5 vtkCompositeDataPipeline::ExecuteData vtkCompositeDataPipeline.cxx:167 > ... > > Since the glyph filter is not equipped to handle composite glyphs, the > pipeline iterates through all of the datasets in the composite glyph source > and executes the filter for each of them, combining the outputs into > another composite dataset. But for some reason, the output composite > dataset doesn't seem to match the input composite dataset's structure. > > The odd thing I see is that ExecuteSimpleAlgorithm does call CopyStructure > before iterating through the glyphs at vtkCompositeDataPipeline:369. Not > sure why things are mismatched when the output is updated. > > On Wed, Jan 4, 2017 at 12:46 PM, Bob Flandard wrote: > >> Hi Dave, >> >> In the state file, the glyph source is already polyData - created using >> the sphere source (sensibly the gui doesn't allow selection of a non >> polyData glyph source). >> >> The composite dataset feature will be very useful for multi colored >> glyphs. >> >> Thanks, Bob >> >> On 4 January 2017 at 17:25, David Lonie wrote: >> >>> I believe the issue here is that the glyph source must be polydata at >>> the moment. Does a dataset surface filter (or similar) help? >>> >>> I mentioned on the other thread that I'm working on improving the glyph >>> representation so you won't need to use the filter to get custom glyphs. >>> This patch will also add the ability to use a composite dataset (with >>> polydata leaves) as the glyph source. >>> >>> Cheers, >>> Dave >>> >>> On Wed, Jan 4, 2017 at 8:02 AM, Bob Flandard >>> wrote: >>> >>>> Hi, >>>> >>>> I'm getting an error message (see end) using the "glyph with custom >>>> source filter" for the case where the input points have associated results >>>> data sets and the custom glyph source is of multiblock type. >>>> >>>> I've attached two small sample state files that demonstrate the issue. >>>> >>>> The custom glyph should be two hemispheres, one black and one white. >>>> One state file shows the desired result, but the point source data has no >>>> results data sets associated with it. The other state file has point >>>> sources with two associated results data sets (mode1 and mode2) contained >>>> in the attached Ensight *.case files. This second file gives the error >>>> message below when loading. >>>> >>>> Is this a bug or is there a filter that implements "CopyStructure", >>>> that I should use? >>>> >>>> Thanks for any suggestions, >>>> >>>> Bob >>>> >>>> >>>> The error message is: >>>> >>>> ERROR: In C:\bbd\df0abce0\source-paraview\VTK\Common\DataModel\vtkDataObjectTree.cxx, >>>> line 306 >>>> vtkMultiBlockDataSet (0000000017C45180): Structure does not match. You >>>> must use CopyStructure before calling this method. >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: >>>> http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: custom glyph working with points that have data sets.zip Type: application/zip Size: 25971 bytes Desc: not available URL: From Mark.Olesen at esi-group.com Wed Jan 4 09:48:26 2017 From: Mark.Olesen at esi-group.com (Mark Olesen) Date: Wed, 4 Jan 2017 14:48:26 +0000 Subject: [Paraview] upgrading reader module/plugin Message-ID: I'm currently upgrading a reader module from using a pqAutoGeneratedObjectPanel to a using a property group widget (as per http://www.paraview.org/Wiki/Plugin_HowTo#Adding_Customizations_for_Properties_Panel). I have my bunch of properties in a PropertyGroup and have a panel_widget associated with them. Everything loads up, and using printf() I can verify that the property values are all being updated. However, not only does it seems rather clunky, I cannot get the "Apply" button on the property panel to notice when the property values have been updated. Here's a basic sketch of what I have: // Get the property from the group (with down-cast): interpolateFields_ = group->GetProperty("interpolate"); // Provide a checkbox as widget for it - two-column layout. QCheckBox* b = new QCheckBox(prop->GetXMLLabel(), this); form->addWidget(b, row, col, Qt::AlignLeft); // Connect to slot: connect(b, SIGNAL(toggled(bool)), this, SLOT(interpolateFields(bool))); // This is ugly, but seems to be needed??? interpolateFields_->SetImmediateUpdate(true); // And the slot itself void interpolateFields(bool checked) { interpolateFields_->SetElement(0, checked); // this->setModified(); //^^^ used to work with pqAutoGeneratedObjectPanel } I used to rely on the setModified() method from the pqAutoGeneratedObjectPanel, but now can't seem to get from the SMproxy to the pqProxy or whatever. Or am I going about this entirely the wrong way? FWIW, here are the relevant sub-entries from the XML, in case there is something missing there: ... Unfortunately, the Examples/Plugins/PropertyWidgets is a bit scanty here. Thanks for any advice, /mark From utkarsh.ayachit at kitware.com Wed Jan 4 22:52:32 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 4 Jan 2017 22:52:32 -0500 Subject: [Paraview] upgrading reader module/plugin In-Reply-To: References: Message-ID: Mark, As you can expect, connecting Qt widgets to vtkSMProperty's on proxies in a two-way-link is common in ParaView panels and hence ParaView provides quite a few ways for doing that. For your use-case, where you're connecting a QCheckBox to an IntVectorProperty on the proxy, your pqPropertyWidget subclass can do something like the following: Assuming your XML for the group is as follows: QCheckBox *checkbox = ... vtkSMProperty* smProperty = smgroup->GetProperty("InterpolateFields"); this->addPropertyLink(checkbox, "checked", SIGNAL(toggled(bool), smProperty); That should do it. Utkarsh On Wed, Jan 4, 2017 at 9:48 AM, Mark Olesen wrote: > I'm currently upgrading a reader module from using a pqAutoGeneratedObjectPanel to a using a property group widget (as per http://www.paraview.org/Wiki/Plugin_HowTo#Adding_Customizations_for_Properties_Panel). > > I have my bunch of properties in a PropertyGroup and have a panel_widget associated with them. Everything loads up, and using printf() I can verify that the property values are all being updated. > However, not only does it seems rather clunky, I cannot get the "Apply" button on the property panel to notice when the property values have been updated. > > Here's a basic sketch of what I have: > > // Get the property from the group (with down-cast): > interpolateFields_ = group->GetProperty("interpolate"); > > // Provide a checkbox as widget for it - two-column layout. > QCheckBox* b = new QCheckBox(prop->GetXMLLabel(), this); > form->addWidget(b, row, col, Qt::AlignLeft); > > // Connect to slot: > connect(b, SIGNAL(toggled(bool)), this, SLOT(interpolateFields(bool))); > > // This is ugly, but seems to be needed??? > interpolateFields_->SetImmediateUpdate(true); > > // And the slot itself > void interpolateFields(bool checked) > { > interpolateFields_->SetElement(0, checked); > // this->setModified(); > //^^^ used to work with pqAutoGeneratedObjectPanel > } > > I used to rely on the setModified() method from the pqAutoGeneratedObjectPanel, but now can't seem to get from the SMproxy to the pqProxy or whatever. > > Or am I going about this entirely the wrong way? > FWIW, here are the relevant sub-entries from the XML, in case there is something missing there: > > name="InterpolateFields" > command="SetInterpolateVolFields" > number_of_elements="1" > default_values="1" > animateable="0"> > > > > > label="General Controls" > panel_widget="my_reader_controls"> > > ... > > > Unfortunately, the Examples/Plugins/PropertyWidgets is a bit scanty here. > > Thanks for any advice, > > /mark > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From cory.quammen at kitware.com Wed Jan 4 23:59:31 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 4 Jan 2017 23:59:31 -0500 Subject: [Paraview] Animating a function of a field In-Reply-To: <6377e840-12e0-a63f-5792-d5880d2759f8@lspr.swiss> References: <3ce5a9.6f5d.15964043482.Coremail.yzhzhang@ipe.ac.cn> <6377e840-12e0-a63f-5792-d5880d2759f8@lspr.swiss> Message-ID: Aleksejs, The following should work: * add a Programmable Filter to the source that produces the unstructured grid with f and g. Set the Script property to data = self.GetOutput() data.ShallowCopy(self.GetInput()) and the RequestInformation Script to timeSteps = range(100) outInfo = self.GetOutputInformation(0) timeRange = [timeSteps[0], timeSteps[-1]] outInfo.Set(vtk.vtkStreamingDemandDrivenPipeline.TIME_RANGE(), timeRange, 2) outInfo.Set(vtk.vtkStreamingDemandDrivenPipeline.TIME_STEPS(), timeSteps, len(timeSteps)) You can change timeSteps to whatever values you want the time variable to take on. * Add a Python Calculator to the Programmable Filter, and set the expression to f * sin(t_value) + g * cos(t_value) Optionally change the "Array Name" property to "h". You can then visualize the h field however you wish. Hope that helps, Cory On Tue, Jan 3, 2017 at 10:13 AM, Aleksejs Fomins wrote: > Dear Paraview, > > I have a 3d unstructured mesh with two fields defined over it - f(x,y,z) and g(x,y,z) > I want to create a movie of a following function > > h(t) = f * sin(t) + g * cos(t) > > where t is time. How would you do it? > > Best regards, > Aleksejs Fomins > > PhD Student in Nanophotonics, EPF Lausanne, Switzerland > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -- Cory Quammen Staff R&D Engineer Kitware, Inc. From robertsawko at gmail.com Thu Jan 5 05:44:23 2017 From: robertsawko at gmail.com (Robert Sawko) Date: Thu, 5 Jan 2017 10:44:23 +0000 Subject: [Paraview] [EXTERNAL] Re: Newer object always in front in Render View In-Reply-To: References: <20170104151218.GA28983@avignon> <20170104154115.GA14151@avignon> <119e8085884f491aa43fcdc4a9a8f884@ES01AMSNLNT.srn.sandia.gov> <20170104175159.GA15884@avignon> Message-ID: <20170105104423.GA5607@avignon> Ok. Yes I have now recompiled 5.2 version with Qt4 and sane render view is here again. I will try to come up with a fix for AUR paraview package. By the way, I probably gave you wrong info on my renderers etc. I've now noticed the info is available in Help->About and it reads: OpenGL Renderer: Mesa DRI Intel(R) Haswell Mobile Is that right? Considering I've got NVidia card should I be using a generic driver? Best wishes, Robert -- This is NOT why airplanes fly http://www.grc.nasa.gov/WWW/k-12/airplane/wrong1.html From fabian.wein at fau.de Thu Jan 5 07:07:32 2017 From: fabian.wein at fau.de (Fabian Wein) Date: Thu, 5 Jan 2017 13:07:32 +0100 Subject: [Paraview] ParaViewConfig.cmake created too late with ENABLE_paraviewpluginsexternal Message-ID: <789dcd63-5dc9-70de-f414-07fb6b9c75b0@fau.de> I think there is still an issue building plugins via -DENABLE_paraviewpluginsexternal:BOOL=ON when building paraview-superbuild. cmake ../paraview-superbuild -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_TESTING=OFF -DENABLE_cxx11=ON -DENABLE_qt5=ON -DENABLE_boost:BOOL=ON -DENABLE_hdf5:BOOL=ON -DENABLE_zlib:BOOL=ON -DENABLE_png:BOOL=ON -Dsuperbuild_download_location=$HOME/code/cfsdepscache/paraview -DENABLE_paraviewpluginsexternal:BOOL=ON -Dparaview_PLUGINS_EXTERNAL:STRING=CFSReader -Dparaview_PLUGIN_CFSReader_PATH:PATH=$METABUILD/../plugins/CFSReader results in the error CMake Error at ~/code/cfs_paraview/plugins/CFSReader/CMakeLists.txt:43 (FIND_PACKAGE): By not providing "FindParaView.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "ParaView", but CMake did not find one. Could not find a package configuration file provided by "ParaView" with any of the following names: ParaViewConfig.cmake paraview-config.cmake Add the installation prefix of "ParaView" to CMAKE_PREFIX_PATH or set "ParaView_DIR" to a directory containing one of the above files. If "ParaView" provides a separate development package or SDK, be sure it has been installed. And indeed ParaViewConfig.cmake does not exist yet in ParaView_DIR=~/code/cfs_paraview/metabuild/build/superbuild/paraview/build It works when I do the cmake ../paraview-superbuild first without -DENABLE_paraviewpluginsexternal:BOOL=ON ... and then a second time with (as shown above). However, we want to build the paraview-superbuild with our plugin automatically (e.g. in our nightly builds) with an own cmake project where paraview-superbuild is an external project. Do I something wrong? Is this a bug? Any hint on how to do a workaround? Thanks! Fabian From debopamg at gmail.com Thu Jan 5 07:12:54 2017 From: debopamg at gmail.com (Debopam Ghoshal) Date: Thu, 5 Jan 2017 17:42:54 +0530 Subject: [Paraview] Error while launching Paraview (and Paraview Web) in Window 10 In-Reply-To: References: Message-ID: Hi Seb, It looks like the problem is how we specify the path in the command line. We saw that / and \\ does not work as expected. Instead, putting \ works perfectly. So, now we are using the following command, and everything works as expected: .\bin\pvpython.exe "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\ share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" --content "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www" --data "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" --port 8080 Thanks a lot for your help. Much appreciated. Cheers & Best Wishes, Debopam ------------------------------- Cell: +91 98304 10041 On Wed, Jan 4, 2017 at 11:33 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > Still in the same protocol.py file around line 141: > > def getAbsolutePath(self, relativePath): > absolutePath = None > > if self.multiRoot == True: > relPathParts = relativePath.replace('\\', '/').split('/') > realBasePath = self.baseDirectoryMap[relPathParts[0]] > absolutePath = os.path.join(realBasePath, *relPathParts[1:]) > else: > print 'baseDirectory', self.baseDirectory > # ADD DEBUG OUTPUT > absolutePath = os.path.join(self.baseDirectory, relativePath) > print 'absolutePath', absolutePath > # ADD DEBUG OUTPUT > > cleanedPath = os.path.normpath(absolutePath) > print 'cleanedPath', cleanedPath > # ADD DEBUG OUTPUT > > # Make sure the cleanedPath is part of the allowed ones > if self.multiRoot: > for key, value in self.baseDirectoryMap.iteritems(): > if cleanedPath.startswith(value): > return cleanedPath > elif cleanedPath.startswith(self.baseDirectory): > return cleanedPath > > print 'cleanedPath does not start with baseDirectory', > cleanedPath, self.baseDirectory # ADD DEBUG OUTPUT > > return None > > > But looking at the code, I can see why it may not work on windows.... > > Next you can try to replace > > elif cleanedPath.startswith(self.baseDirectory): > > by > > elif cleanedPath.startswith(os.path.normpath(self.baseDirectory)): > > On Wed, Jan 4, 2017 at 10:40 AM, Debopam Ghoshal > wrote: > >> Hi Seb, >> >> We did print them, and found: >> >> relativePath: can.ex2 >> self.getAbsolutePath(relativePath): [] >> >> I do not have access to the machine right now. But will try out anything >> else you might need shortly. So just let me known what else we need to >> debug. >> >> >> On Wed, Jan 4, 2017 at 22:52 Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> Do you mind printing relativePath so we can understand what you are >>> getting... >>> >>> Then, you most likely will have to debug self.getAbsolutePath(relativeP >>> ath) call... >>> >>> On Wed, Jan 4, 2017 at 9:55 AM, Debopam Ghoshal >>> wrote: >>> >>> Hi Seb, >>> >>> We made the changes in the protocols.py file (highlighted) >>> >>> @exportRpc("pv.proxy.manager.create.reader") >>> def open(self, relativePath): >>> """ >>> Open relative file paths, attempting to use the file extension >>> to select >>> from the configured readers. >>> """ >>> fileToLoad = [] >>> if type(relativePath) == list: >>> for file in relativePath: >>> validPath = self.getAbsolutePath(file) >>> if validPath: >>> fileToLoad.append(validPath) >>> else: >>> validPath = self.getAbsolutePath(relativePath) >>> if validPath: >>> fileToLoad.append(validPath) >>> if len(fileToLoad) == 0: >>> print "=" * 80 >>> print "file not found" >>> print "fileToLoad: ", fileToLoad >>> print "=" * 80 >>> return { >>> 'success': False, >>> 'reason': 'No valid path name' } >>> >>> >>> >>> The output in the console is a follows: >>> >>> C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit>.\bin\pvpython.exe >>> "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\share\\ >>> paraview-5.2\\web\\visualizer\\server\\pvw-visualizer.py" --content >>> "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\share\\ >>> paraview-5.2\\web\\visualizer\\www" --data >>> "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" --port 8080 >>> 2017-01-04 11:06:38+0530 [-] Log opened. >>> 2017-01-04 11:06:39+0530 [-] Site starting on 8080 >>> 2017-01-04 11:06:39+0530 [-] Starting factory >> instance at 0x0000022A9C7BAF48> >>> 2017-01-04 11:06:43+0530 [HTTPChannel,0,127.0.0.1] "127.0.0.1" - - [ >>> 04/Jan/2017:05:36:43 +0000] "GET / HTTP/1.1" 304 - "-" "Mozilla/5.0 >>> (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) >>> Chrome/55.0.2883.87 Safari/537.36" >>> 2017-01-04 11:06:43+0530 [HTTPChannel,0,127.0.0.1] "127.0.0.1" - - [ >>> 04/Jan/2017:05:36:43 +0000] "POST /paraview/ HTTP/1.1" 404 145 " >>> http://localhost:8080/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) >>> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36" >>> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Client has >>> reconnected, cancelling reaper >>> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] on_connect: >>> connection count = 1 >>> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property >>> BeginValueCapture has no GetData() method, skipping >>> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property >>> CaptureValuesFloat has no GetData() method, skipping >>> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property >>> CaptureZBuffer has no GetData() method, skipping >>> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property >>> EndValueCapture has no GetData() method, skipping >>> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property >>> StartCaptureLuminance has no GetData() method, skipping >>> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property >>> StopCaptureLuminance has no GetData() method, skipping >>> *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] >>> ================================================================================* >>> *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] file not found* >>> *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] fileToLoad: []* >>> *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] >>> ================================================================================* >>> 2017-01-04 11:06:56+0530 [-] Received SIGINT, shutting down. >>> >>> >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> Cell: +91 98304 10041 <+91%2098304%2010041> >>> >>> >>> >>> On Tue, Jan 3, 2017 at 9:05 PM, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>> Ok that mean there is still a path issue when loading a file within >>> ParaViewWeb on Windows. >>> >>> Did you look at the log of that given session to see if any error is >>> printed? >>> >>> You can try to edit the file [lib/site-packages]/paraview/web/protocols.py >>> within the ParaView application (The [...] part is for the path section >>> that I'm not sure of). >>> >>> In the function >>> >>> @exportRpc("pv.proxy.manager.create.reader") >>> def open(self, relativePath): >>> """ >>> Open relative file paths, attempting to use the file extension >>> to select >>> from the configured readers. >>> """ >>> fileToLoad = [] >>> if type(relativePath) == list: >>> for file in relativePath: >>> validPath = self.getAbsolutePath(file) >>> if validPath: >>> fileToLoad.append(validPath) >>> else: >>> validPath = self.getAbsolutePath(relativePath) >>> if validPath: >>> fileToLoad.append(validPath) >>> >>> if len(fileToLoad) == 0: >>> return { 'success': False, 'reason': 'No valid path name' } >>> >>> print "=" * 80 # <------ ADD THAT LINE TO SEE THE PATH >>> YOU TRY TO LOAD >>> print fileToLoad # <------ ADD THAT LINE TO SEE THE PATH YOU >>> TRY TO LOAD >>> print "=" * 80 # <------ ADD THAT LINE TO SEE THE PATH YOU >>> TRY TO LOAD >>> >>> [...] >>> >>> Then look at the log to see which path is used to load that file. >>> >>> Seb >>> >>> On Tue, Jan 3, 2017 at 6:36 AM, Debopam Ghoshal >>> wrote: >>> >>> Hi Seb, >>> >>> 1. We are able to see the orientation axis and also able to rotate them. >>> For example, when we click on can.ex2, we see a blank black screen. Then >>> after we hide the left panel, we are able to see the orientation axis and >>> also rotate them. >>> >>> 2. When we select the Wavelet we were able to view it properly, and was >>> also able to rotate the scene. >>> >>> 3. We tried with both / and \\ but there is no change. The command we >>> are using to launch paraview is as below: >>> >>> a: .\bin\pvpython.exe "C:\\ParaView-5.2.0-Qt4-OpenGL >>> 2-MPI-Windows-64bit\\share\\paraview-5.2\\web\\visualizer\\server\\pvw-visualizer.py" >>> --content "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\share\\ >>> paraview-5.2\\web\\visualizer\\www" --data >>> "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" --port 8080 >>> >>> b: .\bin\pvpython.exe "C:/ParaView-5.2.0-Qt4-OpenGL2 >>> -MPI-Windows-64bit/share/paraview-5.2/web/visualizer/server/pvw-visualizer.py" >>> --content "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/share/ >>> paraview-5.2/web/visualizer/www" --data "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" >>> --port 8080 >>> >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> Cell: +91 98304 10041 <+91%2098304%2010041> >>> >>> >>> >>> On Mon, Jan 2, 2017 at 9:36 PM, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>> Hi Debopam, >>> >>> Do you see the orientation axis? Does it move when you rotate the scene? >>> What happen when you click on "+" and choose the Wavelet? Do you see >>> something? >>> >>> I'm wondering if you still run into an invalid path issue due to / or \. >>> >>> Seb >>> >>> On Mon, Jan 2, 2017 at 6:38 AM, Debopam Ghoshal >>> wrote: >>> >>> Hi Seb, >>> >>> 1. "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" works fine. >>> Now we can see the list of files in the data folder. >>> >>> However, there seems to be some problem with the ParaviewWeb Application >>> (or may be with the graphics driver?). Because we cannot render the sample >>> mesh files (eg: can.ex2) in the visualizer. When we tried to view the files >>> in the desktop application they are displayed without any problems. A >>> screenshot of the graphics driver is attached for your reference. >>> >>> 2. Ok. >>> >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> >>> >>> >>> On Fri, Dec 30, 2016 at 9:02 PM, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>> Hi Debopam, >>> >>> 1) I'm not sure to know what is the issue with the path but try with >>> either: >>> >>> "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" >>> or >>> "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" >>> >>> 2) paraview_console_error.jpg is not an error since you are not using >>> the launcher. So that part is actually expected. >>> For the second error when you try to delete the TimeAnnotation, I'm not >>> sure to know what is the issue. You should know more by looking at the >>> output of the command line. >>> >>> Seb >>> >>> >>> On Fri, Dec 30, 2016 at 12:53 AM, Debopam Ghoshal >>> wrote: >>> >>> (Reposting for a larger audience) >>> >>> Hi Ken, >>> >>> When we start paraview web we noted two things: >>> >>> 1. In the Visualizer, the Files tab is not showing any files. Please >>> refer to the attached screenshot (paraview_home.jpg) >>> 2. There is an error showing up at the browser console >>> (paraview_console_error.jpg, paraview_console_error2.jpg) >>> >>> The paraview startup messages are also given for your reference >>> (paraview_log.jpg) >>> >>> >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> Cell: +91 98304 10041 <+91%2098304%2010041> >>> >>> >>> >>> On Wed, Dec 28, 2016 at 10:35 AM, Debopam Ghoshal >>> wrote: >>> >>> Hi Ken, >>> >>> We finally got a machine where Paraview 5.2 MPI is running without any >>> issues. However, when we start paraview web we noted two things: >>> >>> 1. In the Visualizer, the Files tab is not showing any files. Please >>> refer to the attached screenshot (paraview_home.jpg) >>> 2. There is an error showing up at the browser console >>> (paraview_console_error.jpg, paraview_console_error2.jpg) >>> >>> The paraview startup messages are also given for your reference >>> (paraview_log.jpg) >>> >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> Cell: +91 98304 10041 <+91%2098304%2010041> >>> >>> >>> >>> On Tue, Dec 13, 2016 at 7:03 PM, Ken Martin >>> wrote: >>> >>> ParaView with the old OpenGL backend should work on any windows machine. >>> It may be slow and some of the advanced techniques may not work but the >>> basics will all work. >>> >>> On Tue, Dec 13, 2016 at 5:57 AM, Debopam Ghoshal >>> wrote: >>> >>> Yes Ken, you are right. This is an older machine. So, will it be >>> possible to use ParaView (with the old OpenGL backend) on this machine? Or >>> we need to get a machine with better configuration to run ParaView? >>> >>> Additionally, will it be possible to run ParaView (and ParaViewWeb) on a >>> Windows 10 guest running in VirtualBox on a MacOS host? >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> Cell: +91 98304 10041 >>> >>> >>> >>> On Mon, Dec 12, 2016 at 8:22 PM, Ken Martin >>> wrote: >>> >>> So if I am reading this correctly the machine has a rv516 GPU which was >>> released in 2007. That GPU does not support anything beyond OpenGL 2.0 >>> which means you would need to use the old OpenGL backend with VTK/ParaView. >>> >>> http://www.gpureview.com/ati-rv516-chip-135.html >>> >>> >>> >>> On Mon, Dec 12, 2016 at 9:21 AM, Debopam Ghoshal >>> wrote: >>> >>> Hi Ken, >>> >>> This is a standard desktop PC running Window 10 Professional Edition. If >>> there is something I need to install on this machine, please let me know. >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> Cell: +91 98304 10041 >>> >>> >>> >>> On Mon, Dec 12, 2016 at 7:18 PM, Ken Martin >>> wrote: >>> >>> Is this a server maybe? It seems like the system lacks any OpenGL >>> support beyond the default Microsoft implementation which is circa OpenGL >>> 1.4 I believe. >>> >>> On Sun, Dec 11, 2016 at 11:51 PM, Debopam Ghoshal >>> wrote: >>> >>> Hi Ken, >>> >>> When I ran the command: vtkRenderingOpenGL2CxxTests.exe TestAppleBug >>> there was an error. A screenshot of the error is attached for your >>> reference. Please let me know if you require any other details. >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> Cell: +91 98304 10041 >>> >>> >>> >>> On Fri, Dec 9, 2016 at 7:17 PM, Ken Martin >>> wrote: >>> >>> Here is a new version of the executable, can you try it? >>> >>> >>> >>> On Fri, Dec 9, 2016 at 1:42 AM, Debopam Ghoshal >>> wrote: >>> >>> Hi Cory and Ken, >>> >>> Thanks a lot for your prompt response. >>> >>> Below are the details you asked: >>> 1. display-props.png - screenshot of: Settings -> System -> Display -> >>> Advanced display settings -> Display adapter properties >>> 2. vtkrendering.png - screenshot of the error which came up when I ran: >>> vtkRenderingOpenGL2CxxTests.exe TestAppleBug >>> >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> >>> >>> >>> >>> On Thu, Dec 8, 2016 at 10:49 PM, Ken Martin >>> wrote: >>> >>> Can you try running the following executable (rename .foo to .exe) from >>> a cmd shell as >>> >>> vtkRenderingOpenGL2CxxTests.exe TestAppleBug >>> >>> and see if it crashes, and send the output is produces >>> >>> Thanks >>> Ken >>> >>> >>> >>> On Thu, Dec 8, 2016 at 10:46 AM, Cory Quammen >>> wrote: >>> >>> Hi Depobam, >>> >>> >>> >>> >>> >>> Thanks for trying out the other ParaView versions. I suspect there >>> >>> >>> might be a problem with the new OpenGL backend on your system as that >>> >>> >>> has changed between ParaView 4 and 5. What kind of graphics card do >>> >>> >>> you have on your system. You can get some of the display properties by >>> >>> >>> going to >>> >>> >>> >>> >>> >>> Settings -> System -> Display -> Advanced display settings -> Display >>> >>> >>> adapter properties >>> >>> >>> >>> >>> >>> Ken, >>> >>> >>> >>> >>> >>> Are there any things Depobam can do on his Windows 10 system to help >>> >>> >>> diagnose whether the OpenGL2 backend is causing the crash he is seeing >>> >>> >>> in ParaView? >>> >>> >>> >>> >>> >>> Thanks, >>> >>> >>> Cory >>> >>> >>> >>> >>> >>> On Thu, Dec 8, 2016 at 2:51 AM, Debopam Ghoshal >>> wrote: >>> >>> >>> > Hi Cory, >>> >>> >>> > >>> >>> >>> > I tried to run Paraview 5.1.2, but it gives the same error. However, I >>> was >>> >>> >>> > able to run Paraview 4.1 successfully on Window 10. >>> >>> >>> > >>> >>> >>> > But ParaviewWeb failed to run as it seems that version 4.1 does not >>> have the >>> >>> >>> > python script used for running ParaviewWeb. >>> >>> >>> > >>> >>> >>> > >>> >>> >>> > >>> >>> >>> > Cheers & Best Wishes, >>> >>> >>> > Debopam >>> >>> >>> > ------------------------------- >>> >>> >>> > Cell: +91 98304 10041 >>> >>> >>> > >>> >>> >>> > On Wed, Dec 7, 2016 at 5:14 AM, Sebastien Jourdain >>> >>> >>> > wrote: >>> >>> >>> >> >>> >>> >>> >> Cory you need to provide an absolute path as argument "c:\.....". >>> >>> >>> >> >>> >>> >>> >> But the issue seems to be on ParaView itself. The (Qt) executable >>> crash at >>> >>> >>> >> startup on there machine, regardless of their goal to use ParaViewWeb >>> down >>> >>> >>> >> the road. >>> >>> >>> >> >>> >>> >>> >> Seb >>> >>> >>> >> >>> >>> >>> >> On Tue, Dec 6, 2016 at 10:06 AM, Cory Quammen < >>> cory.quammen at kitware.com> >>> >>> >>> >> wrote: >>> >>> >>> >>> >>> >>> >>> >>> Correction: I could run ParaViewWeb on Windows 10, but I couldn't >>> load >>> >>> >>> >>> data through the web client. I didn't get pvpython.exe to crash, >>> >>> >>> >>> though. >>> >>> >>> >>> >>> >>> >>> >>> On Tue, Dec 6, 2016 at 11:35 AM, Cory Quammen < >>> cory.quammen at kitware.com> >>> >>> >>> >>> wrote: >>> >>> >>> >>> > Debopam, >>> >>> >>> >>> > >>> >>> >>> >>> > I just tried what you ran on Windows 10 and it ran fine for me. One >>> >>> >>> >>> > thing I had to fix, which I doubt is the cause of your crash, is >>> the >>> >>> >>> >>> > data argument is actually just --data and not --data-dir. >>> >>> >>> >>> > >>> >>> >>> >>> > We've had some other reports of 5.2 crashing on start up on >>> Windows. >>> >>> >>> >>> > Did 5.1 run fine for you? >>> >>> >>> >>> > >>> >>> >>> >>> > I wonder if you could try installing ParaView 4.4 from >>> >>> >>> >>> > http://www.paraview.org/download/ to see if it runs. If it does, >>> that >>> >>> >>> >>> > gives me a clue on where to look. >>> >>> >>> >>> > >>> >>> >>> >>> > Thanks, >>> >>> >>> >>> > Cory >>> >>> >>> >>> > >>> >>> >>> >>> > On Tue, Dec 6, 2016 at 5:23 AM, Debopam Ghoshal < >>> debopamg at gmail.com> >>> >>> >>> >>> > wrote: >>> >>> >>> >>> >> Hi, >>> >>> >>> >>> >> >>> >>> >>> >>> >> I followed the instructions given here, but I am getting the >>> following >>> >>> >>> >>> >> error: >>> >>> >>> >>> >> >>> >>> >>> >>> >> >>> >>> >>> >>> >> Paraview Installation Directory: >>> >>> >>> >>> >> C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit >>> >>> >>> >>> >> >>> >>> >>> >>> >> Command: >>> >>> >>> >>> >> >>> >>> >>> >>> >> .\bin\pvpython.exe \ >>> >>> >>> >>> >> >>> >>> >>> >>> >> >>> >>> >>> >>> >> >>> >>> >>> >>> >> "C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\share\paraview- >>> 5.2\web\visualizer\server\pvw-visualizer.py" >>> >>> >>> >>> >> \ >>> >>> >>> >>> >> >>> >>> >>> >>> >> --content >>> >>> >>> >>> >> >>> >>> >>> >>> >> "C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\share\paraview- >>> 5.2\web\visualizer\www\" >>> >>> >>> >>> >> \ >>> >>> >>> >>> >> >>> >>> >>> >>> >> --data-dir "C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\data\" >>> \ >>> >>> >>> >>> >> >>> >>> >>> >>> >> --port 8080 >>> >>> >>> >>> >> >>> >>> >>> >>> >> >>> >>> >>> >>> >> Output: >>> >>> >>> >>> >> >>> >>> >>> >>> >> Console: 2016-12-02 10:09:51+0530 [-] Log opened. >>> >>> >>> >>> >> >>> >>> >>> >>> >> Error Window screenshot attached (PVW-Error.png) >>> >>> >>> >>> >> >>> >>> >>> >>> >> >>> >>> >>> >>> >> Other Details: >>> >>> >>> >>> >> >>> >>> >>> >>> >> OS: Windows 10 Professional >>> >>> >>> >>> >> >>> >>> >>> >>> >> RAM: 8GB >>> >>> >>> >>> >> >>> >>> >>> >>> >> A screenshot of the system properties is attached for your >>> reference >>> >>> >>> >>> >> (Window10-SystemProps.png) >>> >>> >>> >>> >> >>> >>> >>> >>> >> Similar error occurred when I launched the Paraview desktop >>> >>> >>> >>> >> application >>> >>> >>> >>> >> (ParaviewError.png). >>> >>> >>> >>> >> >>> >>> >>> >>> >> >>> >>> >>> >>> >> Cheers & Best Wishes, >>> >>> >>> >>> >> >>> >>> >>> >>> >> Debopam >>> >>> >>> >>> >> ------------------------------- >>> >>> >>> >>> >> >>> >>> >>> >>> >> >>> >>> >>> >>> >> _______________________________________________ >>> >>> >>> >>> >> Powered by www.kitware.com >>> >>> >>> >>> >> >>> >>> >>> >>> >> Visit other Kitware open-source projects at >>> >>> >>> >>> >> http://www.kitware.com/opensource/opensource.html >>> >>> >>> >>> >> >>> >>> >>> >>> >> Please keep messages on-topic and check the ParaView Wiki at: >>> >>> >>> >>> >> http://paraview.org/Wiki/ParaView >>> >>> >>> >>> >> >>> >>> >>> >>> >> Search the list archives at: http://markmail.org/search/?q= >>> ParaView >>> >>> >>> >>> >> >>> >>> >>> >>> >> Follow this link to subscribe/unsubscribe: >>> >>> >>> >>> >> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >>> >>> >> >>> >>> >>> >>> > >>> >>> >>> >>> > >>> >>> >>> >>> > >>> >>> >>> >>> > -- >>> >>> >>> >>> > Cory Quammen >>> >>> >>> >>> > Staff R&D Engineer >>> >>> >>> >>> > Kitware, Inc. >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> -- >>> >>> >>> >>> Cory Quammen >>> >>> >>> >>> Staff R&D Engineer >>> >>> >>> >>> Kitware, Inc. >>> >>> >>> >>> _______________________________________________ >>> >>> >>> >>> Powered by www.kitware.com >>> >>> >>> >>> >>> >>> >>> >>> Visit other Kitware open-source projects at >>> >>> >>> >>> http://www.kitware.com/opensource/opensource.html >>> >>> >>> >>> >>> >>> >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> >>> >>> >>> http://paraview.org/Wiki/ParaView >>> >>> >>> >>> >>> >>> >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> >>> >>> >>> >>> >>> >>> Follow this link to subscribe/unsubscribe: >>> >>> >>> >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >>> >> >>> >>> >>> >> >>> >>> >>> > >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> -- >>> >>> >>> Cory Quammen >>> >>> >>> Staff R&D Engineer >>> >>> >>> Kitware, Inc. >>> >>> >>> >>> >>> >>> -- >>> Ken Martin PhD >>> Chairman & CFO >>> Kitware Inc. >>> 28 Corporate Drive >>> Clifton Park NY 12065 >>> 518 371 3971 >>> >>> This communication, >>> >>> including all attachments, contains confidential and legally privileged >>> >>> information, and it is intended only for the use of the addressee. >>> Access to this email by anyone else is >>> >>> unauthorized. If you are not the intended recipient, any disclosure, >>> copying, >>> >>> distribution or any action taken in reliance on it is prohibited and may >>> be >>> >>> unlawful. If you received this communication in error please notify us >>> >>> immediately and destroy the original message. >>> >>> Thank you. >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> -- >>> Ken Martin PhD >>> Chairman & CFO >>> Kitware Inc. >>> 28 Corporate Drive >>> Clifton Park NY 12065 >>> 518 371 3971 >>> >>> This communication, >>> >>> including all attachments, contains confidential and legally privileged >>> >>> information, and it is intended only for the use of the addressee. >>> Access to this email by anyone else is >>> >>> unauthorized. If you are not the intended recipient, any disclosure, >>> copying, >>> >>> distribution or any action taken in reliance on it is prohibited and may >>> be >>> >>> unlawful. If you received this communication in error please notify us >>> >>> immediately and destroy the original message. >>> >>> Thank you. >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> -- >>> Ken Martin PhD >>> Chairman & CFO >>> Kitware Inc. >>> 28 Corporate Drive >>> Clifton Park NY 12065 >>> 518 371 3971 >>> >>> This communication, >>> >>> including all attachments, contains confidential and legally privileged >>> >>> information, and it is intended only for the use of the addressee. >>> Access to this email by anyone else is >>> >>> unauthorized. If you are not the intended recipient, any disclosure, >>> copying, >>> >>> distribution or any action taken in reliance on it is prohibited and may >>> be >>> >>> unlawful. If you received this communication in error please notify us >>> >>> immediately and destroy the original message. >>> >>> Thank you. >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> -- >>> Ken Martin PhD >>> Chairman & CFO >>> Kitware Inc. >>> 28 Corporate Drive >>> Clifton Park NY 12065 >>> 518 371 3971 >>> >>> This communication, >>> >>> including all attachments, contains confidential and legally privileged >>> >>> information, and it is intended only for the use of the addressee. >>> Access to this email by anyone else is >>> >>> unauthorized. If you are not the intended recipient, any disclosure, >>> copying, >>> >>> distribution or any action taken in reliance on it is prohibited and may >>> be >>> >>> unlawful. If you received this communication in error please notify us >>> >>> immediately and destroy the original message. >>> >>> Thank you. >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> -- >>> Ken Martin PhD >>> Chairman & CFO >>> Kitware Inc. >>> 28 Corporate Drive >>> Clifton Park NY 12065 >>> 518 371 3971 <(518)%20371-3971> >>> >>> This communication, >>> >>> including all attachments, contains confidential and legally privileged >>> >>> information, and it is intended only for the use of the addressee. >>> Access to this email by anyone else is >>> >>> unauthorized. If you are not the intended recipient, any disclosure, >>> copying, >>> >>> distribution or any action taken in reliance on it is prohibited and may >>> be >>> >>> unlawful. If you received this communication in error please notify us >>> >>> immediately and destroy the original message. >>> >>> Thank you. >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> >>> >>> Powered by www.kitware.com >>> >>> >>> >>> >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> >>> >>> >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> >>> >>> >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> >>> >>> >>> >>> Follow this link to subscribe/unsubscribe: >>> >>> >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sandy.mckenzie at kitware.com Thu Jan 5 09:14:07 2017 From: sandy.mckenzie at kitware.com (Sandy McKenzie) Date: Thu, 5 Jan 2017 09:14:07 -0500 Subject: [Paraview] HPC Visualization Survey to Deliver Better ParaView Experience Message-ID: Hi, Kitware and NVIDIA are collaborating their efforts to understand the various aspects of the data that is visually analyzed by ParaView users. Your responses will help us better develop features and offer products that address your visualization needs. We request you to take a short survey, which will take less than 5 minutes to complete. This survey is completely anonymous. However, providing us your contact information will allow us to offer you early access to new products in the future. You will also automatically enter a raffle to win an NVIDIA Shield Android TV. Survey link: https://www.surveymonkey.com/r/HPCVizSurvey We appreciate your time and feedback. Regards, Kitware and NVIDIA teams -------------- next part -------------- An HTML attachment was scrubbed... URL: From jyrki.hokkanen at csc.fi Thu Jan 5 09:23:45 2017 From: jyrki.hokkanen at csc.fi (Jyrki Hokkanen) Date: Thu, 5 Jan 2017 16:23:45 +0200 Subject: [Paraview] Find Data bug In-Reply-To: References: Message-ID: <431a04cc-83f9-c992-bc05-148e28a2d5fe@csc.fi> Hello Please check this ParaView 5.2.0 bug related to "Find Data" dialog and point selection, tested on Kitware linux and windows binaries: Create one "Sources" sphere, theta and phi resolution set to 800. Selecting half of the points with a mouse using "Select Points Through" method takes a second or two. Now open "Find Data" window, and just close it without doing any selection query. After this, selecting the same amount of points takes a minute or so. This bug was not present on version 5.1.2. Jyrki -- Jyrki Hokkanen PhD Digital Image and Computer Graphics Specialist CSC - IT Center for Science Ltd. www.csc.fi From sebastien.jourdain at kitware.com Thu Jan 5 09:33:11 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Thu, 5 Jan 2017 07:33:11 -0700 Subject: [Paraview] Error while launching Paraview (and Paraview Web) in Window 10 In-Reply-To: References: Message-ID: Great, so the initial issue was just that you had an extra "\" at the end of your path. On Thu, Jan 5, 2017 at 5:12 AM, Debopam Ghoshal wrote: > Hi Seb, > > It looks like the problem is how we specify the path in the command line. > We saw that / and \\ does not work as expected. Instead, putting \ works > perfectly. So, now we are using the following command, and everything works > as expected: > > .\bin\pvpython.exe "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\ > paraview-5.2\web\visualizer\server\pvw-visualizer.py" --content > "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\ > visualizer\www" --data "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" > --port 8080 > > Thanks a lot for your help. Much appreciated. > > > Cheers & Best Wishes, > Debopam > ------------------------------- > Cell: +91 98304 10041 <+91%2098304%2010041> > > On Wed, Jan 4, 2017 at 11:33 PM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> Still in the same protocol.py file around line 141: >> >> def getAbsolutePath(self, relativePath): >> absolutePath = None >> >> if self.multiRoot == True: >> relPathParts = relativePath.replace('\\', '/').split('/') >> realBasePath = self.baseDirectoryMap[relPathParts[0]] >> absolutePath = os.path.join(realBasePath, *relPathParts[1:]) >> else: >> print 'baseDirectory', self.baseDirectory >> # ADD DEBUG OUTPUT >> absolutePath = os.path.join(self.baseDirectory, relativePath) >> print 'absolutePath', absolutePath >> # ADD DEBUG OUTPUT >> >> cleanedPath = os.path.normpath(absolutePath) >> print 'cleanedPath', cleanedPath >> # ADD DEBUG OUTPUT >> >> # Make sure the cleanedPath is part of the allowed ones >> if self.multiRoot: >> for key, value in self.baseDirectoryMap.iteritems(): >> if cleanedPath.startswith(value): >> return cleanedPath >> elif cleanedPath.startswith(self.baseDirectory): >> return cleanedPath >> >> print 'cleanedPath does not start with baseDirectory', >> cleanedPath, self.baseDirectory # ADD DEBUG OUTPUT >> >> return None >> >> >> But looking at the code, I can see why it may not work on windows.... >> >> Next you can try to replace >> >> elif cleanedPath.startswith(self.baseDirectory): >> >> by >> >> elif cleanedPath.startswith(os.path.normpath(self.baseDirectory)): >> >> On Wed, Jan 4, 2017 at 10:40 AM, Debopam Ghoshal >> wrote: >> >>> Hi Seb, >>> >>> We did print them, and found: >>> >>> relativePath: can.ex2 >>> self.getAbsolutePath(relativePath): [] >>> >>> I do not have access to the machine right now. But will try out anything >>> else you might need shortly. So just let me known what else we need to >>> debug. >>> >>> >>> On Wed, Jan 4, 2017 at 22:52 Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>>> Do you mind printing relativePath so we can understand what you are >>>> getting... >>>> >>>> Then, you most likely will have to debug self.getAbsolutePath(relativeP >>>> ath) call... >>>> >>>> On Wed, Jan 4, 2017 at 9:55 AM, Debopam Ghoshal >>>> wrote: >>>> >>>> Hi Seb, >>>> >>>> We made the changes in the protocols.py file (highlighted) >>>> >>>> @exportRpc("pv.proxy.manager.create.reader") >>>> def open(self, relativePath): >>>> """ >>>> Open relative file paths, attempting to use the file extension >>>> to select >>>> from the configured readers. >>>> """ >>>> fileToLoad = [] >>>> if type(relativePath) == list: >>>> for file in relativePath: >>>> validPath = self.getAbsolutePath(file) >>>> if validPath: >>>> fileToLoad.append(validPath) >>>> else: >>>> validPath = self.getAbsolutePath(relativePath) >>>> if validPath: >>>> fileToLoad.append(validPath) >>>> if len(fileToLoad) == 0: >>>> print "=" * 80 >>>> print "file not found" >>>> print "fileToLoad: ", fileToLoad >>>> print "=" * 80 >>>> return { >>>> 'success': False, >>>> 'reason': 'No valid path name' } >>>> >>>> >>>> >>>> The output in the console is a follows: >>>> >>>> C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit>.\bin\pvpython.exe >>>> "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\share\\pa >>>> raview-5.2\\web\\visualizer\\server\\pvw-visualizer.py" --content >>>> "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\share\\pa >>>> raview-5.2\\web\\visualizer\\www" --data "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" >>>> --port 8080 >>>> 2017-01-04 11:06:38+0530 [-] Log opened. >>>> 2017-01-04 11:06:39+0530 [-] Site starting on 8080 >>>> 2017-01-04 11:06:39+0530 [-] Starting factory >>> instance at 0x0000022A9C7BAF48> >>>> 2017-01-04 11:06:43+0530 [HTTPChannel,0,127.0.0.1] "127.0.0.1" - - [ >>>> 04/Jan/2017:05:36:43 +0000] "GET / HTTP/1.1" 304 - "-" "Mozilla/5.0 >>>> (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) >>>> Chrome/55.0.2883.87 Safari/537.36" >>>> 2017-01-04 11:06:43+0530 [HTTPChannel,0,127.0.0.1] "127.0.0.1" - - [ >>>> 04/Jan/2017:05:36:43 +0000] "POST /paraview/ HTTP/1.1" 404 145 " >>>> http://localhost:8080/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) >>>> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36" >>>> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Client has >>>> reconnected, cancelling reaper >>>> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] on_connect: >>>> connection count = 1 >>>> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property >>>> BeginValueCapture has no GetData() method, skipping >>>> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property >>>> CaptureValuesFloat has no GetData() method, skipping >>>> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property >>>> CaptureZBuffer has no GetData() method, skipping >>>> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property >>>> EndValueCapture has no GetData() method, skipping >>>> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property >>>> StartCaptureLuminance has no GetData() method, skipping >>>> 2017-01-04 11:06:44+0530 [HTTPChannel,2,127.0.0.1] Property >>>> StopCaptureLuminance has no GetData() method, skipping >>>> *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] >>>> ================================================================================* >>>> *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] file not found* >>>> *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] fileToLoad: []* >>>> *2017-01-04 11:06:47+0530 [HTTPChannel,2,127.0.0.1] >>>> ================================================================================* >>>> 2017-01-04 11:06:56+0530 [-] Received SIGINT, shutting down. >>>> >>>> >>>> >>>> Cheers & Best Wishes, >>>> Debopam >>>> ------------------------------- >>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>> >>>> >>>> >>>> On Tue, Jan 3, 2017 at 9:05 PM, Sebastien Jourdain < >>>> sebastien.jourdain at kitware.com> wrote: >>>> >>>> Ok that mean there is still a path issue when loading a file within >>>> ParaViewWeb on Windows. >>>> >>>> Did you look at the log of that given session to see if any error is >>>> printed? >>>> >>>> You can try to edit the file [lib/site-packages]/paraview/web/protocols.py >>>> within the ParaView application (The [...] part is for the path section >>>> that I'm not sure of). >>>> >>>> In the function >>>> >>>> @exportRpc("pv.proxy.manager.create.reader") >>>> def open(self, relativePath): >>>> """ >>>> Open relative file paths, attempting to use the file extension >>>> to select >>>> from the configured readers. >>>> """ >>>> fileToLoad = [] >>>> if type(relativePath) == list: >>>> for file in relativePath: >>>> validPath = self.getAbsolutePath(file) >>>> if validPath: >>>> fileToLoad.append(validPath) >>>> else: >>>> validPath = self.getAbsolutePath(relativePath) >>>> if validPath: >>>> fileToLoad.append(validPath) >>>> >>>> if len(fileToLoad) == 0: >>>> return { 'success': False, 'reason': 'No valid path name' } >>>> >>>> print "=" * 80 # <------ ADD THAT LINE TO SEE THE PATH >>>> YOU TRY TO LOAD >>>> print fileToLoad # <------ ADD THAT LINE TO SEE THE PATH YOU >>>> TRY TO LOAD >>>> print "=" * 80 # <------ ADD THAT LINE TO SEE THE PATH >>>> YOU TRY TO LOAD >>>> >>>> [...] >>>> >>>> Then look at the log to see which path is used to load that file. >>>> >>>> Seb >>>> >>>> On Tue, Jan 3, 2017 at 6:36 AM, Debopam Ghoshal >>>> wrote: >>>> >>>> Hi Seb, >>>> >>>> 1. We are able to see the orientation axis and also able to rotate >>>> them. For example, when we click on can.ex2, we see a blank black screen. >>>> Then after we hide the left panel, we are able to see the orientation axis >>>> and also rotate them. >>>> >>>> 2. When we select the Wavelet we were able to view it properly, and was >>>> also able to rotate the scene. >>>> >>>> 3. We tried with both / and \\ but there is no change. The command we >>>> are using to launch paraview is as below: >>>> >>>> a: .\bin\pvpython.exe "C:\\ParaView-5.2.0-Qt4-OpenGL >>>> 2-MPI-Windows-64bit\\share\\paraview-5.2\\web\\visualizer\\server\\pvw-visualizer.py" >>>> --content "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\share\\pa >>>> raview-5.2\\web\\visualizer\\www" --data "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" >>>> --port 8080 >>>> >>>> b: .\bin\pvpython.exe "C:/ParaView-5.2.0-Qt4-OpenGL2 >>>> -MPI-Windows-64bit/share/paraview-5.2/web/visualizer/server/pvw-visualizer.py" >>>> --content "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/share/paraview-5.2/web/visualizer/www" >>>> --data "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" --port >>>> 8080 >>>> >>>> >>>> Cheers & Best Wishes, >>>> Debopam >>>> ------------------------------- >>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>> >>>> >>>> >>>> On Mon, Jan 2, 2017 at 9:36 PM, Sebastien Jourdain < >>>> sebastien.jourdain at kitware.com> wrote: >>>> >>>> Hi Debopam, >>>> >>>> Do you see the orientation axis? Does it move when you rotate the scene? >>>> What happen when you click on "+" and choose the Wavelet? Do you see >>>> something? >>>> >>>> I'm wondering if you still run into an invalid path issue due to / or \. >>>> >>>> Seb >>>> >>>> On Mon, Jan 2, 2017 at 6:38 AM, Debopam Ghoshal >>>> wrote: >>>> >>>> Hi Seb, >>>> >>>> 1. "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" works fine. >>>> Now we can see the list of files in the data folder. >>>> >>>> However, there seems to be some problem with the ParaviewWeb >>>> Application (or may be with the graphics driver?). Because we cannot render >>>> the sample mesh files (eg: can.ex2) in the visualizer. When we tried to >>>> view the files in the desktop application they are displayed without any >>>> problems. A screenshot of the graphics driver is attached for your >>>> reference. >>>> >>>> 2. Ok. >>>> >>>> >>>> Cheers & Best Wishes, >>>> Debopam >>>> ------------------------------- >>>> >>>> >>>> >>>> On Fri, Dec 30, 2016 at 9:02 PM, Sebastien Jourdain < >>>> sebastien.jourdain at kitware.com> wrote: >>>> >>>> Hi Debopam, >>>> >>>> 1) I'm not sure to know what is the issue with the path but try with >>>> either: >>>> >>>> "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" >>>> or >>>> "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data" >>>> >>>> 2) paraview_console_error.jpg is not an error since you are not using >>>> the launcher. So that part is actually expected. >>>> For the second error when you try to delete the TimeAnnotation, I'm not >>>> sure to know what is the issue. You should know more by looking at the >>>> output of the command line. >>>> >>>> Seb >>>> >>>> >>>> On Fri, Dec 30, 2016 at 12:53 AM, Debopam Ghoshal >>>> wrote: >>>> >>>> (Reposting for a larger audience) >>>> >>>> Hi Ken, >>>> >>>> When we start paraview web we noted two things: >>>> >>>> 1. In the Visualizer, the Files tab is not showing any files. Please >>>> refer to the attached screenshot (paraview_home.jpg) >>>> 2. There is an error showing up at the browser console >>>> (paraview_console_error.jpg, paraview_console_error2.jpg) >>>> >>>> The paraview startup messages are also given for your reference >>>> (paraview_log.jpg) >>>> >>>> >>>> >>>> Cheers & Best Wishes, >>>> Debopam >>>> ------------------------------- >>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>> >>>> >>>> >>>> On Wed, Dec 28, 2016 at 10:35 AM, Debopam Ghoshal >>>> wrote: >>>> >>>> Hi Ken, >>>> >>>> We finally got a machine where Paraview 5.2 MPI is running without any >>>> issues. However, when we start paraview web we noted two things: >>>> >>>> 1. In the Visualizer, the Files tab is not showing any files. Please >>>> refer to the attached screenshot (paraview_home.jpg) >>>> 2. There is an error showing up at the browser console >>>> (paraview_console_error.jpg, paraview_console_error2.jpg) >>>> >>>> The paraview startup messages are also given for your reference >>>> (paraview_log.jpg) >>>> >>>> >>>> Cheers & Best Wishes, >>>> Debopam >>>> ------------------------------- >>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>> >>>> >>>> >>>> On Tue, Dec 13, 2016 at 7:03 PM, Ken Martin >>>> wrote: >>>> >>>> ParaView with the old OpenGL backend should work on any windows >>>> machine. It may be slow and some of the advanced techniques may not work >>>> but the basics will all work. >>>> >>>> On Tue, Dec 13, 2016 at 5:57 AM, Debopam Ghoshal >>>> wrote: >>>> >>>> Yes Ken, you are right. This is an older machine. So, will it be >>>> possible to use ParaView (with the old OpenGL backend) on this machine? Or >>>> we need to get a machine with better configuration to run ParaView? >>>> >>>> Additionally, will it be possible to run ParaView (and ParaViewWeb) on >>>> a Windows 10 guest running in VirtualBox on a MacOS host? >>>> >>>> Cheers & Best Wishes, >>>> Debopam >>>> ------------------------------- >>>> Cell: +91 98304 10041 >>>> >>>> >>>> >>>> On Mon, Dec 12, 2016 at 8:22 PM, Ken Martin >>>> wrote: >>>> >>>> So if I am reading this correctly the machine has a rv516 GPU which was >>>> released in 2007. That GPU does not support anything beyond OpenGL 2.0 >>>> which means you would need to use the old OpenGL backend with VTK/ParaView. >>>> >>>> http://www.gpureview.com/ati-rv516-chip-135.html >>>> >>>> >>>> >>>> On Mon, Dec 12, 2016 at 9:21 AM, Debopam Ghoshal >>>> wrote: >>>> >>>> Hi Ken, >>>> >>>> This is a standard desktop PC running Window 10 Professional Edition. >>>> If there is something I need to install on this machine, please let me know. >>>> >>>> Cheers & Best Wishes, >>>> Debopam >>>> ------------------------------- >>>> Cell: +91 98304 10041 >>>> >>>> >>>> >>>> On Mon, Dec 12, 2016 at 7:18 PM, Ken Martin >>>> wrote: >>>> >>>> Is this a server maybe? It seems like the system lacks any OpenGL >>>> support beyond the default Microsoft implementation which is circa OpenGL >>>> 1.4 I believe. >>>> >>>> On Sun, Dec 11, 2016 at 11:51 PM, Debopam Ghoshal >>>> wrote: >>>> >>>> Hi Ken, >>>> >>>> When I ran the command: vtkRenderingOpenGL2CxxTests.exe TestAppleBug >>>> there was an error. A screenshot of the error is attached for your >>>> reference. Please let me know if you require any other details. >>>> >>>> Cheers & Best Wishes, >>>> Debopam >>>> ------------------------------- >>>> Cell: +91 98304 10041 >>>> >>>> >>>> >>>> On Fri, Dec 9, 2016 at 7:17 PM, Ken Martin >>>> wrote: >>>> >>>> Here is a new version of the executable, can you try it? >>>> >>>> >>>> >>>> On Fri, Dec 9, 2016 at 1:42 AM, Debopam Ghoshal >>>> wrote: >>>> >>>> Hi Cory and Ken, >>>> >>>> Thanks a lot for your prompt response. >>>> >>>> Below are the details you asked: >>>> 1. display-props.png - screenshot of: Settings -> System -> Display >>>> -> Advanced display settings -> Display adapter properties >>>> 2. vtkrendering.png - screenshot of the error which came up when I ran: >>>> vtkRenderingOpenGL2CxxTests.exe TestAppleBug >>>> >>>> >>>> Cheers & Best Wishes, >>>> Debopam >>>> ------------------------------- >>>> >>>> >>>> >>>> >>>> On Thu, Dec 8, 2016 at 10:49 PM, Ken Martin >>>> wrote: >>>> >>>> Can you try running the following executable (rename .foo to .exe) from >>>> a cmd shell as >>>> >>>> vtkRenderingOpenGL2CxxTests.exe TestAppleBug >>>> >>>> and see if it crashes, and send the output is produces >>>> >>>> Thanks >>>> Ken >>>> >>>> >>>> >>>> On Thu, Dec 8, 2016 at 10:46 AM, Cory Quammen >>> > wrote: >>>> >>>> Hi Depobam, >>>> >>>> >>>> >>>> >>>> >>>> Thanks for trying out the other ParaView versions. I suspect there >>>> >>>> >>>> might be a problem with the new OpenGL backend on your system as that >>>> >>>> >>>> has changed between ParaView 4 and 5. What kind of graphics card do >>>> >>>> >>>> you have on your system. You can get some of the display properties by >>>> >>>> >>>> going to >>>> >>>> >>>> >>>> >>>> >>>> Settings -> System -> Display -> Advanced display settings -> Display >>>> >>>> >>>> adapter properties >>>> >>>> >>>> >>>> >>>> >>>> Ken, >>>> >>>> >>>> >>>> >>>> >>>> Are there any things Depobam can do on his Windows 10 system to help >>>> >>>> >>>> diagnose whether the OpenGL2 backend is causing the crash he is seeing >>>> >>>> >>>> in ParaView? >>>> >>>> >>>> >>>> >>>> >>>> Thanks, >>>> >>>> >>>> Cory >>>> >>>> >>>> >>>> >>>> >>>> On Thu, Dec 8, 2016 at 2:51 AM, Debopam Ghoshal >>>> wrote: >>>> >>>> >>>> > Hi Cory, >>>> >>>> >>>> > >>>> >>>> >>>> > I tried to run Paraview 5.1.2, but it gives the same error. However, >>>> I was >>>> >>>> >>>> > able to run Paraview 4.1 successfully on Window 10. >>>> >>>> >>>> > >>>> >>>> >>>> > But ParaviewWeb failed to run as it seems that version 4.1 does not >>>> have the >>>> >>>> >>>> > python script used for running ParaviewWeb. >>>> >>>> >>>> > >>>> >>>> >>>> > >>>> >>>> >>>> > >>>> >>>> >>>> > Cheers & Best Wishes, >>>> >>>> >>>> > Debopam >>>> >>>> >>>> > ------------------------------- >>>> >>>> >>>> > Cell: +91 98304 10041 >>>> >>>> >>>> > >>>> >>>> >>>> > On Wed, Dec 7, 2016 at 5:14 AM, Sebastien Jourdain >>>> >>>> >>>> > wrote: >>>> >>>> >>>> >> >>>> >>>> >>>> >> Cory you need to provide an absolute path as argument "c:\.....". >>>> >>>> >>>> >> >>>> >>>> >>>> >> But the issue seems to be on ParaView itself. The (Qt) executable >>>> crash at >>>> >>>> >>>> >> startup on there machine, regardless of their goal to use >>>> ParaViewWeb down >>>> >>>> >>>> >> the road. >>>> >>>> >>>> >> >>>> >>>> >>>> >> Seb >>>> >>>> >>>> >> >>>> >>>> >>>> >> On Tue, Dec 6, 2016 at 10:06 AM, Cory Quammen < >>>> cory.quammen at kitware.com> >>>> >>>> >>>> >> wrote: >>>> >>>> >>>> >>> >>>> >>>> >>>> >>> Correction: I could run ParaViewWeb on Windows 10, but I couldn't >>>> load >>>> >>>> >>>> >>> data through the web client. I didn't get pvpython.exe to crash, >>>> >>>> >>>> >>> though. >>>> >>>> >>>> >>> >>>> >>>> >>>> >>> On Tue, Dec 6, 2016 at 11:35 AM, Cory Quammen < >>>> cory.quammen at kitware.com> >>>> >>>> >>>> >>> wrote: >>>> >>>> >>>> >>> > Debopam, >>>> >>>> >>>> >>> > >>>> >>>> >>>> >>> > I just tried what you ran on Windows 10 and it ran fine for me. >>>> One >>>> >>>> >>>> >>> > thing I had to fix, which I doubt is the cause of your crash, is >>>> the >>>> >>>> >>>> >>> > data argument is actually just --data and not --data-dir. >>>> >>>> >>>> >>> > >>>> >>>> >>>> >>> > We've had some other reports of 5.2 crashing on start up on >>>> Windows. >>>> >>>> >>>> >>> > Did 5.1 run fine for you? >>>> >>>> >>>> >>> > >>>> >>>> >>>> >>> > I wonder if you could try installing ParaView 4.4 from >>>> >>>> >>>> >>> > http://www.paraview.org/download/ to see if it runs. If it does, >>>> that >>>> >>>> >>>> >>> > gives me a clue on where to look. >>>> >>>> >>>> >>> > >>>> >>>> >>>> >>> > Thanks, >>>> >>>> >>>> >>> > Cory >>>> >>>> >>>> >>> > >>>> >>>> >>>> >>> > On Tue, Dec 6, 2016 at 5:23 AM, Debopam Ghoshal < >>>> debopamg at gmail.com> >>>> >>>> >>>> >>> > wrote: >>>> >>>> >>>> >>> >> Hi, >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> I followed the instructions given here, but I am getting the >>>> following >>>> >>>> >>>> >>> >> error: >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> Paraview Installation Directory: >>>> >>>> >>>> >>> >> C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> Command: >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> .\bin\pvpython.exe \ >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> "C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\share\paraview- >>>> 5.2\web\visualizer\server\pvw-visualizer.py" >>>> >>>> >>>> >>> >> \ >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> --content >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> "C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\share\paraview- >>>> 5.2\web\visualizer\www\" >>>> >>>> >>>> >>> >> \ >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> --data-dir "C:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\data\" >>>> \ >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> --port 8080 >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> Output: >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> Console: 2016-12-02 10:09:51+0530 [-] Log opened. >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> Error Window screenshot attached (PVW-Error.png) >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> Other Details: >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> OS: Windows 10 Professional >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> RAM: 8GB >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> A screenshot of the system properties is attached for your >>>> reference >>>> >>>> >>>> >>> >> (Window10-SystemProps.png) >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> Similar error occurred when I launched the Paraview desktop >>>> >>>> >>>> >>> >> application >>>> >>>> >>>> >>> >> (ParaviewError.png). >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> Cheers & Best Wishes, >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> Debopam >>>> >>>> >>>> >>> >> ------------------------------- >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> _______________________________________________ >>>> >>>> >>>> >>> >> Powered by www.kitware.com >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> Visit other Kitware open-source projects at >>>> >>>> >>>> >>> >> http://www.kitware.com/opensource/opensource.html >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> Please keep messages on-topic and check the ParaView Wiki at: >>>> >>>> >>>> >>> >> http://paraview.org/Wiki/ParaView >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> Search the list archives at: http://markmail.org/search/?q= >>>> ParaView >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> >> Follow this link to subscribe/unsubscribe: >>>> >>>> >>>> >>> >> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>>> >>> >> >>>> >>>> >>>> >>> > >>>> >>>> >>>> >>> > >>>> >>>> >>>> >>> > >>>> >>>> >>>> >>> > -- >>>> >>>> >>>> >>> > Cory Quammen >>>> >>>> >>>> >>> > Staff R&D Engineer >>>> >>>> >>>> >>> > Kitware, Inc. >>>> >>>> >>>> >>> >>>> >>>> >>>> >>> >>>> >>>> >>>> >>> >>>> >>>> >>>> >>> -- >>>> >>>> >>>> >>> Cory Quammen >>>> >>>> >>>> >>> Staff R&D Engineer >>>> >>>> >>>> >>> Kitware, Inc. >>>> >>>> >>>> >>> _______________________________________________ >>>> >>>> >>>> >>> Powered by www.kitware.com >>>> >>>> >>>> >>> >>>> >>>> >>>> >>> Visit other Kitware open-source projects at >>>> >>>> >>>> >>> http://www.kitware.com/opensource/opensource.html >>>> >>>> >>>> >>> >>>> >>>> >>>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>>> >>>> >>>> >>> http://paraview.org/Wiki/ParaView >>>> >>>> >>>> >>> >>>> >>>> >>>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> >>>> >>> >>>> >>>> >>>> >>> Follow this link to subscribe/unsubscribe: >>>> >>>> >>>> >>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>>> >> >>>> >>>> >>>> >> >>>> >>>> >>>> > >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> >>>> >>>> Cory Quammen >>>> >>>> >>>> Staff R&D Engineer >>>> >>>> >>>> Kitware, Inc. >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> Ken Martin PhD >>>> Chairman & CFO >>>> Kitware Inc. >>>> 28 Corporate Drive >>>> Clifton Park NY 12065 >>>> 518 371 3971 >>>> >>>> This communication, >>>> >>>> including all attachments, contains confidential and legally privileged >>>> >>>> information, and it is intended only for the use of the addressee. >>>> Access to this email by anyone else is >>>> >>>> unauthorized. If you are not the intended recipient, any disclosure, >>>> copying, >>>> >>>> distribution or any action taken in reliance on it is prohibited and >>>> may be >>>> >>>> unlawful. If you received this communication in error please notify us >>>> >>>> immediately and destroy the original message. >>>> >>>> Thank you. >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> Ken Martin PhD >>>> Chairman & CFO >>>> Kitware Inc. >>>> 28 Corporate Drive >>>> Clifton Park NY 12065 >>>> 518 371 3971 >>>> >>>> This communication, >>>> >>>> including all attachments, contains confidential and legally privileged >>>> >>>> information, and it is intended only for the use of the addressee. >>>> Access to this email by anyone else is >>>> >>>> unauthorized. If you are not the intended recipient, any disclosure, >>>> copying, >>>> >>>> distribution or any action taken in reliance on it is prohibited and >>>> may be >>>> >>>> unlawful. If you received this communication in error please notify us >>>> >>>> immediately and destroy the original message. >>>> >>>> Thank you. >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> Ken Martin PhD >>>> Chairman & CFO >>>> Kitware Inc. >>>> 28 Corporate Drive >>>> Clifton Park NY 12065 >>>> 518 371 3971 >>>> >>>> This communication, >>>> >>>> including all attachments, contains confidential and legally privileged >>>> >>>> information, and it is intended only for the use of the addressee. >>>> Access to this email by anyone else is >>>> >>>> unauthorized. If you are not the intended recipient, any disclosure, >>>> copying, >>>> >>>> distribution or any action taken in reliance on it is prohibited and >>>> may be >>>> >>>> unlawful. If you received this communication in error please notify us >>>> >>>> immediately and destroy the original message. >>>> >>>> Thank you. >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> Ken Martin PhD >>>> Chairman & CFO >>>> Kitware Inc. >>>> 28 Corporate Drive >>>> Clifton Park NY 12065 >>>> 518 371 3971 >>>> >>>> This communication, >>>> >>>> including all attachments, contains confidential and legally privileged >>>> >>>> information, and it is intended only for the use of the addressee. >>>> Access to this email by anyone else is >>>> >>>> unauthorized. If you are not the intended recipient, any disclosure, >>>> copying, >>>> >>>> distribution or any action taken in reliance on it is prohibited and >>>> may be >>>> >>>> unlawful. If you received this communication in error please notify us >>>> >>>> immediately and destroy the original message. >>>> >>>> Thank you. >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> Ken Martin PhD >>>> Chairman & CFO >>>> Kitware Inc. >>>> 28 Corporate Drive >>>> Clifton Park NY 12065 >>>> 518 371 3971 <(518)%20371-3971> >>>> >>>> This communication, >>>> >>>> including all attachments, contains confidential and legally privileged >>>> >>>> information, and it is intended only for the use of the addressee. >>>> Access to this email by anyone else is >>>> >>>> unauthorized. If you are not the intended recipient, any disclosure, >>>> copying, >>>> >>>> distribution or any action taken in reliance on it is prohibited and >>>> may be >>>> >>>> unlawful. If you received this communication in error please notify us >>>> >>>> immediately and destroy the original message. >>>> >>>> Thank you. >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> >>>> >>>> Powered by www.kitware.com >>>> >>>> >>>> >>>> >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> >>>> >>>> >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: >>>> http://paraview.org/Wiki/ParaView >>>> >>>> >>>> >>>> >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> >>>> >>>> >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> >>>> >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben.boeckel at kitware.com Thu Jan 5 10:44:55 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Thu, 5 Jan 2017 10:44:55 -0500 Subject: [Paraview] ParaViewConfig.cmake created too late with ENABLE_paraviewpluginsexternal In-Reply-To: <789dcd63-5dc9-70de-f414-07fb6b9c75b0@fau.de> References: <789dcd63-5dc9-70de-f414-07fb6b9c75b0@fau.de> Message-ID: <20170105154455.GC20256@megas.kitware.com> On Thu, Jan 05, 2017 at 13:07:32 +0100, Fabian Wein wrote: > I think there is still an issue building plugins via > -DENABLE_paraviewpluginsexternal:BOOL=ON when building > paraview-superbuild. > > cmake ../paraview-superbuild -DCMAKE_BUILD_TYPE:STRING=Release > -DBUILD_TESTING=OFF -DENABLE_cxx11=ON -DENABLE_qt5=ON > -DENABLE_boost:BOOL=ON -DENABLE_hdf5:BOOL=ON -DENABLE_zlib:BOOL=ON > -DENABLE_png:BOOL=ON > -Dsuperbuild_download_location=$HOME/code/cfsdepscache/paraview > -DENABLE_paraviewpluginsexternal:BOOL=ON > -Dparaview_PLUGINS_EXTERNAL:STRING=CFSReader > -Dparaview_PLUGIN_CFSReader_PATH:PATH=$METABUILD/../plugins/CFSReader > > results in the error > > CMake Error at ~/code/cfs_paraview/plugins/CFSReader/CMakeLists.txt:43 > (FIND_PACKAGE): > By not providing "FindParaView.cmake" in CMAKE_MODULE_PATH this > project has > asked CMake to find a package configuration file provided by > "ParaView", > but CMake did not find one. > > Could not find a package configuration file provided by "ParaView" > with any > of the following names: > > ParaViewConfig.cmake > paraview-config.cmake > > Add the installation prefix of "ParaView" to CMAKE_PREFIX_PATH or set > "ParaView_DIR" to a directory containing one of the above files. If > "ParaView" provides a separate development package or SDK, be sure > it has > been installed. > > And indeed ParaViewConfig.cmake does not exist yet in > ParaView_DIR=~/code/cfs_paraview/metabuild/build/superbuild/paraview/build > > It works when I do the cmake ../paraview-superbuild first without > -DENABLE_paraviewpluginsexternal:BOOL=ON ... > and then a second time with (as shown above). > > However, we want to build the paraview-superbuild with our plugin > automatically (e.g. in our nightly builds) with an own cmake project > where paraview-superbuild is an external project. > > Do I something wrong? Is this a bug? Any hint on how to do a workaround? The external plugins bit builds the plugin as part of ParaView's build, not after it is built. You can detect this the same way the PointSprite plugin in ParaView itself does so: if (ParaView_SOURCE_DIR) # Within the source tree already. else () find_package(ParaView REQUIRED) # ... endif () From andy.bauer at kitware.com Thu Jan 5 11:44:30 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Thu, 5 Jan 2017 11:44:30 -0500 Subject: [Paraview] Find Data bug In-Reply-To: <431a04cc-83f9-c992-bc05-148e28a2d5fe@csc.fi> References: <431a04cc-83f9-c992-bc05-148e28a2d5fe@csc.fi> Message-ID: Hi Jyrki, Thanks for the report. I can replicate this issue that the second selection takes significantly longer with PV 5.2 on my machine. Would you mind adding this in as an issue? You can do that at https://gitlab.kitware.com/paraview/paraview/issues. Thanks, Andy On Thu, Jan 5, 2017 at 9:23 AM, Jyrki Hokkanen wrote: > Hello > > Please check this ParaView 5.2.0 bug related to "Find Data" dialog and > point selection, tested on Kitware linux and windows binaries: > > Create one "Sources" sphere, theta and phi resolution set to 800. > Selecting half of the points with a mouse using "Select Points Through" > method takes a second or two. > > Now open "Find Data" window, and just close it without doing any selection > query. After this, selecting the same amount of points takes a minute or so. > > This bug was not present on version 5.1.2. > > Jyrki > > > -- > Jyrki Hokkanen PhD > Digital Image and Computer Graphics Specialist > CSC - IT Center for Science Ltd. > www.csc.fi > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Thu Jan 5 15:24:13 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 5 Jan 2017 20:24:13 +0000 Subject: [Paraview] [EXTERNAL] Find Data bug In-Reply-To: <431a04cc-83f9-c992-bc05-148e28a2d5fe@csc.fi> References: <431a04cc-83f9-c992-bc05-148e28a2d5fe@csc.fi> Message-ID: <5772c8fe80db4610adbf9533e675d06c@ES01AMSNLNT.srn.sandia.gov> Jyrki, I tried to replicate this, and could not. For me, on a Linux machine, it took about 6 seconds to do the selection before and after Find Data. Mind deleting your .config files and trying again? Then, what operating system are you on? You are not remote server, correct? Alan > -----Original Message----- > From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Jyrki > Hokkanen > Sent: Thursday, January 5, 2017 7:24 AM > To: paraview at paraview.org > Subject: [EXTERNAL] [Paraview] Find Data bug > > Hello > > Please check this ParaView 5.2.0 bug related to "Find Data" dialog and point > selection, tested on Kitware linux and windows binaries: > > Create one "Sources" sphere, theta and phi resolution set to 800. > Selecting half of the points with a mouse using "Select Points Through" > method takes a second or two. > > Now open "Find Data" window, and just close it without doing any selection > query. After this, selecting the same amount of points takes a minute or so. > > This bug was not present on version 5.1.2. > > Jyrki > > > -- > Jyrki Hokkanen PhD > Digital Image and Computer Graphics Specialist CSC - IT Center for Science > Ltd. > www.csc.fi > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From wascott at sandia.gov Thu Jan 5 15:26:25 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 5 Jan 2017 20:26:25 +0000 Subject: [Paraview] [EXTERNAL] Re: Find Data bug In-Reply-To: References: <431a04cc-83f9-c992-bc05-148e28a2d5fe@csc.fi> Message-ID: Sorry, missed this. Andy ? you may want to write this up yourself, with detail how to replicate. I couldn?t replicate it. Add it to the Sandia project. Thanks, Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Andy Bauer Sent: Thursday, January 5, 2017 9:45 AM To: Jyrki Hokkanen Cc: paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview] Find Data bug Hi Jyrki, Thanks for the report. I can replicate this issue that the second selection takes significantly longer with PV 5.2 on my machine. Would you mind adding this in as an issue? You can do that at https://gitlab.kitware.com/paraview/paraview/issues. Thanks, Andy On Thu, Jan 5, 2017 at 9:23 AM, Jyrki Hokkanen > wrote: Hello Please check this ParaView 5.2.0 bug related to "Find Data" dialog and point selection, tested on Kitware linux and windows binaries: Create one "Sources" sphere, theta and phi resolution set to 800. Selecting half of the points with a mouse using "Select Points Through" method takes a second or two. Now open "Find Data" window, and just close it without doing any selection query. After this, selecting the same amount of points takes a minute or so. This bug was not present on version 5.1.2. Jyrki -- Jyrki Hokkanen PhD Digital Image and Computer Graphics Specialist CSC - IT Center for Science Ltd. www.csc.fi _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From bflandard at gmail.com Thu Jan 5 19:13:10 2017 From: bflandard at gmail.com (Bob Flandard) Date: Fri, 6 Jan 2017 00:13:10 +0000 Subject: [Paraview] OSRay and shadows Message-ID: Hello, How can I lock the light source direction to change with the 3d viewing angle, so that the shadows with OSRay don't imply a moving light source as I rotate the model in 3d? Thanks, Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Thu Jan 5 19:17:29 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 6 Jan 2017 00:17:29 +0000 Subject: [Paraview] [EXTERNAL] OSRay and shadows In-Reply-To: References: Message-ID: Bob, What version of ParaView are you using? 5.1.2 is known to have issues. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Bob Flandard Sent: Thursday, January 5, 2017 5:13 PM To: paraview Subject: [EXTERNAL] [Paraview] OSRay and shadows Hello, How can I lock the light source direction to change with the 3d viewing angle, so that the shadows with OSRay don't imply a moving light source as I rotate the model in 3d? Thanks, Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: From guillaume.jacquenot at gmail.com Fri Jan 6 01:39:15 2017 From: guillaume.jacquenot at gmail.com (Guillaume Jacquenot) Date: Fri, 6 Jan 2017 07:39:15 +0100 Subject: [Paraview] Problem reading a numpy NPZ file in ParaView 5.2.0 on Windows In-Reply-To: References: Message-ID: I want to report that this bug also occurs on the Linux version of ParaView 5.2.0 2017-01-04 10:14 GMT+01:00 Guillaume Jacquenot < guillaume.jacquenot at gmail.com>: > Hello everyone, > > I want to report a possible bug. > > I have a Python script that creates data, exports data in a numpy NPZ > file, and reads it later in a ProgrammableFilter. > > With ParaView 5.1.2, everything works fine. > > However, when I try it with ParaView 5.2.0, I have a weird reading error. > > I have checked the 'About ParaView' window, but see no real difference > between > the two versions. > > If I try to import the PV 5.2.0 npz generated file in another Python > interpreter with anoter numpy version (1.11.3), I have no problem. > > So I guess, the PV 5.2.0 npz generated files are correct, but there is a > problem accessing its content from PV 5.2.0 > > Here is a script that reproduces the bug. It is to be run from the PV > interpreter. > > import os > import tempfile > import numpy as np > outputFilename = os.path.join(tempfile.mkdtemp(), 'dummy.npz') > varName='Time' > np.savez(outputFilename, **{varName:np.random.rand(3,4)}) > d = np.load(outputFilename) > time = d[varName] > d.close() > os.remove(outputFilename) > print('Success PV can create a NPZ file and read its content : ' + > outputFilename) > > Here is the message error on Windows with PV 5.2.0 > > >>> Traceback (most recent call last): > File "", line 8, in > File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\ > site-packages\numpy\lib\npyio.py", line 250, in __getitem__ > return format.read_array(bytes) > File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\ > site-packages\numpy\lib\format.py", line 437, in read_array > shape, fortran_order, dtype = read_array_header_1_0(fp) > File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\ > site-packages\numpy\lib\format.py", line 334, in read_array_header_1_0 > d = safe_eval(header) > File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\ > site-packages\numpy\lib\utils.py", line 1132, in safe_eval > return walker.visit(ast) > File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\ > site-packages\numpy\lib\utils.py", line 980, in visit > return meth(node, **kw) > File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\ > site-packages\numpy\lib\utils.py", line 987, in visitExpression > for child in node.getChildNodes(): > AttributeError: 'Expression' object has no attribute 'getChildNodes' > > Guillaume Jacquenot > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bflandard at gmail.com Fri Jan 6 03:49:07 2017 From: bflandard at gmail.com (Bob Flandard) Date: Fri, 6 Jan 2017 08:49:07 +0000 Subject: [Paraview] [EXTERNAL] OSRay and shadows In-Reply-To: References: Message-ID: Hi, I'm using version 5.2 of ParaView. Thanks, Bob On 6 January 2017 at 00:17, Scott, W Alan wrote: > Bob, > > What version of ParaView are you using? 5.1.2 is known to have issues. > > > > Alan > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Bob > Flandard > *Sent:* Thursday, January 5, 2017 5:13 PM > *To:* paraview > *Subject:* [EXTERNAL] [Paraview] OSRay and shadows > > > > Hello, > > How can I lock the light source direction to change with the 3d viewing > angle, so that the shadows with OSRay don't imply a moving light source as > I rotate the model in 3d? > > Thanks, Bob > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bflandard at gmail.com Fri Jan 6 04:39:25 2017 From: bflandard at gmail.com (Bob Flandard) Date: Fri, 6 Jan 2017 09:39:25 +0000 Subject: [Paraview] [EXTERNAL] OSRay and shadows In-Reply-To: References: Message-ID: Hi Scott, Here's a state file, where the shadow of the cylinder is approximately perpendicular the the arrows on the ground. As I move the model around in 3d with the mouse, I'd like the shadow to remain perpendicular to the arrows, similar to how it would look if I walked around the cylinder on a sunny day (assuming I didn't walk extremely slowly). I'd like the light source to be fixed relative to ground rather than the screen - I'm surprised that isn't the default or an option (at least I haven't found it). Thanks, Bob ParaView 5.2 on Windows 7 On 6 January 2017 at 00:17, Scott, W Alan wrote: > Bob, > > What version of ParaView are you using? 5.1.2 is known to have issues. > > > > Alan > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Bob > Flandard > *Sent:* Thursday, January 5, 2017 5:13 PM > *To:* paraview > *Subject:* [EXTERNAL] [Paraview] OSRay and shadows > > > > Hello, > > How can I lock the light source direction to change with the 3d viewing > angle, so that the shadows with OSRay don't imply a moving light source as > I rotate the model in 3d? > > Thanks, Bob > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: OSRay shadows.zip Type: application/zip Size: 14211 bytes Desc: not available URL: From dave.demarle at kitware.com Fri Jan 6 08:49:24 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Fri, 6 Jan 2017 08:49:24 -0500 Subject: [Paraview] [EXTERNAL] OSRay and shadows In-Reply-To: References: Message-ID: Bob, There is no control for that just yet. Work is in progress to provide the full complement of light controls. If you are working in builting mode, you can resort to python as follows. lights = GetActiveView().GetRenderer().GetLights() for i in range(0, lights.GetNumberOfItems()): lights.GetItemAsObject(i).SetLightTypeToSceneLight() Note: the light position bug in 5.1 that Alan was referring to had the effect of making making the light positions fixed (scene lights in vtk terms). In 5.2 that was corrected and now they are camera relative lights that move with the viewer as they do with GL rendering. hope that helps David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Fri, Jan 6, 2017 at 4:39 AM, Bob Flandard wrote: > Hi Scott, > > Here's a state file, where the shadow of the cylinder is approximately > perpendicular the the arrows on the ground. As I move the model around in > 3d with the mouse, I'd like the shadow to remain perpendicular to the > arrows, similar to how it would look if I walked around the cylinder on a > sunny day (assuming I didn't walk extremely slowly). I'd like the light > source to be fixed relative to ground rather than the screen - I'm > surprised that isn't the default or an option (at least I haven't found it). > > Thanks, Bob > > ParaView 5.2 on Windows 7 > > On 6 January 2017 at 00:17, Scott, W Alan wrote: > >> Bob, >> >> What version of ParaView are you using? 5.1.2 is known to have issues. >> >> >> >> Alan >> >> >> >> *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Bob >> Flandard >> *Sent:* Thursday, January 5, 2017 5:13 PM >> *To:* paraview >> *Subject:* [EXTERNAL] [Paraview] OSRay and shadows >> >> >> >> Hello, >> >> How can I lock the light source direction to change with the 3d viewing >> angle, so that the shadows with OSRay don't imply a moving light source as >> I rotate the model in 3d? >> >> Thanks, Bob >> > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Fri Jan 6 10:32:24 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Fri, 6 Jan 2017 10:32:24 -0500 Subject: [Paraview] [EXTERNAL] Re: Find Data bug In-Reply-To: <1394451814.6168288.1483710377725.JavaMail.zimbra@csc.fi> References: <431a04cc-83f9-c992-bc05-148e28a2d5fe@csc.fi> <1394451814.6168288.1483710377725.JavaMail.zimbra@csc.fi> Message-ID: Hi, I've created a gitlab issue at https://gitlab.kitware.com/paraview/paraview/issues/17098. Alan, note that the both Select Through Points may be too fast to notice the difference. On my machine the first one seemed instantaneous while the second one took about 3 seconds or so. Thanks, Andy ps. Jyrki: I cc'ed the PV mailing list again to make sure that everyone can follow along with this. On Fri, Jan 6, 2017 at 8:46 AM, Jyrki Hokkanen wrote: > Thank you all for the feedback. Andy, you are welcome to report this. > > FYI I found this bug while testing ParaView 5.2.0 compiled for our > supercomputer environment, and the slowdown was about two orders (1/100) > when running six pvservers. Originally I was using a point cloud data > consisting of one million points. At first we thought something went wrong > with the compilation but found out that the bug was present also on Kitware > binaries. I could repeat it on my windows pc and on my fellow workers linus > systems. > > Best regards, > Jyrki > > ------------------------------ > > *From: *"Scott, W Alan" > *To: *"Andy Bauer" , "Jyrki Hokkanen" < > jyrki.hokkanen at csc.fi> > *Cc: *paraview at paraview.org > *Sent: *Thursday, 5 January, 2017 22:26:25 > *Subject: *RE: [EXTERNAL] Re: [Paraview] Find Data bug > > Sorry, missed this. Andy ? you may want to write this up yourself, with > detail how to replicate. I couldn?t replicate it. > > > > Add it to the Sandia project. > > > > Thanks, > > > > Alan > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Andy > Bauer > *Sent:* Thursday, January 5, 2017 9:45 AM > *To:* Jyrki Hokkanen > *Cc:* paraview at paraview.org > *Subject:* [EXTERNAL] Re: [Paraview] Find Data bug > > > > Hi Jyrki, > > Thanks for the report. I can replicate this issue that the second > selection takes significantly longer with PV 5.2 on my machine. Would you > mind adding this in as an issue? You can do that at > https://gitlab.kitware.com/paraview/paraview/issues. > > Thanks, > > Andy > > > > On Thu, Jan 5, 2017 at 9:23 AM, Jyrki Hokkanen > wrote: > > Hello > > Please check this ParaView 5.2.0 bug related to "Find Data" dialog and > point selection, tested on Kitware linux and windows binaries: > > Create one "Sources" sphere, theta and phi resolution set to 800. > Selecting half of the points with a mouse using "Select Points Through" > method takes a second or two. > > Now open "Find Data" window, and just close it without doing any selection > query. After this, selecting the same amount of points takes a minute or so. > > This bug was not present on version 5.1.2. > > Jyrki > > > -- > Jyrki Hokkanen PhD > Digital Image and Computer Graphics Specialist > CSC - IT Center for Science Ltd. > www.csc.fi > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bflandard at gmail.com Fri Jan 6 11:12:39 2017 From: bflandard at gmail.com (Bob Flandard) Date: Fri, 6 Jan 2017 16:12:39 +0000 Subject: [Paraview] [EXTERNAL] OSRay and shadows In-Reply-To: References: Message-ID: Thanks David, The Python code works well enough for my use. I see what you mean about 5.1, it almost does what I want, but is messes up the light directions. Regards, Bob On 6 January 2017 at 13:49, David E DeMarle wrote: > Bob, > > There is no control for that just yet. Work is in progress to provide the > full complement of light controls. If you are working in builting mode, you > can resort to python as follows. > > lights = GetActiveView().GetRenderer().GetLights() > for i in range(0, lights.GetNumberOfItems()): > lights.GetItemAsObject(i).SetLightTypeToSceneLight() > > Note: the light position bug in 5.1 that Alan was referring to had the > effect of making making the light positions fixed (scene lights in vtk > terms). In 5.2 that was corrected and now they are camera relative lights > that move with the viewer as they do with GL rendering. > > hope that helps > > > > > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 <(518)%20881-4909> > > On Fri, Jan 6, 2017 at 4:39 AM, Bob Flandard wrote: > >> Hi Scott, >> >> Here's a state file, where the shadow of the cylinder is approximately >> perpendicular the the arrows on the ground. As I move the model around in >> 3d with the mouse, I'd like the shadow to remain perpendicular to the >> arrows, similar to how it would look if I walked around the cylinder on a >> sunny day (assuming I didn't walk extremely slowly). I'd like the light >> source to be fixed relative to ground rather than the screen - I'm >> surprised that isn't the default or an option (at least I haven't found it). >> >> Thanks, Bob >> >> ParaView 5.2 on Windows 7 >> >> On 6 January 2017 at 00:17, Scott, W Alan wrote: >> >>> Bob, >>> >>> What version of ParaView are you using? 5.1.2 is known to have issues. >>> >>> >>> >>> Alan >>> >>> >>> >>> *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Bob >>> Flandard >>> *Sent:* Thursday, January 5, 2017 5:13 PM >>> *To:* paraview >>> *Subject:* [EXTERNAL] [Paraview] OSRay and shadows >>> >>> >>> >>> Hello, >>> >>> How can I lock the light source direction to change with the 3d viewing >>> angle, so that the shadows with OSRay don't imply a moving light source as >>> I rotate the model in 3d? >>> >>> Thanks, Bob >>> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From valenpe7 at email.cz Fri Jan 6 11:49:00 2017 From: valenpe7 at email.cz (valenpe7 at email.cz) Date: Fri, 06 Jan 2017 17:49:00 +0100 (CET) Subject: [Paraview] ParaView Catalyst: export point data Message-ID: Hello, is there any way how to export data using Catalyst which are not attached to any grid (like particles that are characterized only by the vector of their location)? ?Thank you! Petr Valenta -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Fri Jan 6 12:00:10 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Fri, 6 Jan 2017 12:00:10 -0500 Subject: [Paraview] ParaView Catalyst: export point data In-Reply-To: References: Message-ID: Glyph Filter, type=2D subtype=points will create 1D cells (VTK_POINTS type) for every point (those that are attached to cells and those that are not used by any cell). To get only those points that are not used by cells, you may need the programmable filter. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Fri, Jan 6, 2017 at 11:49 AM, wrote: > Hello, > > is there any way how to export data using Catalyst which are not attached > to any grid (like particles that are characterized only by the vector of > their location)? Thank you! > > Petr Valenta > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From valenpe7 at email.cz Fri Jan 6 12:25:29 2017 From: valenpe7 at email.cz (valenpe7 at email.cz) Date: Fri, 06 Jan 2017 18:25:29 +0100 (CET) Subject: [Paraview] ParaView Catalyst: export point data References: Message-ID: Hello, thank you, but I mean how to pass these point data computed by a simulation code to ParaView in order to visualize them insitu. The Catalyst examples (https://gitlab.kitware.com/paraview/paraview/tree/master/Examples/Catalyst) usually use some type of a grid and data are then attached onto it. Cheers, Petr Valenta ---------- P?vodn? zpr?va ---------- Od: David E DeMarle Komu: valenpe7 at email.cz Datum: 6. 1. 2017 18:00:34 P?edm?t: Re: [Paraview] ParaView Catalyst: export point data " Glyph Filter, type=2D subtype=points will create 1D cells (VTK_POINTS type) for every point (those that are attached to cells and those that are not used by any cell). To get only those points that are not used by cells, you may need the programmable filter. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Fri, Jan 6, 2017 at 11:49 AM, wrote: " Hello, is there any way how to export data using Catalyst which are not attached to any grid (like particles that are characterized only by the vector of their location)?? Thank you! Petr Valenta _______________________________________________ Powered by www.kitware.com(http://www.kitware.com) Visit other Kitware open-source projects at http://www.kitware.com/ opensource/opensource.html (http://www.kitware.com/opensource/opensource.html) Please keep messages on-topic and check the ParaView Wiki at: http:// paraview.org/Wiki/ParaView(http://paraview.org/Wiki/ParaView) Search the list archives at: http://markmail.org/search/?q=ParaView (http://markmail.org/search/?q=ParaView) Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview (http://public.kitware.com/mailman/listinfo/paraview) " " -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Fri Jan 6 12:55:54 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Fri, 6 Jan 2017 12:55:54 -0500 Subject: [Paraview] ParaView Catalyst: export point data In-Reply-To: References: Message-ID: Ah, then you can skip the filter and directly make a vtkUnstructuredGrid containing only points and VTK_VERTEX cell that index them. See section 3 of the users guide for details. Somewhere in your adaptor you will have something like the following: output = vtk.vtkUnstructuredGrid() pts = output.GetPoints() cells = output.GetCells() for i in particles.len(): pids = [i] pts.InsertNextPoint(next_coordinate) cells.InsertNextCell(vtk.VTK_VERTEX, 1, pids) When you get that working you will want to replace the inserts with direct memory references to the possible. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Fri, Jan 6, 2017 at 12:25 PM, wrote: > Hello, > > thank you, but I mean how to pass these point data computed by a > simulation code to ParaView in order to visualize them insitu. The Catalyst > examples (https://gitlab.kitware.com/paraview/paraview/tree/master/ > Examples/Catalyst) usually use some type of a grid and data are then > attached onto it. > > Cheers, > > Petr Valenta > > ---------- P?vodn? zpr?va ---------- > Od: David E DeMarle > Komu: valenpe7 at email.cz > Datum: 6. 1. 2017 18:00:34 > P?edm?t: Re: [Paraview] ParaView Catalyst: export point data > > Glyph Filter, type=2D subtype=points will create 1D cells (VTK_POINTS > type) for every point (those that are attached to cells and those that are > not used by any cell). To get only those points that are not used by cells, > you may need the programmable filter. > > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 <(518)%20881-4909> > > On Fri, Jan 6, 2017 at 11:49 AM, wrote: > > Hello, > > is there any way how to export data using Catalyst which are not attached > to any grid (like particles that are characterized only by the vector of > their location)? Thank you! > > Petr Valenta > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Fri Jan 6 14:36:53 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 6 Jan 2017 14:36:53 -0500 Subject: [Paraview] Problem reading a numpy NPZ file in ParaView 5.2.0 on Windows In-Reply-To: References: Message-ID: Guillaume, Thanks for the report. I looked into this and I think I know what is going on. In ParaView 5.2.0, we reduced the number of Python modules that shipped with the ParaView binaries. One of the modules not included was the "compiler" module. Now, Numpy checks to see if the "compiler" module is available, and if it isn't, uses the "ast" module instead to parse some file header data. However, Numpy doesn't correctly handle the results produced by using ast.parse to parse the header data. ParaView 5.1.2 shipped with the "compiler" module, which is why it worked for you in the past. We'll have to add it back for the next release. I've added an issue to track here: https://gitlab.kitware.com/paraview/paraview-superbuild/issues/43 Thanks again for the report. Cory On Fri, Jan 6, 2017 at 1:39 AM, Guillaume Jacquenot wrote: > I want to report that this bug also occurs on the Linux version of ParaView > 5.2.0 > > 2017-01-04 10:14 GMT+01:00 Guillaume Jacquenot > : >> >> Hello everyone, >> >> I want to report a possible bug. >> >> I have a Python script that creates data, exports data in a numpy NPZ >> file, and reads it later in a ProgrammableFilter. >> >> With ParaView 5.1.2, everything works fine. >> >> However, when I try it with ParaView 5.2.0, I have a weird reading error. >> >> I have checked the 'About ParaView' window, but see no real difference >> between >> the two versions. >> >> If I try to import the PV 5.2.0 npz generated file in another Python >> interpreter with anoter numpy version (1.11.3), I have no problem. >> >> So I guess, the PV 5.2.0 npz generated files are correct, but there is a >> problem accessing its content from PV 5.2.0 >> >> Here is a script that reproduces the bug. It is to be run from the PV >> interpreter. >> >> import os >> import tempfile >> import numpy as np >> outputFilename = os.path.join(tempfile.mkdtemp(), 'dummy.npz') >> varName='Time' >> np.savez(outputFilename, **{varName:np.random.rand(3,4)}) >> d = np.load(outputFilename) >> time = d[varName] >> d.close() >> os.remove(outputFilename) >> print('Success PV can create a NPZ file and read its content : ' + >> outputFilename) >> >> Here is the message error on Windows with PV 5.2.0 >> >> >>> Traceback (most recent call last): >> File "", line 8, in >> File >> "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\lib\npyio.py", >> line 250, in __getitem__ >> return format.read_array(bytes) >> File >> "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\lib\format.py", >> line 437, in read_array >> shape, fortran_order, dtype = read_array_header_1_0(fp) >> File >> "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\lib\format.py", >> line 334, in read_array_header_1_0 >> d = safe_eval(header) >> File >> "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\lib\utils.py", >> line 1132, in safe_eval >> return walker.visit(ast) >> File >> "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\lib\utils.py", >> line 980, in visit >> return meth(node, **kw) >> File >> "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\lib\utils.py", >> line 987, in visitExpression >> for child in node.getChildNodes(): >> AttributeError: 'Expression' object has no attribute 'getChildNodes' >> >> Guillaume Jacquenot >> > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From ben.boeckel at kitware.com Fri Jan 6 15:51:54 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Fri, 6 Jan 2017 15:51:54 -0500 Subject: [Paraview] Problem reading a numpy NPZ file in ParaView 5.2.0 on Windows In-Reply-To: References: Message-ID: <20170106205154.GA1275@megas.kitware.com> On Fri, Jan 06, 2017 at 14:36:53 -0500, Cory Quammen wrote: > Thanks for the report. I looked into this and I think I know what is going on. > > In ParaView 5.2.0, we reduced the number of Python modules that > shipped with the ParaView binaries. One of the modules not included > was the "compiler" module. Now, Numpy checks to see if the "compiler" > module is available, and if it isn't, uses the "ast" module instead to > parse some file header data. However, Numpy doesn't correctly handle > the results produced by using ast.parse to parse the header data. > > ParaView 5.1.2 shipped with the "compiler" module, which is why it > worked for you in the past. We'll have to add it back for the next > release. I've added an issue to track here: > > https://gitlab.kitware.com/paraview/paraview-superbuild/issues/43 Sorry about that, I missed the packages (foo/__init__.py) from the standard distribution. The nightlies will have it next week at the latest. --Ben From claude at theweak.link Sun Jan 8 00:19:26 2017 From: claude at theweak.link (Claude) Date: Sat, 7 Jan 2017 23:19:26 -0600 Subject: [Paraview] [ParaView] data from multiple servers rendered in the same view Message-ID: <1E95A509-4459-4B7D-8CEC-BAAA853B7138@theweak.link> Dear community of ParaView experts, I am a new ParaView user and hopefully plugin developer, and first time poster to the list. I hope the following will not sound too silly and I thank you in advance for your replies. There are several paraview servers setup and I am able to connect to all of them from the Paraview application. I can properly visualize the data on each server. However each data appear in a separate view and I would like to render them all in the same view (because they happen to be different type of data in the same volume of interest). These data are not on the same server for proprietary reasons (e.g. server A and server B are not held by the same people and do not share their data among themselves). Is there any way to "merge" the views together although they come from different sources? I couldn't find it in the UI but I wonder if this even possible/permitted by a software architecture standpoint. I would be ready to develop a plugin for it but as I am still exploring the devkit, I haven't found the answer yet (and I figured someone would know if it's even possible at all). I have searched the email archives (http://paraview.markmail.org) but didn't find anything similar. I found a lot about comparing data in multiple views or parallelizing the rendering of data but from the same server. Thank you in advance. all the best claude -------------- next part -------------- An HTML attachment was scrubbed... URL: From andi3173 at gmail.com Sun Jan 8 00:46:21 2017 From: andi3173 at gmail.com (Andi Hartarto) Date: Sun, 8 Jan 2017 16:46:21 +1100 Subject: [Paraview] paraview vtu to exodus. Using cell data as a criteria to make element blocks. Message-ID: Hi all, i need help please. Introduction: My problem is that I need to convert a vtu file into an exodus formatted file that reads several element block data. When I load my data in vtu, all i see is a white cubic block. This block has 2 data arrays named tetrahedra rank and tetrahedra number. When I change my coloring to tetrahedra rank, I can see 2 colors red and blue coloring my block. I want to save the vtu file into an exodus format file and load it to another software but the other software only shows me the output of colors if there are several element blocks. In my case, the vtu file converted to exodus has only 1 element block. In paraview, I can go properties, add the variables of tetrahedra rank and then change coloring then i see what i want to see. But in the software I am supposed to load the data, I can't do that. Im supposed to make my exodus data into 2 or more element blocks and then load it in that software which makes the software goes "ok so there are various data ! lets color it". I don't know what should i do to change my vtu file with cell data of tetrahedra rank clearly showing the 2 data sets into 2 element blocks. I have tried to use edit> find data> extract selection > repeat for the next > group the data. I get a multi block data set. It didn't work. I need 1 block data set with 2 or more element data inside it. Please help, Andi -------------- next part -------------- An HTML attachment was scrubbed... URL: From andi3173 at gmail.com Sun Jan 8 00:50:15 2017 From: andi3173 at gmail.com (Andi Hartarto) Date: Sun, 8 Jan 2017 16:50:15 +1100 Subject: [Paraview] paraview vtu to exodus. Using cell data as a criteria to make element blocks. In-Reply-To: References: Message-ID: and pictures ? On 8 January 2017 at 16:46, Andi Hartarto wrote: > Hi all, i need help please. > > Introduction: > My problem is that I need to convert a vtu file into an exodus formatted > file that reads several element block data. > When I load my data in vtu, all i see is a white cubic block. > This block has 2 data arrays named tetrahedra rank and tetrahedra number. > When I change my coloring to tetrahedra rank, I can see 2 colors red and > blue coloring my block. > > I want to save the vtu file into an exodus format file and load it to > another software but the other software only shows me the output of colors > if there are several element blocks. > In my case, the vtu file converted to exodus has only 1 element block. > In paraview, I can go properties, add the variables of tetrahedra rank and > then change coloring then i see what i want to see. > But in the software I am supposed to load the data, I can't do that. > Im supposed to make my exodus data into 2 or more element blocks and then > load it in that software which makes the software goes "ok so there are > various data ! lets color it". > > I don't know what should i do to change my vtu file with cell data of > tetrahedra rank clearly showing the 2 data sets into 2 element blocks. > I have tried to use edit> find data> extract selection > repeat for the > next > group the data. > I get a multi block data set. It didn't work. I need 1 block data set with > 2 or more element data inside it. > > Please help, > Andi > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: geom9.png Type: image/png Size: 262354 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: compare.png Type: image/png Size: 183883 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: data_corresponding.png Type: image/png Size: 151314 bytes Desc: not available URL: From bflandard at gmail.com Sun Jan 8 06:37:22 2017 From: bflandard at gmail.com (Bob Flandard) Date: Sun, 8 Jan 2017 11:37:22 +0000 Subject: [Paraview] get name of source in pipeline gui Message-ID: Hi, How to get the name of the active source in the pipeline? (the gui name) gas=GetActiveSource() Then what? I've spent an hour or more on this. Thanks, Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: From samuelkey at bresnan.net Sun Jan 8 11:44:01 2017 From: samuelkey at bresnan.net (Samuel Key) Date: Sun, 8 Jan 2017 09:44:01 -0700 Subject: [Paraview] [ParaView] data from multiple servers rendered in the same view In-Reply-To: <1E95A509-4459-4B7D-8CEC-BAAA853B7138@theweak.link> References: <1E95A509-4459-4B7D-8CEC-BAAA853B7138@theweak.link> Message-ID: <51adf710-0bd7-d255-9c84-d9b084f75d11@bresnan.net> An HTML attachment was scrubbed... URL: From claude at theweak.link Sun Jan 8 12:22:49 2017 From: claude at theweak.link (claude) Date: Sun, 8 Jan 2017 11:22:49 -0600 Subject: [Paraview] [ParaView] data from multiple servers rendered in the same view In-Reply-To: <51adf710-0bd7-d255-9c84-d9b084f75d11@bresnan.net> References: <1E95A509-4459-4B7D-8CEC-BAAA853B7138@theweak.link> <51adf710-0bd7-d255-9c84-d9b084f75d11@bresnan.net> Message-ID: <607bb6eb-5801-a674-9d84-334fa31ec8a5@theweak.link> Hello Sam, thank you for the quick reply, I may not be doing it properly then. Each time I toggle on the object to view, it ignores the current active viewer and opens it in a new viewer/layout tab (or the viewer already "linked" to the server if I didn't close that view yet). I attached 2 snapshots trying to show the behavior: each time I toggle on one or the other data, it switches automatically the layout (here "layout #2" and "layout #3"). Even if I close one of the layout and keep only one, it will recreate a brand new one. The servers are started with "$PARAVIEW/bin/pvserver --multi-clients" and Paraview is started with "$PARAVIEW/bin/paraview --multi-servers". Is this because the servers are both data+rendering and I should instead have 2 data servers but one rendering server maybe? Thanks again. cheers claude On 01/08/2017 10:44 AM, Samuel Key wrote: > > Claude, > > I am quite certain that I am the least qualified individual to answer > your question, but I have been an avid PV user for several years. > > As you click on each view to make it the active view (blue line around > the view's perimeter), look at the pipeline browser. You should see > the on/off "eyeballs" change. > > The appearance of the eyeball is either black for the datum set in the > current active view and the others are "grayed out," that is, inactive > as in "not visible." You should be able to click on a grayed out > eyeball and make it active/visible in your current selected view. > > Hope this helps. > > Sam Key > > On 1/7/2017 10:19 PM, Claude wrote: >> Dear community of ParaView experts, >> >> I am a new ParaView user and hopefully plugin developer, and first time >> poster to the list. I hope the following will not sound too silly and I >> thank you in advance for your replies. >> >> There are several paraview servers setup and I am able to connect to all >> of them from the Paraview application. I can properly visualize the data >> on each server. However each data appear in a separate view and I would >> like to render them all in the same view (because they happen to be >> different type of data in the same volume of interest). These data are >> not on the same server for proprietary reasons (e.g. server A and server >> B are not held by the same people and do not share their data among >> themselves). >> Is there any way to "merge" the views together although they come from >> different sources? I couldn't find it in the UI but I wonder if this >> even possible/permitted by a software architecture standpoint. I would >> be ready to develop a plugin for it but as I am still exploring the >> devkit, I haven't found the answer yet (and I figured someone would know >> if it's even possible at all). >> >> I have searched the email archives (http://paraview.markmail.org >> ) but >> didn't find anything similar. I found a lot about comparing data in >> multiple views or parallelizing the rendering of data but from the same >> server. >> >> Thank you in advance. >> all the best >> claude >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: server_with_layout_2.png Type: image/png Size: 20701 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: server_with_layout_3.png Type: image/png Size: 19582 bytes Desc: not available URL: From andi3173 at gmail.com Sun Jan 8 18:58:05 2017 From: andi3173 at gmail.com (Andi Hartarto) Date: Mon, 9 Jan 2017 10:58:05 +1100 Subject: [Paraview] Paraview Vtu to Exodus. Single block, multi element? Message-ID: Hi all, i need help please. Introduction: My problem is that I need to convert a vtu file into an exodus formatted file that reads several element block data. When I load my data in vtu, all i see is a white cubic block. This block has 2 data arrays named tetrahedra rank and tetrahedra number. When I change my coloring to tetrahedra rank, I can see 2 colors red and blue coloring my block. I want to save the vtu file into an exodus format file and load it to another software but the other software only shows me the output of colors if there are several element blocks. In my case, the vtu file converted to exodus has only 1 element block. In paraview, I can go properties, add the variables of tetrahedra rank and then change coloring then i see what i want to see. But in the software I am supposed to load the data, I can't do that. Im supposed to make my exodus data into 2 or more element blocks and then load it in that software which makes the software goes "ok so there are various data ! lets color it". I don't know what should i do to change my vtu file with cell data of tetrahedra rank clearly showing the 2 data sets into 2 element blocks. I have tried to use edit> find data> extract selection > repeat for the next > group the data. I get a multi block data set. It didn't work. I need 1 block data set with 2 or more element data inside it. Please help, Andi -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.westphal at kitware.com Mon Jan 9 04:02:36 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Mon, 9 Jan 2017 10:02:36 +0100 Subject: [Paraview] [ParaView] data from multiple servers rendered in the same view In-Reply-To: <607bb6eb-5801-a674-9d84-334fa31ec8a5@theweak.link> References: <1E95A509-4459-4B7D-8CEC-BAAA853B7138@theweak.link> <51adf710-0bd7-d255-9c84-d9b084f75d11@bresnan.net> <607bb6eb-5801-a674-9d84-334fa31ec8a5@theweak.link> Message-ID: Hi Claude Sadly, no, you can't. However, one find you can do is use the interactive view link. Right click on one view. add a CameraLink with the other view and check "Interactive View Link" You now have a "window" of a view into another view. Checkout the options in the "adjust camera" dialog, you can set opacity and hide the background. Regards, Mathieu Westphal On Sun, Jan 8, 2017 at 6:22 PM, claude wrote: > Hello Sam, > > thank you for the quick reply, I may not be doing it properly then. Each > time I toggle on the object to view, it ignores the current active viewer > and opens it in a new viewer/layout tab (or the viewer already "linked" to > the server if I didn't close that view yet). > > I attached 2 snapshots trying to show the behavior: each time I toggle on > one or the other data, it switches automatically the layout (here "layout > #2" and "layout #3"). Even if I close one of the layout and keep only one, > it will recreate a brand new one. > > The servers are started with "$PARAVIEW/bin/pvserver --multi-clients" and > Paraview is started with "$PARAVIEW/bin/paraview --multi-servers". Is this > because the servers are both data+rendering and I should instead have 2 > data servers but one rendering server maybe? > > Thanks again. > > cheers > > claude > > > On 01/08/2017 10:44 AM, Samuel Key wrote: > > Claude, > > I am quite certain that I am the least qualified individual to answer your > question, but I have been an avid PV user for several years. > > As you click on each view to make it the active view (blue line around the > view's perimeter), look at the pipeline browser. You should see the on/off > "eyeballs" change. > > The appearance of the eyeball is either black for the datum set in the > current active view and the others are "grayed out," that is, inactive as > in "not visible." You should be able to click on a grayed out eyeball and > make it active/visible in your current selected view. > > Hope this helps. > > Sam Key > On 1/7/2017 10:19 PM, Claude wrote: > > Dear community of ParaView experts, > > I am a new ParaView user and hopefully plugin developer, and first time > poster to the list. I hope the following will not sound too silly and I > thank you in advance for your replies. > > There are several paraview servers setup and I am able to connect to all > of them from the Paraview application. I can properly visualize the data > on each server. However each data appear in a separate view and I would > like to render them all in the same view (because they happen to be > different type of data in the same volume of interest). These data are > not on the same server for proprietary reasons (e.g. server A and server > B are not held by the same people and do not share their data among > themselves). > Is there any way to "merge" the views together although they come from > different sources? I couldn't find it in the UI but I wonder if this > even possible/permitted by a software architecture standpoint. I would > be ready to develop a plugin for it but as I am still exploring the > devkit, I haven't found the answer yet (and I figured someone would know > if it's even possible at all). > > I have searched the email archives ( > http://paraview.markmail.org) but > didn't find anything similar. I found a lot about comparing data in > multiple views or parallelizing the rendering of data but from the same > server. > > Thank you in advance. > all the best > claude > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.westphal at kitware.com Mon Jan 9 04:07:41 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Mon, 9 Jan 2017 10:07:41 +0100 Subject: [Paraview] get name of source in pipeline gui In-Reply-To: References: Message-ID: Hi pxm = servermanager.ProxyManager() a=GetActiveSource() pxm.GetProxyName('sources',a.SMProxy) 'Box1' Regards, Mathieu Westphal On Sun, Jan 8, 2017 at 12:37 PM, Bob Flandard wrote: > Hi, > > How to get the name of the active source in the pipeline? (the gui name) > > gas=GetActiveSource() > > Then what? > > I've spent an hour or more on this. > > Thanks, Bob > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Olesen at esi-group.com Mon Jan 9 04:10:40 2017 From: Mark.Olesen at esi-group.com (Mark Olesen) Date: Mon, 9 Jan 2017 09:10:40 +0000 Subject: [Paraview] upgrading reader module/plugin In-Reply-To: References: , Message-ID: Hi Utkarsh, The addPropertyLink works exactly as desired and triggers the necessary update mechanism. For a few places I still have direct connect() to catch the signal and do something additional with it, but that was expected. I don't know why I still need an SetImmediateUpdate to get the changes propagated properly, but that can wait. The most important thing is that I can now load my reader module in paraview 5.2 and move forward. Thank you, /mark ________________________________________ From: Utkarsh Ayachit Sent: Thursday, January 5, 2017 4:52:32 AM To: Mark Olesen Cc: paraview at paraview.org Subject: Re: [Paraview] upgrading reader module/plugin Mark, As you can expect, connecting Qt widgets to vtkSMProperty's on proxies in a two-way-link is common in ParaView panels and hence ParaView provides quite a few ways for doing that. For your use-case, where you're connecting a QCheckBox to an IntVectorProperty on the proxy, your pqPropertyWidget subclass can do something like the following: Assuming your XML for the group is as follows: QCheckBox *checkbox = ... vtkSMProperty* smProperty = smgroup->GetProperty("InterpolateFields"); this->addPropertyLink(checkbox, "checked", SIGNAL(toggled(bool), smProperty); That should do it. Utkarsh On Wed, Jan 4, 2017 at 9:48 AM, Mark Olesen wrote: > I'm currently upgrading a reader module from using a pqAutoGeneratedObjectPanel to a using a property group widget (as per http://www.paraview.org/Wiki/Plugin_HowTo#Adding_Customizations_for_Properties_Panel). > > I have my bunch of properties in a PropertyGroup and have a panel_widget associated with them. Everything loads up, and using printf() I can verify that the property values are all being updated. > However, not only does it seems rather clunky, I cannot get the "Apply" button on the property panel to notice when the property values have been updated. > > Here's a basic sketch of what I have: > > // Get the property from the group (with down-cast): > interpolateFields_ = group->GetProperty("interpolate"); > > // Provide a checkbox as widget for it - two-column layout. > QCheckBox* b = new QCheckBox(prop->GetXMLLabel(), this); > form->addWidget(b, row, col, Qt::AlignLeft); > > // Connect to slot: > connect(b, SIGNAL(toggled(bool)), this, SLOT(interpolateFields(bool))); > > // This is ugly, but seems to be needed??? > interpolateFields_->SetImmediateUpdate(true); > > // And the slot itself > void interpolateFields(bool checked) > { > interpolateFields_->SetElement(0, checked); > // this->setModified(); > //^^^ used to work with pqAutoGeneratedObjectPanel > } > > I used to rely on the setModified() method from the pqAutoGeneratedObjectPanel, but now can't seem to get from the SMproxy to the pqProxy or whatever. > > Or am I going about this entirely the wrong way? > FWIW, here are the relevant sub-entries from the XML, in case there is something missing there: > > name="InterpolateFields" > command="SetInterpolateVolFields" > number_of_elements="1" > default_values="1" > animateable="0"> > > > > > label="General Controls" > panel_widget="my_reader_controls"> > > ... > > > Unfortunately, the Examples/Plugins/PropertyWidgets is a bit scanty here. > > Thanks for any advice, > > /mark > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From bflandard at gmail.com Mon Jan 9 04:19:13 2017 From: bflandard at gmail.com (Bob Flandard) Date: Mon, 9 Jan 2017 09:19:13 +0000 Subject: [Paraview] get name of source in pipeline gui In-Reply-To: References: Message-ID: Perfect! Thanks very much Mathieu. Regards, Bob On 9 January 2017 at 09:07, Mathieu Westphal wrote: > Hi > > pxm = servermanager.ProxyManager() > > a=GetActiveSource() > > pxm.GetProxyName('sources',a.SMProxy) > > 'Box1' > > Regards, > > Mathieu Westphal > > On Sun, Jan 8, 2017 at 12:37 PM, Bob Flandard wrote: > >> Hi, >> >> How to get the name of the active source in the pipeline? (the gui name) >> >> gas=GetActiveSource() >> >> Then what? >> >> I've spent an hour or more on this. >> >> Thanks, Bob >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gerald.Lodron at joanneum.at Mon Jan 9 04:20:58 2017 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Mon, 9 Jan 2017 09:20:58 +0000 Subject: [Paraview] vtkImageData Plugin, vtkImageData not rendered Message-ID: Hi I programmed successfully a plugin source wich generates a vtkImageData output and made it the same way as on my 3d cloud plugins of vtkPolyData. The source is inherited from vtkImageAlgorithm and only contains one output with unsigned char array and one component. In the request data function of the filter I currently have a very dummy: output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* oData.imgSizeY*sizeof(unsigned char)); in paraview I see in the information tab that I have an uniform rectilinear grid with 1917201 cells and 1920000 points (image is 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a correct range of my memcopy data (my min max range is not 0,255 so data seems to be there)... the problem is that I cannot see anything in the render view, any suggestions what I am making wrong? I tested all representation (slice, surface, outline, on Solid Color and on my array), never see anything..... I also compared the Information tab on a loaded jpeg image and cannot see any difference (which is rendered in render view except the Array's string name), by the way: can I disable "MapScalars" by default? I am using pv5.2 ------------------------------------------------------------------------------------ Gerald Lodron ? Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies ? JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA ? phone:?? +43-316-876-1751??? general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at From claude at theweak.link Mon Jan 9 09:07:52 2017 From: claude at theweak.link (Claude) Date: Mon, 9 Jan 2017 08:07:52 -0600 Subject: [Paraview] [ParaView] data from multiple servers rendered in the same view In-Reply-To: References: <1E95A509-4459-4B7D-8CEC-BAAA853B7138@theweak.link> <51adf710-0bd7-d255-9c84-d9b084f75d11@bresnan.net> <607bb6eb-5801-a674-9d84-334fa31ec8a5@theweak.link> Message-ID: <8662F761-E698-497C-9DA5-28147EF4DCDF@theweak.link> Hi Mathieu, Too bad, and at the same time understandable it is not possible in a parallel remote rendering architecture. Thank you for the workaround!! Cheers Claude Thank you for the trick Mathieu. > On Jan 9, 2017, at 3:02 AM, Mathieu Westphal wrote: > > Hi Claude > > Sadly, no, you can't. > However, one find you can do is use the interactive view link. > Right click on one view. add a CameraLink with the other view and check "Interactive View Link" > > You now have a "window" of a view into another view. Checkout the options in the "adjust camera" dialog, you can set opacity and hide the background. > > Regards, > > Mathieu Westphal > >> On Sun, Jan 8, 2017 at 6:22 PM, claude wrote: >> Hello Sam, >> >> thank you for the quick reply, I may not be doing it properly then. Each time I toggle on the object to view, it ignores the current active viewer and opens it in a new viewer/layout tab (or the viewer already "linked" to the server if I didn't close that view yet). >> >> I attached 2 snapshots trying to show the behavior: each time I toggle on one or the other data, it switches automatically the layout (here "layout #2" and "layout #3"). Even if I close one of the layout and keep only one, it will recreate a brand new one. >> The servers are started with "$PARAVIEW/bin/pvserver --multi-clients" and Paraview is started with "$PARAVIEW/bin/paraview --multi-servers". Is this because the servers are both data+rendering and I should instead have 2 data servers but one rendering server maybe? >> >> Thanks again. >> >> cheers >> >> claude >> >> >>> On 01/08/2017 10:44 AM, Samuel Key wrote: >>> Claude, >>> >>> I am quite certain that I am the least qualified individual to answer your question, but I have been an avid PV user for several years. >>> >>> As you click on each view to make it the active view (blue line around the view's perimeter), look at the pipeline browser. You should see the on/off "eyeballs" change. >>> >>> The appearance of the eyeball is either black for the datum set in the current active view and the others are "grayed out," that is, inactive as in "not visible." You should be able to click on a grayed out eyeball and make it active/visible in your current selected view. >>> >>> Hope this helps. >>> >>> Sam Key >>> >>>> On 1/7/2017 10:19 PM, Claude wrote: >>>> Dear community of ParaView experts, >>>> >>>> I am a new ParaView user and hopefully plugin developer, and first time >>>> poster to the list. I hope the following will not sound too silly and I >>>> thank you in advance for your replies. >>>> >>>> There are several paraview servers setup and I am able to connect to all >>>> of them from the Paraview application. I can properly visualize the data >>>> on each server. However each data appear in a separate view and I would >>>> like to render them all in the same view (because they happen to be >>>> different type of data in the same volume of interest). These data are >>>> not on the same server for proprietary reasons (e.g. server A and server >>>> B are not held by the same people and do not share their data among >>>> themselves). >>>> Is there any way to "merge" the views together although they come from >>>> different sources? I couldn't find it in the UI but I wonder if this >>>> even possible/permitted by a software architecture standpoint. I would >>>> be ready to develop a plugin for it but as I am still exploring the >>>> devkit, I haven't found the answer yet (and I figured someone would know >>>> if it's even possible at all). >>>> >>>> I have searched the email archives (http://paraview.markmail.org) but >>>> didn't find anything similar. I found a lot about comparing data in >>>> multiple views or parallelizing the rendering of data but from the same >>>> server. >>>> >>>> Thank you in advance. >>>> all the best >>>> claude >>>> >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Jan 9 10:18:11 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 9 Jan 2017 10:18:11 -0500 Subject: [Paraview] upgrading reader module/plugin In-Reply-To: References: Message-ID: I don't think `SetImmediateUpdate` should be needed any more. Are you sure it's needed? If I remember correctly, it's one of the obselete ivars that should truly be deprecated and removed. On Mon, Jan 9, 2017 at 4:10 AM, Mark Olesen wrote: > Hi Utkarsh, > > The addPropertyLink works exactly as desired and triggers the necessary update mechanism. For a few places I still have direct connect() to catch the signal and do something additional with it, but that was expected. I don't know why I still need an SetImmediateUpdate to get the changes propagated properly, but that can wait. The most important thing is that I can now load my reader module in paraview 5.2 and move forward. > > Thank you, > /mark > > ________________________________________ > From: Utkarsh Ayachit > Sent: Thursday, January 5, 2017 4:52:32 AM > To: Mark Olesen > Cc: paraview at paraview.org > Subject: Re: [Paraview] upgrading reader module/plugin > > Mark, > > As you can expect, connecting Qt widgets to vtkSMProperty's on proxies > in a two-way-link is common in ParaView panels and hence ParaView > provides quite a few ways for doing that. For your use-case, where > you're connecting a QCheckBox to an IntVectorProperty on the proxy, > your pqPropertyWidget subclass can do something like the following: > > Assuming your XML for the group is as follows: > > QCheckBox *checkbox = ... > vtkSMProperty* smProperty = smgroup->GetProperty("InterpolateFields"); > this->addPropertyLink(checkbox, "checked", SIGNAL(toggled(bool), smProperty); > > That should do it. > > Utkarsh > > On Wed, Jan 4, 2017 at 9:48 AM, Mark Olesen wrote: >> I'm currently upgrading a reader module from using a pqAutoGeneratedObjectPanel to a using a property group widget (as per http://www.paraview.org/Wiki/Plugin_HowTo#Adding_Customizations_for_Properties_Panel). >> >> I have my bunch of properties in a PropertyGroup and have a panel_widget associated with them. Everything loads up, and using printf() I can verify that the property values are all being updated. >> However, not only does it seems rather clunky, I cannot get the "Apply" button on the property panel to notice when the property values have been updated. >> >> Here's a basic sketch of what I have: >> >> // Get the property from the group (with down-cast): >> interpolateFields_ = group->GetProperty("interpolate"); >> >> // Provide a checkbox as widget for it - two-column layout. >> QCheckBox* b = new QCheckBox(prop->GetXMLLabel(), this); >> form->addWidget(b, row, col, Qt::AlignLeft); >> >> // Connect to slot: >> connect(b, SIGNAL(toggled(bool)), this, SLOT(interpolateFields(bool))); >> >> // This is ugly, but seems to be needed??? >> interpolateFields_->SetImmediateUpdate(true); >> >> // And the slot itself >> void interpolateFields(bool checked) >> { >> interpolateFields_->SetElement(0, checked); >> // this->setModified(); >> //^^^ used to work with pqAutoGeneratedObjectPanel >> } >> >> I used to rely on the setModified() method from the pqAutoGeneratedObjectPanel, but now can't seem to get from the SMproxy to the pqProxy or whatever. >> >> Or am I going about this entirely the wrong way? >> FWIW, here are the relevant sub-entries from the XML, in case there is something missing there: >> >> > name="InterpolateFields" >> command="SetInterpolateVolFields" >> number_of_elements="1" >> default_values="1" >> animateable="0"> >> >> >> >> >> > label="General Controls" >> panel_widget="my_reader_controls"> >> >> ... >> >> >> Unfortunately, the Examples/Plugins/PropertyWidgets is a bit scanty here. >> >> Thanks for any advice, >> >> /mark >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview From kmorel at sandia.gov Mon Jan 9 11:32:11 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 9 Jan 2017 16:32:11 +0000 Subject: [Paraview] Paraview Vtu to Exodus. Single block, multi element? Message-ID: <34df66e5c1d5491dadae50969e01bbaa@ES08AMSNLNT.srn.sandia.gov> Andi, You said you need an output with multiple blocks, but your last comment, ?I need 1 block data set with 2 or more element data inside it,? suggests that what you really need is to add a second field of data. Try using the calculator to add that second field. Set the attribute mode to ?Cell Data?, the ?Result Array Name? to ?Dummy?, and the Expression to 0. Now when you write that out to an Exodus file you should have two element data fields: the original tetrahedral rank and the Dummy field you created. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Andi Hartarto Sent: Sunday, January 8, 2017 4:58 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Paraview Vtu to Exodus. Single block, multi element? Hi all, i need help please. Introduction: My problem is that I need to convert a vtu file into an exodus formatted file that reads several element block data. When I load my data in vtu, all i see is a white cubic block. This block has 2 data arrays named tetrahedra rank and tetrahedra number. When I change my coloring to tetrahedra rank, I can see 2 colors red and blue coloring my block. I want to save the vtu file into an exodus format file and load it to another software but the other software only shows me the output of colors if there are several element blocks. In my case, the vtu file converted to exodus has only 1 element block. In paraview, I can go properties, add the variables of tetrahedra rank and then change coloring then i see what i want to see. But in the software I am supposed to load the data, I can't do that. Im supposed to make my exodus data into 2 or more element blocks and then load it in that software which makes the software goes "ok so there are various data ! lets color it". I don't know what should i do to change my vtu file with cell data of tetrahedra rank clearly showing the 2 data sets into 2 element blocks. I have tried to use edit> find data> extract selection > repeat for the next > group the data. I get a multi block data set. It didn't work. I need 1 block data set with 2 or more element data inside it. Please help, Andi -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Mon Jan 9 11:42:52 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 9 Jan 2017 16:42:52 +0000 Subject: [Paraview] get name of source in pipeline gui Message-ID: <43b0ea5757cb4cdcad7f89eb7ef4ead6@ES08AMSNLNT.srn.sandia.gov> I think the only way to get the name of the active source (or any source for that matter) is to search for it in the values of the dictionary returned by GetSources(). If you look at this dictionary, it has a set of keys that are a pair consisting of the name in the pipeline browser and a unique id string (in case two items in the pipeline browser have the same name). This rather obtuse expression should return the string of the name of the active source in the pipeline browser: list(GetSources().keys())[list(GetSources().values()).index(GetActiveSource())][0] Maybe someone knows of another Python binding I am not familiar with, but this should at least solve your problem. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Bob Flandard Sent: Sunday, January 8, 2017 4:37 AM To: paraview Subject: [EXTERNAL] [Paraview] get name of source in pipeline gui Hi, How to get the name of the active source in the pipeline? (the gui name) gas=GetActiveSource() Then what? I've spent an hour or more on this. Thanks, Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Olesen at esi-group.com Mon Jan 9 12:31:10 2017 From: Mark.Olesen at esi-group.com (Mark Olesen) Date: Mon, 9 Jan 2017 17:31:10 +0000 Subject: [Paraview] upgrading reader module/plugin In-Reply-To: References: , Message-ID: The SetImmediateUpdate seems be needed for cases where I do bypass the addPropertyLink mechanism. Eg, QCheckBox* b = new QCheckBox(this); setButtonProperties(b, showPointNumbers_); //<- text, tips etc... form->addWidget(b, 0, 1, Qt::AlignLeft); connect(b, SIGNAL(toggled(bool)), this, SLOT(showPointNumbers(bool))); showPointNumbers_->SetImmediateUpdate(true); and then void pqFoamBlockMeshControls::showPointNumbers(bool checked) { showPointNumbers_->SetElement(0, checked); // Update the active view if (this->view()) { this->view()->render(); } } Without the SetImmediateUpdate, the toggle of the showPointNumbers property doesn't get propagated to the reader until sometime later. Maybe the key is to signal directly to the reader? ________________________________________ From: Utkarsh Ayachit Sent: Monday, January 9, 2017 4:18 PM To: Mark Olesen Cc: paraview at paraview.org Subject: Re: [Paraview] upgrading reader module/plugin I don't think `SetImmediateUpdate` should be needed any more. Are you sure it's needed? If I remember correctly, it's one of the obselete ivars that should truly be deprecated and removed. On Mon, Jan 9, 2017 at 4:10 AM, Mark Olesen wrote: > Hi Utkarsh, > > The addPropertyLink works exactly as desired and triggers the necessary update mechanism. For a few places I still have direct connect() to catch the signal and do something additional with it, but that was expected. I don't know why I still need an SetImmediateUpdate to get the changes propagated properly, but that can wait. The most important thing is that I can now load my reader module in paraview 5.2 and move forward. > > Thank you, > /mark > > ________________________________________ > From: Utkarsh Ayachit > Sent: Thursday, January 5, 2017 4:52:32 AM > To: Mark Olesen > Cc: paraview at paraview.org > Subject: Re: [Paraview] upgrading reader module/plugin > > Mark, > > As you can expect, connecting Qt widgets to vtkSMProperty's on proxies > in a two-way-link is common in ParaView panels and hence ParaView > provides quite a few ways for doing that. For your use-case, where > you're connecting a QCheckBox to an IntVectorProperty on the proxy, > your pqPropertyWidget subclass can do something like the following: > > Assuming your XML for the group is as follows: > > QCheckBox *checkbox = ... > vtkSMProperty* smProperty = smgroup->GetProperty("InterpolateFields"); > this->addPropertyLink(checkbox, "checked", SIGNAL(toggled(bool), smProperty); > > That should do it. > > Utkarsh > > On Wed, Jan 4, 2017 at 9:48 AM, Mark Olesen wrote: >> I'm currently upgrading a reader module from using a pqAutoGeneratedObjectPanel to a using a property group widget (as per http://www.paraview.org/Wiki/Plugin_HowTo#Adding_Customizations_for_Properties_Panel). >> >> I have my bunch of properties in a PropertyGroup and have a panel_widget associated with them. Everything loads up, and using printf() I can verify that the property values are all being updated. >> However, not only does it seems rather clunky, I cannot get the "Apply" button on the property panel to notice when the property values have been updated. >> >> Here's a basic sketch of what I have: >> >> // Get the property from the group (with down-cast): >> interpolateFields_ = group->GetProperty("interpolate"); >> >> // Provide a checkbox as widget for it - two-column layout. >> QCheckBox* b = new QCheckBox(prop->GetXMLLabel(), this); >> form->addWidget(b, row, col, Qt::AlignLeft); >> >> // Connect to slot: >> connect(b, SIGNAL(toggled(bool)), this, SLOT(interpolateFields(bool))); >> >> // This is ugly, but seems to be needed??? >> interpolateFields_->SetImmediateUpdate(true); >> >> // And the slot itself >> void interpolateFields(bool checked) >> { >> interpolateFields_->SetElement(0, checked); >> // this->setModified(); >> //^^^ used to work with pqAutoGeneratedObjectPanel >> } >> >> I used to rely on the setModified() method from the pqAutoGeneratedObjectPanel, but now can't seem to get from the SMproxy to the pqProxy or whatever. >> >> Or am I going about this entirely the wrong way? >> FWIW, here are the relevant sub-entries from the XML, in case there is something missing there: >> >> > name="InterpolateFields" >> command="SetInterpolateVolFields" >> number_of_elements="1" >> default_values="1" >> animateable="0"> >> >> >> >> >> > label="General Controls" >> panel_widget="my_reader_controls"> >> >> ... >> >> >> Unfortunately, the Examples/Plugins/PropertyWidgets is a bit scanty here. >> >> Thanks for any advice, >> >> /mark >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview From joachim.pouderoux at kitware.com Mon Jan 9 13:39:53 2017 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Mon, 9 Jan 2017 14:39:53 -0400 Subject: [Paraview] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: References: Message-ID: Hi Gerald, Not sure it is the only issue but please try giving a name to the output scalar arrays. ParaView won't make visible arrays which don't have a name. Example: output->GetPointData()->GetScalars()->SetName("values"); Best, *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-01-09 5:20 GMT-04:00 Lodron, Gerald : > Hi > > I programmed successfully a plugin source wich generates a vtkImageData > output and made it the same way as on my 3d cloud plugins of vtkPolyData. > The source is inherited from vtkImageAlgorithm and only contains one output > with unsigned char array and one component. > > In the request data function of the filter I currently have a very dummy: > > output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); > output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); > memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* > oData.imgSizeY*sizeof(unsigned char)); > > in paraview I see in the information tab that I have an uniform > rectilinear grid with 1917201 cells and 1920000 points (image is > 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a > correct range of my memcopy data (my min max range is not 0,255 so data > seems to be there)... > > the problem is that I cannot see anything in the render view, any > suggestions what I am making wrong? I tested all representation (slice, > surface, outline, on Solid Color and on my array), never see anything..... > > I also compared the Information tab on a loaded jpeg image and cannot see > any difference (which is rendered in render view except the Array's string > name), by the way: can I disable "MapScalars" by default? > > I am using pv5.2 > > ------------------------------------------------------------ > ------------------------ > Gerald Lodron > > Researcher of Machine Vision Applications Group > DIGITAL - Institute for Information and Communication Technologies > > JOANNEUM RESEARCH Forschungsgesellschaft mbH > Steyrergasse 17, 8010 Graz, AUSTRIA > > phone: +43-316-876-1751 > general fax: +43-316-876-1751 > web: http://www.joanneum.at/digital > e-mail: gerald.lodron at joanneum.at > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gerald.Lodron at joanneum.at Tue Jan 10 00:49:07 2017 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Tue, 10 Jan 2017 05:49:07 +0000 Subject: [Paraview] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: References: Message-ID: Hi Good try but does not effect anything except the string in paraview?s combo box. The strange thing is that I also cannot see anything in spreadsheet view (empty cell and point data)? but on information tab point data and cell data is there?. Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Montag, 09. J?nner 2017 19:40 An: Lodron, Gerald Cc: Paraview User (paraview at paraview.org); Paraview Developer (Paraview-developers at paraview.org) Betreff: Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered Hi Gerald, Not sure it is the only issue but please try giving a name to the output scalar arrays. ParaView won't make visible arrays which don't have a name. Example: output->GetPointData()->GetScalars()->SetName("values"); Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-09 5:20 GMT-04:00 Lodron, Gerald >: Hi I programmed successfully a plugin source wich generates a vtkImageData output and made it the same way as on my 3d cloud plugins of vtkPolyData. The source is inherited from vtkImageAlgorithm and only contains one output with unsigned char array and one component. In the request data function of the filter I currently have a very dummy: output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* oData.imgSizeY*sizeof(unsigned char)); in paraview I see in the information tab that I have an uniform rectilinear grid with 1917201 cells and 1920000 points (image is 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a correct range of my memcopy data (my min max range is not 0,255 so data seems to be there)... the problem is that I cannot see anything in the render view, any suggestions what I am making wrong? I tested all representation (slice, surface, outline, on Solid Color and on my array), never see anything..... I also compared the Information tab on a loaded jpeg image and cannot see any difference (which is rendered in render view except the Array's string name), by the way: can I disable "MapScalars" by default? I am using pv5.2 ------------------------------------------------------------------------------------ Gerald Lodron Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA phone: +43-316-876-1751 general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gerald.Lodron at joanneum.at Tue Jan 10 01:00:09 2017 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Tue, 10 Jan 2017 06:00:09 +0000 Subject: [Paraview] [Paraview-developers] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: References: Message-ID: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> Here i printed my vtkImageDataOutput of my plugin in Request data, may that helps?: output vtkImageData (00000087ABEB1260) Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: (none) Information: 00000087AC049A90 Data Released: False Global Release Data: Off UpdateTime: 195896 Field Data: Debug: Off Modified Time: 870094 Reference Count: 1 Registered Events: (none) Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Number Of Points: 1920000 Number Of Cells: 1917201 Cell Data: Debug: Off Modified Time: 870179 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC476A0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Point Data: Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC475B0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 1 Array 0 name = 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: Debug: Off Modified Time: 870148 Reference Count: 2 Registered Events: (none) Name: 21745593 Data type: unsigned char Size: 1920000 MaxId: 1919999 NumberOfComponents: 1 Information: 0000000000000000 Name: 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Size: 1920000 MaxId: 1919999 LookupTable: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Bounds: Xmin,Xmax: (0, 1599) Ymin,Ymax: (0, 1199) Zmin,Zmax: (0, 0) Compute Time: 870184 Spacing: (1, 1, 1) Origin: (0, 0, 0) Dimensions: (1600, 1200, 1) Increments: (0, 0, 0) Extent: (0, 1599, 0, 1199, 0, 0) Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Dienstag, 10. J?nner 2017 06:49 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Hi Good try but does not effect anything except the string in paraview?s combo box. The strange thing is that I also cannot see anything in spreadsheet view (empty cell and point data)? but on information tab point data and cell data is there?. Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Montag, 09. J?nner 2017 19:40 An: Lodron, Gerald Cc: Paraview User (paraview at paraview.org); Paraview Developer (Paraview-developers at paraview.org) Betreff: Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered Hi Gerald, Not sure it is the only issue but please try giving a name to the output scalar arrays. ParaView won't make visible arrays which don't have a name. Example: output->GetPointData()->GetScalars()->SetName("values"); Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-09 5:20 GMT-04:00 Lodron, Gerald >: Hi I programmed successfully a plugin source wich generates a vtkImageData output and made it the same way as on my 3d cloud plugins of vtkPolyData. The source is inherited from vtkImageAlgorithm and only contains one output with unsigned char array and one component. In the request data function of the filter I currently have a very dummy: output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* oData.imgSizeY*sizeof(unsigned char)); in paraview I see in the information tab that I have an uniform rectilinear grid with 1917201 cells and 1920000 points (image is 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a correct range of my memcopy data (my min max range is not 0,255 so data seems to be there)... the problem is that I cannot see anything in the render view, any suggestions what I am making wrong? I tested all representation (slice, surface, outline, on Solid Color and on my array), never see anything..... I also compared the Information tab on a loaded jpeg image and cannot see any difference (which is rendered in render view except the Array's string name), by the way: can I disable "MapScalars" by default? I am using pv5.2 ------------------------------------------------------------------------------------ Gerald Lodron Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA phone: +43-316-876-1751 general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From guillaume.jacquenot at gmail.com Tue Jan 10 05:55:52 2017 From: guillaume.jacquenot at gmail.com (Guillaume Jacquenot) Date: Tue, 10 Jan 2017 11:55:52 +0100 Subject: [Paraview] Paraview 5.2.0 compilation with support for HMD and Python Message-ID: I have seen that Kitware developers have proposed a ParaView version with support for Oculus Rift and HTC Vive HMD. And it looks awesome, and opens a wide range of opportunities. https://blog.kitware.com/taking-paraview-into-virtual-reality/ However, the proposed version does not embed Python scripting possibilities. I would like to benefit from these functionnalities. Can anyone give me some advice on: - where to find the source code with the support for HMD - how to compile to the code with Python support The best would be a link to an installation file, but I am ready to compile it! Thanks Guillaume Jacquenot -------------- next part -------------- An HTML attachment was scrubbed... URL: From yzhzhang at ipe.ac.cn Tue Jan 10 06:41:07 2017 From: yzhzhang at ipe.ac.cn (=?GBK?B?1cXUptbe?=) Date: Tue, 10 Jan 2017 19:41:07 +0800 (GMT+08:00) Subject: [Paraview] How to load different data files for multiple pvservers Message-ID: <166d83d.207ab.159882e8580.Coremail.yzhzhang@ipe.ac.cn> Hello, I'm using ParaView for parallel visualization. My dataset is polydata, it is not "parallel aware". However, using the D3 filter, as the ParaView User's Guide says, is too expensive, which slow down the whole process significantly. As my data is generated in parallel, I want to assign these data files to multiple pvservers. For example, I have a dataset contains four files: file0.vtk, file1.vtk, file2.vtk and file3.vtk. Note that they are not temporal file series, but each represent a different area of the simulation domain. And, I start four pvservers by mpirun -np 4 ./pvserver. I can connect to the pvserver using paraview GUI on my PC, but I don't how to distribute the four files to each pvserver. I tried to select the four files using the Ctrl key and hit Apply, but it seems that they are all assigned to the process 0. Is there any way I can distribute the data files to each pvserver using the paraview GUI? Thanks a lot! -Zhang -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.westphal at kitware.com Tue Jan 10 07:44:41 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Tue, 10 Jan 2017 13:44:41 +0100 Subject: [Paraview] How to load different data files for multiple pvservers In-Reply-To: <166d83d.207ab.159882e8580.Coremail.yzhzhang@ipe.ac.cn> References: <166d83d.207ab.159882e8580.Coremail.yzhzhang@ipe.ac.cn> Message-ID: Hi It is quite simple. First convert your file to modern file type, eg .vtu , .vtp or .vti Then manually create a .pvtu/p/i with the correct syntax. Take a look at the attached file file.pvtp Regards Mathieu Westphal On Tue, Jan 10, 2017 at 12:41 PM, ??? wrote: > > > Hello, > > I'm using ParaView for parallel visualization. My dataset is polydata, it > is not "parallel aware". However, using the D3 filter, as the ParaView > User's Guide says, is too expensive, which slow down the whole process > significantly. As my data is generated in parallel, I want to assign these > data files to multiple pvservers. For example, I have a dataset contains > four files: file0.vtk, file1.vtk, file2.vtk and file3.vtk. Note that they > are not temporal file series, but each represent a different area of the > simulation domain. And, I start four pvservers by mpirun -np 4 ./pvserver. > I can connect to the pvserver using paraview GUI on my PC, but I don't how > to distribute the four files to each pvserver. I tried to select the four > files using the Ctrl key and hit Apply, but it seems that they are all > assigned to the process 0. Is there any way I can distribute the data files > to each pvserver using the paraview GUI? > > Thanks a lot! > -Zhang > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: file.pvtp Type: application/octet-stream Size: 432 bytes Desc: not available URL: From yzhzhang at ipe.ac.cn Tue Jan 10 08:56:11 2017 From: yzhzhang at ipe.ac.cn (=?UTF-8?B?5byg6amt5rSy?=) Date: Tue, 10 Jan 2017 21:56:11 +0800 (GMT+08:00) Subject: [Paraview] How to load different data files for multiple pvservers In-Reply-To: References: <166d83d.207ab.159882e8580.Coremail.yzhzhang@ipe.ac.cn> Message-ID: <1c3c166.24606.15988aa2f9a.Coremail.yzhzhang@ipe.ac.cn> Hi Mathieu, Thank you for the quick reply! I have some .vtp files and tried the way you told me, and got the result what I want. However, I don't know how to convert my .vtk files to .vtp files. Could you please give me more information about this? And, can I generate .vtp files from a simulation code by using some vtkwriter object? Sincerely -Zhang -----????----- ???: "Mathieu Westphal" ????: 2017?1?10? ??? ???: "???" ??: ParaView ??: Re: [Paraview] How to load different data files for multiple pvservers Hi It is quite simple. First convert your file to modern file type, eg .vtu , .vtp or .vti Then manually create a .pvtu/p/i with the correct syntax. Take a look at the attached file file.pvtp Regards Mathieu Westphal On Tue, Jan 10, 2017 at 12:41 PM, ??? wrote: Hello, I'm using ParaView for parallel visualization. My dataset is polydata, it is not "parallel aware". However, using the D3 filter, as the ParaView User's Guide says, is too expensive, which slow down the whole process significantly. As my data is generated in parallel, I want to assign these data files to multiple pvservers. For example, I have a dataset contains four files: file0.vtk, file1.vtk, file2.vtk and file3.vtk. Note that they are not temporal file series, but each represent a different area of the simulation domain. And, I start four pvservers by mpirun -np 4 ./pvserver. I can connect to the pvserver using paraview GUI on my PC, but I don't how to distribute the four files to each pvserver. I tried to select the four files using the Ctrl key and hit Apply, but it seems that they are all assigned to the process 0. Is there any way I can distribute the data files to each pvserver using the paraview GUI? Thanks a lot! -Zhang _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.westphal at kitware.com Tue Jan 10 09:08:52 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Tue, 10 Jan 2017 15:08:52 +0100 Subject: [Paraview] How to load different data files for multiple pvservers In-Reply-To: <1c3c166.24606.15988aa2f9a.Coremail.yzhzhang@ipe.ac.cn> References: <166d83d.207ab.159882e8580.Coremail.yzhzhang@ipe.ac.cn> <1c3c166.24606.15988aa2f9a.Coremail.yzhzhang@ipe.ac.cn> Message-ID: Hi Sure, take a look into vtkXMLPolyDataWriter Regards Mathieu Westphal On Tue, Jan 10, 2017 at 2:56 PM, ??? wrote: > > Hi Mathieu, > > Thank you for the quick reply! I have some .vtp files and tried the way > you told me, and got the result what I want. However, I don't know how to > convert my .vtk files to .vtp files. Could you please give me more > information about this? And, can I generate .vtp files from a simulation > code by using some vtkwriter object? > > Sincerely > -Zhang > > -----????----- > *???:* "Mathieu Westphal" > *????:* 2017?1?10? ??? > *???:* "???" > *??:* ParaView > *??:* Re: [Paraview] How to load different data files for multiple > pvservers > > > Hi > > It is quite simple. > First convert your file to modern file type, eg .vtu , .vtp or .vti > Then manually create a .pvtu/p/i with the correct syntax. > > Take a look at the attached file file.pvtp > > Regards > > Mathieu Westphal > > On Tue, Jan 10, 2017 at 12:41 PM, ??? wrote: > >> >> >> Hello, >> >> I'm using ParaView for parallel visualization. My dataset is polydata, it >> is not "parallel aware". However, using the D3 filter, as the ParaView >> User's Guide says, is too expensive, which slow down the whole process >> significantly. As my data is generated in parallel, I want to assign these >> data files to multiple pvservers. For example, I have a dataset contains >> four files: file0.vtk, file1.vtk, file2.vtk and file3.vtk. Note that they >> are not temporal file series, but each represent a different area of the >> simulation domain. And, I start four pvservers by mpirun -np 4 ./pvserver. >> I can connect to the pvserver using paraview GUI on my PC, but I don't how >> to distribute the four files to each pvserver. I tried to select the four >> files using the Ctrl key and hit Apply, but it seems that they are all >> assigned to the process 0. Is there any way I can distribute the data files >> to each pvserver using the paraview GUI? >> >> Thanks a lot! >> -Zhang >> >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From yzhzhang at ipe.ac.cn Tue Jan 10 09:16:56 2017 From: yzhzhang at ipe.ac.cn (=?UTF-8?B?5byg6amt5rSy?=) Date: Tue, 10 Jan 2017 22:16:56 +0800 (GMT+08:00) Subject: [Paraview] How to load different data files for multiple pvservers In-Reply-To: References: <166d83d.207ab.159882e8580.Coremail.yzhzhang@ipe.ac.cn> <1c3c166.24606.15988aa2f9a.Coremail.yzhzhang@ipe.ac.cn> Message-ID: <1195310.24734.15988bd2e50.Coremail.yzhzhang@ipe.ac.cn> Hi Mathieu, Thank you very much! You solved my problem perfectly! Sincerely -Zhang -----????----- ???: "Mathieu Westphal" ????: 2017?1?10? ??? ???: "???" ??: ParaView ??: Re: Re: [Paraview] How to load different data files for multiple pvservers Hi Sure, take a look into vtkXMLPolyDataWriter Regards Mathieu Westphal On Tue, Jan 10, 2017 at 2:56 PM, ??? wrote: Hi Mathieu, Thank you for the quick reply! I have some .vtp files and tried the way you told me, and got the result what I want. However, I don't know how to convert my .vtk files to .vtp files. Could you please give me more information about this? And, can I generate .vtp files from a simulation code by using some vtkwriter object? Sincerely -Zhang -----????----- ???: "Mathieu Westphal" ????: 2017?1?10? ??? ???: "???" ??: ParaView ??: Re: [Paraview] How to load different data files for multiple pvservers Hi It is quite simple. First convert your file to modern file type, eg .vtu , .vtp or .vti Then manually create a .pvtu/p/i with the correct syntax. Take a look at the attached file file.pvtp Regards Mathieu Westphal On Tue, Jan 10, 2017 at 12:41 PM, ??? wrote: Hello, I'm using ParaView for parallel visualization. My dataset is polydata, it is not "parallel aware". However, using the D3 filter, as the ParaView User's Guide says, is too expensive, which slow down the whole process significantly. As my data is generated in parallel, I want to assign these data files to multiple pvservers. For example, I have a dataset contains four files: file0.vtk, file1.vtk, file2.vtk and file3.vtk. Note that they are not temporal file series, but each represent a different area of the simulation domain. And, I start four pvservers by mpirun -np 4 ./pvserver. I can connect to the pvserver using paraview GUI on my PC, but I don't how to distribute the four files to each pvserver. I tried to select the four files using the Ctrl key and hit Apply, but it seems that they are all assigned to the process 0. Is there any way I can distribute the data files to each pvserver using the paraview GUI? Thanks a lot! -Zhang _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Tue Jan 10 09:23:03 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 10 Jan 2017 09:23:03 -0500 Subject: [Paraview] Paraview 5.2.0 compilation with support for HMD and Python In-Reply-To: References: Message-ID: Hi Guillaume, Ken Martin is responsible for this cool version of ParaView. I'm not sure that the code is ready for release just yet - Ken can tell you more. Thanks, Cory On Tue, Jan 10, 2017 at 5:55 AM, Guillaume Jacquenot wrote: > I have seen that Kitware developers have proposed a ParaView version with > support for Oculus Rift and HTC Vive HMD. > And it looks awesome, and opens a wide range of opportunities. > > https://blog.kitware.com/taking-paraview-into-virtual-reality/ > > However, the proposed version does not embed Python scripting possibilities. > > I would like to benefit from these functionnalities. > > Can anyone give me some advice on: > - where to find the source code with the support for HMD > - how to compile to the code with Python support > > The best would be a link to an installation file, but I am ready to compile > it! > > Thanks > > Guillaume Jacquenot > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From joseph.g.hennessey2.ctr at mail.mil Tue Jan 10 09:19:47 2017 From: joseph.g.hennessey2.ctr at mail.mil (Hennessey, Joseph G CTR USARMY RDECOM ARL (US)) Date: Tue, 10 Jan 2017 14:19:47 +0000 Subject: [Paraview] Problem with WriteAnimation in a python file silently failing under pvbatch but working when called with pvpython (UNCLASSIFIED) Message-ID: <10A03274360DCF47A6EE78C9952A31CA88796B52@UCOLHPUD.easf.csd.disa.mil> CLASSIFICATION: UNCLASSIFIED Hello, I have found that pvbatch is silently failing in a python file when WriteAnimation is called and used with ParaView 5.2.0 under linux. But pvpython will execute the same command from the same python file correctly. The call where it is failing is below WriteAnimation('full_image_path.png', Magnification=2, FrameRate=15.0, Compression=True) and it is not giving any error messages, it just never returns when called by pvbatch Has anyone else experienced this, or have an idea of how to correct it? Thanks, Joe ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joseph G. Hennessey Ph.D., SAIC Team SAIC Army Research Lab DOD Supercomputing Resource Center CLASSIFICATION: UNCLASSIFIED -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5615 bytes Desc: not available URL: From ken.martin at kitware.com Tue Jan 10 09:36:09 2017 From: ken.martin at kitware.com (Ken Martin) Date: Tue, 10 Jan 2017 09:36:09 -0500 Subject: [Paraview] Paraview 5.2.0 compilation with support for HMD and Python In-Reply-To: References: Message-ID: Hi Guillaume, I hope to get some time to clean up some issues with the code and to merge it into PV master. It will probably be a bit though as right now I am taking another pass at the OpenVR VTK code which it is based on to add a medical (volume rendering) example and a few options such as a floor etc. Once that is done, I'll try to get to another pass on the PV code and get it merged. For now the code can be found at https://gitlab.kitware.com/ken-martin/paraview/commits/add_vr_2 but I believe that is old and not rebased to 5.2.0. Best bet would be to rebase that to 5.2.0 and then update VTK to master to get the latest OpenVR SDK fixes and then hope the two work/compile together. On Tue, Jan 10, 2017 at 9:23 AM, Cory Quammen wrote: > Hi Guillaume, > > Ken Martin is responsible for this cool version of ParaView. I'm not > sure that the code is ready for release just yet - Ken can tell you > more. > > Thanks, > Cory > > On Tue, Jan 10, 2017 at 5:55 AM, Guillaume Jacquenot > wrote: > > I have seen that Kitware developers have proposed a ParaView version with > > support for Oculus Rift and HTC Vive HMD. > > And it looks awesome, and opens a wide range of opportunities. > > > > https://blog.kitware.com/taking-paraview-into-virtual-reality/ > > > > However, the proposed version does not embed Python scripting > possibilities. > > > > I would like to benefit from these functionnalities. > > > > Can anyone give me some advice on: > > - where to find the source code with the support for HMD > > - how to compile to the code with Python support > > > > The best would be a link to an installation file, but I am ready to > compile > > it! > > > > Thanks > > > > Guillaume Jacquenot > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the ParaView Wiki at: > > http://paraview.org/Wiki/ParaView > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > -- Ken Martin PhD Chairman & CFO Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 518 371 3971 This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Tue Jan 10 09:52:20 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Tue, 10 Jan 2017 09:52:20 -0500 Subject: [Paraview] Problem with WriteAnimation in a python file silently failing under pvbatch but working when called with pvpython (UNCLASSIFIED) In-Reply-To: <10A03274360DCF47A6EE78C9952A31CA88796B52@UCOLHPUD.easf.csd.disa.mil> References: <10A03274360DCF47A6EE78C9952A31CA88796B52@UCOLHPUD.easf.csd.disa.mil> Message-ID: Hi Joe, I haven't seen this issue or heard anyone else with something like this. Are you running pvbatch in serial? If you share a python script which demonstrates the issue it may be an easy issue to track down. There are some slight differences between pvpython and pvbatch. My guess would be that it's due to pvbatch initializing mpi while pvpython does not by default. You could try running pvpython with the --mpi option to see if having it initialize pvpython gives you the same behavior. Also you could try -dr to disable the registry (i.e. config settings) to see if that makes a difference. Cheers, Andy On Tue, Jan 10, 2017 at 9:19 AM, Hennessey, Joseph G CTR USARMY RDECOM ARL (US) wrote: > CLASSIFICATION: UNCLASSIFIED > > Hello, > > I have found that pvbatch is silently failing in a python file when > WriteAnimation > is called and used with ParaView 5.2.0 under linux. > > But pvpython will execute the same command from the same python file > correctly. > > The call where it is failing is below > > WriteAnimation('full_image_path.png', Magnification=2, FrameRate=15.0, > Compression=True) > > and it is not giving any error messages, it just never returns when called > by pvbatch > > Has anyone else experienced this, or have an idea of how to correct it? > > Thanks, > > Joe > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joseph G. Hennessey Ph.D., SAIC > Team SAIC > Army Research Lab > DOD Supercomputing Resource Center > > > CLASSIFICATION: UNCLASSIFIED > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Tue Jan 10 11:15:26 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Tue, 10 Jan 2017 16:15:26 +0000 Subject: [Paraview] [EXTERNAL] How to load different data files for multiple pvservers In-Reply-To: <166d83d.207ab.159882e8580.Coremail.yzhzhang@ipe.ac.cn> References: <166d83d.207ab.159882e8580.Coremail.yzhzhang@ipe.ac.cn> Message-ID: I recommend writing out your data as .pvtp instead .vtk files. The file formats are similar, but pvtp supports reading and writing in parallel. Both formats are documented here: http://www.vtk.org/VTK/img/file-formats.pdf -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of ??? Sent: Tuesday, January 10, 2017 4:41 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] How to load different data files for multiple pvservers Hello, I'm using ParaView for parallel visualization. My dataset is polydata, it is not "parallel aware". However, using the D3 filter, as the ParaView User's Guide says, is too expensive, which slow down the whole process significantly. As my data is generated in parallel, I want to assign these data files to multiple pvservers. For example, I have a dataset contains four files: file0.vtk, file1.vtk, file2.vtk and file3.vtk. Note that they are not temporal file series, but each represent a different area of the simulation domain. And, I start four pvservers by mpirun -np 4 ./pvserver. I can connect to the pvserver using paraview GUI on my PC, but I don't how to distribute the four files to each pvserver. I tried to select the four files using the Ctrl key and hit Apply, but it seems that they are all assigned to the process 0. Is there any way I can distribute the data files to each pvserver using the paraview GUI? Thanks a lot! -Zhang -------------- next part -------------- An HTML attachment was scrubbed... URL: From joachim.pouderoux at kitware.com Tue Jan 10 13:09:29 2017 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Tue, 10 Jan 2017 14:09:29 -0400 Subject: [Paraview] [Paraview-developers] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> References: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> Message-ID: Hmm sorry if I had took a closer look I would have seen that AllocateScalars set a default name "ImageScalars" to the scalar array. Then don't know what you did but the print says that the name of your array is "21745593" which is quite strange. Is it what you did? Could you write your "output" image data to a .VTI file using a vtkXMLImageDataWriter after initializing it in your RequestData function and see if you can load in with PV and view it? Share it if you can't. Best, *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-01-10 2:00 GMT-04:00 Lodron, Gerald : > Here i printed my vtkImageDataOutput of my plugin in Request data, may > that helps?: > > > > output vtkImageData (00000087ABEB1260) > > Debug: Off > > Modified Time: 870183 > > Reference Count: 1 > > Registered Events: (none) > > Information: 00000087AC049A90 > > Data Released: False > > Global Release Data: Off > > UpdateTime: 195896 > > Field Data: > > Debug: Off > > Modified Time: 870094 > > Reference Count: 1 > > Registered Events: (none) > > Number Of Arrays: 0 > > Number Of Components: 0 > > Number Of Tuples: 0 > > Number Of Points: 1920000 > > Number Of Cells: 1917201 > > Cell Data: > > Debug: Off > > Modified Time: 870179 > > Reference Count: 1 > > Registered Events: > > Registered Observers: > > vtkObserver (00000087ABC476A0) > > Event: 33 > > EventName: ModifiedEvent > > Command: 00000087AC0495E0 > > Priority: 0 > > Tag: 1 > > Number Of Arrays: 0 > > Number Of Components: 0 > > Number Of Tuples: 0 > > Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) > > Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) > > Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) > > Scalars: (none) > > Vectors: (none) > > Normals: (none) > > TCoords: (none) > > Tensors: (none) > > GlobalIds: (none) > > PedigreeIds: (none) > > EdgeFlag: (none) > > Point Data: > > Debug: Off > > Modified Time: 870183 > > Reference Count: 1 > > Registered Events: > > Registered Observers: > > vtkObserver (00000087ABC475B0) > > Event: 33 > > EventName: ModifiedEvent > > Command: 00000087AC0495E0 > > Priority: 0 > > Tag: 1 > > Number Of Arrays: 1 > > Array 0 name = 21745593 > > Number Of Components: 1 > > Number Of Tuples: 1920000 > > Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) > > Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) > > Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) > > Scalars: > > Debug: Off > > Modified Time: 870148 > > Reference Count: 2 > > Registered Events: (none) > > Name: 21745593 > > Data type: unsigned char > > Size: 1920000 > > MaxId: 1919999 > > NumberOfComponents: 1 > > Information: 0000000000000000 > > Name: 21745593 > > Number Of Components: 1 > > Number Of Tuples: 1920000 > > Size: 1920000 > > MaxId: 1919999 > > LookupTable: (none) > > Vectors: (none) > > Normals: (none) > > TCoords: (none) > > Tensors: (none) > > GlobalIds: (none) > > PedigreeIds: (none) > > EdgeFlag: (none) > > Bounds: > > Xmin,Xmax: (0, 1599) > > Ymin,Ymax: (0, 1199) > > Zmin,Zmax: (0, 0) > > Compute Time: 870184 > > Spacing: (1, 1, 1) > > Origin: (0, 0, 0) > > Dimensions: (1600, 1200, 1) > > Increments: (0, 0, 0) > > Extent: (0, 1599, 0, 1199, 0, 0) > > > > > > > > > > > > > > *Von:* Paraview-developers [mailto:paraview-developers- > bounces at paraview.org] *Im Auftrag von *Lodron, Gerald > *Gesendet:* Dienstag, 10. J?nner 2017 06:49 > *An:* Joachim Pouderoux > *Cc:* Paraview Developer (Paraview-developers at paraview.org); Paraview > User (paraview at paraview.org) > *Betreff:* Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > > > Hi > > > > Good try but does not effect anything except the string in paraview?s > combo box. The strange thing is that I also cannot see anything in > spreadsheet view (empty cell and point data)? but on information tab point > data and cell data is there?. > > > > *Von:* Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com > ] > *Gesendet:* Montag, 09. J?nner 2017 19:40 > *An:* Lodron, Gerald > *Cc:* Paraview User (paraview at paraview.org); Paraview Developer ( > Paraview-developers at paraview.org) > *Betreff:* Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered > > > > Hi Gerald, > > Not sure it is the only issue but please try giving a name to the output > scalar arrays. > > ParaView won't make visible arrays which don't have a name. > > Example: > > output->GetPointData()->GetScalars()->SetName("values"); > > Best, > > > *Joachim Pouderoux*, PhD > > *Technical Expert - Scientific Computing Team* > *Kitware SAS * > > > > 2017-01-09 5:20 GMT-04:00 Lodron, Gerald : > > Hi > > I programmed successfully a plugin source wich generates a vtkImageData > output and made it the same way as on my 3d cloud plugins of vtkPolyData. > The source is inherited from vtkImageAlgorithm and only contains one output > with unsigned char array and one component. > > In the request data function of the filter I currently have a very dummy: > > output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); > output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); > memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* > oData.imgSizeY*sizeof(unsigned char)); > > in paraview I see in the information tab that I have an uniform > rectilinear grid with 1917201 cells and 1920000 points (image is > 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a > correct range of my memcopy data (my min max range is not 0,255 so data > seems to be there)... > > the problem is that I cannot see anything in the render view, any > suggestions what I am making wrong? I tested all representation (slice, > surface, outline, on Solid Color and on my array), never see anything..... > > I also compared the Information tab on a loaded jpeg image and cannot see > any difference (which is rendered in render view except the Array's string > name), by the way: can I disable "MapScalars" by default? > > I am using pv5.2 > > ------------------------------------------------------------ > ------------------------ > Gerald Lodron > > Researcher of Machine Vision Applications Group > DIGITAL - Institute for Information and Communication Technologies > > JOANNEUM RESEARCH Forschungsgesellschaft mbH > Steyrergasse 17, 8010 Graz, AUSTRIA > > phone: +43-316-876-1751 <+43%20316%208761751> > general fax: +43-316-876-1751 <+43%20316%208761751> > web: http://www.joanneum.at/digital > e-mail: gerald.lodron at joanneum.at > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Jan 10 15:05:40 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 10 Jan 2017 15:05:40 -0500 Subject: [Paraview] upgrading reader module/plugin In-Reply-To: References: Message-ID: Mark, After you've changed a property, you need to call vtkSMProxy::UpdateVTKObjects() (or vtkSMProxy::UpdateProperty()) to push those values for them to have any effect. However, in a panel, you'd rather not do that. Utkarsh On Mon, Jan 9, 2017 at 12:31 PM, Mark Olesen wrote: > The SetImmediateUpdate seems be needed for cases where I do bypass the addPropertyLink mechanism. Eg, > > QCheckBox* b = new QCheckBox(this); > setButtonProperties(b, showPointNumbers_); //<- text, tips etc... > form->addWidget(b, 0, 1, Qt::AlignLeft); > > connect(b, SIGNAL(toggled(bool)), this, SLOT(showPointNumbers(bool))); > showPointNumbers_->SetImmediateUpdate(true); > > and then > > void pqFoamBlockMeshControls::showPointNumbers(bool checked) > { > showPointNumbers_->SetElement(0, checked); > > // Update the active view > if (this->view()) > { > this->view()->render(); > } > } > > Without the SetImmediateUpdate, the toggle of the showPointNumbers property doesn't get propagated to the reader until sometime later. Maybe the key is to signal directly to the reader? > > ________________________________________ > From: Utkarsh Ayachit > Sent: Monday, January 9, 2017 4:18 PM > To: Mark Olesen > Cc: paraview at paraview.org > Subject: Re: [Paraview] upgrading reader module/plugin > > I don't think `SetImmediateUpdate` should be needed any more. Are you > sure it's needed? If I remember correctly, it's one of the obselete > ivars that should truly be deprecated and removed. > > On Mon, Jan 9, 2017 at 4:10 AM, Mark Olesen wrote: >> Hi Utkarsh, >> >> The addPropertyLink works exactly as desired and triggers the necessary update mechanism. For a few places I still have direct connect() to catch the signal and do something additional with it, but that was expected. I don't know why I still need an SetImmediateUpdate to get the changes propagated properly, but that can wait. The most important thing is that I can now load my reader module in paraview 5.2 and move forward. >> >> Thank you, >> /mark >> >> ________________________________________ >> From: Utkarsh Ayachit >> Sent: Thursday, January 5, 2017 4:52:32 AM >> To: Mark Olesen >> Cc: paraview at paraview.org >> Subject: Re: [Paraview] upgrading reader module/plugin >> >> Mark, >> >> As you can expect, connecting Qt widgets to vtkSMProperty's on proxies >> in a two-way-link is common in ParaView panels and hence ParaView >> provides quite a few ways for doing that. For your use-case, where >> you're connecting a QCheckBox to an IntVectorProperty on the proxy, >> your pqPropertyWidget subclass can do something like the following: >> >> Assuming your XML for the group is as follows: >> >> QCheckBox *checkbox = ... >> vtkSMProperty* smProperty = smgroup->GetProperty("InterpolateFields"); >> this->addPropertyLink(checkbox, "checked", SIGNAL(toggled(bool), smProperty); >> >> That should do it. >> >> Utkarsh >> >> On Wed, Jan 4, 2017 at 9:48 AM, Mark Olesen wrote: >>> I'm currently upgrading a reader module from using a pqAutoGeneratedObjectPanel to a using a property group widget (as per http://www.paraview.org/Wiki/Plugin_HowTo#Adding_Customizations_for_Properties_Panel). >>> >>> I have my bunch of properties in a PropertyGroup and have a panel_widget associated with them. Everything loads up, and using printf() I can verify that the property values are all being updated. >>> However, not only does it seems rather clunky, I cannot get the "Apply" button on the property panel to notice when the property values have been updated. >>> >>> Here's a basic sketch of what I have: >>> >>> // Get the property from the group (with down-cast): >>> interpolateFields_ = group->GetProperty("interpolate"); >>> >>> // Provide a checkbox as widget for it - two-column layout. >>> QCheckBox* b = new QCheckBox(prop->GetXMLLabel(), this); >>> form->addWidget(b, row, col, Qt::AlignLeft); >>> >>> // Connect to slot: >>> connect(b, SIGNAL(toggled(bool)), this, SLOT(interpolateFields(bool))); >>> >>> // This is ugly, but seems to be needed??? >>> interpolateFields_->SetImmediateUpdate(true); >>> >>> // And the slot itself >>> void interpolateFields(bool checked) >>> { >>> interpolateFields_->SetElement(0, checked); >>> // this->setModified(); >>> //^^^ used to work with pqAutoGeneratedObjectPanel >>> } >>> >>> I used to rely on the setModified() method from the pqAutoGeneratedObjectPanel, but now can't seem to get from the SMproxy to the pqProxy or whatever. >>> >>> Or am I going about this entirely the wrong way? >>> FWIW, here are the relevant sub-entries from the XML, in case there is something missing there: >>> >>> >> name="InterpolateFields" >>> command="SetInterpolateVolFields" >>> number_of_elements="1" >>> default_values="1" >>> animateable="0"> >>> >>> >>> >>> >>> >> label="General Controls" >>> panel_widget="my_reader_controls"> >>> >>> ... >>> >>> >>> Unfortunately, the Examples/Plugins/PropertyWidgets is a bit scanty here. >>> >>> Thanks for any advice, >>> >>> /mark >>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview From joseph.g.hennessey2.ctr at mail.mil Tue Jan 10 15:53:14 2017 From: joseph.g.hennessey2.ctr at mail.mil (Hennessey, Joseph G CTR USARMY RDECOM ARL (US)) Date: Tue, 10 Jan 2017 20:53:14 +0000 Subject: [Paraview] [Non-DoD Source] Re: Problem with WriteAnimation in a python file silently failing under pvbatch but working when called with pvpython (UNCLASSIFIED) In-Reply-To: References: <10A03274360DCF47A6EE78C9952A31CA88796B52@UCOLHPUD.easf.csd.disa.mil> Message-ID: <10A03274360DCF47A6EE78C9952A31CA88796CA4@UCOLHPUD.easf.csd.disa.mil> CLASSIFICATION: UNCLASSIFIED Andy, I have tried the various options --mpi , -dr and I also tried --mpi -dr and it had no effect. What I did find though was that the compute nodes are running an osmesa build of paraview. and I had been running in a hardware accelerated GL build of paraview when I ran pvpython. When I forced it to use the pvpython version from the osmesa build (which is the one the batch file uses.) I got this error. GL_Version: ERROR: In /p/home/joeh/PV/Build_5.1.2_osmesa/paraview/src/paraview/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 597 vtkOSOpenGLRenderWindow (0x2fcc250): GLEW could not be initialized. When it hit the WriteAnimation('full_image_path.png', Magnification=2, FrameRate=15.0, Compression=True) line. This error message did not occur when running the GL build of pvpython from ParaView 5.1.2. Thanks, Joe ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joseph G. Hennessey Ph.D., SAIC Team SAIC Army Research Lab DOD Supercomputing Resource Center -----Original Message----- From: Andy Bauer [mailto:andy.bauer at kitware.com] Sent: Tuesday, January 10, 2017 9:52 AM To: Hennessey, Joseph G CTR USARMY RDECOM ARL (US) Cc: ParaView Subject: [Non-DoD Source] Re: [Paraview] Problem with WriteAnimation in a python file silently failing under pvbatch but working when called with pvpython (UNCLASSIFIED) All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. ________________________________ Hi Joe, I haven't seen this issue or heard anyone else with something like this. Are you running pvbatch in serial? If you share a python script which demonstrates the issue it may be an easy issue to track down. There are some slight differences between pvpython and pvbatch. My guess would be that it's due to pvbatch initializing mpi while pvpython does not by default. You could try running pvpython with the --mpi option to see if having it initialize pvpython gives you the same behavior. Also you could try -dr to disable the registry (i.e. config settings) to see if that makes a difference. Cheers, Andy On Tue, Jan 10, 2017 at 9:19 AM, Hennessey, Joseph G CTR USARMY RDECOM ARL (US) > wrote: CLASSIFICATION: UNCLASSIFIED Hello, I have found that pvbatch is silently failing in a python file when WriteAnimation is called and used with ParaView 5.2.0 under linux. But pvpython will execute the same command from the same python file correctly. The call where it is failing is below WriteAnimation('full_image_path.png', Magnification=2, FrameRate=15.0, Compression=True) and it is not giving any error messages, it just never returns when called by pvbatch Has anyone else experienced this, or have an idea of how to correct it? Thanks, Joe ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joseph G. Hennessey Ph.D., SAIC Team SAIC Army Research Lab DOD Supercomputing Resource Center CLASSIFICATION: UNCLASSIFIED _______________________________________________ Powered by Caution-www.kitware.com < Caution-http://www.kitware.com > Visit other Kitware open-source projects at Caution-http://www.kitware.com/opensource/opensource.html < Caution-http://www.kitware.com/opensource/opensource.html > Please keep messages on-topic and check the ParaView Wiki at: Caution-http://paraview.org/Wiki/ParaView < Caution-http://paraview.org/Wiki/ParaView > Search the list archives at: Caution-http://markmail.org/search/?q=ParaView < Caution-http://markmail.org/search/?q=ParaView > Follow this link to subscribe/unsubscribe: Caution-http://public.kitware.com/mailman/listinfo/paraview < Caution-http://public.kitware.com/mailman/listinfo/paraview > CLASSIFICATION: UNCLASSIFIED -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5615 bytes Desc: not available URL: From dave.demarle at kitware.com Tue Jan 10 16:20:55 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Tue, 10 Jan 2017 16:20:55 -0500 Subject: [Paraview] Fwd: Segfault reading polyhedral cells xdmf3 file In-Reply-To: References: <504a30ae-040e-dd58-d0d0-25bdd51772b5@gmail.com> <7395e9fa-3e3d-c3e7-62ab-b0fbcb41a6dd@gmail.com> Message-ID: Thanks Allesandro. >From your long message ;), I think that the fix then is to not overcount the space taken for the polyhedral cells. https://gitlab.kitware. com/vtk/vtk/merge_requests/2346 thoughts? David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 <(518)%20881-4909> On Fri, Dec 16, 2016 at 11:11 AM, Alessandro De Maio wrote: > I've done some more debugging on this topic. > > The problem is not related only to windows machines: the easy example that > I attached at the beginning of this post (polyhedron.xmf) seems to be > correctly opened on Linux machines, but if you try to reopen it several > times (for example using the new 5.2 feature of "Reload Files"), not very > often but sometimes it gives segfault also on Linux machines. Moreover, if > you try to open a bigger file (with more polyhedra inside) it fails more > often or, sometimes, it seems not to read all the polyhedral cells in the > mesh. > > I've tried to investigate the code and I think I've found the reason of > this behaviour, but of course, as I'm not an expert in VTK programming, a > more relevant opinion from the experts in this forum would be appreciated. > The function that builds the VTK topology starting from what has been read > from a xmdf file is vtkXdmf3DataSet::CopyShape in the source file > vtkXdmf3DataSet.cxx (path superbuild/paraview/src/VTK/IO/Xdmf3/ in the > 5.2.0 superbuild building directory). In case of "mixed" XdmfTopologyType > (line 1460 of the file) it creates a vtkCellArray structure named vCells > that at line 1548 is passed to the SetCells function to create the > connectivity information of the DataSet. This vCells structure is filled > through the pointer *cells_ptr that is initially dimensioned with a size > equal to conn_lenght (line 1470) that is the size of the topology array > xTopology that comes form xdmf file reading. > This structure is filled as a sequence of blocks: each block for each > cell. If the cell is not a polyhedron it contains the number of points for > that cell followed by the list of pointID of the vertices. If the cell is a > polyhedron, as it's explained at lines 1531-1534, the cell information is > the sequence of: cell Lenght (that is the size of the following list for > that cell), the number of faces and, for each face, the number of points > and the list of points. So this array is exactly the same of the one that > has been read from the xdmf file, with the substitution of the cell type > for non polyhedral cells with the number of points for that cell, and, with > the substitution of the cell type with the cell lenght for polyhedral cells. > > But, after the loop on cells to fill this structure, at line 1547 there is > a call to the function Resize to reduce the Array to an overall lenght > index-sub where index is the original array lenght and sub is the number of > polyhedral cells. > > I think that this Resize call il wrong because the array lenght is correct > before this reduction. > If you print the content of the vCell structure after the Resize, for the > example of polyhedron.xmf, the last two elements of the array (that are the > last two nodes of the last hexaedron cell of the mesh) are missing. > > Probably when the SetCells function is called at line 1548 with a > cell_type array of the right lenght but a truncated vCells array as the > second argument, the missing elements of vCell array "could" be available > as they should be next in memory to the truncated array, but this is not > guaranteed because it is randomical and it depends on the operating system > (that could explain the different behaviour between linux and windows). > > In any case I've tried to comment the Resize function call and the xmdf > reader has been able to read all the cases that I've tried to read with > polyhedral and not polyhedral 3d cells (there is still a problem with > polygons but I'll write another post on this topic). > > As I've said at the beginning of this too much long message, I hope that > VTK/Paraview developers give their opinion about my hypothesis. > > Thank you > > Alessandro > > > On Thu, Dec 15, 2016 at 10:54 PM, David E DeMarle < > dave.demarle at kitware.com> wrote: > >> >> On Thu, Dec 15, 2016 at 4:39 PM, David E DeMarle < >> dave.demarle at kitware.com> wrote: >> >>> fails on windows >> >> >> some of the time. ;) >> >> If you open it up with the spreadsheet view (so no rendering), you can >> see that the cell connectivity array gets nonsense in it - some of the >> time. When you then open a renderview and show it, it crashes. >> >> So something about the read in of the connectivity data has an >> uninitialized/misaligned word somewhere. >> >> David E DeMarle >> Kitware, Inc. >> R&D Engineer >> 21 Corporate Drive >> Clifton Park, NY 12065-8662 >> Phone: 518-881-4909 <(518)%20881-4909> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From megdich_islem at yahoo.fr Tue Jan 10 17:03:10 2017 From: megdich_islem at yahoo.fr (Megdich Islem) Date: Tue, 10 Jan 2017 22:03:10 +0000 (UTC) Subject: [Paraview] question-filter In-Reply-To: <0EB9B6375711A04B820E6B6F5CCA9F68435CAC06@MBX111.d.ethz.ch> References: <0EB9B6375711A04B820E6B6F5CCA9F68435CAC06@MBX111.d.ethz.ch> Message-ID: <662277329.4303572.1484085790185@mail.yahoo.com> Hi, I just went back working on this project, the integratevariable filter is sloving my problem and giving nice results.?Thank you very much for the help. Regards,islem Le Jeudi 7 avril 2016 15h23, Favre Jean a ?crit : #yiv0363527107 P {margin-top:0;margin-bottom:0;}I recommend using the IntegrateVariables filter which will give the correct answer for wedges and pyramids. The output is put into an unstructured mesh with a single vertex cell, holding the "Volume" in its Cell Data. The implemented is in vtkIntegrateAttributes which triangulates the non-trivial cells into tetrahedra, performing the sum of all volumes within the cell. ? The reason you get a -1 using the python calculator can be linked to the implementation of vtkCellQuality returning this->GetUnsupportedGeometry() (equal to -1) for wedges and pyramids. ----------------- Jean -------------- next part -------------- An HTML attachment was scrubbed... URL: From andi3173 at gmail.com Tue Jan 10 20:25:59 2017 From: andi3173 at gmail.com (Andi Hartarto) Date: Wed, 11 Jan 2017 12:25:59 +1100 Subject: [Paraview] Paraview Vtu to Exodus. Single block, multi element? In-Reply-To: <34df66e5c1d5491dadae50969e01bbaa@ES08AMSNLNT.srn.sandia.gov> References: <34df66e5c1d5491dadae50969e01bbaa@ES08AMSNLNT.srn.sandia.gov> Message-ID: Ken, >From your email, I did filters > alphabetical> calculator> properties> attribute mode from point to cell data > result array name to dummy > expression to 0 > apply > save data as exodus file > open saved exodus file. I still don't see the 2 element data fields? I hope i didn't misunderstand anything or misphrase... The main idea is that as shown in kenneth1.png, i need my element blocks to be of 2 arrays not just 1. I can see its unnamed block id:5 but I want it to be following my tetrahedral rank which is 1 and 2. In kenneth2. There is a clear distinction of colors because i use my tetrahedral rank to color it. I don't know how to make my block id = tetrahedra rank. so my problem is actually: How do i make object id = tetrahedrarank > hopefully this makes 2 data arrays in element blocks. Thank you, Andi On 10 January 2017 at 03:32, Moreland, Kenneth wrote: > Andi, > > > > You said you need an output with multiple blocks, but your last comment, ?I > need 1 block data set with 2 or more element data inside it,? suggests > that what you really need is to add a second field of data. > > > > Try using the calculator to add that second field. Set the attribute mode > to ?Cell Data?, the ?Result Array Name? to ?Dummy?, and the Expression to > 0. Now when you write that out to an Exodus file you should have two > element data fields: the original tetrahedral rank and the Dummy field you > created. > > > > -Ken > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Andi > Hartarto > *Sent:* Sunday, January 8, 2017 4:58 PM > *To:* paraview at paraview.org > *Subject:* [EXTERNAL] [Paraview] Paraview Vtu to Exodus. Single block, > multi element? > > > > Hi all, i need help please. > > > Introduction: > > My problem is that I need to convert a vtu file into an exodus formatted > file that reads several element block data. > When I load my data in vtu, all i see is a white cubic block. > This block has 2 data arrays named tetrahedra rank and tetrahedra number. > When I change my coloring to tetrahedra rank, I can see 2 colors red and > blue coloring my block. > > > I want to save the vtu file into an exodus format file and load it to > another software but the other software only shows me the output of colors > if there are several element blocks. > In my case, the vtu file converted to exodus has only 1 element block. > > In paraview, I can go properties, add the variables of tetrahedra rank and > then change coloring then i see what i want to see. > > But in the software I am supposed to load the data, I can't do that. > > Im supposed to make my exodus data into 2 or more element blocks and then > load it in that software which makes the software goes "ok so there are > various data ! lets color it". > > I don't know what should i do to change my vtu file with cell data of > tetrahedra rank clearly showing the 2 data sets into 2 element blocks. > I have tried to use edit> find data> extract selection > repeat for the > next > group the data. > I get a multi block data set. It didn't work. I need 1 block data set with > 2 or more element data inside it. > > Please help, > Andi > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: kenneth.png Type: image/png Size: 90710 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: kenneth1.png Type: image/png Size: 79704 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: kenneth2.png Type: image/png Size: 194487 bytes Desc: not available URL: From debopamg at gmail.com Wed Jan 11 05:10:10 2017 From: debopamg at gmail.com (Debopam Ghoshal) Date: Wed, 11 Jan 2017 15:40:10 +0530 Subject: [Paraview] Embedding the Visualizer app in the browser within an iframe Message-ID: Hi, We have a requirement where our application will send a request to the paraview web server to render a specific file (which will be available in the data given directory) in the visualizer app, and this will be embedded within our application page as a iframe, whose source is the Visualizer app's index.html. We are using the pvpython.exe executable to start the paraview web server. The command used to start the server is: .\bin\pvpython.exe "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" --content "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www" --data "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" --port 8080 >From the command, we can see that the web content is being served from the C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www directory. The index.html file uses the Visualizer.js script and calls the following functions: Visualizer.connect({ application: 'visualizer' }); Visualizer.autoStopServer(10); Is there any way to find out the available functions in the Visualizer.js script and call them from our custom html file? What we intend to do is to update the index.html file and a. add a javascript function which will accept a filename to be rendered b. once the filename is received by this function, it will call the visualizer and display the specified file c. in the visualizer page, the open files tab should be hidden. Please let me know if you require any clarification. Cheers & Best Wishes, Debopam ------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gerald.Lodron at joanneum.at Wed Jan 11 06:07:07 2017 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Wed, 11 Jan 2017 11:07:07 +0000 Subject: [Paraview] [Paraview-developers] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: References: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> Message-ID: <4adff269435d4ed8845efdbcc8478093@RZJMBX1.jr1.local> Sorry for my late reply: ?21745593? is correct, that?s the UID string of the sensor/camera which generates the vtkImagedata, I set the string from its SDK?. I will try writing the vti file for you?. Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Dienstag, 10. J?nner 2017 19:09 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Hmm sorry if I had took a closer look I would have seen that AllocateScalars set a default name "ImageScalars" to the scalar array. Then don't know what you did but the print says that the name of your array is "21745593" which is quite strange. Is it what you did? Could you write your "output" image data to a .VTI file using a vtkXMLImageDataWriter after initializing it in your RequestData function and see if you can load in with PV and view it? Share it if you can't. Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-10 2:00 GMT-04:00 Lodron, Gerald >: Here i printed my vtkImageDataOutput of my plugin in Request data, may that helps?: output vtkImageData (00000087ABEB1260) Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: (none) Information: 00000087AC049A90 Data Released: False Global Release Data: Off UpdateTime: 195896 Field Data: Debug: Off Modified Time: 870094 Reference Count: 1 Registered Events: (none) Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Number Of Points: 1920000 Number Of Cells: 1917201 Cell Data: Debug: Off Modified Time: 870179 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC476A0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Point Data: Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC475B0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 1 Array 0 name = 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: Debug: Off Modified Time: 870148 Reference Count: 2 Registered Events: (none) Name: 21745593 Data type: unsigned char Size: 1920000 MaxId: 1919999 NumberOfComponents: 1 Information: 0000000000000000 Name: 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Size: 1920000 MaxId: 1919999 LookupTable: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Bounds: Xmin,Xmax: (0, 1599) Ymin,Ymax: (0, 1199) Zmin,Zmax: (0, 0) Compute Time: 870184 Spacing: (1, 1, 1) Origin: (0, 0, 0) Dimensions: (1600, 1200, 1) Increments: (0, 0, 0) Extent: (0, 1599, 0, 1199, 0, 0) Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Dienstag, 10. J?nner 2017 06:49 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Hi Good try but does not effect anything except the string in paraview?s combo box. The strange thing is that I also cannot see anything in spreadsheet view (empty cell and point data)? but on information tab point data and cell data is there?. Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Montag, 09. J?nner 2017 19:40 An: Lodron, Gerald Cc: Paraview User (paraview at paraview.org); Paraview Developer (Paraview-developers at paraview.org) Betreff: Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered Hi Gerald, Not sure it is the only issue but please try giving a name to the output scalar arrays. ParaView won't make visible arrays which don't have a name. Example: output->GetPointData()->GetScalars()->SetName("values"); Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-09 5:20 GMT-04:00 Lodron, Gerald >: Hi I programmed successfully a plugin source wich generates a vtkImageData output and made it the same way as on my 3d cloud plugins of vtkPolyData. The source is inherited from vtkImageAlgorithm and only contains one output with unsigned char array and one component. In the request data function of the filter I currently have a very dummy: output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* oData.imgSizeY*sizeof(unsigned char)); in paraview I see in the information tab that I have an uniform rectilinear grid with 1917201 cells and 1920000 points (image is 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a correct range of my memcopy data (my min max range is not 0,255 so data seems to be there)... the problem is that I cannot see anything in the render view, any suggestions what I am making wrong? I tested all representation (slice, surface, outline, on Solid Color and on my array), never see anything..... I also compared the Information tab on a loaded jpeg image and cannot see any difference (which is rendered in render view except the Array's string name), by the way: can I disable "MapScalars" by default? I am using pv5.2 ------------------------------------------------------------------------------------ Gerald Lodron Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA phone: +43-316-876-1751 general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From bflandard at gmail.com Wed Jan 11 06:23:29 2017 From: bflandard at gmail.com (Bob Flandard) Date: Wed, 11 Jan 2017 11:23:29 +0000 Subject: [Paraview] Custom filter - coloring multi-block dataset Message-ID: Hi, Is it possible to edit the *.cpd xml file (or other technique) of a custom filter so that the resulting multi-block geometry has a specific color (and opacity) applied to each block, and the "Coloring" in the "Display (GeometryRepresentation) is set to "Solid Color" rather than "vtkBlockColors"? The output from my custom filter has quite a few blocks that would each require the color/opacity to be set manually using the multi-block viewer. I thought of calling the custom filter from a Python macro, but when tracing the action of changing the colors and opacity via the multi-block viewer, nothing is recorded in the trace. Thanks, Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: From yzhzhang at ipe.ac.cn Wed Jan 11 06:54:13 2017 From: yzhzhang at ipe.ac.cn (=?GBK?B?1cXUptbe?=) Date: Wed, 11 Jan 2017 19:54:13 +0800 (GMT+08:00) Subject: [Paraview] Can ParaView Catalyst be used in GPU-based simulation? Message-ID: <1948b84.29247.1598d60dec4.Coremail.yzhzhang@ipe.ac.cn> Hello, I'm using ParaView Catalyst for in situ visualization of some scientific simulation codes, mainly CFD and DEM. I have implemented a demo in which a small simulation code is interfaced with the ParaView Catalyst libraries. However, our major codes that are in use are based on GPU(written in CUDA) and the data generated by the simulation is in the memory of GPU. As far as I know, ParaView and VTK are CPU codes and in my case, I have to copy the data from memory of GPU to memory of CPU and then use Catalyst. That is not very ideal in respect of efficiency. I know there seems to be some professionals of computer visualization developing GPU-based VTK pipeline using CUDA, but I'm not computer professional and I can't use CUDA. I want to know if there is any open source GPU-based VTK pipeline, or if I do have to copy data from GPU to use Catalyst, is it worth the effort? Thanks a lot! -Zhang -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gerald.Lodron at joanneum.at Wed Jan 11 07:14:07 2017 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Wed, 11 Jan 2017 12:14:07 +0000 Subject: [Paraview] [Paraview-developers] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: <4adff269435d4ed8845efdbcc8478093@RZJMBX1.jr1.local> References: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> <4adff269435d4ed8845efdbcc8478093@RZJMBX1.jr1.local> Message-ID: i have uploaded the vti onto https://expirebox.com/download/60e7c1e8d177f282ae90d42f75e5ae50.html the link is 48h accessible when I load the vti into paraview everything is visualized correctly Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Mittwoch, 11. J?nner 2017 12:07 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Sorry for my late reply: ?21745593? is correct, that?s the UID string of the sensor/camera which generates the vtkImagedata, I set the string from its SDK?. I will try writing the vti file for you?. Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Dienstag, 10. J?nner 2017 19:09 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Hmm sorry if I had took a closer look I would have seen that AllocateScalars set a default name "ImageScalars" to the scalar array. Then don't know what you did but the print says that the name of your array is "21745593" which is quite strange. Is it what you did? Could you write your "output" image data to a .VTI file using a vtkXMLImageDataWriter after initializing it in your RequestData function and see if you can load in with PV and view it? Share it if you can't. Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-10 2:00 GMT-04:00 Lodron, Gerald >: Here i printed my vtkImageDataOutput of my plugin in Request data, may that helps?: output vtkImageData (00000087ABEB1260) Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: (none) Information: 00000087AC049A90 Data Released: False Global Release Data: Off UpdateTime: 195896 Field Data: Debug: Off Modified Time: 870094 Reference Count: 1 Registered Events: (none) Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Number Of Points: 1920000 Number Of Cells: 1917201 Cell Data: Debug: Off Modified Time: 870179 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC476A0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Point Data: Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC475B0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 1 Array 0 name = 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: Debug: Off Modified Time: 870148 Reference Count: 2 Registered Events: (none) Name: 21745593 Data type: unsigned char Size: 1920000 MaxId: 1919999 NumberOfComponents: 1 Information: 0000000000000000 Name: 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Size: 1920000 MaxId: 1919999 LookupTable: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Bounds: Xmin,Xmax: (0, 1599) Ymin,Ymax: (0, 1199) Zmin,Zmax: (0, 0) Compute Time: 870184 Spacing: (1, 1, 1) Origin: (0, 0, 0) Dimensions: (1600, 1200, 1) Increments: (0, 0, 0) Extent: (0, 1599, 0, 1199, 0, 0) Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Dienstag, 10. J?nner 2017 06:49 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Hi Good try but does not effect anything except the string in paraview?s combo box. The strange thing is that I also cannot see anything in spreadsheet view (empty cell and point data)? but on information tab point data and cell data is there?. Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Montag, 09. J?nner 2017 19:40 An: Lodron, Gerald Cc: Paraview User (paraview at paraview.org); Paraview Developer (Paraview-developers at paraview.org) Betreff: Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered Hi Gerald, Not sure it is the only issue but please try giving a name to the output scalar arrays. ParaView won't make visible arrays which don't have a name. Example: output->GetPointData()->GetScalars()->SetName("values"); Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-09 5:20 GMT-04:00 Lodron, Gerald >: Hi I programmed successfully a plugin source wich generates a vtkImageData output and made it the same way as on my 3d cloud plugins of vtkPolyData. The source is inherited from vtkImageAlgorithm and only contains one output with unsigned char array and one component. In the request data function of the filter I currently have a very dummy: output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* oData.imgSizeY*sizeof(unsigned char)); in paraview I see in the information tab that I have an uniform rectilinear grid with 1917201 cells and 1920000 points (image is 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a correct range of my memcopy data (my min max range is not 0,255 so data seems to be there)... the problem is that I cannot see anything in the render view, any suggestions what I am making wrong? I tested all representation (slice, surface, outline, on Solid Color and on my array), never see anything..... I also compared the Information tab on a loaded jpeg image and cannot see any difference (which is rendered in render view except the Array's string name), by the way: can I disable "MapScalars" by default? I am using pv5.2 ------------------------------------------------------------------------------------ Gerald Lodron Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA phone: +43-316-876-1751 general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From P.Crepier at marin.nl Wed Jan 11 08:49:34 2017 From: P.Crepier at marin.nl (Crepier, Pierre) Date: Wed, 11 Jan 2017 13:49:34 +0000 Subject: [Paraview] Programmable filter - input data and output data Message-ID: <57ec2811a77d4a5d9961c5208ca3c100@MAR190n2.marin.local> Hi everyone, I am trying to use the programmable filter to combine multiple filters. Sort of like the custom filter but I want to have control over some of the properties using user input. If I understood correctly, I can get the input data with: input = self.GetInputDataObject(0, 0) then I can use this input in a filter: xMin = Clip(Input=input) xMin.ClipType = 'Plane' xMin.Crinkleclip = 1 xMin.ClipType.Origin = [-4.0, 0.0, 0.0] xMin.ClipType.Normal = [1.0, 0.0, 0.0] Now, how can I use the output of this filter as output of my programmable filter ? Thanks in advance, Pierre ir. Pierre Crepier | Project Manager Ships | CFD MARIN | T +31 317 49 34 75 | P.Crepier at marin.nl | www.marin.nl [LinkedIn] [YouTube] [Twitter] [Facebook] MARIN news: Modelling natural transition on hydrofoils for application in underwater gliders -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image602997.PNG Type: image/png Size: 293 bytes Desc: image602997.PNG URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image9361ac.PNG Type: image/png Size: 331 bytes Desc: image9361ac.PNG URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image2c05aa.PNG Type: image/png Size: 333 bytes Desc: image2c05aa.PNG URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: imageb01fb8.PNG Type: image/png Size: 253 bytes Desc: imageb01fb8.PNG URL: From cory.quammen at kitware.com Wed Jan 11 09:32:47 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 11 Jan 2017 09:32:47 -0500 Subject: [Paraview] Programmable filter - input data and output data In-Reply-To: <57ec2811a77d4a5d9961c5208ca3c100@MAR190n2.marin.local> References: <57ec2811a77d4a5d9961c5208ca3c100@MAR190n2.marin.local> Message-ID: Pierre, First thing first. The code inside the Programmable Filter script runs in a context in which it is aware of VTK only and not ParaView, so you cannot use paraview.simple module functions such as Clip. Instead, you would need to use a VTK-equivalent. In this case, you would use vtkClipDataSet: import vtk plane = vtk.vtkPlane() plane.SetOrigin(-4.0, 0.0, 0.0) plane.SetNormal(1.0, 1.0, 1.0) clip = vtk.vtkClipDataSet() clip.SetClipFunction(plane) clip.SetInputData(input) clip.Update() Next, to use the output of the clip filter as the output of the Programmable Filter, do the following. self.GetOutput().ShallowCopy(clip.GetOutput()) Make sure you change the Output Data Set Type to vtkUnstructuredGrid if you go this way. Hope that helps, Cory On Wed, Jan 11, 2017 at 8:49 AM, Crepier, Pierre wrote: > Hi everyone, > > > > I am trying to use the programmable filter to combine multiple filters. > Sort of like the custom filter but I want to have control over some of the > properties using user input. > > > > If I understood correctly, I can get the input data with: > > input = self.GetInputDataObject(0, 0) > > > > then I can use this input in a filter: > > xMin = Clip(Input=input) > > xMin.ClipType = 'Plane' > > xMin.Crinkleclip = 1 > > xMin.ClipType.Origin = [-4.0, 0.0, 0.0] > > xMin.ClipType.Normal = [1.0, 0.0, 0.0] > > > > Now, how can I use the output of this filter as output of my programmable > filter ? > > > > Thanks in advance, > > Pierre > > ir. Pierre Crepier | Project Manager Ships | CFD > MARIN | T +31 317 49 34 75 <+31%20317%20493%20475> | P.Crepier at marin.nl | > www.marin.nl > > [image: LinkedIn] [image: > YouTube] [image: Twitter] > [image: Facebook] > > MARIN news: Modelling natural transition on hydrofoils for application in > underwater gliders > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: imageb01fb8.PNG Type: image/png Size: 253 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image2c05aa.PNG Type: image/png Size: 333 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image602997.PNG Type: image/png Size: 293 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image9361ac.PNG Type: image/png Size: 331 bytes Desc: not available URL: From claude at theweak.link Wed Jan 11 09:32:32 2017 From: claude at theweak.link (claude) Date: Wed, 11 Jan 2017 08:32:32 -0600 Subject: [Paraview] Embedding the Visualizer app in the browser within an iframe In-Reply-To: References: Message-ID: <53b122fc-85c6-bb9a-b0e1-5061e655a04a@theweak.link> Hi Debopam, I think there is one thing to consider first before taking care of data being passed through: if you manually start one instance of pvw-visualizer, it means all people connecting to port 8080 will see the same thing and act on the same viewer, which means potentially conflicting with each other action (e.g. a probable disconnection for everyone if one decide to exit maybe?). In that case, you need to have a virtual server that will launch a new process every time someone connect to port 8080. That way, all viewers are independent, the same person can open several viewers, etc. Now regarding the data being loaded at startup: you html index file should have a function grabbing the 'data' parameter from a URL, a form, a dropdown menu, etc. then sending it as a key to the Visualizer application (so that the launcher knows which file to load at startup). It would have been complicated to explain all the details in a email, so I made a gist with all the files and "code" addressing both points (launcher and data): https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 Note that this gist was gathered info from the Paraview Web and Visualizer online documentations: kuddos to Paraview people. 2nd note: in that gist I'm giving the instructions for Apache server (you could technically choose any other, e.g. NGinx) for Linux. I see you are on Windows: I don't know how Apache works on Windows but I assume (and hope) the steps and config file should be similar. I hope it helps! Good luck! cheers claude On 01/11/2017 04:10 AM, Debopam Ghoshal wrote: > Hi, > > We have a requirement where our application will send a request to the > paraview web server to render a specific file (which will be available > in the data given directory) in the visualizer app, and this will be > embedded within our application page as a iframe, whose source is the > Visualizer app's index.html. > > We are using the pvpython.exe executable to start the paraview web > server. The command used to start the server is: > > .\bin\pvpython.exe > "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" > --content > "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www" > --data "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" --port 8080 > > > From the command, we can see that the web content is being served from > the C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www directory. > The index.html file uses the Visualizer.js script and calls the > following functions: > > Visualizer.connect({ application: 'visualizer' }); > Visualizer.autoStopServer(10); > > Is there any way to find out the available functions in the > Visualizer.js script and call them from our custom html file? What we > intend to do is to update the index.html file and > a. add a javascript function which will accept a filename to be rendered > b. once the filename is received by this function, it will call the > visualizer and display the specified file > c. in the visualizer page, the open files tab should be hidden. > > Please let me know if you require any clarification. > > Cheers & Best Wishes, > Debopam > ------------------------------- > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Wed Jan 11 09:48:00 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Wed, 11 Jan 2017 14:48:00 +0000 Subject: [Paraview] Paraview Vtu to Exodus. Single block, multi element? Message-ID: <3c68eb2b662f411ca50f1abf2e1e81b1@ES08AMSNLNT.srn.sandia.gov> Andi, I am having a really hard time trying to understand what it is you are asking. I?m not sure what it means to ?make object id = tetrahedrarank.? I am going to make another guess at what it is you really want to do. You have data (from an Exodus file) that has a single block. One of the cell arrays is named tetrahedrarank. All the values of tetrahedrarank are either 1 or 2. You want to have a data set that has two blocks. One block has all cells with tetrahedrarank = 1. The other block has all cells with tetrahedrarank = 2. The following are the instructions to do that. 1. After loading the Exodus data, run the ?Merge Blocks? filter. 2. Run a ?Threshold? filter on the merged blocks. Set the ?Scalars? property to TetrahedraRank. Set both ?Minimum? and ?Maximum? to 1. 3. Select the Merge Blocks filter in the Pipeline Browser again and add a second ?Threshold? filter. On this second Threshold filter set the ?Scalars? property to TetrahedraRank and set both ?Minimum? and ?Maximum? to 2. 4. Select both Threshold filters in the pipeline browser and add the ?Group Datasets? filter. That will give you a data set with two blocks corresponding to the cells with TetrahedraRank 1 or 2. -Ken From: Andi Hartarto [mailto:andi3173 at gmail.com] Sent: Tuesday, January 10, 2017 6:26 PM To: Moreland, Kenneth Cc: paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview] Paraview Vtu to Exodus. Single block, multi element? Ken, From your email, I did filters > alphabetical> calculator> properties> attribute mode from point to cell data > result array name to dummy > expression to 0 > apply > save data as exodus file > open saved exodus file. I still don't see the 2 element data fields? I hope i didn't misunderstand anything or misphrase... The main idea is that as shown in kenneth1.png, i need my element blocks to be of 2 arrays not just 1. I can see its unnamed block id:5 but I want it to be following my tetrahedral rank which is 1 and 2. In kenneth2. There is a clear distinction of colors because i use my tetrahedral rank to color it. I don't know how to make my block id = tetrahedra rank. so my problem is actually: How do i make object id = tetrahedrarank > hopefully this makes 2 data arrays in element blocks. Thank you, Andi On 10 January 2017 at 03:32, Moreland, Kenneth > wrote: Andi, You said you need an output with multiple blocks, but your last comment, ?I need 1 block data set with 2 or more element data inside it,? suggests that what you really need is to add a second field of data. Try using the calculator to add that second field. Set the attribute mode to ?Cell Data?, the ?Result Array Name? to ?Dummy?, and the Expression to 0. Now when you write that out to an Exodus file you should have two element data fields: the original tetrahedral rank and the Dummy field you created. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Andi Hartarto Sent: Sunday, January 8, 2017 4:58 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Paraview Vtu to Exodus. Single block, multi element? Hi all, i need help please. Introduction: My problem is that I need to convert a vtu file into an exodus formatted file that reads several element block data. When I load my data in vtu, all i see is a white cubic block. This block has 2 data arrays named tetrahedra rank and tetrahedra number. When I change my coloring to tetrahedra rank, I can see 2 colors red and blue coloring my block. I want to save the vtu file into an exodus format file and load it to another software but the other software only shows me the output of colors if there are several element blocks. In my case, the vtu file converted to exodus has only 1 element block. In paraview, I can go properties, add the variables of tetrahedra rank and then change coloring then i see what i want to see. But in the software I am supposed to load the data, I can't do that. Im supposed to make my exodus data into 2 or more element blocks and then load it in that software which makes the software goes "ok so there are various data ! lets color it". I don't know what should i do to change my vtu file with cell data of tetrahedra rank clearly showing the 2 data sets into 2 element blocks. I have tried to use edit> find data> extract selection > repeat for the next > group the data. I get a multi block data set. It didn't work. I need 1 block data set with 2 or more element data inside it. Please help, Andi -------------- next part -------------- An HTML attachment was scrubbed... URL: From demaio.a at gmail.com Wed Jan 11 10:23:06 2017 From: demaio.a at gmail.com (Alessandro De Maio) Date: Wed, 11 Jan 2017 16:23:06 +0100 Subject: [Paraview] Fwd: Segfault reading polyhedral cells xdmf3 file In-Reply-To: References: <504a30ae-040e-dd58-d0d0-25bdd51772b5@gmail.com> <7395e9fa-3e3d-c3e7-62ab-b0fbcb41a6dd@gmail.com> Message-ID: Hi David, thank you for the correction. It should solve the problem. Without increasing sub it will remain 0 and the Resize call does nothing. A. On Tue, Jan 10, 2017 at 10:20 PM, David E DeMarle wrote: > Thanks Allesandro. > > From your long message ;), I think that the fix then is to not overcount > the space taken for the polyhedral cells. https://gitlab.kitware. > com/vtk/vtk/merge_requests/2346 > > thoughts? > > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 <(518)%20881-4909> > > On Fri, Dec 16, 2016 at 11:11 AM, Alessandro De Maio > wrote: > >> I've done some more debugging on this topic. >> >> The problem is not related only to windows machines: the easy example >> that I attached at the beginning of this post (polyhedron.xmf) seems to be >> correctly opened on Linux machines, but if you try to reopen it several >> times (for example using the new 5.2 feature of "Reload Files"), not very >> often but sometimes it gives segfault also on Linux machines. Moreover, if >> you try to open a bigger file (with more polyhedra inside) it fails more >> often or, sometimes, it seems not to read all the polyhedral cells in the >> mesh. >> >> I've tried to investigate the code and I think I've found the reason of >> this behaviour, but of course, as I'm not an expert in VTK programming, a >> more relevant opinion from the experts in this forum would be appreciated. >> The function that builds the VTK topology starting from what has been >> read from a xmdf file is vtkXdmf3DataSet::CopyShape in the source file >> vtkXdmf3DataSet.cxx (path superbuild/paraview/src/VTK/IO/Xdmf3/ in the >> 5.2.0 superbuild building directory). In case of "mixed" XdmfTopologyType >> (line 1460 of the file) it creates a vtkCellArray structure named vCells >> that at line 1548 is passed to the SetCells function to create the >> connectivity information of the DataSet. This vCells structure is filled >> through the pointer *cells_ptr that is initially dimensioned with a size >> equal to conn_lenght (line 1470) that is the size of the topology array >> xTopology that comes form xdmf file reading. >> This structure is filled as a sequence of blocks: each block for each >> cell. If the cell is not a polyhedron it contains the number of points for >> that cell followed by the list of pointID of the vertices. If the cell is a >> polyhedron, as it's explained at lines 1531-1534, the cell information is >> the sequence of: cell Lenght (that is the size of the following list for >> that cell), the number of faces and, for each face, the number of points >> and the list of points. So this array is exactly the same of the one that >> has been read from the xdmf file, with the substitution of the cell type >> for non polyhedral cells with the number of points for that cell, and, with >> the substitution of the cell type with the cell lenght for polyhedral cells. >> >> But, after the loop on cells to fill this structure, at line 1547 there >> is a call to the function Resize to reduce the Array to an overall lenght >> index-sub where index is the original array lenght and sub is the number of >> polyhedral cells. >> >> I think that this Resize call il wrong because the array lenght is >> correct before this reduction. >> If you print the content of the vCell structure after the Resize, for the >> example of polyhedron.xmf, the last two elements of the array (that are the >> last two nodes of the last hexaedron cell of the mesh) are missing. >> >> Probably when the SetCells function is called at line 1548 with a >> cell_type array of the right lenght but a truncated vCells array as the >> second argument, the missing elements of vCell array "could" be available >> as they should be next in memory to the truncated array, but this is not >> guaranteed because it is randomical and it depends on the operating system >> (that could explain the different behaviour between linux and windows). >> >> In any case I've tried to comment the Resize function call and the xmdf >> reader has been able to read all the cases that I've tried to read with >> polyhedral and not polyhedral 3d cells (there is still a problem with >> polygons but I'll write another post on this topic). >> >> As I've said at the beginning of this too much long message, I hope that >> VTK/Paraview developers give their opinion about my hypothesis. >> >> Thank you >> >> Alessandro >> >> >> On Thu, Dec 15, 2016 at 10:54 PM, David E DeMarle < >> dave.demarle at kitware.com> wrote: >> >>> >>> On Thu, Dec 15, 2016 at 4:39 PM, David E DeMarle < >>> dave.demarle at kitware.com> wrote: >>> >>>> fails on windows >>> >>> >>> some of the time. ;) >>> >>> If you open it up with the spreadsheet view (so no rendering), you can >>> see that the cell connectivity array gets nonsense in it - some of the >>> time. When you then open a renderview and show it, it crashes. >>> >>> So something about the read in of the connectivity data has an >>> uninitialized/misaligned word somewhere. >>> >>> David E DeMarle >>> Kitware, Inc. >>> R&D Engineer >>> 21 Corporate Drive >>> Clifton Park, NY 12065-8662 >>> Phone: 518-881-4909 <(518)%20881-4909> >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Wed Jan 11 10:41:17 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Wed, 11 Jan 2017 10:41:17 -0500 Subject: [Paraview] Can ParaView Catalyst be used in GPU-based simulation? In-Reply-To: <1948b84.29247.1598d60dec4.Coremail.yzhzhang@ipe.ac.cn> References: <1948b84.29247.1598d60dec4.Coremail.yzhzhang@ipe.ac.cn> Message-ID: HI Zhang, That has been done with PyFR with Catalyst doing everything on the GPU. I see some stuff at https://github.com/vincentlab/PyFR-Catalyst that may be a good starting point for you. I don't quite know if Catalyst is ready for general use at this point on GPUs (it may be but I haven't done it so I can't be sure). As Catalyst development continues though it will be made much easier to effectively use the GPU in situ. We will probably be using VTK-m for that. If you want to go ahead with this effort, the ParaView mailing list can probably be quite helpful. Cheers, Andy On Wed, Jan 11, 2017 at 6:54 AM, ??? wrote: > > > Hello, > > I'm using ParaView Catalyst for in situ visualization of some scientific > simulation codes, mainly CFD and DEM. I have implemented a demo in which a > small simulation code is interfaced with the ParaView Catalyst libraries. > However, our major codes that are in use are based on GPU(written in CUDA) > and the data generated by the simulation is in the memory of GPU. As far as > I know, ParaView and VTK are CPU codes and in my case, I have to copy the > data from memory of GPU to memory of CPU and then use Catalyst. That is not > very ideal in respect of efficiency. I know there seems to be some > professionals of computer visualization developing GPU-based VTK pipeline > using CUDA, but I'm not computer professional and I can't use CUDA. I want > to know if there is any open source GPU-based VTK pipeline, or if I do > have to copy data from GPU to use Catalyst, is it worth the effort? > > Thanks a lot! > -Zhang > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Wed Jan 11 11:18:49 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 11 Jan 2017 09:18:49 -0700 Subject: [Paraview] Embedding the Visualizer app in the browser within an iframe In-Reply-To: <53b122fc-85c6-bb9a-b0e1-5061e655a04a@theweak.link> References: <53b122fc-85c6-bb9a-b0e1-5061e655a04a@theweak.link> Message-ID: Thanks Claude, Here is the add-on of what functions can be called on Visualizer. (All the function with export) https://github.com/Kitware/visualizer/blob/master/src/app.js We are planning to add some helper for extracting arguments from the URL. We actually add a class in the ParaViewWeb repo, but we haven't got to the point of using it and making it available in visualizer. Seb On Wed, Jan 11, 2017 at 7:32 AM, claude wrote: > Hi Debopam, > > > I think there is one thing to consider first before taking care of data > being passed through: if you manually start one instance of pvw-visualizer, > it means all people connecting to port 8080 will see the same thing and act > on the same viewer, which means potentially conflicting with each other > action (e.g. a probable disconnection for everyone if one decide to exit > maybe?). In that case, you need to have a virtual server that will launch a > new process every time someone connect to port 8080. That way, all viewers > are independent, the same person can open several viewers, etc. > > > Now regarding the data being loaded at startup: you html index file should > have a function grabbing the 'data' parameter from a URL, a form, a > dropdown menu, etc. then sending it as a key to the Visualizer application > (so that the launcher knows which file to load at startup). > > It would have been complicated to explain all the details in a email, so I > made a gist with all the files and "code" addressing both points (launcher > and data): > > https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 > > Note that this gist was gathered info from the Paraview Web and Visualizer > online documentations: kuddos to Paraview people. > 2nd note: in that gist I'm giving the instructions for Apache server (you > could technically choose any other, e.g. NGinx) for Linux. I see you are > on Windows: I don't know how Apache works on Windows but I assume (and > hope) the steps and config file should be similar. > > I hope it helps! Good luck! > cheers > claude > > > > > On 01/11/2017 04:10 AM, Debopam Ghoshal wrote: > > Hi, > > We have a requirement where our application will send a request to the > paraview web server to render a specific file (which will be available in > the data given directory) in the visualizer app, and this will be embedded > within our application page as a iframe, whose source is the Visualizer > app's index.html. > > We are using the pvpython.exe executable to start the paraview web server. > The command used to start the server is: > > .\bin\pvpython.exe "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\ > share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" --content > "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www" > --data "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" --port 8080 > > > From the command, we can see that the web content is being served from the > C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\ > visualizer\www directory. The index.html file uses the Visualizer.js script > and calls the following functions: > > Visualizer.connect({ application: 'visualizer' }); > Visualizer.autoStopServer(10); > > Is there any way to find out the available functions in the Visualizer.js > script and call them from our custom html file? What we intend to do is to > update the index.html file and > a. add a javascript function which will accept a filename to be rendered > b. once the filename is received by this function, it will call the > visualizer and display the specified file > c. in the visualizer page, the open files tab should be hidden. > > Please let me know if you require any clarification. > > Cheers & Best Wishes, > Debopam > ------------------------------- > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gerald.Lodron at joanneum.at Thu Jan 12 04:46:16 2017 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Thu, 12 Jan 2017 09:46:16 +0000 Subject: [Paraview] Migration plugin from pqNamedObjectPanel to pqPropertyWidget Message-ID: <41b2f79df0c54b67975012d7bb92d08e@RZJMBX1.jr1.local> Hi I am migrating my plugins from pqNamedObjectPanel to new pqPropertyWidget. I have 2 unsolved taskes in one of my more complicated filters left which I cannot figure out how to solve: First Problem: I have a small getterfunction with a text of my plugin filter which includes some information about the processing (computation time and a kind of fitness score during computation) wich I displayed in my old plugin widget of pqNamedObjectPanel in the overloaded updateInformationAndDomains() function: void pqMyFilter::updateInformationAndDomains() { if(!this->proxy()) { return; } vtkSMPropertyHelper oGetInfo(this->proxy(), "GetInfo"); oGetInfo.UpdateValueFromServer(); m_poInformation->setText( QString(oGetInfo.GetAsString())); } How can I do that with pqPropertyWidget? Or is there a better way (maybe somehow to bring it into the "Information" Tab instead of property tab....) Second Problem: I programmed a Attribute Array QTreeView of a certain kind of attributes of my inputs with checkboxes ( I only allow selection of attributes which are in all inputs). I already integrated it that it loads dynamically everything correct in constructor, but I miss a possibility of a callback/Qt Signal when input changes so that I can update that list..... any suggestions? In my old plugin I used QObject::connect( proxy, SIGNAL( producerChanged(const QString&) ), this, SLOT( updateMyList() ), Qt::QueuedConnection ); of the pqProxy proxy, but now we use vtkSMProxy which does not have a producerChanged signal, any suggestions? thanks ------------------------------------------------------------------------------------ Gerald Lodron ? Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies ? JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA ? phone:?? +43-316-876-1751??? general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at From debopamg at gmail.com Thu Jan 12 06:52:16 2017 From: debopamg at gmail.com (Debopam Ghoshal) Date: Thu, 12 Jan 2017 17:22:16 +0530 Subject: [Paraview] Embedding the Visualizer app in the browser within an iframe In-Reply-To: References: <53b122fc-85c6-bb9a-b0e1-5061e655a04a@theweak.link> Message-ID: Hi Claude Thank you so much for your detailed explanation. The gist has been very useful. I am working on it at present, and is in the process of smoothening out a few creases because of the operating system I am using (Windows 10). Will let you know once I am able to use paraview web properly. And in case of any issue, I will bother you once again. Hi Seb, Thanks for the link. Much appreciated. Cheers & Best Wishes, Debopam ------------------------------- On Wed, Jan 11, 2017 at 9:48 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > Thanks Claude, > > Here is the add-on of what functions can be called on Visualizer. (All the > function with export) > > https://github.com/Kitware/visualizer/blob/master/src/app.js > > We are planning to add some helper for extracting arguments from the URL. > We actually add a class in the ParaViewWeb repo, but we haven't got to the > point of using it and making it available in visualizer. > > Seb > > On Wed, Jan 11, 2017 at 7:32 AM, claude wrote: > >> Hi Debopam, >> >> >> I think there is one thing to consider first before taking care of data >> being passed through: if you manually start one instance of pvw-visualizer, >> it means all people connecting to port 8080 will see the same thing and act >> on the same viewer, which means potentially conflicting with each other >> action (e.g. a probable disconnection for everyone if one decide to exit >> maybe?). In that case, you need to have a virtual server that will launch a >> new process every time someone connect to port 8080. That way, all viewers >> are independent, the same person can open several viewers, etc. >> >> >> Now regarding the data being loaded at startup: you html index file >> should have a function grabbing the 'data' parameter from a URL, a form, a >> dropdown menu, etc. then sending it as a key to the Visualizer application >> (so that the launcher knows which file to load at startup). >> >> It would have been complicated to explain all the details in a email, so >> I made a gist with all the files and "code" addressing both points >> (launcher and data): >> >> https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >> >> Note that this gist was gathered info from the Paraview Web and >> Visualizer online documentations: kuddos to Paraview people. >> 2nd note: in that gist I'm giving the instructions for Apache server (you >> could technically choose any other, e.g. NGinx) for Linux. I see you are >> on Windows: I don't know how Apache works on Windows but I assume (and >> hope) the steps and config file should be similar. >> >> I hope it helps! Good luck! >> cheers >> claude >> >> >> >> >> On 01/11/2017 04:10 AM, Debopam Ghoshal wrote: >> >> Hi, >> >> We have a requirement where our application will send a request to the >> paraview web server to render a specific file (which will be available in >> the data given directory) in the visualizer app, and this will be embedded >> within our application page as a iframe, whose source is the Visualizer >> app's index.html. >> >> We are using the pvpython.exe executable to start the paraview web >> server. The command used to start the server is: >> >> .\bin\pvpython.exe "C:\ParaView-5.2.0-Qt4-OpenGL2 >> -MPI-Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" >> --content "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\ >> paraview-5.2\web\visualizer\www" --data "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" >> --port 8080 >> >> >> From the command, we can see that the web content is being served from >> the C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\ >> paraview-5.2\web\visualizer\www directory. The index.html file uses the Visualizer.js >> script and calls the following functions: >> >> Visualizer.connect({ application: 'visualizer' }); >> Visualizer.autoStopServer(10); >> >> Is there any way to find out the available functions in the Visualizer.js >> script and call them from our custom html file? What we intend to do is to >> update the index.html file and >> a. add a javascript function which will accept a filename to be rendered >> b. once the filename is received by this function, it will call the >> visualizer and display the specified file >> c. in the visualizer page, the open files tab should be hidden. >> >> Please let me know if you require any clarification. >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Olesen at esi-group.com Thu Jan 12 10:23:32 2017 From: Mark.Olesen at esi-group.com (Mark Olesen) Date: Thu, 12 Jan 2017 15:23:32 +0000 Subject: [Paraview] upgrading reader module/plugin In-Reply-To: References: , Message-ID: Hi Utkarsh, With many thanks to your hints, I also dug around to see what command_button was doing and this corresponds nicely what I needed. I'll put it here for anyone browsing the archives. Cheers /mark void fireCommand(vtkSMProperty* prop) { vtkSMProxy* pxy = this->proxy(); prop->Modified(); pxy->UpdateProperty(pxy->GetPropertyName(prop)); } void fireCommand(vtkSMIntVectorProperty* prop, bool checked) { vtkSMProxy* pxy = this->proxy(); prop->SetElement(0, checked); // Toogle bool prop->Modified(); pxy->UpdateProperty(pxy->GetPropertyName(prop)); } ________________________________________ From: Utkarsh Ayachit Sent: Tuesday, January 10, 2017 9:05 PM To: Mark Olesen Cc: paraview at paraview.org Subject: Re: [Paraview] upgrading reader module/plugin Mark, After you've changed a property, you need to call vtkSMProxy::UpdateVTKObjects() (or vtkSMProxy::UpdateProperty()) to push those values for them to have any effect. However, in a panel, you'd rather not do that. Utkarsh On Mon, Jan 9, 2017 at 12:31 PM, Mark Olesen wrote: > The SetImmediateUpdate seems be needed for cases where I do bypass the addPropertyLink mechanism. Eg, > > QCheckBox* b = new QCheckBox(this); > setButtonProperties(b, showPointNumbers_); //<- text, tips etc... > form->addWidget(b, 0, 1, Qt::AlignLeft); > > connect(b, SIGNAL(toggled(bool)), this, SLOT(showPointNumbers(bool))); > showPointNumbers_->SetImmediateUpdate(true); > > and then > > void pqFoamBlockMeshControls::showPointNumbers(bool checked) > { > showPointNumbers_->SetElement(0, checked); > > // Update the active view > if (this->view()) > { > this->view()->render(); > } > } > > Without the SetImmediateUpdate, the toggle of the showPointNumbers property doesn't get propagated to the reader until sometime later. Maybe the key is to signal directly to the reader? > > ________________________________________ > From: Utkarsh Ayachit > Sent: Monday, January 9, 2017 4:18 PM > To: Mark Olesen > Cc: paraview at paraview.org > Subject: Re: [Paraview] upgrading reader module/plugin > > I don't think `SetImmediateUpdate` should be needed any more. Are you > sure it's needed? If I remember correctly, it's one of the obselete > ivars that should truly be deprecated and removed. > > On Mon, Jan 9, 2017 at 4:10 AM, Mark Olesen wrote: >> Hi Utkarsh, >> >> The addPropertyLink works exactly as desired and triggers the necessary update mechanism. For a few places I still have direct connect() to catch the signal and do something additional with it, but that was expected. I don't know why I still need an SetImmediateUpdate to get the changes propagated properly, but that can wait. The most important thing is that I can now load my reader module in paraview 5.2 and move forward. >> >> Thank you, >> /mark >> >> ________________________________________ >> From: Utkarsh Ayachit >> Sent: Thursday, January 5, 2017 4:52:32 AM >> To: Mark Olesen >> Cc: paraview at paraview.org >> Subject: Re: [Paraview] upgrading reader module/plugin >> >> Mark, >> >> As you can expect, connecting Qt widgets to vtkSMProperty's on proxies >> in a two-way-link is common in ParaView panels and hence ParaView >> provides quite a few ways for doing that. For your use-case, where >> you're connecting a QCheckBox to an IntVectorProperty on the proxy, >> your pqPropertyWidget subclass can do something like the following: >> >> Assuming your XML for the group is as follows: >> >> QCheckBox *checkbox = ... >> vtkSMProperty* smProperty = smgroup->GetProperty("InterpolateFields"); >> this->addPropertyLink(checkbox, "checked", SIGNAL(toggled(bool), smProperty); >> >> That should do it. >> >> Utkarsh >> >> On Wed, Jan 4, 2017 at 9:48 AM, Mark Olesen wrote: >>> I'm currently upgrading a reader module from using a pqAutoGeneratedObjectPanel to a using a property group widget (as per http://www.paraview.org/Wiki/Plugin_HowTo#Adding_Customizations_for_Properties_Panel). >>> >>> I have my bunch of properties in a PropertyGroup and have a panel_widget associated with them. Everything loads up, and using printf() I can verify that the property values are all being updated. >>> However, not only does it seems rather clunky, I cannot get the "Apply" button on the property panel to notice when the property values have been updated. >>> >>> Here's a basic sketch of what I have: >>> >>> // Get the property from the group (with down-cast): >>> interpolateFields_ = group->GetProperty("interpolate"); >>> >>> // Provide a checkbox as widget for it - two-column layout. >>> QCheckBox* b = new QCheckBox(prop->GetXMLLabel(), this); >>> form->addWidget(b, row, col, Qt::AlignLeft); >>> >>> // Connect to slot: >>> connect(b, SIGNAL(toggled(bool)), this, SLOT(interpolateFields(bool))); >>> >>> // This is ugly, but seems to be needed??? >>> interpolateFields_->SetImmediateUpdate(true); >>> >>> // And the slot itself >>> void interpolateFields(bool checked) >>> { >>> interpolateFields_->SetElement(0, checked); >>> // this->setModified(); >>> //^^^ used to work with pqAutoGeneratedObjectPanel >>> } >>> >>> I used to rely on the setModified() method from the pqAutoGeneratedObjectPanel, but now can't seem to get from the SMproxy to the pqProxy or whatever. >>> >>> Or am I going about this entirely the wrong way? >>> FWIW, here are the relevant sub-entries from the XML, in case there is something missing there: >>> >>> >> name="InterpolateFields" >>> command="SetInterpolateVolFields" >>> number_of_elements="1" >>> default_values="1" >>> animateable="0"> >>> >>> >>> >>> >>> >> label="General Controls" >>> panel_widget="my_reader_controls"> >>> >>> ... >>> >>> >>> Unfortunately, the Examples/Plugins/PropertyWidgets is a bit scanty here. >>> >>> Thanks for any advice, >>> >>> /mark >>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview From bflandard at gmail.com Thu Jan 12 11:17:13 2017 From: bflandard at gmail.com (Bob Flandard) Date: Thu, 12 Jan 2017 16:17:13 +0000 Subject: [Paraview] PV5.2 Scalarbar range error Message-ID: Hi, I'm using PV5.2 on Windows 7 64bit. When a contour plot has a prescribed range that is quite small (or if the range of data is small), the scalarbar ignores the upper limit and invents its own. This was not so in PV5.1, so could be related to the new off-scale color range feature (which was a most welcome addition - thanks). Two state files attached, with error in PV5.2 and no error in PV 5.1. Thanks, Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: scalarbar range error.zip Type: application/zip Size: 31976 bytes Desc: not available URL: From Mark.Olesen at esi-group.com Thu Jan 12 11:42:49 2017 From: Mark.Olesen at esi-group.com (Mark Olesen) Date: Thu, 12 Jan 2017 16:42:49 +0000 Subject: [Paraview] using tree widgets Message-ID: I'm currently using an ArraySelectionDomain to select items from (a very long) list of mesh-parts (string names) as per http://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Drop_down_list_with_values_from_input_file It would be quite helpful if I could structure my list and use a tree-selection, but AFICT the closest thing might be a CompositeTreeDomain, but either this doesn't actually fit or I haven't figured out how to make it work. Is this realistic to attempt? /mark From joseph.g.hennessey2.ctr at mail.mil Thu Jan 12 11:56:22 2017 From: joseph.g.hennessey2.ctr at mail.mil (Hennessey, Joseph G CTR USARMY RDECOM ARL (US)) Date: Thu, 12 Jan 2017 16:56:22 +0000 Subject: [Paraview] ParaView 5.1.2 is not recording changes to the LUT position when tracing is one with all options (UNCLASSIFIED) Message-ID: <10A03274360DCF47A6EE78C9952A31CA88798123@UCOLHPUD.easf.csd.disa.mil> CLASSIFICATION: UNCLASSIFIED Hello, ParaView 5.1.2 is not recording changes to the LUT Scalar Bar position and size when tracing is one with all options. And that even when I manually set the positions of the LUT in the script file run by pvpython, Paraview will seem to pull the settings for the lut from the last postion that the lut was used in the GUI and not like I like desire from the script values. Has anyone else experienced this? Thanks, Joe ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joseph G. Hennessey Ph.D., SAIC Team SAIC Army Research Lab DOD Supercomputing Resource Center Aberdeen Proving Ground, MD 21005 Voice: 410-278-3619 Fax: 410-278-8799 Email: joseph.g.hennessey2.ctr at mail.mil CLASSIFICATION: UNCLASSIFIED -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5615 bytes Desc: not available URL: From joachim.pouderoux at kitware.com Thu Jan 12 16:28:01 2017 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Thu, 12 Jan 2017 17:28:01 -0400 Subject: [Paraview] [Paraview-developers] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: References: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> <4adff269435d4ed8845efdbcc8478093@RZJMBX1.jr1.local> Message-ID: OK. That's weired, your VTI is correct. And what if you save the output of your filter/reader with ParaView "Save Data"? Is data correctly saved and reloaded correctly? Joachim *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-01-11 8:14 GMT-04:00 Lodron, Gerald : > i have uploaded the vti onto > > https://expirebox.com/download/60e7c1e8d177f282ae90d42f75e5ae50.html > > the link is 48h accessible > > > > when I load the vti into paraview everything is visualized correctly > > > > *Von:* Paraview-developers [mailto:paraview-developers- > bounces at paraview.org] *Im Auftrag von *Lodron, Gerald > *Gesendet:* Mittwoch, 11. J?nner 2017 12:07 > > *An:* Joachim Pouderoux > *Cc:* Paraview Developer (Paraview-developers at paraview.org); Paraview > User (paraview at paraview.org) > *Betreff:* Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > > > Sorry for my late reply: > > > > ?21745593? is correct, that?s the UID string of the sensor/camera which > generates the vtkImagedata, I set the string from its SDK?. I will try > writing the vti file for you?. > > > > > > > > *Von:* Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com > ] > *Gesendet:* Dienstag, 10. J?nner 2017 19:09 > *An:* Lodron, Gerald > *Cc:* Paraview Developer (Paraview-developers at paraview.org); Paraview > User (paraview at paraview.org) > *Betreff:* Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > > > Hmm sorry if I had took a closer look I would have seen that > AllocateScalars set a default name "ImageScalars" to the scalar array. > > Then don't know what you did but the print says that the name of your > array is "21745593" which is quite strange. Is it what you did? > > Could you write your "output" image data to a .VTI file using a > vtkXMLImageDataWriter after initializing it in your RequestData > > function and see if you can load in with PV and view it? Share it if you > can't. > > Best, > > > *Joachim Pouderoux*, PhD > > *Technical Expert - Scientific Computing Team* > *Kitware SAS * > > > > 2017-01-10 2:00 GMT-04:00 Lodron, Gerald : > > Here i printed my vtkImageDataOutput of my plugin in Request data, may > that helps?: > > > > output vtkImageData (00000087ABEB1260) > > Debug: Off > > Modified Time: 870183 > > Reference Count: 1 > > Registered Events: (none) > > Information: 00000087AC049A90 > > Data Released: False > > Global Release Data: Off > > UpdateTime: 195896 > > Field Data: > > Debug: Off > > Modified Time: 870094 > > Reference Count: 1 > > Registered Events: (none) > > Number Of Arrays: 0 > > Number Of Components: 0 > > Number Of Tuples: 0 > > Number Of Points: 1920000 > > Number Of Cells: 1917201 > > Cell Data: > > Debug: Off > > Modified Time: 870179 > > Reference Count: 1 > > Registered Events: > > Registered Observers: > > vtkObserver (00000087ABC476A0) > > Event: 33 > > EventName: ModifiedEvent > > Command: 00000087AC0495E0 > > Priority: 0 > > Tag: 1 > > Number Of Arrays: 0 > > Number Of Components: 0 > > Number Of Tuples: 0 > > Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) > > Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) > > Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) > > Scalars: (none) > > Vectors: (none) > > Normals: (none) > > TCoords: (none) > > Tensors: (none) > > GlobalIds: (none) > > PedigreeIds: (none) > > EdgeFlag: (none) > > Point Data: > > Debug: Off > > Modified Time: 870183 > > Reference Count: 1 > > Registered Events: > > Registered Observers: > > vtkObserver (00000087ABC475B0) > > Event: 33 > > EventName: ModifiedEvent > > Command: 00000087AC0495E0 > > Priority: 0 > > Tag: 1 > > Number Of Arrays: 1 > > Array 0 name = 21745593 > > Number Of Components: 1 > > Number Of Tuples: 1920000 > > Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) > > Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) > > Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) > > Scalars: > > Debug: Off > > Modified Time: 870148 > > Reference Count: 2 > > Registered Events: (none) > > Name: 21745593 > > Data type: unsigned char > > Size: 1920000 > > MaxId: 1919999 > > NumberOfComponents: 1 > > Information: 0000000000000000 > > Name: 21745593 > > Number Of Components: 1 > > Number Of Tuples: 1920000 > > Size: 1920000 > > MaxId: 1919999 > > LookupTable: (none) > > Vectors: (none) > > Normals: (none) > > TCoords: (none) > > Tensors: (none) > > GlobalIds: (none) > > PedigreeIds: (none) > > EdgeFlag: (none) > > Bounds: > > Xmin,Xmax: (0, 1599) > > Ymin,Ymax: (0, 1199) > > Zmin,Zmax: (0, 0) > > Compute Time: 870184 > > Spacing: (1, 1, 1) > > Origin: (0, 0, 0) > > Dimensions: (1600, 1200, 1) > > Increments: (0, 0, 0) > > Extent: (0, 1599, 0, 1199, 0, 0) > > > > > > > > > > > > > > *Von:* Paraview-developers [mailto:paraview-developers- > bounces at paraview.org] *Im Auftrag von *Lodron, Gerald > *Gesendet:* Dienstag, 10. J?nner 2017 06:49 > *An:* Joachim Pouderoux > *Cc:* Paraview Developer (Paraview-developers at paraview.org); Paraview > User (paraview at paraview.org) > *Betreff:* Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > > > Hi > > > > Good try but does not effect anything except the string in paraview?s > combo box. The strange thing is that I also cannot see anything in > spreadsheet view (empty cell and point data)? but on information tab point > data and cell data is there?. > > > > *Von:* Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com > ] > *Gesendet:* Montag, 09. J?nner 2017 19:40 > *An:* Lodron, Gerald > *Cc:* Paraview User (paraview at paraview.org); Paraview Developer ( > Paraview-developers at paraview.org) > *Betreff:* Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered > > > > Hi Gerald, > > Not sure it is the only issue but please try giving a name to the output > scalar arrays. > > ParaView won't make visible arrays which don't have a name. > > Example: > > output->GetPointData()->GetScalars()->SetName("values"); > > Best, > > > *Joachim Pouderoux*, PhD > > *Technical Expert - Scientific Computing Team* > *Kitware SAS * > > > > 2017-01-09 5:20 GMT-04:00 Lodron, Gerald : > > Hi > > I programmed successfully a plugin source wich generates a vtkImageData > output and made it the same way as on my 3d cloud plugins of vtkPolyData. > The source is inherited from vtkImageAlgorithm and only contains one output > with unsigned char array and one component. > > In the request data function of the filter I currently have a very dummy: > > output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); > output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); > memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* > oData.imgSizeY*sizeof(unsigned char)); > > in paraview I see in the information tab that I have an uniform > rectilinear grid with 1917201 cells and 1920000 points (image is > 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a > correct range of my memcopy data (my min max range is not 0,255 so data > seems to be there)... > > the problem is that I cannot see anything in the render view, any > suggestions what I am making wrong? I tested all representation (slice, > surface, outline, on Solid Color and on my array), never see anything..... > > I also compared the Information tab on a loaded jpeg image and cannot see > any difference (which is rendered in render view except the Array's string > name), by the way: can I disable "MapScalars" by default? > > I am using pv5.2 > > ------------------------------------------------------------ > ------------------------ > Gerald Lodron > > Researcher of Machine Vision Applications Group > DIGITAL - Institute for Information and Communication Technologies > > JOANNEUM RESEARCH Forschungsgesellschaft mbH > Steyrergasse 17, 8010 Graz, AUSTRIA > > phone: +43-316-876-1751 <+43%20316%208761751> > general fax: +43-316-876-1751 <+43%20316%208761751> > web: http://www.joanneum.at/digital > e-mail: gerald.lodron at joanneum.at > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andi3173 at gmail.com Thu Jan 12 21:53:59 2017 From: andi3173 at gmail.com (Andi Hartarto) Date: Fri, 13 Jan 2017 13:53:59 +1100 Subject: [Paraview] Decode a vtu file Message-ID: Hello all, Can I please have guidance/help in decoding a vtu file? My file is a (data long list) The file can be found in this link: https://drive.google.com/open?id=0BzmZiSDoM7l3U2poYWNTbUhBWVU I don't understand how to decode a vtk file and couldn't find anything in google. I've tried using some scripts in python for base64 but it didn't work.. The reason why I need to decode this is because somehow this vtk file which load in paraview perfectly becomes a 2d file in another software "MOOSE" .. So I think somehow in the encoded data is telling the other software "only display the 2D intersection of blocks". But I want a 3D cube not a 2D surface. If someone knows about this please tell me . Thank you, Andi -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gerald.Lodron at joanneum.at Fri Jan 13 02:17:50 2017 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Fri, 13 Jan 2017 07:17:50 +0000 Subject: [Paraview] [Paraview-developers] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: References: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> <4adff269435d4ed8845efdbcc8478093@RZJMBX1.jr1.local> Message-ID: Nope, the data is then nearly empty (<1kByte), hiere the vti writer output: _ Here the mhd header which I usually prefer, the ?DimSize? is 0,0,0: ObjectType = Image NDims = 3 BinaryData = True BinaryDataByteOrderMSB = False CompressedData = True TransformMatrix = 1 0 0 0 1 0 0 0 1 Offset = 0 0 0 CenterOfRotation = 0 0 0 ElementSpacing = 1 1 1 DimSize = 0 0 0 AnatomicalOrientation = ??? ElementType = MET_UCHAR ElementDataFile = test.zraw Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Donnerstag, 12. J?nner 2017 22:28 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered OK. That's weired, your VTI is correct. And what if you save the output of your filter/reader with ParaView "Save Data"? Is data correctly saved and reloaded correctly? Joachim Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-11 8:14 GMT-04:00 Lodron, Gerald : i have uploaded the vti onto https://expirebox.com/download/60e7c1e8d177f282ae90d42f75e5ae50.html the link is 48h accessible ? when I load the vti into paraview everything is visualized correctly ? Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Mittwoch, 11. J?nner 2017 12:07 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Sorry for my late reply: ? ?21745593? is correct, that?s the UID string of the sensor/camera which generates the vtkImagedata, I set the string from its SDK?. I will try writing the vti file for you?. ? ? ? Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Dienstag, 10. J?nner 2017 19:09 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hmm sorry if I had took a closer look I would have seen that AllocateScalars set a default name "ImageScalars" to the scalar array. Then don't know what you did but the print says that the name of your array is "21745593" which is quite strange. Is it what you did? Could you write your "output" image data to a .VTI file using a vtkXMLImageDataWriter after initializing it in your RequestData function and see if you can load in with PV and view it? Share it if you can't. Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS ? 2017-01-10 2:00 GMT-04:00 Lodron, Gerald : Here i printed my vtkImageDataOutput of my plugin in? Request data, may that helps?: ? output vtkImageData (00000087ABEB1260) Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: (none) Information: 00000087AC049A90 Data Released: False Global Release Data: Off UpdateTime: 195896 Field Data: Debug: Off Modified Time: 870094 Reference Count: 1 Registered Events: (none) Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Number Of Points: 1920000 Number Of Cells: 1917201 Cell Data: Debug: Off Modified Time: 870179 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC476A0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Point Data: Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC475B0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 1 Array 0 name = 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: Debug: Off Modified Time: 870148 Reference Count: 2 Registered Events: (none) Name: 21745593 Data type: unsigned char Size: 1920000 MaxId: 1919999 NumberOfComponents: 1 Information: 0000000000000000 Name: 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Size: 1920000 MaxId: 1919999 LookupTable: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Bounds: Xmin,Xmax: (0, 1599) Ymin,Ymax: (0, 1199) Zmin,Zmax: (0, 0) Compute Time: 870184 Spacing: (1, 1, 1) Origin: (0, 0, 0) Dimensions: (1600, 1200, 1) Increments: (0, 0, 0) Extent: (0, 1599, 0, 1199, 0, 0) ? ? ? ? ? ? Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Dienstag, 10. J?nner 2017 06:49 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hi ? Good try but does not effect anything except the string in paraview?s combo box. The strange thing is that I also cannot see anything in spreadsheet view (empty cell and point data)? but on information tab point data and cell data is there?. ? Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Montag, 09. J?nner 2017 19:40 An: Lodron, Gerald Cc: Paraview User (paraview at paraview.org); Paraview Developer (Paraview-developers at paraview.org) Betreff: Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hi Gerald, Not sure it is the only issue but please try giving a name to the output scalar arrays. ParaView won't make visible arrays which don't have a name. Example: ? output->GetPointData()->GetScalars()->SetName("values"); Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS ? 2017-01-09 5:20 GMT-04:00 Lodron, Gerald : Hi I programmed successfully a plugin source wich generates a vtkImageData output and made it the same way as on my 3d cloud plugins of vtkPolyData. The source is inherited from vtkImageAlgorithm and only contains one output with unsigned char array and one component. In the request data function of the filter I currently have a very dummy: output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); ?memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* oData.imgSizeY*sizeof(unsigned char)); in paraview I see in the information tab that? I have an uniform rectilinear grid with 1917201 cells and 1920000 points (image is 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a correct range of my memcopy data (my min max range is not 0,255 so data seems to be there)... the problem is that I cannot see anything in the render view, any suggestions what I am making wrong? I tested all representation (slice, surface, outline, on Solid Color and on my array), never see anything..... I also compared the Information tab on a loaded jpeg image and cannot see any difference (which is rendered in render view except the Array's string name), by the way: can I disable "MapScalars" by default? I am using pv5.2 ------------------------------------------------------------------------------------ Gerald Lodron ? Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies ? JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA ? phone:?? +43-316-876-1751??? general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview ? ? From debopamg at gmail.com Fri Jan 13 06:05:46 2017 From: debopamg at gmail.com (Debopam Ghoshal) Date: Fri, 13 Jan 2017 16:35:46 +0530 Subject: [Paraview] Embedding the Visualizer app in the browser within an iframe In-Reply-To: References: <53b122fc-85c6-bb9a-b0e1-5061e655a04a@theweak.link> Message-ID: Hi Claude, I followed your instructions with some modifications since I was having problems. Finally, I was able to configure the Apache front end with the ParaView Web launcher, and now I can view the index page of the visualizer. However, when I choose any of the sample files, they are not being rendered in the visualizer pane. I have added the details in the gist you created at: https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 Would appreciate your thoughts on this. Cheers & Best Wishes, Debopam ------------------------------- On Thu, Jan 12, 2017 at 5:22 PM, Debopam Ghoshal wrote: > Hi Claude > > Thank you so much for your detailed explanation. The gist has been very > useful. I am working on it at present, and is in the process of smoothening > out a few creases because of the operating system I am using (Windows 10). > > Will let you know once I am able to use paraview web properly. And in case > of any issue, I will bother you once again. > > Hi Seb, > > Thanks for the link. Much appreciated. > > > Cheers & Best Wishes, > Debopam > ------------------------------- > > On Wed, Jan 11, 2017 at 9:48 PM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> Thanks Claude, >> >> Here is the add-on of what functions can be called on Visualizer. (All >> the function with export) >> >> https://github.com/Kitware/visualizer/blob/master/src/app.js >> >> We are planning to add some helper for extracting arguments from the URL. >> We actually add a class in the ParaViewWeb repo, but we haven't got to the >> point of using it and making it available in visualizer. >> >> Seb >> >> On Wed, Jan 11, 2017 at 7:32 AM, claude wrote: >> >>> Hi Debopam, >>> >>> >>> I think there is one thing to consider first before taking care of data >>> being passed through: if you manually start one instance of pvw-visualizer, >>> it means all people connecting to port 8080 will see the same thing and act >>> on the same viewer, which means potentially conflicting with each other >>> action (e.g. a probable disconnection for everyone if one decide to exit >>> maybe?). In that case, you need to have a virtual server that will launch a >>> new process every time someone connect to port 8080. That way, all viewers >>> are independent, the same person can open several viewers, etc. >>> >>> >>> Now regarding the data being loaded at startup: you html index file >>> should have a function grabbing the 'data' parameter from a URL, a form, a >>> dropdown menu, etc. then sending it as a key to the Visualizer application >>> (so that the launcher knows which file to load at startup). >>> >>> It would have been complicated to explain all the details in a email, so >>> I made a gist with all the files and "code" addressing both points >>> (launcher and data): >>> >>> https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >>> >>> Note that this gist was gathered info from the Paraview Web and >>> Visualizer online documentations: kuddos to Paraview people. >>> 2nd note: in that gist I'm giving the instructions for Apache server >>> (you could technically choose any other, e.g. NGinx) for Linux. I see you >>> are on Windows: I don't know how Apache works on Windows but I assume (and >>> hope) the steps and config file should be similar. >>> >>> I hope it helps! Good luck! >>> cheers >>> claude >>> >>> >>> >>> >>> On 01/11/2017 04:10 AM, Debopam Ghoshal wrote: >>> >>> Hi, >>> >>> We have a requirement where our application will send a request to the >>> paraview web server to render a specific file (which will be available in >>> the data given directory) in the visualizer app, and this will be embedded >>> within our application page as a iframe, whose source is the Visualizer >>> app's index.html. >>> >>> We are using the pvpython.exe executable to start the paraview web >>> server. The command used to start the server is: >>> >>> .\bin\pvpython.exe "C:\ParaView-5.2.0-Qt4-OpenGL2 >>> -MPI-Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" >>> --content "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www" >>> --data "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" --port >>> 8080 >>> >>> >>> From the command, we can see that the web content is being served from >>> the C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\pa >>> raview-5.2\web\visualizer\www directory. The index.html file uses the Visualizer.js >>> script and calls the following functions: >>> >>> Visualizer.connect({ application: 'visualizer' }); >>> Visualizer.autoStopServer(10); >>> >>> Is there any way to find out the available functions in the >>> Visualizer.js script and call them from our custom html file? What we >>> intend to do is to update the index.html file and >>> a. add a javascript function which will accept a filename to be rendered >>> b. once the filename is received by this function, it will call the >>> visualizer and display the specified file >>> c. in the visualizer page, the open files tab should be hidden. >>> >>> Please let me know if you require any clarification. >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> >>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview >>> >>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From claude at theweak.link Fri Jan 13 07:34:28 2017 From: claude at theweak.link (Claude) Date: Fri, 13 Jan 2017 06:34:28 -0600 Subject: [Paraview] Embedding the Visualizer app in the browser within an iframe In-Reply-To: References: <53b122fc-85c6-bb9a-b0e1-5061e655a04a@theweak.link> Message-ID: <2255E579-482D-46BB-BE9A-BCCAF43C9DE3@theweak.link> Hi Debopam, Thanks for the added details on the gist and congratulations for setting up the server, you are almost there. For Visualizer to be able to load a file, it will need the argument --load-file (it seems to have disappeared in your config launcher). The option --data specifies the directory, so whatever file you want to load, it must be relative to that directory. For example to load the data file C:/my_data/dir/example1/my_file.vti you could do: --data is C:/my_data/dir --load-file is example1/my_file.vti Here is a question for you: do you want to always have the same data loaded by default or to be able to specify it? * If it's always the same, you can directly hardcode it in the launcher config file. Then it will be loaded when you navigate to the paraview URL. * if it's not always the same, you could use the solution on the gist which is specifying it in the URL directly (there are other alternatives of course). In that case, the URL must contain the file to load (otherwise paraview cannot guess it :)). For instance: http://localhost:9000/?data=example1/my_file (The JavaScript code automatically adds the extension .vti, you may change that behavior of course). I'll be posting the detailed changes on your code in the gist comment shortly. Let me know Cheers Claude > On Jan 13, 2017, at 5:05 AM, Debopam Ghoshal wrote: > > Hi Claude, > > I followed your instructions with some modifications since I was having problems. Finally, I was able to configure the Apache front end with the ParaView Web launcher, and now I can view the index page of the visualizer. However, when I choose any of the sample files, they are not being rendered in the visualizer pane. > > I have added the details in the gist you created at: https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 > > Would appreciate your thoughts on this. > > > > Cheers & Best Wishes, > Debopam > ------------------------------- > > >> On Thu, Jan 12, 2017 at 5:22 PM, Debopam Ghoshal wrote: >> Hi Claude >> >> Thank you so much for your detailed explanation. The gist has been very useful. I am working on it at present, and is in the process of smoothening out a few creases because of the operating system I am using (Windows 10). >> >> Will let you know once I am able to use paraview web properly. And in case of any issue, I will bother you once again. >> >> Hi Seb, >> >> Thanks for the link. Much appreciated. >> >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> >>> On Wed, Jan 11, 2017 at 9:48 PM, Sebastien Jourdain wrote: >>> Thanks Claude, >>> >>> Here is the add-on of what functions can be called on Visualizer. (All the function with export) >>> >>> https://github.com/Kitware/visualizer/blob/master/src/app.js >>> >>> We are planning to add some helper for extracting arguments from the URL. We actually add a class in the ParaViewWeb repo, but we haven't got to the point of using it and making it available in visualizer. >>> >>> Seb >>> >>>> On Wed, Jan 11, 2017 at 7:32 AM, claude wrote: >>>> Hi Debopam, >>>> >>>> >>>> I think there is one thing to consider first before taking care of data being passed through: if you manually start one instance of pvw-visualizer, it means all people connecting to port 8080 will see the same thing and act on the same viewer, which means potentially conflicting with each other action (e.g. a probable disconnection for everyone if one decide to exit maybe?). In that case, you need to have a virtual server that will launch a new process every time someone connect to port 8080. That way, all viewers are independent, the same person can open several viewers, etc. >>>> >>>> >>>> Now regarding the data being loaded at startup: you html index file should have a function grabbing the 'data' parameter from a URL, a form, a dropdown menu, etc. then sending it as a key to the Visualizer application (so that the launcher knows which file to load at startup). >>>> It would have been complicated to explain all the details in a email, so I made a gist with all the files and "code" addressing both points (launcher and data): >>>> >>>> https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >>>> >>>> Note that this gist was gathered info from the Paraview Web and Visualizer online documentations: kuddos to Paraview people. >>>> 2nd note: in that gist I'm giving the instructions for Apache server (you could technically choose any other, e.g. NGinx) for Linux. I see you are on Windows: I don't know how Apache works on Windows but I assume (and hope) the steps and config file should be similar. >>>> >>>> I hope it helps! Good luck! >>>> cheers >>>> claude >>>> >>>> >>>> >>>> >>>>> On 01/11/2017 04:10 AM, Debopam Ghoshal wrote: >>>>> Hi, >>>>> >>>>> We have a requirement where our application will send a request to the paraview web server to render a specific file (which will be available in the data given directory) in the visualizer app, and this will be embedded within our application page as a iframe, whose source is the Visualizer app's index.html. >>>>> >>>>> We are using the pvpython.exe executable to start the paraview web server. The command used to start the server is: >>>>> >>>>> .\bin\pvpython.exe "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" --content "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www" --data "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" --port 8080 >>>>> >>>>> >>>>> From the command, we can see that the web content is being served from the C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www directory. The index.html file uses the Visualizer.js script and calls the following functions: >>>>> >>>>> Visualizer.connect({ application: 'visualizer' }); >>>>> Visualizer.autoStopServer(10); >>>>> >>>>> Is there any way to find out the available functions in the Visualizer.js script and call them from our custom html file? What we intend to do is to update the index.html file and >>>>> a. add a javascript function which will accept a filename to be rendered >>>>> b. once the filename is received by this function, it will call the visualizer and display the specified file >>>>> c. in the visualizer page, the open files tab should be hidden. >>>>> >>>>> Please let me know if you require any clarification. >>>>> >>>>> Cheers & Best Wishes, >>>>> Debopam >>>>> ------------------------------- >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Powered by www.kitware.com >>>>> >>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>>> >>>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joachim.pouderoux at kitware.com Fri Jan 13 09:44:51 2017 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Fri, 13 Jan 2017 10:44:51 -0400 Subject: [Paraview] [Paraview-developers] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: References: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> <4adff269435d4ed8845efdbcc8478093@RZJMBX1.jr1.local> Message-ID: Could you share the code of your reader? If you prefer you can remove all specific stuff and keep only VTK related stuff. I would like to see how exactly you fetch the output grid to fill and how your filter defines its output. Best, *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-01-13 3:17 GMT-04:00 Lodron, Gerald : > Nope, the data is then nearly empty (<1kByte), hiere the vti writer output: > > header_type="UInt64"> > > > > > RangeMin="1e+299" RangeMax="-1e+299" offset="0" > /> > > > > > > > _ > > > > Here the mhd header which I usually prefer, the ?DimSize? is 0,0,0: > ObjectType = Image > NDims = 3 > BinaryData = True > BinaryDataByteOrderMSB = False > CompressedData = True > TransformMatrix = 1 0 0 0 1 0 0 0 1 > Offset = 0 0 0 > CenterOfRotation = 0 0 0 > ElementSpacing = 1 1 1 > DimSize = 0 0 0 > AnatomicalOrientation = ??? > ElementType = MET_UCHAR > ElementDataFile = test.zraw > > Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] > Gesendet: Donnerstag, 12. J?nner 2017 22:28 > An: Lodron, Gerald > Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User ( > paraview at paraview.org) > Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > OK. That's weired, your VTI is correct. > And what if you save the output of your filter/reader with ParaView "Save > Data"? Is data correctly saved and reloaded correctly? > Joachim > > > Joachim Pouderoux, PhD > Technical Expert - Scientific Computing Team > Kitware SAS > > 2017-01-11 8:14 GMT-04:00 Lodron, Gerald : > i have uploaded the vti onto > https://expirebox.com/download/60e7c1e8d177f282ae90d42f75e5ae50.html > the link is 48h accessible > > when I load the vti into paraview everything is visualized correctly > > Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] > Im Auftrag von Lodron, Gerald > Gesendet: Mittwoch, 11. J?nner 2017 12:07 > > An: Joachim Pouderoux > Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User ( > paraview at paraview.org) > Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > Sorry for my late reply: > > ?21745593? is correct, that?s the UID string of the sensor/camera which > generates the vtkImagedata, I set the string from its SDK?. I will try > writing the vti file for you?. > > > > Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] > Gesendet: Dienstag, 10. J?nner 2017 19:09 > An: Lodron, Gerald > Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User ( > paraview at paraview.org) > Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > Hmm sorry if I had took a closer look I would have seen that > AllocateScalars set a default name "ImageScalars" to the scalar array. > Then don't know what you did but the print says that the name of your > array is "21745593" which is quite strange. Is it what you did? > Could you write your "output" image data to a .VTI file using a > vtkXMLImageDataWriter after initializing it in your RequestData > function and see if you can load in with PV and view it? Share it if you > can't. > Best, > > > Joachim Pouderoux, PhD > Technical Expert - Scientific Computing Team > Kitware SAS > > 2017-01-10 2:00 GMT-04:00 Lodron, Gerald : > Here i printed my vtkImageDataOutput of my plugin in Request data, may > that helps?: > > output vtkImageData (00000087ABEB1260) > Debug: Off > Modified Time: 870183 > Reference Count: 1 > Registered Events: (none) > Information: 00000087AC049A90 > Data Released: False > Global Release Data: Off > UpdateTime: 195896 > Field Data: > Debug: Off > Modified Time: 870094 > Reference Count: 1 > Registered Events: (none) > Number Of Arrays: 0 > Number Of Components: 0 > Number Of Tuples: 0 > Number Of Points: 1920000 > Number Of Cells: 1917201 > Cell Data: > Debug: Off > Modified Time: 870179 > Reference Count: 1 > Registered Events: > Registered Observers: > vtkObserver (00000087ABC476A0) > Event: 33 > EventName: ModifiedEvent > Command: 00000087AC0495E0 > Priority: 0 > Tag: 1 > Number Of Arrays: 0 > Number Of Components: 0 > Number Of Tuples: 0 > Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) > Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) > Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) > Scalars: (none) > Vectors: (none) > Normals: (none) > TCoords: (none) > Tensors: (none) > GlobalIds: (none) > PedigreeIds: (none) > EdgeFlag: (none) > Point Data: > Debug: Off > Modified Time: 870183 > Reference Count: 1 > Registered Events: > Registered Observers: > vtkObserver (00000087ABC475B0) > Event: 33 > EventName: ModifiedEvent > Command: 00000087AC0495E0 > Priority: 0 > Tag: 1 > Number Of Arrays: 1 > Array 0 name = 21745593 > Number Of Components: 1 > Number Of Tuples: 1920000 > Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) > Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) > Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) > Scalars: > Debug: Off > Modified Time: 870148 > Reference Count: 2 > Registered Events: (none) > Name: 21745593 > Data type: unsigned char > Size: 1920000 > MaxId: 1919999 > NumberOfComponents: 1 > Information: 0000000000000000 > Name: 21745593 > Number Of Components: 1 > Number Of Tuples: 1920000 > Size: 1920000 > MaxId: 1919999 > LookupTable: (none) > Vectors: (none) > Normals: (none) > TCoords: (none) > Tensors: (none) > GlobalIds: (none) > PedigreeIds: (none) > EdgeFlag: (none) > Bounds: > Xmin,Xmax: (0, 1599) > Ymin,Ymax: (0, 1199) > Zmin,Zmax: (0, 0) > Compute Time: 870184 > Spacing: (1, 1, 1) > Origin: (0, 0, 0) > Dimensions: (1600, 1200, 1) > Increments: (0, 0, 0) > Extent: (0, 1599, 0, 1199, 0, 0) > > > > > > > Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] > Im Auftrag von Lodron, Gerald > Gesendet: Dienstag, 10. J?nner 2017 06:49 > An: Joachim Pouderoux > Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User ( > paraview at paraview.org) > Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > Hi > > Good try but does not effect anything except the string in paraview?s > combo box. The strange thing is that I also cannot see anything in > spreadsheet view (empty cell and point data)? but on information tab point > data and cell data is there?. > > Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] > Gesendet: Montag, 09. J?nner 2017 19:40 > An: Lodron, Gerald > Cc: Paraview User (paraview at paraview.org); Paraview Developer ( > Paraview-developers at paraview.org) > Betreff: Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered > > Hi Gerald, > Not sure it is the only issue but please try giving a name to the output > scalar arrays. > ParaView won't make visible arrays which don't have a name. > Example: > output->GetPointData()->GetScalars()->SetName("values"); > Best, > > > Joachim Pouderoux, PhD > Technical Expert - Scientific Computing Team > Kitware SAS > > 2017-01-09 5:20 GMT-04:00 Lodron, Gerald : > Hi > > I programmed successfully a plugin source wich generates a vtkImageData > output and made it the same way as on my 3d cloud plugins of vtkPolyData. > The source is inherited from vtkImageAlgorithm and only contains one output > with unsigned char array and one component. > > In the request data function of the filter I currently have a very dummy: > > output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); > output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); > memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* > oData.imgSizeY*sizeof(unsigned char)); > > in paraview I see in the information tab that I have an uniform > rectilinear grid with 1917201 cells and 1920000 points (image is > 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a > correct range of my memcopy data (my min max range is not 0,255 so data > seems to be there)... > > the problem is that I cannot see anything in the render view, any > suggestions what I am making wrong? I tested all representation (slice, > surface, outline, on Solid Color and on my array), never see anything..... > > I also compared the Information tab on a loaded jpeg image and cannot see > any difference (which is rendered in render view except the Array's string > name), by the way: can I disable "MapScalars" by default? > > I am using pv5.2 > > ------------------------------------------------------------ > ------------------------ > Gerald Lodron > > Researcher of Machine Vision Applications Group > DIGITAL - Institute for Information and Communication Technologies > > JOANNEUM RESEARCH Forschungsgesellschaft mbH > Steyrergasse 17, 8010 Graz, AUSTRIA > > phone: +43-316-876-1751 > general fax: +43-316-876-1751 > web: http://www.joanneum.at/digital > e-mail: gerald.lodron at joanneum.at > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From P.Crepier at marin.nl Fri Jan 13 10:36:10 2017 From: P.Crepier at marin.nl (Crepier, Pierre) Date: Fri, 13 Jan 2017 15:36:10 +0000 Subject: [Paraview] Programmable filter - input data and output data In-Reply-To: References: <57ec2811a77d4a5d9961c5208ca3c100@MAR190n2.marin.local> Message-ID: Cory, Thanks for your quick answer and clarifying the context. So if I try to reproduce the behaviour of the clip filter, I would do: import vtk input = self.GetInputDataObject(0, 0) plane = vtk.vtkPlane() plane.SetOrigin(-4.0, 0.0, 0.0) plane.SetNormal(1.0, 0.0, 0.0) xMin = vtk.vtkClipDataSet() xMin.SetClipFunction(plane) xMin.SetInputData(input) xMin.Update() self.GetOutput().ShallowCopy(xMin.GetOutput()) I changed to the ?Output Data Set Type? to vtkUnstructuredGrid. I tried but paraview stops responding ... Where am I doing something wrong ? and what am I doing wrong ? Thanks, Pierre ir. Pierre Crepier | Project Manager Ships | CFD MARIN | T +31 317 49 34 75 | P.Crepier at marin.nl | www.marin.nl [LinkedIn] [YouTube] [Twitter] [Facebook] MARIN news: Few places left for Offshore and Ship hydrodynamics courses From: Cory Quammen [mailto:cory.quammen at kitware.com] Sent: Wednesday, January 11, 2017 3:33 PM To: Crepier, Pierre Cc: paraview at paraview.org Subject: Re: [Paraview] Programmable filter - input data and output data Pierre, First thing first. The code inside the Programmable Filter script runs in a context in which it is aware of VTK only and not ParaView, so you cannot use paraview.simple module functions such as Clip. Instead, you would need to use a VTK-equivalent. In this case, you would use vtkClipDataSet: import vtk plane = vtk.vtkPlane() plane.SetOrigin(-4.0, 0.0, 0.0) plane.SetNormal(1.0, 1.0, 1.0) clip = vtk.vtkClipDataSet() clip.SetClipFunction(plane) clip.SetInputData(input) clip.Update() Next, to use the output of the clip filter as the output of the Programmable Filter, do the following. self.GetOutput().ShallowCopy(clip.GetOutput()) Make sure you change the Output Data Set Type to vtkUnstructuredGrid if you go this way. Hope that helps, Cory On Wed, Jan 11, 2017 at 8:49 AM, Crepier, Pierre > wrote: Hi everyone, I am trying to use the programmable filter to combine multiple filters. Sort of like the custom filter but I want to have control over some of the properties using user input. If I understood correctly, I can get the input data with: input = self.GetInputDataObject(0, 0) then I can use this input in a filter: xMin = Clip(Input=input) xMin.ClipType = 'Plane' xMin.Crinkleclip = 1 xMin.ClipType.Origin = [-4.0, 0.0, 0.0] xMin.ClipType.Normal = [1.0, 0.0, 0.0] Now, how can I use the output of this filter as output of my programmable filter ? Thanks in advance, Pierre ir. Pierre Crepier | Project Manager Ships | CFD MARIN | T +31 317 49 34 75 | P.Crepier at marin.nl | www.marin.nl [LinkedIn] [YouTube] [Twitter] [Facebook] MARIN news: Modelling natural transition on hydrofoils for application in underwater gliders _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 293 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 331 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 333 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 253 bytes Desc: image004.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image62c2c3.PNG Type: image/png Size: 293 bytes Desc: image62c2c3.PNG URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image2c48df.PNG Type: image/png Size: 331 bytes Desc: image2c48df.PNG URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image62c680.PNG Type: image/png Size: 333 bytes Desc: image62c680.PNG URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image806bc6.PNG Type: image/png Size: 253 bytes Desc: image806bc6.PNG URL: From kmorel at sandia.gov Fri Jan 13 11:49:20 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Fri, 13 Jan 2017 16:49:20 +0000 Subject: [Paraview] [EXTERNAL] Decode a vtu file In-Reply-To: References: Message-ID: <7fcedbf9a78e476d86c581257a05dd1e@ES08AMSNLNT.srn.sandia.gov> Documentation for vtu file format (and several other standard VTK formats) is here: http://www.vtk.org/VTK/img/file-formats.pdf -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Andi Hartarto Sent: Thursday, January 12, 2017 7:54 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Decode a vtu file Hello all, Can I please have guidance/help in decoding a vtu file? My file is a (data long list) The file can be found in this link: https://drive.google.com/open?id=0BzmZiSDoM7l3U2poYWNTbUhBWVU I don't understand how to decode a vtk file and couldn't find anything in google. I've tried using some scripts in python for base64 but it didn't work.. The reason why I need to decode this is because somehow this vtk file which load in paraview perfectly becomes a 2d file in another software "MOOSE" .. So I think somehow in the encoded data is telling the other software "only display the 2D intersection of blocks". But I want a 3D cube not a 2D surface. If someone knows about this please tell me . Thank you, Andi -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri Jan 13 13:50:55 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 13 Jan 2017 13:50:55 -0500 Subject: [Paraview] ParaView 5.1.2 is not recording changes to the LUT position when tracing is one with all options (UNCLASSIFIED) In-Reply-To: <10A03274360DCF47A6EE78C9952A31CA88798123@UCOLHPUD.easf.csd.disa.mil> References: <10A03274360DCF47A6EE78C9952A31CA88798123@UCOLHPUD.easf.csd.disa.mil> Message-ID: Joe, That's indeed a bug. I've reported an issue here: https://gitlab.kitware.com/paraview/paraview/issues/17113 Utkarsh On Thu, Jan 12, 2017 at 11:56 AM, Hennessey, Joseph G CTR USARMY RDECOM ARL (US) wrote: > CLASSIFICATION: UNCLASSIFIED > > Hello, > > ParaView 5.1.2 is not recording changes to the LUT Scalar Bar position and > size when tracing is one with all options. > > And that even when I manually set the positions of the LUT in the script > file run by pvpython, > > Paraview will seem to pull the settings for the lut from the last postion > that the lut was used in the GUI > > and not like I like desire from the script values. > > Has anyone else experienced this? > > Thanks, > > Joe > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joseph G. Hennessey Ph.D., SAIC > Team SAIC > Army Research Lab > DOD Supercomputing Resource Center > Aberdeen Proving Ground, MD 21005 > Voice: 410-278-3619 > Fax: 410-278-8799 > Email: joseph.g.hennessey2.ctr at mail.mil > > > > CLASSIFICATION: UNCLASSIFIED > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Fri Jan 13 14:00:06 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Fri, 13 Jan 2017 14:00:06 -0500 Subject: [Paraview] exodusII reader & writer in parallel Message-ID: Hi, I'm trying out the ExodusII writer in parallel and had some questions about how it should work in general when there isn't any data on process 0. Currently what happens in ParaView is that a file for each process is written out but the file corresponding to process 0 doesn't have any grid information or field data (an example is attached). When I read this back into ParaView using the built-in server (i.e. in serial) the ExodusII reader gets the proper points and cells but no field data is read in. So my question is this, does the ExodusII file format allow specifying point and cell arrays in a file if no grid points or cells exist? I'm tempted to fix this issue by modifying the reader to properly pass the field data information to process 0 from another one that has data but wanted to get the community's thoughts on this before I go through the implementation. The alternative would be to modify the writer to include point and cell data information and that's probably a better solution, assuming that the ExodusII format allows for that. Thanks, Andy ps. Attached is a sample set of ExodusII files that doesn't have any data on parallel.ex2.4.0 in case someone wants to play around with it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: parallel.tgz Type: application/x-gzip Size: 105548 bytes Desc: not available URL: From kmorel at sandia.gov Fri Jan 13 14:44:18 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Fri, 13 Jan 2017 19:44:18 +0000 Subject: [Paraview] exodusII reader & writer in parallel Message-ID: <27c0bba434404571812c265fe79d1ceb@ES08AMSNLNT.srn.sandia.gov> Andy, That sounds like a bug in our Exodus writer to me. I?m not positive, but I?m pretty sure that you can specify in Exodus point and cell arrays if no grid points or cells exist. The writer is probably making a shortcut and skipping that if there is no actual data. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Andy Bauer Sent: Friday, January 13, 2017 12:00 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] exodusII reader & writer in parallel Hi, I'm trying out the ExodusII writer in parallel and had some questions about how it should work in general when there isn't any data on process 0. Currently what happens in ParaView is that a file for each process is written out but the file corresponding to process 0 doesn't have any grid information or field data (an example is attached). When I read this back into ParaView using the built-in server (i.e. in serial) the ExodusII reader gets the proper points and cells but no field data is read in. So my question is this, does the ExodusII file format allow specifying point and cell arrays in a file if no grid points or cells exist? I'm tempted to fix this issue by modifying the reader to properly pass the field data information to process 0 from another one that has data but wanted to get the community's thoughts on this before I go through the implementation. The alternative would be to modify the writer to include point and cell data information and that's probably a better solution, assuming that the ExodusII format allows for that. Thanks, Andy ps. Attached is a sample set of ExodusII files that doesn't have any data on parallel.ex2.4.0 in case someone wants to play around with it. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Fri Jan 13 14:59:25 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Fri, 13 Jan 2017 14:59:25 -0500 Subject: [Paraview] exodusII reader & writer in parallel In-Reply-To: <27c0bba434404571812c265fe79d1ceb@ES08AMSNLNT.srn.sandia.gov> References: <27c0bba434404571812c265fe79d1ceb@ES08AMSNLNT.srn.sandia.gov> Message-ID: Hi Ken, Thanks for the input. There is an explicit check in the writer to see if there are any points before writing out point data. I took that check out and am hitting a NetCDF error that the "num_nodes" dimension isn't specified. It will probably take a bit of investigating to fix this but at least you've helped me go down the correct path. Thanks, Andy On Fri, Jan 13, 2017 at 2:44 PM, Moreland, Kenneth wrote: > Andy, > > > > That sounds like a bug in our Exodus writer to me. I?m not positive, but > I?m pretty sure that you can specify in Exodus point and cell arrays if no > grid points or cells exist. The writer is probably making a shortcut and > skipping that if there is no actual data. > > > > -Ken > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Andy > Bauer > *Sent:* Friday, January 13, 2017 12:00 PM > *To:* paraview at paraview.org > *Subject:* [EXTERNAL] [Paraview] exodusII reader & writer in parallel > > > > Hi, > > I'm trying out the ExodusII writer in parallel and had some questions > about how it should work in general when there isn't any data on process 0. > Currently what happens in ParaView is that a file for each process is > written out but the file corresponding to process 0 doesn't have any grid > information or field data (an example is attached). When I read this back > into ParaView using the built-in server (i.e. in serial) the ExodusII > reader gets the proper points and cells but no field data is read in. > > So my question is this, does the ExodusII file format allow specifying > point and cell arrays in a file if no grid points or cells exist? > > I'm tempted to fix this issue by modifying the reader to properly pass the > field data information to process 0 from another one that has data but > wanted to get the community's thoughts on this before I go through the > implementation. The alternative would be to modify the writer to include > point and cell data information and that's probably a better solution, > assuming that the ExodusII format allows for that. > > Thanks, > > Andy > > ps. Attached is a sample set of ExodusII files that doesn't have any data > on parallel.ex2.4.0 in case someone wants to play around with it. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From yousefi at g.clemson.edu Fri Jan 13 15:22:43 2017 From: yousefi at g.clemson.edu (Mehrdad Yousefi) Date: Fri, 13 Jan 2017 15:22:43 -0500 Subject: [Paraview] vtkSocketCommunicator (0x9be6300): Could not receive tag. 1 Message-ID: Hi, I compiled ParaView 5.2 on our cluster from source and also have a binary package of ParaView 5.2 on my local machine. I can connect server/client successfully but when I try to open a file I get this error: [yousefi at node2010 ~]$ mpirun -np 24 ./ParaView-build/bin/pvserver -display localhost:11111 Waiting for client... Connection URL: cs://node2010:11111 Accepting connection(s): node2010:11111 Client connected. ERROR: In /home/yousefi/ParaView/VTK/Parallel/Core/vtkSocketCommunicator.cxx, line 809 vtkSocketCommunicator (0x9be6300): Could not receive tag. 1 Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... So this error is very strange. Anyone can help me?! Mehrdad Yousefi PhD Candidate Department of Materials Science and Engineering Clemson University -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Fri Jan 13 16:03:05 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Fri, 13 Jan 2017 16:03:05 -0500 Subject: [Paraview] exodusII reader & writer in parallel In-Reply-To: References: <27c0bba434404571812c265fe79d1ceb@ES08AMSNLNT.srn.sandia.gov> Message-ID: It's looking like there could be a decent amount of hacking in the ExodusII code to get the writer to work properly for this (as well as the reader to read it back in without issues). The main issue appears to be that NetCDF doesn't allow creating a dimension of 0 length/size. Thus the stuff in VTK/ThirdParty/exodusII/vtkexodusII would need to be changed. Both the reader and writer make the assumption that if the num_nodes dimension exists that there are points to be read in. At this point I'm thinking it's better to modify the reader than the writer... On Fri, Jan 13, 2017 at 2:59 PM, Andy Bauer wrote: > Hi Ken, > > Thanks for the input. > > There is an explicit check in the writer to see if there are any points > before writing out point data. I took that check out and am hitting a > NetCDF error that the "num_nodes" dimension isn't specified. It will > probably take a bit of investigating to fix this but at least you've helped > me go down the correct path. > > Thanks, > Andy > > On Fri, Jan 13, 2017 at 2:44 PM, Moreland, Kenneth > wrote: > >> Andy, >> >> >> >> That sounds like a bug in our Exodus writer to me. I?m not positive, but >> I?m pretty sure that you can specify in Exodus point and cell arrays if no >> grid points or cells exist. The writer is probably making a shortcut and >> skipping that if there is no actual data. >> >> >> >> -Ken >> >> >> >> *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Andy >> Bauer >> *Sent:* Friday, January 13, 2017 12:00 PM >> *To:* paraview at paraview.org >> *Subject:* [EXTERNAL] [Paraview] exodusII reader & writer in parallel >> >> >> >> Hi, >> >> I'm trying out the ExodusII writer in parallel and had some questions >> about how it should work in general when there isn't any data on process 0. >> Currently what happens in ParaView is that a file for each process is >> written out but the file corresponding to process 0 doesn't have any grid >> information or field data (an example is attached). When I read this back >> into ParaView using the built-in server (i.e. in serial) the ExodusII >> reader gets the proper points and cells but no field data is read in. >> >> So my question is this, does the ExodusII file format allow specifying >> point and cell arrays in a file if no grid points or cells exist? >> >> I'm tempted to fix this issue by modifying the reader to properly pass >> the field data information to process 0 from another one that has data but >> wanted to get the community's thoughts on this before I go through the >> implementation. The alternative would be to modify the writer to include >> point and cell data information and that's probably a better solution, >> assuming that the ExodusII format allows for that. >> >> Thanks, >> >> Andy >> >> ps. Attached is a sample set of ExodusII files that doesn't have any data >> on parallel.ex2.4.0 in case someone wants to play around with it. >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.thompson at kitware.com Fri Jan 13 16:13:48 2017 From: david.thompson at kitware.com (David Thompson) Date: Fri, 13 Jan 2017 16:13:48 -0500 Subject: [Paraview] exodusII reader & writer in parallel In-Reply-To: References: <27c0bba434404571812c265fe79d1ceb@ES08AMSNLNT.srn.sandia.gov> Message-ID: <0599E816-969B-4D6C-A764-B970FA58FDB3@kitware.com> Hi all, > It's looking like there could be a decent amount of hacking in the ExodusII code to get the writer to work properly for this (as well as the reader to read it back in without issues). The main issue appears to be that NetCDF doesn't allow creating a dimension of 0 length/size. Thus the stuff in VTK/ThirdParty/exodusII/vtkexodusII would need to be changed. > > Both the reader and writer make the assumption that if the num_nodes dimension exists that there are points to be read in. Yes, that is a basic assumption of the Exodus file format: each rank is assigned a subset of the cells and nodes in the simulation domain, since otherwise there is no state to store. If rank 0 of a simulation has no nodes (and thus cannot have cells either), then it should probably not participate in writing the Exodus dataset. You could create an MPI subcontroller without the rank 0 process and have the writer use that. > At this point I'm thinking it's better to modify the reader than the writer... I would be very wary of this. David > > On Fri, Jan 13, 2017 at 2:59 PM, Andy Bauer wrote: > Hi Ken, > > Thanks for the input. > > There is an explicit check in the writer to see if there are any points before writing out point data. I took that check out and am hitting a NetCDF error that the "num_nodes" dimension isn't specified. It will probably take a bit of investigating to fix this but at least you've helped me go down the correct path. > > Thanks, > Andy > > On Fri, Jan 13, 2017 at 2:44 PM, Moreland, Kenneth wrote: > Andy, > > > > That sounds like a bug in our Exodus writer to me. I?m not positive, but I?m pretty sure that you can specify in Exodus point and cell arrays if no grid points or cells exist. The writer is probably making a shortcut and skipping that if there is no actual data. > > > > -Ken > > > > From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Andy Bauer > Sent: Friday, January 13, 2017 12:00 PM > To: paraview at paraview.org > Subject: [EXTERNAL] [Paraview] exodusII reader & writer in parallel > > > > Hi, > > I'm trying out the ExodusII writer in parallel and had some questions about how it should work in general when there isn't any data on process 0. Currently what happens in ParaView is that a file for each process is written out but the file corresponding to process 0 doesn't have any grid information or field data (an example is attached). When I read this back into ParaView using the built-in server (i.e. in serial) the ExodusII reader gets the proper points and cells but no field data is read in. > > So my question is this, does the ExodusII file format allow specifying point and cell arrays in a file if no grid points or cells exist? > > I'm tempted to fix this issue by modifying the reader to properly pass the field data information to process 0 from another one that has data but wanted to get the community's thoughts on this before I go through the implementation. The alternative would be to modify the writer to include point and cell data information and that's probably a better solution, assuming that the ExodusII format allows for that. > > Thanks, > > Andy > > ps. Attached is a sample set of ExodusII files that doesn't have any data on parallel.ex2.4.0 in case someone wants to play around with it. > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From kmorel at sandia.gov Fri Jan 13 16:19:02 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Fri, 13 Jan 2017 21:19:02 +0000 Subject: [Paraview] exodusII reader & writer in parallel Message-ID: <166b88cc1fd842fbb44129b7eef71cf2@ES08AMSNLNT.srn.sandia.gov> Hmm. That?s disappointing. Although I?ve heard of files missing fields on element blocks because no blocks with that field is local, I guess having no data on a process is not something simulations typically experience. I agree with modifying the reader then. I would not mess around with the third party code over this. -Ken From: Andy Bauer [mailto:andy.bauer at kitware.com] Sent: Friday, January 13, 2017 2:03 PM To: Moreland, Kenneth Cc: paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview] exodusII reader & writer in parallel It's looking like there could be a decent amount of hacking in the ExodusII code to get the writer to work properly for this (as well as the reader to read it back in without issues). The main issue appears to be that NetCDF doesn't allow creating a dimension of 0 length/size. Thus the stuff in VTK/ThirdParty/exodusII/vtkexodusII would need to be changed. Both the reader and writer make the assumption that if the num_nodes dimension exists that there are points to be read in. At this point I'm thinking it's better to modify the reader than the writer... On Fri, Jan 13, 2017 at 2:59 PM, Andy Bauer > wrote: Hi Ken, Thanks for the input. There is an explicit check in the writer to see if there are any points before writing out point data. I took that check out and am hitting a NetCDF error that the "num_nodes" dimension isn't specified. It will probably take a bit of investigating to fix this but at least you've helped me go down the correct path. Thanks, Andy On Fri, Jan 13, 2017 at 2:44 PM, Moreland, Kenneth > wrote: Andy, That sounds like a bug in our Exodus writer to me. I?m not positive, but I?m pretty sure that you can specify in Exodus point and cell arrays if no grid points or cells exist. The writer is probably making a shortcut and skipping that if there is no actual data. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Andy Bauer Sent: Friday, January 13, 2017 12:00 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] exodusII reader & writer in parallel Hi, I'm trying out the ExodusII writer in parallel and had some questions about how it should work in general when there isn't any data on process 0. Currently what happens in ParaView is that a file for each process is written out but the file corresponding to process 0 doesn't have any grid information or field data (an example is attached). When I read this back into ParaView using the built-in server (i.e. in serial) the ExodusII reader gets the proper points and cells but no field data is read in. So my question is this, does the ExodusII file format allow specifying point and cell arrays in a file if no grid points or cells exist? I'm tempted to fix this issue by modifying the reader to properly pass the field data information to process 0 from another one that has data but wanted to get the community's thoughts on this before I go through the implementation. The alternative would be to modify the writer to include point and cell data information and that's probably a better solution, assuming that the ExodusII format allows for that. Thanks, Andy ps. Attached is a sample set of ExodusII files that doesn't have any data on parallel.ex2.4.0 in case someone wants to play around with it. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Fri Jan 13 16:30:31 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Fri, 13 Jan 2017 16:30:31 -0500 Subject: [Paraview] exodusII reader & writer in parallel In-Reply-To: <0599E816-969B-4D6C-A764-B970FA58FDB3@kitware.com> References: <27c0bba434404571812c265fe79d1ceb@ES08AMSNLNT.srn.sandia.gov> <0599E816-969B-4D6C-A764-B970FA58FDB3@kitware.com> Message-ID: On Fri, Jan 13, 2017 at 4:13 PM, David Thompson wrote: > Hi all, > > > It's looking like there could be a decent amount of hacking in the > ExodusII code to get the writer to work properly for this (as well as the > reader to read it back in without issues). The main issue appears to be > that NetCDF doesn't allow creating a dimension of 0 length/size. Thus the > stuff in VTK/ThirdParty/exodusII/vtkexodusII would need to be changed. > > > > Both the reader and writer make the assumption that if the num_nodes > dimension exists that there are points to be read in. > > Yes, that is a basic assumption of the Exodus file format: each rank is > assigned a subset of the cells and nodes in the simulation domain, since > otherwise there is no state to store. If rank 0 of a simulation has no > nodes (and thus cannot have cells either), then it should probably not > participate in writing the Exodus dataset. You could create an MPI > subcontroller without the rank 0 process and have the writer use that. > My worry here is that with the processes that have data possibly changing between time steps I'm not sure how well it would be read back in since there probably isn't a regular way to deal with that. The current ExodusII reader complained trying to read in parallel.ex2.4.[1,2,3] if I just deleted parallel.ex2.4.0. Also, how would time be supported in this? > > > At this point I'm thinking it's better to modify the reader than the > writer... > > I would be very wary of this. > Yeah, this scares me as well with all of the blocks that ExodusII wants to have in there but my thought was to basically skip reading in files that had the num_nodes dimension not specified. Maybe there just isn't a good solution here based on the format requirements. I'll test out modifying the reader though and see what happens... > > David > > > > > On Fri, Jan 13, 2017 at 2:59 PM, Andy Bauer > wrote: > > Hi Ken, > > > > Thanks for the input. > > > > There is an explicit check in the writer to see if there are any points > before writing out point data. I took that check out and am hitting a > NetCDF error that the "num_nodes" dimension isn't specified. It will > probably take a bit of investigating to fix this but at least you've helped > me go down the correct path. > > > > Thanks, > > Andy > > > > On Fri, Jan 13, 2017 at 2:44 PM, Moreland, Kenneth > wrote: > > Andy, > > > > > > > > That sounds like a bug in our Exodus writer to me. I?m not positive, but > I?m pretty sure that you can specify in Exodus point and cell arrays if no > grid points or cells exist. The writer is probably making a shortcut and > skipping that if there is no actual data. > > > > > > > > -Ken > > > > > > > > From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Andy > Bauer > > Sent: Friday, January 13, 2017 12:00 PM > > To: paraview at paraview.org > > Subject: [EXTERNAL] [Paraview] exodusII reader & writer in parallel > > > > > > > > Hi, > > > > I'm trying out the ExodusII writer in parallel and had some questions > about how it should work in general when there isn't any data on process 0. > Currently what happens in ParaView is that a file for each process is > written out but the file corresponding to process 0 doesn't have any grid > information or field data (an example is attached). When I read this back > into ParaView using the built-in server (i.e. in serial) the ExodusII > reader gets the proper points and cells but no field data is read in. > > > > So my question is this, does the ExodusII file format allow specifying > point and cell arrays in a file if no grid points or cells exist? > > > > I'm tempted to fix this issue by modifying the reader to properly pass > the field data information to process 0 from another one that has data but > wanted to get the community's thoughts on this before I go through the > implementation. The alternative would be to modify the writer to include > point and cell data information and that's probably a better solution, > assuming that the ExodusII format allows for that. > > > > Thanks, > > > > Andy > > > > ps. Attached is a sample set of ExodusII files that doesn't have any > data on parallel.ex2.4.0 in case someone wants to play around with it. > > > > > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.thompson at kitware.com Fri Jan 13 17:26:26 2017 From: david.thompson at kitware.com (David Thompson) Date: Fri, 13 Jan 2017 17:26:26 -0500 Subject: [Paraview] exodusII reader & writer in parallel In-Reply-To: References: <27c0bba434404571812c265fe79d1ceb@ES08AMSNLNT.srn.sandia.gov> <0599E816-969B-4D6C-A764-B970FA58FDB3@kitware.com> Message-ID: <409F7029-A741-4304-A636-68195175EF0B@kitware.com> Hi Andy, >> ... a basic assumption of the Exodus file format: each rank is assigned a subset of the cells and nodes in the simulation domain, since otherwise there is no state to store. ... >> > My worry here is that with the processes that have data possibly changing between time steps I'm not sure how well it would be read back in since there probably isn't a regular way to deal with that. ... Exodus assumes the node IDs and cell-connectivity are time-constant within a single file. Each timestep the number of nodes and/or cells changes, a new Exodus file should be created. There's a convention for how filenames should change at adaptation steps as opposed to process rank. >>> > At this point I'm thinking it's better to modify the reader than the writer... >> >> I would be very wary of this. > > Yeah, this scares me as well with all of the blocks that ExodusII wants to have in there but my thought was to basically skip reading in files that had the num_nodes dimension not specified. Maybe there just isn't a good solution here based on the format requirements. I'll test out modifying the reader though and see what happens... Be aware that the vtkPExodusIIReader behaves differently on rank 0; during UpdateInformation, I believe it is the only rank to do some tasks in order to avoid slamming parallel filesystems with tons of identical requests. I know one of the tasks it does it discover the list of files to split among the ranks. I'm less sure about transmitting lists of array names to all processes, but it may do that from its own list of arrays, too. There was a problem long ago (that got fixed) where element blocks with no cells were missing arrays -- I don't think we've ever had processes with no points/nodes, though. David From andi3173 at gmail.com Sat Jan 14 01:58:42 2017 From: andi3173 at gmail.com (Andi Hartarto) Date: Sat, 14 Jan 2017 17:58:42 +1100 Subject: [Paraview] [EXTERNAL] Decode a vtu file In-Reply-To: <7fcedbf9a78e476d86c581257a05dd1e@ES08AMSNLNT.srn.sandia.gov> References: <7fcedbf9a78e476d86c581257a05dd1e@ES08AMSNLNT.srn.sandia.gov> Message-ID: Dear Kenneth, Thank you for helping but i didn't mean understanding the text document if that is what you mean. I mean I want to access the appended data in base 64. Maybe in command module somehow (code to show the data) data .. Thank you, Andi On 14 January 2017 at 03:49, Moreland, Kenneth wrote: > Documentation for vtu file format (and several other standard VTK formats) > is here: > > > > http://www.vtk.org/VTK/img/file-formats.pdf > > > > -Ken > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Andi > Hartarto > *Sent:* Thursday, January 12, 2017 7:54 PM > *To:* paraview at paraview.org > *Subject:* [EXTERNAL] [Paraview] Decode a vtu file > > > > Hello all, > > Can I please have guidance/help in decoding a vtu file? > > My file is a > > > > compressor="vtkZLibDataCompressor"> > > > > > > > > > > > > > RangeMin="1" RangeMax="2" offset="0" > /> > > RangeMin="0" RangeMax="262" > offset="188" /> > > > > > > format="appended" RangeMin="2003013.3465" RangeMax="2003224.1668" > offset="812" /> > > > > > > RangeMin="" RangeMax="" > offset="1680" /> > > RangeMin="" RangeMax="" > offset="5892" /> > > RangeMax="" offset="8116" > /> > > > > > > > > > > (data long list) > > > The file can be found in this link: > https://drive.google.com/open?id=0BzmZiSDoM7l3U2poYWNTbUhBWVU > > I don't understand how to decode a vtk file and couldn't find anything in > google. I've tried using some scripts in python for base64 but it didn't > work.. > > The reason why I need to decode this is because somehow this vtk file > which load in paraview perfectly becomes a 2d file in another software > "MOOSE" .. So I think somehow in the encoded data is telling the other > software "only display the 2D intersection of blocks". But I want a 3D cube > not a 2D surface. If someone knows about this please tell me . > > Thank you, > Andi > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.westphal at kitware.com Sat Jan 14 16:39:50 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Sat, 14 Jan 2017 22:39:50 +0100 Subject: [Paraview] vtkSocketCommunicator (0x9be6300): Could not receive tag. 1 In-Reply-To: References: Message-ID: Hi Does it fails with all files ? Do you download the sources from paraview website ? Can you try with the binary version of ParaView on your computer ? Regards, Mathieu Westphal On Fri, Jan 13, 2017 at 9:22 PM, Mehrdad Yousefi wrote: > Hi, > > I compiled ParaView 5.2 on our cluster from source and also have a binary > package of ParaView 5.2 on my local machine. I can connect server/client > successfully but when I try to open a file I get this error: > > [yousefi at node2010 ~]$ mpirun -np 24 ./ParaView-build/bin/pvserver > -display localhost:11111 > Waiting for client... > Connection URL: cs://node2010:11111 > Accepting connection(s): node2010:11111 > Client connected. > ERROR: In /home/yousefi/ParaView/VTK/Parallel/Core/vtkSocketCommunicator.cxx, > line 809 > vtkSocketCommunicator (0x9be6300): Could not receive tag. 1 > > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > > So this error is very strange. Anyone can help me?! > > Mehrdad Yousefi > PhD Candidate > Department of Materials Science and Engineering > Clemson University > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From yousefi at g.clemson.edu Sat Jan 14 17:09:27 2017 From: yousefi at g.clemson.edu (Mehrdad Yousefi) Date: Sat, 14 Jan 2017 22:09:27 +0000 Subject: [Paraview] vtkSocketCommunicator (0x9be6300): Could not receive tag. 1 In-Reply-To: References: Message-ID: Dear Mathieu Yes it fails with all files. Yes I downloaded the source of paraview from official website and also as I said before I cannot compile paraview from source on my local machine (that's a another story of unknown errors!), so I run only binary version of Paraview on my computer which I downloaded from official website. Best, Mehrdad On Sat, Jan 14, 2017 at 4:39 PM Mathieu Westphal < mathieu.westphal at kitware.com> wrote: > Hi > > Does it fails with all files ? > Do you download the sources from paraview website ? > Can you try with the binary version of ParaView on your computer ? > > Regards, > > Mathieu Westphal > > > > On Fri, Jan 13, 2017 at 9:22 PM, Mehrdad Yousefi > wrote: > > Hi, > > I compiled ParaView 5.2 on our cluster from source and also have a binary > package of ParaView 5.2 on my local machine. I can connect server/client > successfully but when I try to open a file I get this error: > > [yousefi at node2010 ~]$ mpirun -np 24 ./ParaView-build/bin/pvserver > -display localhost:11111 > Waiting for client... > Connection URL: cs://node2010:11111 > Accepting connection(s): node2010:11111 > Client connected. > ERROR: In > /home/yousefi/ParaView/VTK/Parallel/Core/vtkSocketCommunicator.cxx, line 809 > vtkSocketCommunicator (0x9be6300): Could not receive tag. 1 > > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > > So this error is very strange. Anyone can help me?! > > Mehrdad Yousefi > PhD Candidate > Department of Materials Science and Engineering > Clemson University > > > > > > > _______________________________________________ > > > Powered by www.kitware.com > > > > > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > > > > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > > > Follow this link to subscribe/unsubscribe: > > > http://public.kitware.com/mailman/listinfo/paraview > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From waynezw0618 at 163.com Sun Jan 15 04:30:28 2017 From: waynezw0618 at 163.com (=?GBK?B?1cXOsA==?=) Date: Sun, 15 Jan 2017 17:30:28 +0800 (CST) Subject: [Paraview] ow to make animation of fields with line chart Message-ID: <308d751e.3557.159a176b4ba.Coremail.waynezw0618@163.com> Dear everyone: I want to make an animation, in which I want to show the unsteady flow field such as vortex shedding along with plot of forces acting on cylinders. The thing is forces is dumped in a separate file and the sampling frequency is different from that of dumping the fields. Beside I want show the plot of forces synchronize with the time steps of flow field. That is to say the plot only show the time history of current time step of the field. Can any body help me on that? Happy new year! /Wei -- --------------------------------------- Wei zhang PhD -------------- next part -------------- An HTML attachment was scrubbed... URL: From sachin.shinde at walchandsangli.ac.in Mon Jan 16 01:34:07 2017 From: sachin.shinde at walchandsangli.ac.in (2015MIT003 SACHIN HANMANTRAO SHINDE) Date: Mon, 16 Jan 2017 12:04:07 +0530 Subject: [Paraview] increasing values of 3D variable Message-ID: Hi, I am using paraview for my study purpose. I have NetCDF output file, created by simulation model which I am working on. When I am opening that file in paraview it shows nothing (except total 3D domain of certain size), Since the values are very small to display, is there any procedure for increasing those values of my output file while analysing it in paraview without changing in original NetCDF data. -- Thanks and regards, Sachin H. Shinde -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Olesen at esi-group.com Mon Jan 16 01:45:08 2017 From: Mark.Olesen at esi-group.com (Mark Olesen) Date: Mon, 16 Jan 2017 06:45:08 +0000 Subject: [Paraview] [EXTERNAL] Decode a vtu file In-Reply-To: References: <7fcedbf9a78e476d86c581257a05dd1e@ES08AMSNLNT.srn.sandia.gov>, Message-ID: Hi Andi, The document that Ken referenced (pg 15 onwards are what you need) are actually enough. However if I understand correctly, you probably just want a really quick solution and don't want to wade through all the details. My suggestion would be to load your file in paraview and then re-save it from there. File > Save Data: vtm/vtp/vtu ... You should get a "Configure Writer" dialog. Select the appropriate data mode (ASCII, unencoded) and this should give you really quick insight into the contents in an easily readable form. Cheers, /mark ________________________________________ From: ParaView on behalf of Andi Hartarto Sent: Saturday, January 14, 2017 7:58 AM To: Moreland, Kenneth Cc: paraview at paraview.org Subject: Re: [Paraview] [EXTERNAL] Decode a vtu file Dear Kenneth, Thank you for helping but i didn't mean understanding the text document if that is what you mean. I mean I want to access the appended data in base 64. Maybe in command module somehow (code to show the data) data .. Thank you, Andi On 14 January 2017 at 03:49, Moreland, Kenneth > wrote: Documentation for vtu file format (and several other standard VTK formats) is here: http://www.vtk.org/VTK/img/file-formats.pdf -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Andi Hartarto Sent: Thursday, January 12, 2017 7:54 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Decode a vtu file Hello all, Can I please have guidance/help in decoding a vtu file? My file is a (data long list) The file can be found in this link: https://drive.google.com/open?id=0BzmZiSDoM7l3U2poYWNTbUhBWVU I don't understand how to decode a vtk file and couldn't find anything in google. I've tried using some scripts in python for base64 but it didn't work.. The reason why I need to decode this is because somehow this vtk file which load in paraview perfectly becomes a 2d file in another software "MOOSE" .. So I think somehow in the encoded data is telling the other software "only display the 2D intersection of blocks". But I want a 3D cube not a 2D surface. If someone knows about this please tell me . Thank you, Andi From Gerald.Lodron at joanneum.at Mon Jan 16 03:12:18 2017 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Mon, 16 Jan 2017 08:12:18 +0000 Subject: [Paraview] [Paraview-developers] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: References: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> <4adff269435d4ed8845efdbcc8478093@RZJMBX1.jr1.local> Message-ID: <829e6492736747f8bbd1463f261dadc2@RZJMBX1.jr1.local> Hi I uploaded a cleaned version of the reader without gui component to https://expirebox.com/download/b5db956fb2b0787ac16ef9b42e46698a.html (again 48h available). The GUI has included a timer which polls on the HasNewData() function and if it returns true it forces an update of the request data function. I copied that workflow of the PCLPlugin of Paraview of the Kinect OpenNI Source?.. the commented code also displays the *.vti writing.... Best regards, Gerald Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Freitag, 13. J?nner 2017 15:45 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Could you share the code of your reader? If you prefer you can remove all specific stuff and keep only VTK related stuff. I would like to see how exactly you fetch the output grid to fill and how your filter defines its output. Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-13 3:17 GMT-04:00 Lodron, Gerald : Nope, the data is then nearly empty (<1kByte), hiere the vti writer output: ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?_ ? Here the mhd header which I usually prefer, the ?DimSize? is 0,0,0: ObjectType = Image NDims = 3 BinaryData = True BinaryDataByteOrderMSB = False CompressedData = True TransformMatrix = 1 0 0 0 1 0 0 0 1 Offset = 0 0 0 CenterOfRotation = 0 0 0 ElementSpacing = 1 1 1 DimSize = 0 0 0 AnatomicalOrientation = ??? ElementType = MET_UCHAR ElementDataFile = test.zraw Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Donnerstag, 12. J?nner 2017 22:28 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered OK. That's weired, your VTI is correct. And what if you save the output of your filter/reader with ParaView "Save Data"? Is data correctly saved and reloaded correctly? Joachim Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-11 8:14 GMT-04:00 Lodron, Gerald : i have uploaded the vti onto https://expirebox.com/download/60e7c1e8d177f282ae90d42f75e5ae50.html the link is 48h accessible ? when I load the vti into paraview everything is visualized correctly ? Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Mittwoch, 11. J?nner 2017 12:07 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Sorry for my late reply: ? ?21745593? is correct, that?s the UID string of the sensor/camera which generates the vtkImagedata, I set the string from its SDK?. I will try writing the vti file for you?. ? ? ? Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Dienstag, 10. J?nner 2017 19:09 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hmm sorry if I had took a closer look I would have seen that AllocateScalars set a default name "ImageScalars" to the scalar array. Then don't know what you did but the print says that the name of your array is "21745593" which is quite strange. Is it what you did? Could you write your "output" image data to a .VTI file using a vtkXMLImageDataWriter after initializing it in your RequestData function and see if you can load in with PV and view it? Share it if you can't. Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS ? 2017-01-10 2:00 GMT-04:00 Lodron, Gerald : Here i printed my vtkImageDataOutput of my plugin in? Request data, may that helps?: ? output vtkImageData (00000087ABEB1260) Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: (none) Information: 00000087AC049A90 Data Released: False Global Release Data: Off UpdateTime: 195896 Field Data: Debug: Off Modified Time: 870094 Reference Count: 1 Registered Events: (none) Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Number Of Points: 1920000 Number Of Cells: 1917201 Cell Data: Debug: Off Modified Time: 870179 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC476A0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Point Data: Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC475B0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 1 Array 0 name = 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: Debug: Off Modified Time: 870148 Reference Count: 2 Registered Events: (none) Name: 21745593 Data type: unsigned char Size: 1920000 MaxId: 1919999 NumberOfComponents: 1 Information: 0000000000000000 Name: 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Size: 1920000 MaxId: 1919999 LookupTable: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Bounds: Xmin,Xmax: (0, 1599) Ymin,Ymax: (0, 1199) Zmin,Zmax: (0, 0) Compute Time: 870184 Spacing: (1, 1, 1) Origin: (0, 0, 0) Dimensions: (1600, 1200, 1) Increments: (0, 0, 0) Extent: (0, 1599, 0, 1199, 0, 0) ? ? ? ? ? ? Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Dienstag, 10. J?nner 2017 06:49 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hi ? Good try but does not effect anything except the string in paraview?s combo box. The strange thing is that I also cannot see anything in spreadsheet view (empty cell and point data)? but on information tab point data and cell data is there?. ? Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Montag, 09. J?nner 2017 19:40 An: Lodron, Gerald Cc: Paraview User (paraview at paraview.org); Paraview Developer (Paraview-developers at paraview.org) Betreff: Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hi Gerald, Not sure it is the only issue but please try giving a name to the output scalar arrays. ParaView won't make visible arrays which don't have a name. Example: ? output->GetPointData()->GetScalars()->SetName("values"); Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS ? 2017-01-09 5:20 GMT-04:00 Lodron, Gerald : Hi I programmed successfully a plugin source wich generates a vtkImageData output and made it the same way as on my 3d cloud plugins of vtkPolyData. The source is inherited from vtkImageAlgorithm and only contains one output with unsigned char array and one component. In the request data function of the filter I currently have a very dummy: output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); ?memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* oData.imgSizeY*sizeof(unsigned char)); in paraview I see in the information tab that? I have an uniform rectilinear grid with 1917201 cells and 1920000 points (image is 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a correct range of my memcopy data (my min max range is not 0,255 so data seems to be there)... the problem is that I cannot see anything in the render view, any suggestions what I am making wrong? I tested all representation (slice, surface, outline, on Solid Color and on my array), never see anything..... I also compared the Information tab on a loaded jpeg image and cannot see any difference (which is rendered in render view except the Array's string name), by the way: can I disable "MapScalars" by default? I am using pv5.2 ------------------------------------------------------------------------------------ Gerald Lodron ? Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies ? JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA ? phone:?? +43-316-876-1751??? general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview ? ? From debopamg at gmail.com Mon Jan 16 04:56:29 2017 From: debopamg at gmail.com (Debopam Ghoshal) Date: Mon, 16 Jan 2017 15:26:29 +0530 Subject: [Paraview] Embedding the Visualizer app in the browser within an iframe In-Reply-To: <2255E579-482D-46BB-BE9A-BCCAF43C9DE3@theweak.link> References: <53b122fc-85c6-bb9a-b0e1-5061e655a04a@theweak.link> <2255E579-482D-46BB-BE9A-BCCAF43C9DE3@theweak.link> Message-ID: Hi Claude, I tried using the filename hard coded in the config json as well as the index.html. But I am not able to view the file in the Visualizer. It is only showing the blank window/pane with no figure. I can move the orientation axes, but nothing is being rendered. Even when I choose a file from the Files tab, nothing is being displayed. My launcher config has: ....... "properties" : { "python_exec" : "C:/paraview/ParaView5.2.0/bin/pvpython.exe", "visualizer": "C:/paraview/ParaView5.2.0/share/paraview-5.2/web/visualizer/server/pvw-visualizer.py", "data_dir": "C:/paraview/ParaView5.2.0/data" }, "apps": { "visualizer": { "cmd": [ "${python_exec}", "-dr", "${visualizer}", "--port", "${port}", "--data", "${data_dir}", "--authKey", "${secret}", "--load-file", "${data_dir}/can.ex2" ], "ready_line" : "Starting factory" } } ...... (You can see that the file name is hard coded) The launcher.bat script has: set PV_HOME=C:\paraview\ParaView5.2.0 %PV_HOME%\bin\pvpython.exe %PV_HOME%\bin\Lib\site-packages\vtk\web\launcher.py %PV_HOME%\launcher.config However, I am able to view the file when I launch the pvpython.exe script directly using: .\bin\pvpython.exe "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" --content "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\visualizer\www" --data "C:\paraview\ParaView5.2.0\data" --port 8080 So, I am guessing I may have mixed up some configuration items because of which the display is not coming when I try to launch it through the launcher scirpt/config. Surprisingly, there are no error messages in the log files. Could you please suggest something. I have added the details in the gist for your reference: https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 The screenshots are also attached for your reference. Cheers & Best Wishes, Debopam ------------------------------- Cell: +91 98304 10041 On Fri, Jan 13, 2017 at 6:04 PM, Claude wrote: > Hi Debopam, > > Thanks for the added details on the gist and congratulations for setting > up the server, you are almost there. > For Visualizer to be able to load a file, it will need the argument > --load-file (it seems to have disappeared in your config launcher). The > option --data specifies the directory, so whatever file you want to load, > it must be relative to that directory. For example to load the data file > C:/my_data/dir/example1/my_file.vti you could do: > --data is C:/my_data/dir > --load-file is example1/my_file.vti > > Here is a question for you: do you want to always have the same data > loaded by default or to be able to specify it? > * If it's always the same, you can directly hardcode it in the launcher > config file. Then it will be loaded when you navigate to the paraview URL. > * if it's not always the same, you could use the solution on the gist > which is specifying it in the URL directly (there are other alternatives of > course). In that case, the URL must contain the file to load (otherwise > paraview cannot guess it :)). For instance: > http://localhost:9000/?data=example1/my_file > > (The JavaScript code automatically adds the extension .vti, you may change > that behavior of course). > > I'll be posting the detailed changes on your code in the gist comment > shortly. > > Let me know > Cheers > Claude > > > On Jan 13, 2017, at 5:05 AM, Debopam Ghoshal wrote: > > Hi Claude, > > I followed your instructions with some modifications since I was having > problems. Finally, I was able to configure the Apache front end with the > ParaView Web launcher, and now I can view the index page of the visualizer. > However, when I choose any of the sample files, they are not being rendered > in the visualizer pane. > > I have added the details in the gist you created at: > https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 > > Would appreciate your thoughts on this. > > > > > Cheers & Best Wishes, > Debopam > ------------------------------- > > > On Thu, Jan 12, 2017 at 5:22 PM, Debopam Ghoshal > wrote: > >> Hi Claude >> >> Thank you so much for your detailed explanation. The gist has been very >> useful. I am working on it at present, and is in the process of smoothening >> out a few creases because of the operating system I am using (Windows 10). >> >> Will let you know once I am able to use paraview web properly. And in >> case of any issue, I will bother you once again. >> >> Hi Seb, >> >> Thanks for the link. Much appreciated. >> >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> >> On Wed, Jan 11, 2017 at 9:48 PM, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> Thanks Claude, >>> >>> Here is the add-on of what functions can be called on Visualizer. (All >>> the function with export) >>> >>> https://github.com/Kitware/visualizer/blob/master/src/app.js >>> >>> We are planning to add some helper for extracting arguments from the >>> URL. We actually add a class in the ParaViewWeb repo, but we haven't got to >>> the point of using it and making it available in visualizer. >>> >>> Seb >>> >>> On Wed, Jan 11, 2017 at 7:32 AM, claude wrote: >>> >>>> Hi Debopam, >>>> >>>> >>>> I think there is one thing to consider first before taking care of data >>>> being passed through: if you manually start one instance of pvw-visualizer, >>>> it means all people connecting to port 8080 will see the same thing and act >>>> on the same viewer, which means potentially conflicting with each other >>>> action (e.g. a probable disconnection for everyone if one decide to exit >>>> maybe?). In that case, you need to have a virtual server that will launch a >>>> new process every time someone connect to port 8080. That way, all viewers >>>> are independent, the same person can open several viewers, etc. >>>> >>>> >>>> Now regarding the data being loaded at startup: you html index file >>>> should have a function grabbing the 'data' parameter from a URL, a form, a >>>> dropdown menu, etc. then sending it as a key to the Visualizer application >>>> (so that the launcher knows which file to load at startup). >>>> >>>> It would have been complicated to explain all the details in a email, >>>> so I made a gist with all the files and "code" addressing both points >>>> (launcher and data): >>>> >>>> https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >>>> >>>> Note that this gist was gathered info from the Paraview Web and >>>> Visualizer online documentations: kuddos to Paraview people. >>>> 2nd note: in that gist I'm giving the instructions for Apache server >>>> (you could technically choose any other, e.g. NGinx) for Linux. I see you >>>> are on Windows: I don't know how Apache works on Windows but I assume (and >>>> hope) the steps and config file should be similar. >>>> >>>> I hope it helps! Good luck! >>>> cheers >>>> claude >>>> >>>> >>>> >>>> >>>> On 01/11/2017 04:10 AM, Debopam Ghoshal wrote: >>>> >>>> Hi, >>>> >>>> We have a requirement where our application will send a request to the >>>> paraview web server to render a specific file (which will be available in >>>> the data given directory) in the visualizer app, and this will be embedded >>>> within our application page as a iframe, whose source is the Visualizer >>>> app's index.html. >>>> >>>> We are using the pvpython.exe executable to start the paraview web >>>> server. The command used to start the server is: >>>> >>>> .\bin\pvpython.exe "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>> -MPI-Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" >>>> --content "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www" >>>> --data "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" --port >>>> 8080 >>>> >>>> >>>> From the command, we can see that the web content is being served from >>>> the C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\pa >>>> raview-5.2\web\visualizer\www directory. The index.html file uses the Visualizer.js >>>> script and calls the following functions: >>>> >>>> Visualizer.connect({ application: 'visualizer' }); >>>> Visualizer.autoStopServer(10); >>>> >>>> Is there any way to find out the available functions in the >>>> Visualizer.js script and call them from our custom html file? What we >>>> intend to do is to update the index.html file and >>>> a. add a javascript function which will accept a filename to be rendered >>>> b. once the filename is received by this function, it will call the >>>> visualizer and display the specified file >>>> c. in the visualizer page, the open files tab should be hidden. >>>> >>>> Please let me know if you require any clarification. >>>> >>>> Cheers & Best Wishes, >>>> Debopam >>>> ------------------------------- >>>> >>>> >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: >>>> http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pvpython-script-correct-image.png Type: image/png Size: 400324 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: paraview-blankscreen.png Type: image/png Size: 179024 bytes Desc: not available URL: From yzhzhang at ipe.ac.cn Mon Jan 16 06:41:36 2017 From: yzhzhang at ipe.ac.cn (=?GBK?B?1cXUptbe?=) Date: Mon, 16 Jan 2017 19:41:36 +0800 (GMT+08:00) Subject: [Paraview] ParaView 5.2.0 client/server connection problem Message-ID: <13c7d29.36981.159a7151dfd.Coremail.yzhzhang@ipe.ac.cn> Hello, I have a problem in using ParaView 5.2.0 in the client-server mode. Could anyone please give me a help? Firstly, the operation system on my rendering server is CentOS 6.3 and on my PC it's CentOS 6.8. I think I have built the ParaView 5.2.0 successfully from the source package from Kitware on my server, because during the processes of configure with CMake and the following make, there was no error. Then I start the pvserver on the rendering server through VNC: [root at V18 bin]# ./pvserver Waiting for client... Connection URL: cs://V18:11111 Accepting connection(s): V18:11111 Then I connect to the server with the paraview client GUI on my PC, which is also 5.2.0 and is built from the binary installer from Kitware. It seems that the connection is completed, but actually I get output messages from the GUI immediately like this: And the command line reads: ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/Common/System/vtkSocket.cxx, line 572 vtkClientSocket (0x1c9aa20): Socket error in call to send. Broken pipe. And this message repeats for dozens of times. Actually they are the same of the output messages on the GUI. Then, 5 or so seconds later, antoher dialog popped up : For clicking No or Yes, the GUI shutdown or save a file that records the state of ParaView and then shutdown, respectively. On the command line of the server, it reads: Client connected. X Error of failed request: GLXBadContext Major opcode of failed request: 135 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 28 Current serial number in output stream: 28 I googled the error messages above and got many answers indicating that it's a problem about OpenGL. When I configured ParaView with Cmake, the options of VTK_RENDER_BACKEND:STRING are OpenGL,OpenGL2 and None. I have tried both OpenGL and OpenGL2 for that variable, but got the same error finally. The OpenGL version on my server is 4.4.0 and on my PC it's 4.5.0. There are GPUs on both the server and my PC so I didn't use OSMesa. Here is the output form "glxinfo | grep OpenGL" on my render server: OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: Tesla C2050/PCIe/SSE2 OpenGL version string: 4.4.0 NVIDIA 331.67 OpenGL shading language version string: 4.40 NVIDIA via Cg compiler OpenGL extensions: and on my PC, the output from "glxinfo | grep OpenGL" is: OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GT 730/PCIe/SSE2 OpenGL version string: 4.5.0 NVIDIA 375.20 OpenGL shading language version string: 4.50 NVIDIA OpenGL extensions: Oddly, the ParaView 4.4.0 works perfectly on the same machine after the same process of configure and make. Is that because that the 5.2.0 needs some new dependent libraries that the 4.4.0 dosen't need? If you have any idea about solving this problem, please tell me. Thanks a lot! -Zhang -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: output message.png Type: image/png Size: 43557 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot-1.png Type: image/png Size: 10716 bytes Desc: not available URL: From aleksejs.fomins at lspr.swiss Mon Jan 16 08:30:53 2017 From: aleksejs.fomins at lspr.swiss (Aleksejs Fomins) Date: Mon, 16 Jan 2017 14:30:53 +0100 Subject: [Paraview] Animating a function of a field In-Reply-To: References: <3ce5a9.6f5d.15964043482.Coremail.yzhzhang@ipe.ac.cn> <6377e840-12e0-a63f-5792-d5880d2759f8@lspr.swiss> Message-ID: Dear Cory, It seems to work quite nicely. Thank you!!! Best regards, Aleksejs On 05.01.2017 05:59, Cory Quammen wrote: > Aleksejs, > > The following should work: > > * add a Programmable Filter to the source that produces the > unstructured grid with f and g. Set the Script property to > > data = self.GetOutput() > data.ShallowCopy(self.GetInput()) > > and the RequestInformation Script to > > timeSteps = range(100) > outInfo = self.GetOutputInformation(0) > > timeRange = [timeSteps[0], timeSteps[-1]] > outInfo.Set(vtk.vtkStreamingDemandDrivenPipeline.TIME_RANGE(), timeRange, 2) > outInfo.Set(vtk.vtkStreamingDemandDrivenPipeline.TIME_STEPS(), > timeSteps, len(timeSteps)) > > You can change timeSteps to whatever values you want the time variable > to take on. > > * Add a Python Calculator to the Programmable Filter, and set the expression to > > f * sin(t_value) + g * cos(t_value) > > Optionally change the "Array Name" property to "h". You can then > visualize the h field however you wish. > > Hope that helps, > Cory > > On Tue, Jan 3, 2017 at 10:13 AM, Aleksejs Fomins > wrote: >> Dear Paraview, >> >> I have a 3d unstructured mesh with two fields defined over it - f(x,y,z) and g(x,y,z) >> I want to create a movie of a following function >> >> h(t) = f * sin(t) + g * cos(t) >> >> where t is time. How would you do it? >> >> Best regards, >> Aleksejs Fomins >> >> PhD Student in Nanophotonics, EPF Lausanne, Switzerland >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview > > From nenadus at gmail.com Mon Jan 16 09:20:14 2017 From: nenadus at gmail.com (Nenad Vujicic) Date: Mon, 16 Jan 2017 15:20:14 +0100 Subject: [Paraview] ParaView v5.2 problems with PLY files with point clouds Message-ID: Hello everyone, I found several PLY files which crashed my ParaView based application. I inspected vtkPLYReader.cxx and found (Ln 128-140) that it doesn't even support loading PLY files with points. Example of such PLY file: https://courses.cs.washington.edu/courses/cse558/01sp/software/scanalyze/points.html Example of software which successfully opens such PLY file: CloudCompare - http://www.danielgm.net/cc/ Do you maybe have in plan adding support for such PLY files? Has someone perhaps already implemented such feature and is willing to share it? Thanks in advance, Nenad. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Mon Jan 16 10:33:02 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 16 Jan 2017 10:33:02 -0500 Subject: [Paraview] Programmable filter - input data and output data In-Reply-To: References: <57ec2811a77d4a5d9961c5208ca3c100@MAR190n2.marin.local> Message-ID: Hmm, that's odd. Does it make a difference if you do things in the following order: * Add Programmable Filter * Change the output type to vtkUnstructuredGrid * Paste in script * Hit Apply now, but only after the first steps have been completed I recall that there is some funny behavior if you apply the filter and then change the output data type, so my guess is to make sure the output data type is set before applying. Thanks, Cory On Fri, Jan 13, 2017 at 10:36 AM, Crepier, Pierre wrote: > Cory, > > > > Thanks for your quick answer and clarifying the context. > > > > So if I try to reproduce the behaviour of the clip filter, I would do: > > > > import vtk > > input = self.GetInputDataObject(0, 0) > > > > plane = vtk.vtkPlane() > > plane.SetOrigin(-4.0, 0.0, 0.0) > > plane.SetNormal(1.0, 0.0, 0.0) > > > > xMin = vtk.vtkClipDataSet() > > xMin.SetClipFunction(plane) > > xMin.SetInputData(input) > > xMin.Update() > > > > self.GetOutput().ShallowCopy(xMin.GetOutput()) > > > > I changed to the ?Output Data Set Type? to vtkUnstructuredGrid. > > > > I tried but paraview stops responding ... > > Where am I doing something wrong ? and what am I doing wrong ? > > > > Thanks, > > Pierre > > > > > > ir. Pierre Crepier | Project Manager Ships | CFD > MARIN | T +31 317 49 34 75 <+31%20317%20493%20475> | P.Crepier at marin.nl | > www.marin.nl > > [image: LinkedIn] [image: > YouTube] [image: Twitter] > [image: Facebook] > > MARIN news: Few places left for Offshore and Ship hydrodynamics courses > > > *From:* Cory Quammen [mailto:cory.quammen at kitware.com] > *Sent:* Wednesday, January 11, 2017 3:33 PM > *To:* Crepier, Pierre > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] Programmable filter - input data and output data > > > > Pierre, > > > > First thing first. The code inside the Programmable Filter script runs in > a context in which it is aware of VTK only and not ParaView, so you cannot > use paraview.simple module functions such as Clip. Instead, you would need > to use a VTK-equivalent. In this case, you would use vtkClipDataSet: > > > > import vtk > > > > plane = vtk.vtkPlane() > > plane.SetOrigin(-4.0, 0.0, 0.0) > > plane.SetNormal(1.0, 1.0, 1.0) > > > > clip = vtk.vtkClipDataSet() > > clip.SetClipFunction(plane) > > clip.SetInputData(input) > > clip.Update() > > > > Next, to use the output of the clip filter as the output of the > Programmable Filter, do the following. > > > > self.GetOutput().ShallowCopy(clip.GetOutput()) > > > > Make sure you change the Output Data Set Type to vtkUnstructuredGrid if > you go this way. > > > > Hope that helps, > > Cory > > > > On Wed, Jan 11, 2017 at 8:49 AM, Crepier, Pierre > wrote: > > Hi everyone, > > > > I am trying to use the programmable filter to combine multiple filters. > Sort of like the custom filter but I want to have control over some of the > properties using user input. > > > > If I understood correctly, I can get the input data with: > > input = self.GetInputDataObject(0, 0) > > > > then I can use this input in a filter: > > xMin = Clip(Input=input) > > xMin.ClipType = 'Plane' > > xMin.Crinkleclip = 1 > > xMin.ClipType.Origin = [-4.0, 0.0, 0.0] > > xMin.ClipType.Normal = [1.0, 0.0, 0.0] > > > > Now, how can I use the output of this filter as output of my programmable > filter ? > > > > Thanks in advance, > > Pierre > > > *ir. Pierre Crepier | Project Manager Ships | CFD* > *MARIN* | T +31 317 49 34 75 <+31%20317%20493%20475> | P.Crepier at marin.nl | > www.marin.nl > > [image: LinkedIn] [image: > YouTube] [image: Twitter] > [image: Facebook] > > MARIN news: Modelling natural transition on hydrofoils for application in > underwater gliders > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > > -- > > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image62c680.PNG Type: image/png Size: 333 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 293 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 253 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 331 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image2c48df.PNG Type: image/png Size: 331 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 333 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image62c2c3.PNG Type: image/png Size: 293 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image806bc6.PNG Type: image/png Size: 253 bytes Desc: not available URL: From P.Crepier at marin.nl Mon Jan 16 11:16:36 2017 From: P.Crepier at marin.nl (Crepier, Pierre) Date: Mon, 16 Jan 2017 16:16:36 +0000 Subject: [Paraview] Programmable filter - input data and output data In-Reply-To: References: <57ec2811a77d4a5d9961c5208ca3c100@MAR190n2.marin.local> Message-ID: <72ee8b38421f45588e31d99ca593b258@MAR190n2.marin.local> I tried with 5.1.2 and 5.2.0-98-g5cacbab and both hang when I press Update. I copied-pasted the script from the previous e-mail. Thanks, Pierre ir. Pierre Crepier | Project Manager Ships | CFD MARIN | T +31 317 49 34 75 | P.Crepier at marin.nl | www.marin.nl [LinkedIn] [YouTube] [Twitter] [Facebook] MARIN news: Vliegende boten bij strijd om snelste zeiljacht From: Cory Quammen [mailto:cory.quammen at kitware.com] Sent: Monday, January 16, 2017 4:33 PM To: Crepier, Pierre Cc: paraview at paraview.org Subject: Re: [Paraview] Programmable filter - input data and output data Hmm, that's odd. Does it make a difference if you do things in the following order: * Add Programmable Filter * Change the output type to vtkUnstructuredGrid * Paste in script * Hit Apply now, but only after the first steps have been completed I recall that there is some funny behavior if you apply the filter and then change the output data type, so my guess is to make sure the output data type is set before applying. Thanks, Cory On Fri, Jan 13, 2017 at 10:36 AM, Crepier, Pierre > wrote: Cory, Thanks for your quick answer and clarifying the context. So if I try to reproduce the behaviour of the clip filter, I would do: import vtk input = self.GetInputDataObject(0, 0) plane = vtk.vtkPlane() plane.SetOrigin(-4.0, 0.0, 0.0) plane.SetNormal(1.0, 0.0, 0.0) xMin = vtk.vtkClipDataSet() xMin.SetClipFunction(plane) xMin.SetInputData(input) xMin.Update() self.GetOutput().ShallowCopy(xMin.GetOutput()) I changed to the ?Output Data Set Type? to vtkUnstructuredGrid. I tried but paraview stops responding ... Where am I doing something wrong ? and what am I doing wrong ? Thanks, Pierre ir. Pierre Crepier | Project Manager Ships | CFD MARIN | T +31 317 49 34 75 | P.Crepier at marin.nl | www.marin.nl [LinkedIn] [YouTube] [Twitter] [Facebook] MARIN news: Few places left for Offshore and Ship hydrodynamics courses From: Cory Quammen [mailto:cory.quammen at kitware.com] Sent: Wednesday, January 11, 2017 3:33 PM To: Crepier, Pierre Cc: paraview at paraview.org Subject: Re: [Paraview] Programmable filter - input data and output data Pierre, First thing first. The code inside the Programmable Filter script runs in a context in which it is aware of VTK only and not ParaView, so you cannot use paraview.simple module functions such as Clip. Instead, you would need to use a VTK-equivalent. In this case, you would use vtkClipDataSet: import vtk plane = vtk.vtkPlane() plane.SetOrigin(-4.0, 0.0, 0.0) plane.SetNormal(1.0, 1.0, 1.0) clip = vtk.vtkClipDataSet() clip.SetClipFunction(plane) clip.SetInputData(input) clip.Update() Next, to use the output of the clip filter as the output of the Programmable Filter, do the following. self.GetOutput().ShallowCopy(clip.GetOutput()) Make sure you change the Output Data Set Type to vtkUnstructuredGrid if you go this way. Hope that helps, Cory On Wed, Jan 11, 2017 at 8:49 AM, Crepier, Pierre > wrote: Hi everyone, I am trying to use the programmable filter to combine multiple filters. Sort of like the custom filter but I want to have control over some of the properties using user input. If I understood correctly, I can get the input data with: input = self.GetInputDataObject(0, 0) then I can use this input in a filter: xMin = Clip(Input=input) xMin.ClipType = 'Plane' xMin.Crinkleclip = 1 xMin.ClipType.Origin = [-4.0, 0.0, 0.0] xMin.ClipType.Normal = [1.0, 0.0, 0.0] Now, how can I use the output of this filter as output of my programmable filter ? Thanks in advance, Pierre ir. Pierre Crepier | Project Manager Ships | CFD MARIN | T +31 317 49 34 75 | P.Crepier at marin.nl | www.marin.nl [LinkedIn] [YouTube] [Twitter] [Facebook] MARIN news: Modelling natural transition on hydrofoils for application in underwater gliders _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -- Cory Quammen Staff R&D Engineer Kitware, Inc. -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 293 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 331 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 333 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 253 bytes Desc: image004.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image1e8391.PNG Type: image/png Size: 293 bytes Desc: image1e8391.PNG URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: imageef2fda.PNG Type: image/png Size: 331 bytes Desc: imageef2fda.PNG URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: imagea27a96.PNG Type: image/png Size: 333 bytes Desc: imagea27a96.PNG URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: imageba945c.PNG Type: image/png Size: 253 bytes Desc: imageba945c.PNG URL: From utkarsh.ayachit at kitware.com Mon Jan 16 13:51:36 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 16 Jan 2017 13:51:36 -0500 Subject: [Paraview] ParaView and Qt 5 Message-ID: Folks, With upcoming release (5.3), we plan to move to using Qt 5 by default. Qt 5 has been out since 2012 and it is well supported on modern platforms. ParaView will continue to build with Qt 4 until further notice, but we highly recommend custom application developers and plugin developers to move to Qt 5 at the earliest since active development and testing for ParaView will happen with Qt 5. Changes [1] that landed in master earlier today update ParaView to now use QOpenGLWidget for rendering which creates a frame buffer object to do all the rendering in. If you have custom mapper or rendering code that assumed it was rendering to the default onscreen frame buffer, it will not work correctly and will need to be updated. Please use the mailing, if you encounter any such issues. For everything else, the changes should be fairly transparent except in exceptions documented here [2]. In the upcoming weeks, we will update the superbuild and dashboards to build and test using Qt 5. Thanks, Utkarsh [1] https://gitlab.kitware.com/paraview/paraview/merge_requests/1279 [2] https://gitlab.kitware.com/paraview/paraview/blob/master/Utilities/Doxygen/pages/MajorAPIChanges.md#changes-in-53 From joachim.pouderoux at kitware.com Mon Jan 16 14:11:13 2017 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Mon, 16 Jan 2017 15:11:13 -0400 Subject: [Paraview] [Paraview-developers] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: <829e6492736747f8bbd1463f261dadc2@RZJMBX1.jr1.local> References: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> <4adff269435d4ed8845efdbcc8478093@RZJMBX1.jr1.local> <829e6492736747f8bbd1463f261dadc2@RZJMBX1.jr1.local> Message-ID: Gerald, I think there is the problem with this: if (!this->HasNewData()) return 1; It means that most of the time, the filter will return an empty output. Instead, you should cache (retain a pointer off oLatest as member variable) the last image and ShallowCopy it to the output in this case. Something like: if (this->HasNewData()) { this->OLatest = this->m_poInternal->GetLatestImageData(); } if (this->OLatest) poOutput->ShallowCopy(this->OLatest); Best, *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-01-16 4:12 GMT-04:00 Lodron, Gerald : > Hi > > I uploaded a cleaned version of the reader without gui component to > https://expirebox.com/download/b5db956fb2b0787ac16ef9b42e46698a.html > (again 48h available). The GUI has included a timer which polls on the > HasNewData() function and if it returns true it forces an update of the > request data function. I copied that workflow of the PCLPlugin of Paraview > of the Kinect OpenNI Source?.. the commented code also displays the *.vti > writing.... > > Best regards, > Gerald > Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] > Gesendet: Freitag, 13. J?nner 2017 15:45 > An: Lodron, Gerald > Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User ( > paraview at paraview.org) > Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > Could you share the code of your reader? If you prefer you can remove all > specific stuff and keep only VTK related stuff. > I would like to see how exactly you fetch the output grid to fill and how > your filter defines its output. > Best, > > > Joachim Pouderoux, PhD > Technical Expert - Scientific Computing Team > Kitware SAS > > 2017-01-13 3:17 GMT-04:00 Lodron, Gerald : > Nope, the data is then nearly empty (<1kByte), hiere the vti writer output: > > header_type="UInt64"> > > > > > RangeMin="1e+299" RangeMax="-1e+299" offset="0" > /> > > > > > > > _ > > > > Here the mhd header which I usually prefer, the ?DimSize? is 0,0,0: > ObjectType = Image > NDims = 3 > BinaryData = True > BinaryDataByteOrderMSB = False > CompressedData = True > TransformMatrix = 1 0 0 0 1 0 0 0 1 > Offset = 0 0 0 > CenterOfRotation = 0 0 0 > ElementSpacing = 1 1 1 > DimSize = 0 0 0 > AnatomicalOrientation = ??? > ElementType = MET_UCHAR > ElementDataFile = test.zraw > > Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] > Gesendet: Donnerstag, 12. J?nner 2017 22:28 > An: Lodron, Gerald > Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User ( > paraview at paraview.org) > Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > OK. That's weired, your VTI is correct. > And what if you save the output of your filter/reader with ParaView "Save > Data"? Is data correctly saved and reloaded correctly? > Joachim > > > Joachim Pouderoux, PhD > Technical Expert - Scientific Computing Team > Kitware SAS > > 2017-01-11 8:14 GMT-04:00 Lodron, Gerald : > i have uploaded the vti onto > https://expirebox.com/download/60e7c1e8d177f282ae90d42f75e5ae50.html > the link is 48h accessible > > when I load the vti into paraview everything is visualized correctly > > Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] > Im Auftrag von Lodron, Gerald > Gesendet: Mittwoch, 11. J?nner 2017 12:07 > > An: Joachim Pouderoux > Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User ( > paraview at paraview.org) > Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > Sorry for my late reply: > > ?21745593? is correct, that?s the UID string of the sensor/camera which > generates the vtkImagedata, I set the string from its SDK?. I will try > writing the vti file for you?. > > > > Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] > Gesendet: Dienstag, 10. J?nner 2017 19:09 > An: Lodron, Gerald > Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User ( > paraview at paraview.org) > Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > Hmm sorry if I had took a closer look I would have seen that > AllocateScalars set a default name "ImageScalars" to the scalar array. > Then don't know what you did but the print says that the name of your > array is "21745593" which is quite strange. Is it what you did? > Could you write your "output" image data to a .VTI file using a > vtkXMLImageDataWriter after initializing it in your RequestData > function and see if you can load in with PV and view it? Share it if you > can't. > Best, > > > Joachim Pouderoux, PhD > Technical Expert - Scientific Computing Team > Kitware SAS > > 2017-01-10 2:00 GMT-04:00 Lodron, Gerald : > Here i printed my vtkImageDataOutput of my plugin in Request data, may > that helps?: > > output vtkImageData (00000087ABEB1260) > Debug: Off > Modified Time: 870183 > Reference Count: 1 > Registered Events: (none) > Information: 00000087AC049A90 > Data Released: False > Global Release Data: Off > UpdateTime: 195896 > Field Data: > Debug: Off > Modified Time: 870094 > Reference Count: 1 > Registered Events: (none) > Number Of Arrays: 0 > Number Of Components: 0 > Number Of Tuples: 0 > Number Of Points: 1920000 > Number Of Cells: 1917201 > Cell Data: > Debug: Off > Modified Time: 870179 > Reference Count: 1 > Registered Events: > Registered Observers: > vtkObserver (00000087ABC476A0) > Event: 33 > EventName: ModifiedEvent > Command: 00000087AC0495E0 > Priority: 0 > Tag: 1 > Number Of Arrays: 0 > Number Of Components: 0 > Number Of Tuples: 0 > Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) > Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) > Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) > Scalars: (none) > Vectors: (none) > Normals: (none) > TCoords: (none) > Tensors: (none) > GlobalIds: (none) > PedigreeIds: (none) > EdgeFlag: (none) > Point Data: > Debug: Off > Modified Time: 870183 > Reference Count: 1 > Registered Events: > Registered Observers: > vtkObserver (00000087ABC475B0) > Event: 33 > EventName: ModifiedEvent > Command: 00000087AC0495E0 > Priority: 0 > Tag: 1 > Number Of Arrays: 1 > Array 0 name = 21745593 > Number Of Components: 1 > Number Of Tuples: 1920000 > Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) > Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) > Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) > Scalars: > Debug: Off > Modified Time: 870148 > Reference Count: 2 > Registered Events: (none) > Name: 21745593 > Data type: unsigned char > Size: 1920000 > MaxId: 1919999 > NumberOfComponents: 1 > Information: 0000000000000000 > Name: 21745593 > Number Of Components: 1 > Number Of Tuples: 1920000 > Size: 1920000 > MaxId: 1919999 > LookupTable: (none) > Vectors: (none) > Normals: (none) > TCoords: (none) > Tensors: (none) > GlobalIds: (none) > PedigreeIds: (none) > EdgeFlag: (none) > Bounds: > Xmin,Xmax: (0, 1599) > Ymin,Ymax: (0, 1199) > Zmin,Zmax: (0, 0) > Compute Time: 870184 > Spacing: (1, 1, 1) > Origin: (0, 0, 0) > Dimensions: (1600, 1200, 1) > Increments: (0, 0, 0) > Extent: (0, 1599, 0, 1199, 0, 0) > > > > > > > Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] > Im Auftrag von Lodron, Gerald > Gesendet: Dienstag, 10. J?nner 2017 06:49 > An: Joachim Pouderoux > Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User ( > paraview at paraview.org) > Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > Hi > > Good try but does not effect anything except the string in paraview?s > combo box. The strange thing is that I also cannot see anything in > spreadsheet view (empty cell and point data)? but on information tab point > data and cell data is there?. > > Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] > Gesendet: Montag, 09. J?nner 2017 19:40 > An: Lodron, Gerald > Cc: Paraview User (paraview at paraview.org); Paraview Developer ( > Paraview-developers at paraview.org) > Betreff: Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered > > Hi Gerald, > Not sure it is the only issue but please try giving a name to the output > scalar arrays. > ParaView won't make visible arrays which don't have a name. > Example: > output->GetPointData()->GetScalars()->SetName("values"); > Best, > > > Joachim Pouderoux, PhD > Technical Expert - Scientific Computing Team > Kitware SAS > > 2017-01-09 5:20 GMT-04:00 Lodron, Gerald : > Hi > > I programmed successfully a plugin source wich generates a vtkImageData > output and made it the same way as on my 3d cloud plugins of vtkPolyData. > The source is inherited from vtkImageAlgorithm and only contains one output > with unsigned char array and one component. > > In the request data function of the filter I currently have a very dummy: > > output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); > output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); > memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* > oData.imgSizeY*sizeof(unsigned char)); > > in paraview I see in the information tab that I have an uniform > rectilinear grid with 1917201 cells and 1920000 points (image is > 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a > correct range of my memcopy data (my min max range is not 0,255 so data > seems to be there)... > > the problem is that I cannot see anything in the render view, any > suggestions what I am making wrong? I tested all representation (slice, > surface, outline, on Solid Color and on my array), never see anything..... > > I also compared the Information tab on a loaded jpeg image and cannot see > any difference (which is rendered in render view except the Array's string > name), by the way: can I disable "MapScalars" by default? > > I am using pv5.2 > > ------------------------------------------------------------ > ------------------------ > Gerald Lodron > > Researcher of Machine Vision Applications Group > DIGITAL - Institute for Information and Communication Technologies > > JOANNEUM RESEARCH Forschungsgesellschaft mbH > Steyrergasse 17, 8010 Graz, AUSTRIA > > phone: +43-316-876-1751 > general fax: +43-316-876-1751 > web: http://www.joanneum.at/digital > e-mail: gerald.lodron at joanneum.at > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cornelis.bockemuehl at gmail.com Mon Jan 16 17:14:27 2017 From: cornelis.bockemuehl at gmail.com (=?UTF-8?Q?Cornelis_Bockem=C3=BChl?=) Date: Mon, 16 Jan 2017 23:14:27 +0100 Subject: [Paraview] Filter for interactive spreadsheet? Message-ID: Has somebody already written and contributed a filter that allows some simple "spreadsheet like" user manipulation of the data? I mean something that accepts some data input, then allows user changes, and the output would be the changed data set. Regards, Cornelis -- Cornelis Bockem?hl Basel, Schweiz -------------- next part -------------- An HTML attachment was scrubbed... URL: From claude at theweak.link Mon Jan 16 18:58:06 2017 From: claude at theweak.link (claude) Date: Mon, 16 Jan 2017 17:58:06 -0600 Subject: [Paraview] Embedding the Visualizer app in the browser within an iframe In-Reply-To: References: <53b122fc-85c6-bb9a-b0e1-5061e655a04a@theweak.link> <2255E579-482D-46BB-BE9A-BCCAF43C9DE3@theweak.link> Message-ID: Hi Debopam, Would you mind trying to connect while the web developer console is on (for Chrome it's under "Tools > Javascript console") and copy/pasting the errors (if any). Do you see: - a successful POST request to localhost/paraview - a successful GET request to localhost/proxy - then do you get an error such as "can't connect to ws://localhost..."? Also, what do the logs tell you (/path/to/logs/error.log, /path/to/logs/launcherLog.log and /path/to/logs/.txt => fetch the last one created)? cheers claude On 01/16/2017 03:56 AM, Debopam Ghoshal wrote: > Hi Claude, > > I tried using the filename hard coded in the config json as well as > the index.html. But I am not able to view the file in the Visualizer. > It is only showing the blank window/pane with no figure. I can move > the orientation axes, but nothing is being rendered. Even when I > choose a file from the Files tab, nothing is being displayed. > > My launcher config has: > > ....... > "properties" : { > "python_exec" : "C:/paraview/ParaView5.2.0/bin/pvpython.exe", > "visualizer": > "C:/paraview/ParaView5.2.0/share/paraview-5.2/web/visualizer/server/pvw-visualizer.py", > "data_dir": "C:/paraview/ParaView5.2.0/data" > }, > "apps": { > "visualizer": { > "cmd": [ > "${python_exec}", "-dr", "${visualizer}", "--port", > "${port}", "--data", "${data_dir}", "--authKey", "${secret}", > "--load-file", "${data_dir}/can.ex2" > ], > "ready_line" : "Starting factory" > } > } > ...... > > > (You can see that the file name is hard coded) > > The launcher.bat script has: > > set PV_HOME=C:\paraview\ParaView5.2.0 > %PV_HOME%\bin\pvpython.exe > %PV_HOME%\bin\Lib\site-packages\vtk\web\launcher.py > %PV_HOME%\launcher.config > > > However, I am able to view the file when I launch the > pvpython.exescript directly using: > .\bin\pvpython.exe > "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" > --content > "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\visualizer\www" > --data "C:\paraview\ParaView5.2.0\data" --port 8080 > > So, I am guessing I may have mixed up some configuration items because > of which the display is not coming when I try to launch it through the > launcher scirpt/config. Surprisingly, there are no error messages in > the log files. Could you please suggest something. > > I have added the details in the gist for your > reference: https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 > > The screenshots are also attached for your reference. > > > Cheers & Best Wishes, > Debopam > ------------------------------- > Cell: +91 98304 10041 > > On Fri, Jan 13, 2017 at 6:04 PM, Claude > wrote: > > Hi Debopam, > > Thanks for the added details on the gist and congratulations for > setting up the server, you are almost there. > For Visualizer to be able to load a file, it will need the > argument --load-file (it seems to have disappeared in your config > launcher). The option --data specifies the directory, so whatever > file you want to load, it must be relative to that directory. For > example to load the data file C:/my_data/dir/example1/my_file.vti > you could do: > --data is C:/my_data/dir > --load-file is example1/my_file.vti > > Here is a question for you: do you want to always have the same > data loaded by default or to be able to specify it? > * If it's always the same, you can directly hardcode it in the > launcher config file. Then it will be loaded when you navigate to > the paraview URL. > * if it's not always the same, you could use the solution on the > gist which is specifying it in the URL directly (there are other > alternatives of course). In that case, the URL must contain the > file to load (otherwise paraview cannot guess it :)). For instance: > http://localhost:9000/?data=example1/my_file > > > (The JavaScript code automatically adds the extension .vti, you > may change that behavior of course). > > I'll be posting the detailed changes on your code in the gist > comment shortly. > > Let me know > Cheers > Claude > > > On Jan 13, 2017, at 5:05 AM, Debopam Ghoshal > wrote: > >> Hi Claude, >> >> I followed your instructions with some modifications since I was >> having problems. Finally, I was able to configure the Apache >> front end with the ParaView Web launcher, and now I can view the >> index page of the visualizer. However, when I choose any of the >> sample files, they are not being rendered in the visualizer pane. >> >> I have added the details in the gist you created >> at: https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >> >> >> Would appreciate your thoughts on this. >> >> >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> >> >> On Thu, Jan 12, 2017 at 5:22 PM, Debopam Ghoshal >> > wrote: >> >> Hi Claude >> >> Thank you so much for your detailed explanation. The gist has >> been very useful. I am working on it at present, and is in >> the process of smoothening out a few creases because of the >> operating system I am using (Windows 10). >> >> Will let you know once I am able to use paraview web >> properly. And in case of any issue, I will bother you once again. >> >> Hi Seb, >> >> Thanks for the link. Much appreciated. >> >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> >> On Wed, Jan 11, 2017 at 9:48 PM, Sebastien Jourdain >> > > wrote: >> >> Thanks Claude, >> >> Here is the add-on of what functions can be called on >> Visualizer. (All the function with export) >> >> https://github.com/Kitware/visualizer/blob/master/src/app.js >> >> >> We are planning to add some helper for extracting >> arguments from the URL. We actually add a class in the >> ParaViewWeb repo, but we haven't got to the point of >> using it and making it available in visualizer. >> >> Seb >> >> On Wed, Jan 11, 2017 at 7:32 AM, claude >> > wrote: >> >> Hi Debopam, >> >> >> I think there is one thing to consider first before >> taking care of data being passed through: if you >> manually start one instance of pvw-visualizer, it >> means all people connecting to port 8080 will see the >> same thing and act on the same viewer, which means >> potentially conflicting with each other action (e.g. >> a probable disconnection for everyone if one decide >> to exit maybe?). In that case, you need to have a >> virtual server that will launch a new process every >> time someone connect to port 8080. That way, all >> viewers are independent, the same person can open >> several viewers, etc. >> >> >> Now regarding the data being loaded at startup: you >> html index file should have a function grabbing the >> 'data' parameter from a URL, a form, a dropdown menu, >> etc. then sending it as a key to the Visualizer >> application (so that the launcher knows which file to >> load at startup). >> >> It would have been complicated to explain all the >> details in a email, so I made a gist with all the >> files and "code" addressing both points (launcher and >> data): >> >> https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >> >> >> >> Note that this gist was gathered info from the >> Paraview Web and Visualizer online documentations: >> kuddos to Paraview people. >> 2nd note: in that gist I'm giving the instructions >> for Apache server (you could technically choose any >> other, e.g. NGinx) for Linux. I see you are on >> Windows: I don't know how Apache works on Windows but >> I assume (and hope) the steps and config file should >> be similar. >> >> I hope it helps! Good luck! >> cheers >> claude >> >> >> >> >> On 01/11/2017 04:10 AM, Debopam Ghoshal wrote: >>> Hi, >>> >>> We have a requirement where our application will >>> send a request to the paraview web server to render >>> a specific file (which will be available in the data >>> given directory) in the visualizer app, and this >>> will be embedded within our application page as a >>> iframe, whose source is the Visualizer app's index.html. >>> >>> We are using the pvpython.exe executable to start >>> the paraview web server. The command used to start >>> the server is: >>> >>> .\bin\pvpython.exe >>> "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" >>> --content >>> "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www" >>> --data >>> "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" >>> --port 8080 >>> >>> >>> From the command, we can see that the web content is >>> being served from >>> the C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www directory. >>> The index.html file uses the Visualizer.js script >>> and calls the following functions: >>> >>> Visualizer.connect({ application: 'visualizer' }); >>> Visualizer.autoStopServer(10); >>> >>> Is there any way to find out the available functions >>> in the Visualizer.js script and call them from our >>> custom html file? What we intend to do is to update >>> the index.html file and >>> a. add a javascript function which will accept a >>> filename to be rendered >>> b. once the filename is received by this function, >>> it will call the visualizer and display the >>> specified file >>> c. in the visualizer page, the open files tab should >>> be hidden. >>> >>> Please let me know if you require any clarification. >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> >>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>> >>> >>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>> >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >> _______________________________________________ >> Powered by www.kitware.com >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView >> Wiki at: http://paraview.org/Wiki/ParaView >> Search the list >> archives at: http://markmail.org/search/?q=ParaView >> Follow this >> link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From waynezw0618 at 163.com Mon Jan 16 21:21:11 2017 From: waynezw0618 at 163.com (Wei Zhang) Date: Tue, 17 Jan 2017 10:21:11 +0800 Subject: [Paraview] How to operate data from csvreader Message-ID: <40E7C046-1D8F-4EE2-8BE4-4A1595BAFAE3@163.com> Dear everyone: I am trying to make an animation of line chart plot. Basically I want to show the time series before certain time step at the time step. My plan is to load the csvdata and mask them based on the time step value later after that make an animation. But I can only find cellData, pointData and so on like the vtk field data. I can't find my data in these. Can anybody tell me how to extract and manipulate the data from the csvreader? All the best /Wei From cornelis.bockemuehl at gmail.com Tue Jan 17 01:38:39 2017 From: cornelis.bockemuehl at gmail.com (=?UTF-8?Q?Cornelis_Bockem=C3=BChl?=) Date: Tue, 17 Jan 2017 07:38:39 +0100 Subject: [Paraview] Filter for interactive spreadsheet? In-Reply-To: References: Message-ID: Dear Andy, Thanks for this hint: Indeed I was not fully aware of the way how you can easily add new calculated columns with these two filters! What they do is some kind of "vector math", resulting in a new vector that is appended to the input data set. However my question went in the direction of directly editing single values, or groups of values. Example: Assume that we have a data array "Density" in some data set, then I want to be able to directly change the "density" value for just a few cells, or even better: for a selected set of data rows. Because: If such a thing does not exist yet I would consider trying to write it myself - but I do not insist on reinventing any wheel! And I am sometimes astonished how many "wheels" already exist in the ParaView "world"... Regards, Cornelis PS: Why do I never see my own posts to the paraview mailing list? Is this a bug or a feature or something I am doing wrong? 2017-01-17 0:57 GMT+01:00 Andy Bauer : > This can be done through either the calculator or python calculator > filter. If you're in the spreadsheet view it should switch over to the > calculator/python calculator output when the filter is applied. > > On Mon, Jan 16, 2017 at 5:14 PM, Cornelis Bockem?hl < > cornelis.bockemuehl at gmail.com> wrote: > >> Has somebody already written and contributed a filter that allows some >> simple "spreadsheet like" user manipulation of the data? >> >> I mean something that accepts some data input, then allows user changes, >> and the output would be the changed data set. >> >> Regards, >> Cornelis >> >> -- >> Cornelis Bockem?hl >> Basel, Schweiz >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -- Cornelis Bockem?hl Basel, Schweiz -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gerald.Lodron at joanneum.at Tue Jan 17 02:36:23 2017 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Tue, 17 Jan 2017 07:36:23 +0000 Subject: [Paraview] [Paraview-developers] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: References: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> <4adff269435d4ed8845efdbcc8478093@RZJMBX1.jr1.local> <829e6492736747f8bbd1463f261dadc2@RZJMBX1.jr1.local> Message-ID: Good idea, I made some tests: if (this->HasNewData()) { this->OLatest = this->m_poInternal->GetLatestImageData(); } else { vtkErrorMacro(?You should never came here?); } I also tested to set a member variable vtkSmartPointer myTempImage; to the class (like you mentioned) and store it everytime so that output gets always ShallowCopied regardless to the HasNewData, but no effect. The HasNewData is always true because I call this function from my GUI panel and only force an update if that function returns true, so it would be strange if that would not work?.. I have the exact same workflow in my vtkPolyData source which works perfectly? I really don?t know why this does not work?. I copied the workflow from the PointCloud plugin?. (OpenNISource) I also made now a minimalistic test and changed my requestdata function to: vtkInformation *outInfo = outputVector->GetInformationObject(0); vtkImageData * output = vtkImageData::SafeDownCast(outInfo ->Get(vtkDataObject::DATA_OBJECT())); vtkSmartPointer imageData = vtkSmartPointer::New(); imageData ->SetDimensions(10, 10, 1); imageData ->AllocateScalars(VTK_FLOAT, 1); memset(imageData ->GetScalarPointer(), 0, 10*10*sizeof(float)); output ->ShallowCopy(imageData); same behaviour?. Another failed try: output ->SetDimensions(10, 10, 1); output ->AllocateScalars(VTK_FLOAT, 1); memset(output ->GetScalarPointer(), 0, 10 * 10 * sizeof(float)); By the way: why dows paraview say that images are rectilinear grid's? My output is a vtkImageData which does not seem to be inherited from rectilinear grid.... also when I load images normally into paraview I get rectilinear grids as output..... should I program a rectilinear grid output filter? Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Montag, 16. J?nner 2017 20:11 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Gerald, I think there is the problem with this: if (!this->HasNewData()) ? return 1; It means that most of the time, the filter will return an empty output. Instead, you should cache (retain a pointer off oLatest as member variable) the last image and ShallowCopy it to the output in this case. Something like: ??? if (this->HasNewData()) ??? { ??????? this->OLatest = this->m_poInternal->GetLatestImageData(); ??? } ??? if (this->OLatest) ??????? poOutput->ShallowCopy(this->OLatest); Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-16 4:12 GMT-04:00 Lodron, Gerald : Hi I uploaded a cleaned version of the reader without gui component to https://expirebox.com/download/b5db956fb2b0787ac16ef9b42e46698a.html (again 48h available). The GUI has included a timer which polls on the HasNewData() function and if it returns true it forces an update of the request data function.? I copied that workflow of the PCLPlugin of Paraview of the Kinect OpenNI Source?.. the commented code also displays the *.vti writing.... Best regards, Gerald Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Freitag, 13. J?nner 2017 15:45 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Could you share the code of your reader? If you prefer you can remove all specific stuff and keep only VTK related stuff. I would like to see how exactly you fetch the output grid to fill and how your filter defines its output. Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-13 3:17 GMT-04:00 Lodron, Gerald : Nope, the data is then nearly empty (<1kByte), hiere the vti writer output: ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?_ ? Here the mhd header which I usually prefer, the ?DimSize? is 0,0,0: ObjectType = Image NDims = 3 BinaryData = True BinaryDataByteOrderMSB = False CompressedData = True TransformMatrix = 1 0 0 0 1 0 0 0 1 Offset = 0 0 0 CenterOfRotation = 0 0 0 ElementSpacing = 1 1 1 DimSize = 0 0 0 AnatomicalOrientation = ??? ElementType = MET_UCHAR ElementDataFile = test.zraw Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Donnerstag, 12. J?nner 2017 22:28 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered OK. That's weired, your VTI is correct. And what if you save the output of your filter/reader with ParaView "Save Data"? Is data correctly saved and reloaded correctly? Joachim Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-11 8:14 GMT-04:00 Lodron, Gerald : i have uploaded the vti onto https://expirebox.com/download/60e7c1e8d177f282ae90d42f75e5ae50.html the link is 48h accessible ? when I load the vti into paraview everything is visualized correctly ? Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Mittwoch, 11. J?nner 2017 12:07 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Sorry for my late reply: ? ?21745593? is correct, that?s the UID string of the sensor/camera which generates the vtkImagedata, I set the string from its SDK?. I will try writing the vti file for you?. ? ? ? Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Dienstag, 10. J?nner 2017 19:09 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hmm sorry if I had took a closer look I would have seen that AllocateScalars set a default name "ImageScalars" to the scalar array. Then don't know what you did but the print says that the name of your array is "21745593" which is quite strange. Is it what you did? Could you write your "output" image data to a .VTI file using a vtkXMLImageDataWriter after initializing it in your RequestData function and see if you can load in with PV and view it? Share it if you can't. Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS ? 2017-01-10 2:00 GMT-04:00 Lodron, Gerald : Here i printed my vtkImageDataOutput of my plugin in? Request data, may that helps?: ? output vtkImageData (00000087ABEB1260) Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: (none) Information: 00000087AC049A90 Data Released: False Global Release Data: Off UpdateTime: 195896 Field Data: Debug: Off Modified Time: 870094 Reference Count: 1 Registered Events: (none) Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Number Of Points: 1920000 Number Of Cells: 1917201 Cell Data: Debug: Off Modified Time: 870179 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC476A0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Point Data: Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC475B0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 1 Array 0 name = 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: Debug: Off Modified Time: 870148 Reference Count: 2 Registered Events: (none) Name: 21745593 Data type: unsigned char Size: 1920000 MaxId: 1919999 NumberOfComponents: 1 Information: 0000000000000000 Name: 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Size: 1920000 MaxId: 1919999 LookupTable: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Bounds: Xmin,Xmax: (0, 1599) Ymin,Ymax: (0, 1199) Zmin,Zmax: (0, 0) Compute Time: 870184 Spacing: (1, 1, 1) Origin: (0, 0, 0) Dimensions: (1600, 1200, 1) Increments: (0, 0, 0) Extent: (0, 1599, 0, 1199, 0, 0) ? ? ? ? ? ? Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Dienstag, 10. J?nner 2017 06:49 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hi ? Good try but does not effect anything except the string in paraview?s combo box. The strange thing is that I also cannot see anything in spreadsheet view (empty cell and point data)? but on information tab point data and cell data is there?. ? Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Montag, 09. J?nner 2017 19:40 An: Lodron, Gerald Cc: Paraview User (paraview at paraview.org); Paraview Developer (Paraview-developers at paraview.org) Betreff: Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hi Gerald, Not sure it is the only issue but please try giving a name to the output scalar arrays. ParaView won't make visible arrays which don't have a name. Example: ? output->GetPointData()->GetScalars()->SetName("values"); Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS ? 2017-01-09 5:20 GMT-04:00 Lodron, Gerald : Hi I programmed successfully a plugin source wich generates a vtkImageData output and made it the same way as on my 3d cloud plugins of vtkPolyData. The source is inherited from vtkImageAlgorithm and only contains one output with unsigned char array and one component. In the request data function of the filter I currently have a very dummy: output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); ?memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* oData.imgSizeY*sizeof(unsigned char)); in paraview I see in the information tab that? I have an uniform rectilinear grid with 1917201 cells and 1920000 points (image is 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a correct range of my memcopy data (my min max range is not 0,255 so data seems to be there)... the problem is that I cannot see anything in the render view, any suggestions what I am making wrong? I tested all representation (slice, surface, outline, on Solid Color and on my array), never see anything..... I also compared the Information tab on a loaded jpeg image and cannot see any difference (which is rendered in render view except the Array's string name), by the way: can I disable "MapScalars" by default? I am using pv5.2 ------------------------------------------------------------------------------------ Gerald Lodron ? Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies ? JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA ? phone:?? +43-316-876-1751??? general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview ? ? From Gerald.Lodron at joanneum.at Tue Jan 17 03:21:31 2017 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Tue, 17 Jan 2017 08:21:31 +0000 Subject: [Paraview] [Paraview-developers] vtkImageData Plugin, vtkImageData not rendered References: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> <4adff269435d4ed8845efdbcc8478093@RZJMBX1.jr1.local> <829e6492736747f8bbd1463f261dadc2@RZJMBX1.jr1.local> Message-ID: I now have it (but don?t know why, an explanation would be great), my solution was deleting RequestData and using same pipeline as copied from vtkJPEGReader/vtkImageReader2 with request information: int vtkROSImageSource::RequestInformation( vtkInformation * vtkNotUsed(request), vtkInformationVector** vtkNotUsed(inputVector), vtkInformationVector * outputVector) { vtkSmartPointer latest = this->m_poInternal->GetLatestImageData(); if (latest) { this->DataExtent[0] = oLatest->GetExtent()[0]; this->DataExtent[1] = oLatest->GetExtent()[1]; this->DataExtent[2] = oLatest->GetExtent()[2]; this->DataExtent[3] = oLatest->GetExtent()[3]; this->DataExtent[4] = oLatest->GetExtent()[4]; this->DataExtent[5] = oLatest->GetExtent()[5]; this->SetDataScalarType(latest ->GetScalarType()); this->SetNumberOfScalarComponents(latest ->GetNumberOfScalarComponents()); // get the info objects vtkInformation* outInfo = outputVector->GetInformationObject(0); outInfo->Set(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(), this->DataExtent, 6); outInfo->Set(vtkDataObject::SPACING(), this->DataSpacing, 3); outInfo->Set(vtkDataObject::ORIGIN(), this->DataOrigin, 3); vtkDataObject::SetPointDataActiveScalarInfo(outInfo, this->DataScalarType, this->NumberOfScalarComponents); outInfo->Set(CAN_PRODUCE_SUB_EXTENT(), 1); } return 1; } void vtkROSImageSource::ExecuteDataWithInformation(vtkDataObject *output, vtkInformation *outInfo) { vtkImageData *data = this->AllocateOutputData(output, outInfo); vtkSmartPointer latest = this->m_poInternal->GetLatestImageData(); if(latest) { data->ShallowCopy(latest); } } The only thing which is bad is that paraview does use "SolidColor" as default with "Outline" Representation. I have to switch to my scalar name and "Slice" representation manually, any hints how to do that automatically? Would also like to turn off "MapScalars" by default... -----Urspr?ngliche Nachricht----- Von: Lodron, Gerald Gesendet: Dienstag, 17. J?nner 2017 08:36 An: 'Joachim Pouderoux' Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: AW: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Good idea, I made some tests: if (this->HasNewData()) { this->OLatest = this->m_poInternal->GetLatestImageData(); } else { vtkErrorMacro(?You should never came here?); } I also tested to set a member variable vtkSmartPointer myTempImage; to the class (like you mentioned) and store it everytime so that output gets always ShallowCopied regardless to the HasNewData, but no effect. The HasNewData is always true because I call this function from my GUI panel and only force an update if that function returns true, so it would be strange if that would not work?.. I have the exact same workflow in my vtkPolyData source which works perfectly? I really don?t know why this does not work?. I copied the workflow from the PointCloud plugin?. (OpenNISource) I also made now a minimalistic test and changed my requestdata function to: vtkInformation *outInfo = outputVector->GetInformationObject(0); vtkImageData * output = vtkImageData::SafeDownCast(outInfo ->Get(vtkDataObject::DATA_OBJECT())); vtkSmartPointer imageData = vtkSmartPointer::New(); imageData ->SetDimensions(10, 10, 1); imageData ->AllocateScalars(VTK_FLOAT, 1); memset(imageData ->GetScalarPointer(), 0, 10*10*sizeof(float)); output ->ShallowCopy(imageData); same behaviour?. Another failed try: output ->SetDimensions(10, 10, 1); output ->AllocateScalars(VTK_FLOAT, 1); memset(output ->GetScalarPointer(), 0, 10 * 10 * sizeof(float)); By the way: why dows paraview say that images are rectilinear grid's? My output is a vtkImageData which does not seem to be inherited from rectilinear grid.... also when I load images normally into paraview I get rectilinear grids as output..... should I program a rectilinear grid output filter? Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Montag, 16. J?nner 2017 20:11 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Gerald, I think there is the problem with this: if (!this->HasNewData()) ? return 1; It means that most of the time, the filter will return an empty output. Instead, you should cache (retain a pointer off oLatest as member variable) the last image and ShallowCopy it to the output in this case. Something like: ??? if (this->HasNewData()) ??? { ??????? this->OLatest = this->m_poInternal->GetLatestImageData(); ??? } ??? if (this->OLatest) ??????? poOutput->ShallowCopy(this->OLatest); Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-16 4:12 GMT-04:00 Lodron, Gerald : Hi I uploaded a cleaned version of the reader without gui component to https://expirebox.com/download/b5db956fb2b0787ac16ef9b42e46698a.html (again 48h available). The GUI has included a timer which polls on the HasNewData() function and if it returns true it forces an update of the request data function.? I copied that workflow of the PCLPlugin of Paraview of the Kinect OpenNI Source?.. the commented code also displays the *.vti writing.... Best regards, Gerald Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Freitag, 13. J?nner 2017 15:45 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Could you share the code of your reader? If you prefer you can remove all specific stuff and keep only VTK related stuff. I would like to see how exactly you fetch the output grid to fill and how your filter defines its output. Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-13 3:17 GMT-04:00 Lodron, Gerald : Nope, the data is then nearly empty (<1kByte), hiere the vti writer output: ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?_ ? Here the mhd header which I usually prefer, the ?DimSize? is 0,0,0: ObjectType = Image NDims = 3 BinaryData = True BinaryDataByteOrderMSB = False CompressedData = True TransformMatrix = 1 0 0 0 1 0 0 0 1 Offset = 0 0 0 CenterOfRotation = 0 0 0 ElementSpacing = 1 1 1 DimSize = 0 0 0 AnatomicalOrientation = ??? ElementType = MET_UCHAR ElementDataFile = test.zraw Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Donnerstag, 12. J?nner 2017 22:28 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered OK. That's weired, your VTI is correct. And what if you save the output of your filter/reader with ParaView "Save Data"? Is data correctly saved and reloaded correctly? Joachim Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-11 8:14 GMT-04:00 Lodron, Gerald : i have uploaded the vti onto https://expirebox.com/download/60e7c1e8d177f282ae90d42f75e5ae50.html the link is 48h accessible ? when I load the vti into paraview everything is visualized correctly ? Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Mittwoch, 11. J?nner 2017 12:07 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Sorry for my late reply: ? ?21745593? is correct, that?s the UID string of the sensor/camera which generates the vtkImagedata, I set the string from its SDK?. I will try writing the vti file for you?. ? ? ? Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Dienstag, 10. J?nner 2017 19:09 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hmm sorry if I had took a closer look I would have seen that AllocateScalars set a default name "ImageScalars" to the scalar array. Then don't know what you did but the print says that the name of your array is "21745593" which is quite strange. Is it what you did? Could you write your "output" image data to a .VTI file using a vtkXMLImageDataWriter after initializing it in your RequestData function and see if you can load in with PV and view it? Share it if you can't. Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS ? 2017-01-10 2:00 GMT-04:00 Lodron, Gerald : Here i printed my vtkImageDataOutput of my plugin in? Request data, may that helps?: ? output vtkImageData (00000087ABEB1260) Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: (none) Information: 00000087AC049A90 Data Released: False Global Release Data: Off UpdateTime: 195896 Field Data: Debug: Off Modified Time: 870094 Reference Count: 1 Registered Events: (none) Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Number Of Points: 1920000 Number Of Cells: 1917201 Cell Data: Debug: Off Modified Time: 870179 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC476A0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Point Data: Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC475B0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 1 Array 0 name = 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: Debug: Off Modified Time: 870148 Reference Count: 2 Registered Events: (none) Name: 21745593 Data type: unsigned char Size: 1920000 MaxId: 1919999 NumberOfComponents: 1 Information: 0000000000000000 Name: 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Size: 1920000 MaxId: 1919999 LookupTable: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Bounds: Xmin,Xmax: (0, 1599) Ymin,Ymax: (0, 1199) Zmin,Zmax: (0, 0) Compute Time: 870184 Spacing: (1, 1, 1) Origin: (0, 0, 0) Dimensions: (1600, 1200, 1) Increments: (0, 0, 0) Extent: (0, 1599, 0, 1199, 0, 0) ? ? ? ? ? ? Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Dienstag, 10. J?nner 2017 06:49 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hi ? Good try but does not effect anything except the string in paraview?s combo box. The strange thing is that I also cannot see anything in spreadsheet view (empty cell and point data)? but on information tab point data and cell data is there?. ? Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Montag, 09. J?nner 2017 19:40 An: Lodron, Gerald Cc: Paraview User (paraview at paraview.org); Paraview Developer (Paraview-developers at paraview.org) Betreff: Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hi Gerald, Not sure it is the only issue but please try giving a name to the output scalar arrays. ParaView won't make visible arrays which don't have a name. Example: ? output->GetPointData()->GetScalars()->SetName("values"); Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS ? 2017-01-09 5:20 GMT-04:00 Lodron, Gerald : Hi I programmed successfully a plugin source wich generates a vtkImageData output and made it the same way as on my 3d cloud plugins of vtkPolyData. The source is inherited from vtkImageAlgorithm and only contains one output with unsigned char array and one component. In the request data function of the filter I currently have a very dummy: output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); ?memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* oData.imgSizeY*sizeof(unsigned char)); in paraview I see in the information tab that? I have an uniform rectilinear grid with 1917201 cells and 1920000 points (image is 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a correct range of my memcopy data (my min max range is not 0,255 so data seems to be there)... the problem is that I cannot see anything in the render view, any suggestions what I am making wrong? I tested all representation (slice, surface, outline, on Solid Color and on my array), never see anything..... I also compared the Information tab on a loaded jpeg image and cannot see any difference (which is rendered in render view except the Array's string name), by the way: can I disable "MapScalars" by default? I am using pv5.2 ------------------------------------------------------------------------------------ Gerald Lodron ? Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies ? JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA ? phone:?? +43-316-876-1751 general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview ? ? From debopamg at gmail.com Tue Jan 17 03:38:04 2017 From: debopamg at gmail.com (Debopam Ghoshal) Date: Tue, 17 Jan 2017 14:08:04 +0530 Subject: [Paraview] Embedding the Visualizer app in the browser within an iframe In-Reply-To: References: <53b122fc-85c6-bb9a-b0e1-5061e655a04a@theweak.link> <2255E579-482D-46BB-BE9A-BCCAF43C9DE3@theweak.link> Message-ID: Hi Claude, Thanks a lot for your time and patience. As I have configured a virtual host in apache, I am using the name of the virtual host (paraview) instead of localhost. So instead of http://localhost, my url is http://paraview. Please find my response below: - a successful POST request to localhost/paraview The only log that I saw in the developer console was: Navigated to: http://paraview/ (Note: I did not give the data because it is already hardcoded in the launcher.config file) - a successful GET request to localhost/proxy Nothing else was displayed in the console. I have attached a snapshot of the network tab (not sure whether it has any relevant information) - then do you get an error such as "can't connect to ws://localhost..."? I get this error only when I specify "sessionURL" : "ws://paraview:80/ws". When I specify "sessionURL" : " ws://paraview:80/proxy?sessionId=${id}&path=ws" then there is no error. Before starting the test today, I deleted all the log file, and after the test the following are my observations: 1. the *error.log* file is empty 2. the *launcher.log* has some entries, but none of them are errors: 2017-01-17 13:43:17,786:INFO:twisted:Site starting on 9000 2017-01-17 13:43:17,786:INFO:twisted:Starting factory 2017-01-17 13:43:53,460:INFO:twisted:"127.0.0.1" - - [17/Jan/2017:08:13:52 +0000] "POST /paraview/ HTTP/1.1" 200 206 "http://paraview/" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36" 2017-01-17 13:45:01,183:INFO:twisted:Received SIGINT, shutting down. 2017-01-17 13:45:01,183:INFO:twisted:(TCP Port 9000 Closed) 2017-01-17 13:45:01,183:INFO:twisted:Stopping factory 2017-01-17 13:45:01,183:INFO:twisted:Main loop terminated. 2017-01-17 13:45:01,183:WARNING:root:Server factory shutting down. Stopping all processes 3. The *session log* file also did not have any errors: 2017-01-17 13:43:52+0530 [-] Log opened. 2017-01-17 13:43:52+0530 [-] Site starting on 9999 2017-01-17 13:43:52+0530 [-] Starting factory 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Client has reconnected, cancelling reaper 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] on_connect: connection count = 1 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property BeginValueCapture has no GetData() method, skipping 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property CaptureValuesFloat has no GetData() method, skipping 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property CaptureZBuffer has no GetData() method, skipping 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property EndValueCapture has no GetData() method, skipping 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property StartCaptureLuminance has no GetData() method, skipping 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property StopCaptureLuminance has no GetData() method, skipping What is confusing me is that the native rendering panel is coming up on the desktop, but does not show the image to be rendered. The same panel is also coming up as part of the Visualizer pane, and if I move the orientation axis in the browser, then the axes are also moved in the native window. In the attached snapshot, the native window is on your left. Cheers & Best Wishes, Debopam ------------------------------- Cell: +91 98304 10041 On Tue, Jan 17, 2017 at 5:28 AM, claude wrote: > Hi Debopam, > > Would you mind trying to connect while the web developer console is on > (for Chrome it's under "Tools > Javascript console") and copy/pasting the > errors (if any). > > Do you see: > > - a successful POST request to localhost/paraview > > - a successful GET request to localhost/proxy > > - then do you get an error such as "can't connect to ws://localhost..."? > > Also, what do the logs tell you (/path/to/logs/error.log, > /path/to/logs/launcherLog.log and /path/to/logs/.txt => fetch the > last one created)? > > cheers > > claude > > > On 01/16/2017 03:56 AM, Debopam Ghoshal wrote: > > Hi Claude, > > I tried using the filename hard coded in the config json as well as the > index.html. But I am not able to view the file in the Visualizer. > It is only showing the blank window/pane with no figure. I can move the > orientation axes, but nothing is being rendered. Even when I choose a file > from the Files tab, nothing is being displayed. > > My launcher config has: > > ....... > "properties" : { > "python_exec" : "C:/paraview/ParaView5.2.0/bin/pvpython.exe", > "visualizer": "C:/paraview/ParaView5.2.0/share/paraview-5.2/web/ > visualizer/server/pvw-visualizer.py", > "data_dir": "C:/paraview/ParaView5.2.0/data" > }, > "apps": { > "visualizer": { > "cmd": [ > "${python_exec}", "-dr", "${visualizer}", "--port", "${port}", > "--data", "${data_dir}", "--authKey", "${secret}", "--load-file", > "${data_dir}/can.ex2" > ], > "ready_line" : "Starting factory" > } > } > ...... > > > (You can see that the file name is hard coded) > > The launcher.bat script has: > > set PV_HOME=C:\paraview\ParaView5.2.0 > %PV_HOME%\bin\pvpython.exe %PV_HOME%\bin\Lib\site-packages\vtk\web\launcher.py > %PV_HOME%\launcher.config > > > However, I am able to view the file when I launch the pvpython.exe script > directly using: > .\bin\pvpython.exe "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\ > visualizer\server\pvw-visualizer.py" --content "C:\paraview\ParaView5.2.0\ > share\paraview-5.2\web\visualizer\www" --data "C:\paraview\ParaView5.2.0\data" > --port 8080 > > So, I am guessing I may have mixed up some configuration items because of > which the display is not coming when I try to launch it through the > launcher scirpt/config. Surprisingly, there are no error messages in the > log files. Could you please suggest something. > > I have added the details in the gist for your reference: https://gist. > github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 > > The screenshots are also attached for your reference. > > > Cheers & Best Wishes, > Debopam > ------------------------------- > Cell: +91 98304 10041 > > On Fri, Jan 13, 2017 at 6:04 PM, Claude wrote: > >> Hi Debopam, >> >> Thanks for the added details on the gist and congratulations for setting >> up the server, you are almost there. >> For Visualizer to be able to load a file, it will need the argument >> --load-file (it seems to have disappeared in your config launcher). The >> option --data specifies the directory, so whatever file you want to load, >> it must be relative to that directory. For example to load the data file >> C:/my_data/dir/example1/my_file.vti you could do: >> --data is C:/my_data/dir >> --load-file is example1/my_file.vti >> >> Here is a question for you: do you want to always have the same data >> loaded by default or to be able to specify it? >> * If it's always the same, you can directly hardcode it in the launcher >> config file. Then it will be loaded when you navigate to the paraview URL. >> * if it's not always the same, you could use the solution on the gist >> which is specifying it in the URL directly (there are other alternatives of >> course). In that case, the URL must contain the file to load (otherwise >> paraview cannot guess it :)). For instance: >> http://localhost:9000/?data=example1/my_file >> >> (The JavaScript code automatically adds the extension .vti, you may >> change that behavior of course). >> >> I'll be posting the detailed changes on your code in the gist comment >> shortly. >> >> Let me know >> Cheers >> Claude >> >> >> On Jan 13, 2017, at 5:05 AM, Debopam Ghoshal < >> debopamg at gmail.com> wrote: >> >> Hi Claude, >> >> I followed your instructions with some modifications since I was having >> problems. Finally, I was able to configure the Apache front end with the >> ParaView Web launcher, and now I can view the index page of the visualizer. >> However, when I choose any of the sample files, they are not being rendered >> in the visualizer pane. >> >> I have added the details in the gist you created at: >> >> https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >> >> Would appreciate your thoughts on this. >> >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> >> >> On Thu, Jan 12, 2017 at 5:22 PM, Debopam Ghoshal < >> debopamg at gmail.com> wrote: >> >>> Hi Claude >>> >>> Thank you so much for your detailed explanation. The gist has been very >>> useful. I am working on it at present, and is in the process of smoothening >>> out a few creases because of the operating system I am using (Windows 10). >>> >>> Will let you know once I am able to use paraview web properly. And in >>> case of any issue, I will bother you once again. >>> >>> Hi Seb, >>> >>> Thanks for the link. Much appreciated. >>> >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> >>> On Wed, Jan 11, 2017 at 9:48 PM, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>>> Thanks Claude, >>>> >>>> Here is the add-on of what functions can be called on Visualizer. (All >>>> the function with export) >>>> >>>> >>>> https://github.com/Kitware/visualizer/blob/master/src/app.js >>>> >>>> We are planning to add some helper for extracting arguments from the >>>> URL. We actually add a class in the ParaViewWeb repo, but we haven't got to >>>> the point of using it and making it available in visualizer. >>>> >>>> Seb >>>> >>>> On Wed, Jan 11, 2017 at 7:32 AM, claude < >>>> claude at theweak.link> wrote: >>>> >>>>> Hi Debopam, >>>>> >>>>> >>>>> I think there is one thing to consider first before taking care of >>>>> data being passed through: if you manually start one instance of >>>>> pvw-visualizer, it means all people connecting to port 8080 will see the >>>>> same thing and act on the same viewer, which means potentially conflicting >>>>> with each other action (e.g. a probable disconnection for everyone if one >>>>> decide to exit maybe?). In that case, you need to have a virtual server >>>>> that will launch a new process every time someone connect to port 8080. >>>>> That way, all viewers are independent, the same person can open several >>>>> viewers, etc. >>>>> >>>>> >>>>> Now regarding the data being loaded at startup: you html index file >>>>> should have a function grabbing the 'data' parameter from a URL, a form, a >>>>> dropdown menu, etc. then sending it as a key to the Visualizer application >>>>> (so that the launcher knows which file to load at startup). >>>>> >>>>> It would have been complicated to explain all the details in a email, >>>>> so I made a gist with all the files and "code" addressing both points >>>>> (launcher and data): >>>>> >>>>> >>>>> https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >>>>> >>>>> Note that this gist was gathered info from the Paraview Web and >>>>> Visualizer online documentations: kuddos to Paraview people. >>>>> 2nd note: in that gist I'm giving the instructions for Apache server >>>>> (you could technically choose any other, e.g. NGinx) for Linux. I see you >>>>> are on Windows: I don't know how Apache works on Windows but I assume (and >>>>> hope) the steps and config file should be similar. >>>>> >>>>> I hope it helps! Good luck! >>>>> cheers >>>>> claude >>>>> >>>>> >>>>> >>>>> >>>>> On 01/11/2017 04:10 AM, Debopam Ghoshal wrote: >>>>> >>>>> Hi, >>>>> >>>>> We have a requirement where our application will send a request to the >>>>> paraview web server to render a specific file (which will be available in >>>>> the data given directory) in the visualizer app, and this will be embedded >>>>> within our application page as a iframe, whose source is the Visualizer >>>>> app's index.html. >>>>> >>>>> We are using the pvpython.exe executable to start the paraview web >>>>> server. The command used to start the server is: >>>>> >>>>> .\bin\pvpython.exe "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>> -MPI-Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" >>>>> --content "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www" >>>>> --data "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" --port >>>>> 8080 >>>>> >>>>> >>>>> From the command, we can see that the web content is being served from >>>>> the C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\pa >>>>> raview-5.2\web\visualizer\www directory. The index.html file uses the >>>>> Visualizer.js script and calls the following functions: >>>>> >>>>> Visualizer.connect({ application: 'visualizer' }); >>>>> Visualizer.autoStopServer(10); >>>>> >>>>> Is there any way to find out the available functions in the >>>>> Visualizer.js script and call them from our custom html file? What we >>>>> intend to do is to update the index.html file and >>>>> a. add a javascript function which will accept a filename to be >>>>> rendered >>>>> b. once the filename is received by this function, it will call the >>>>> visualizer and display the specified file >>>>> c. in the visualizer page, the open files tab should be hidden. >>>>> >>>>> Please let me know if you require any clarification. >>>>> >>>>> Cheers & Best Wishes, >>>>> Debopam >>>>> ------------------------------- >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Powered by www.kitware.com >>>>> >>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>>> >>>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>> >>>>> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview >>>>> >>>>> _______________________________________________ Powered by >>>>> www.kitware.com Visit other Kitware open-source projects at >>>>> http://www.kitware.com/opensource/opensource.html Please keep >>>>> messages on-topic and check the ParaView Wiki at: >>>>> http://paraview.org/Wiki/ParaView Search the list archives at: >>>>> http://markmail.org/search/?q=ParaView Follow this link to >>>>> subscribe/unsubscribe: http://public.kitware.com/mail >>>>> man/listinfo/paraview >>>> >>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot-networktab.png Type: image/png Size: 121979 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot-1.png Type: image/png Size: 213615 bytes Desc: not available URL: From gabriel.alvarez at usc.es Tue Jan 17 03:51:23 2017 From: gabriel.alvarez at usc.es (=?iso-8859-1?Q?Gabriel_=C1lvarez_Castro?=) Date: Tue, 17 Jan 2017 09:51:23 +0100 Subject: [Paraview] Help in customizing Paraview Web's buttonbar. Please! Message-ID: <000f01d2709e$e321ea00$a965be00$@usc.es> Hi, Can someone tell us how to customize the Paraview Web buttonbar, please? Exactly we would be interested in hiding Show File List and Show Save Options buttons. Can someone say to us which section of code could we edit to do this? Thank you very much in advance, regards, Gabriel. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Tue Jan 17 04:51:17 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Tue, 17 Jan 2017 04:51:17 -0500 Subject: [Paraview] Filter for interactive spreadsheet? In-Reply-To: References: Message-ID: Hi Cornelis, How would you like to select the single or group of values to change? Also, how would you like to change them (e.g. the same transformation for each or each with its own transformation)? These two questions are meant to guide you to do what you want in ParaView. You probably want to look at the Python Programmable Filter ( http://www.paraview.org/Wiki/Python_Programmable_Filter) for changing individual array values. If you are working in serial you may also be able to bring in the entities to change based on a selection. A better solution would be to use the global ids filter, then do a selection on what you want and finally pass that in as a secondary input to the Python Programmable filter. Developing your own filter is also a possibility. cheers, Andy On Tue, Jan 17, 2017 at 1:38 AM, Cornelis Bockem?hl < cornelis.bockemuehl at gmail.com> wrote: > Dear Andy, > > Thanks for this hint: Indeed I was not fully aware of the way how you can > easily add new calculated columns with these two filters! What they do is > some kind of "vector math", resulting in a new vector that is appended to > the input data set. > > However my question went in the direction of directly editing single > values, or groups of values. > > Example: Assume that we have a data array "Density" in some data set, then > I want to be able to directly change the "density" value for just a few > cells, or even better: for a selected set of data rows. > > Because: If such a thing does not exist yet I would consider trying to > write it myself - but I do not insist on reinventing any wheel! And I am > sometimes astonished how many "wheels" already exist in the ParaView > "world"... > > Regards, > Cornelis > > PS: Why do I never see my own posts to the paraview mailing list? Is this > a bug or a feature or something I am doing wrong? > > 2017-01-17 0:57 GMT+01:00 Andy Bauer : > >> This can be done through either the calculator or python calculator >> filter. If you're in the spreadsheet view it should switch over to the >> calculator/python calculator output when the filter is applied. >> >> On Mon, Jan 16, 2017 at 5:14 PM, Cornelis Bockem?hl < >> cornelis.bockemuehl at gmail.com> wrote: >> >>> Has somebody already written and contributed a filter that allows some >>> simple "spreadsheet like" user manipulation of the data? >>> >>> I mean something that accepts some data input, then allows user changes, >>> and the output would be the changed data set. >>> >>> Regards, >>> Cornelis >>> >>> -- >>> Cornelis Bockem?hl >>> Basel, Schweiz >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> > > > -- > Cornelis Bockem?hl > Basel, Schweiz > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cornelis.bockemuehl at gmail.com Tue Jan 17 05:08:50 2017 From: cornelis.bockemuehl at gmail.com (=?UTF-8?Q?Cornelis_Bockem=C3=BChl?=) Date: Tue, 17 Jan 2017 11:08:50 +0100 Subject: [Paraview] Filter for interactive spreadsheet? In-Reply-To: References: Message-ID: Thanks again Andy! I really appreciate your hints: It has already pointed me into a good direction! Actually what I tried for my purpose was: 1. do a selection, apply the "extract selection" filter, with the "keep topology" option on. With this I am getting just one additional column - "vtkInsidedness" - and this tells me whether in the initial data (actually cells of an "unstructured grid") an item was selected (value 1) or not (value -1). 2. on top of this I applied the "calculator" filter like you suggested, and with just an if(1=vtkInsidedness, ...) I could get exactly what I wanted! Bottom line: these two filters are actually my friends for the purpose! Only two things I am still struggling: 1. if I want this procedure to be a bit more simple I should maybe still write some kind of "wrapper filter" that does the above steps for me just in one. Like derive one filter from the calculator, including the nice calculator panel on the left, and just automatically do the "extract selection" before applying the calculator 2. with the "python calculator" I was not successful, and I wonder why!? Because if I applied that python calculator to my original "unstructured grid" data set everything worked fine (so it is not about missing python support!), but if I did the procedure as above, applying the "python calculator" on the extracted data, I always got a message: "AssertionError: Unsupported array type 15". This was independent on what was the expression I tried to apply, even if it was just a constant value! Looking into the source code it looks indeed like a mistake if some column has "type 15": I found only about 10 type definitions at all... Regards, Cornelis 2017-01-17 10:51 GMT+01:00 Andy Bauer : > Hi Cornelis, > > How would you like to select the single or group of values to change? > Also, how would you like to change them (e.g. the same transformation for > each or each with its own transformation)? These two questions are meant to > guide you to do what you want in ParaView. > > You probably want to look at the Python Programmable Filter ( > http://www.paraview.org/Wiki/Python_Programmable_Filter) for changing > individual array values. If you are working in serial you may also be able > to bring in the entities to change based on a selection. A better solution > would be to use the global ids filter, then do a selection on what you want > and finally pass that in as a secondary input to the Python Programmable > filter. > > Developing your own filter is also a possibility. > > cheers, > Andy > > On Tue, Jan 17, 2017 at 1:38 AM, Cornelis Bockem?hl < > cornelis.bockemuehl at gmail.com> wrote: > >> Dear Andy, >> >> Thanks for this hint: Indeed I was not fully aware of the way how you can >> easily add new calculated columns with these two filters! What they do is >> some kind of "vector math", resulting in a new vector that is appended to >> the input data set. >> >> However my question went in the direction of directly editing single >> values, or groups of values. >> >> Example: Assume that we have a data array "Density" in some data set, >> then I want to be able to directly change the "density" value for just a >> few cells, or even better: for a selected set of data rows. >> >> Because: If such a thing does not exist yet I would consider trying to >> write it myself - but I do not insist on reinventing any wheel! And I am >> sometimes astonished how many "wheels" already exist in the ParaView >> "world"... >> >> Regards, >> Cornelis >> >> PS: Why do I never see my own posts to the paraview mailing list? Is this >> a bug or a feature or something I am doing wrong? >> >> 2017-01-17 0:57 GMT+01:00 Andy Bauer : >> >>> This can be done through either the calculator or python calculator >>> filter. If you're in the spreadsheet view it should switch over to the >>> calculator/python calculator output when the filter is applied. >>> >>> On Mon, Jan 16, 2017 at 5:14 PM, Cornelis Bockem?hl < >>> cornelis.bockemuehl at gmail.com> wrote: >>> >>>> Has somebody already written and contributed a filter that allows some >>>> simple "spreadsheet like" user manipulation of the data? >>>> >>>> I mean something that accepts some data input, then allows user >>>> changes, and the output would be the changed data set. >>>> >>>> Regards, >>>> Cornelis >>>> >>>> -- >>>> Cornelis Bockem?hl >>>> Basel, Schweiz >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: >>>> http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>> >> >> >> -- >> Cornelis Bockem?hl >> Basel, Schweiz >> > > -- Cornelis Bockem?hl Basel, Schweiz -------------- next part -------------- An HTML attachment was scrubbed... URL: From cornelis.bockemuehl at gmail.com Tue Jan 17 05:12:00 2017 From: cornelis.bockemuehl at gmail.com (=?UTF-8?Q?Cornelis_Bockem=C3=BChl?=) Date: Tue, 17 Jan 2017 11:12:00 +0100 Subject: [Paraview] Filter for interactive spreadsheet? In-Reply-To: References: Message-ID: Once again: I just see that I received more information than just the assertion error: "" Traceback (most recent call last): File "", line 4, in File "D:\Users\cbockenm\Documents\BTest\ParaView\OwnBinaries\ParaView 5.1.2\lib\site-packages\paraview\calculator.py", line 122, in execute variables = get_arrays(inputs[0].GetAttributes(self.GetArrayAssociation())) File "D:\Users\cbockenm\Documents\BTest\ParaView\OwnBinaries\ParaView 5.1.2\lib\site-packages\paraview\calculator.py", line 34, in get_arrays arrays[varname] = attribs[key] File "D:\Users\cbockenm\Documents\BTest\ParaView\OwnBinaries\ParaView 5.1.2\lib\site-packages\paraview\vtk\numpy_interface\dataset_adapter.py", line 587, in __getitem__ return self.GetArray(idx) File "D:\Users\cbockenm\Documents\BTest\ParaView\OwnBinaries\ParaView 5.1.2\lib\site-packages\paraview\vtk\numpy_interface\dataset_adapter.py", line 599, in GetArray array = vtkDataArrayToVTKArray(vtkarray, self.DataSet) File "D:\Users\cbockenm\Documents\BTest\ParaView\OwnBinaries\ParaView 5.1.2\lib\site-packages\paraview\vtk\numpy_interface\dataset_adapter.py", line 138, in vtkDataArrayToVTKArray narray = numpy_support.vtk_to_numpy(array) File "D:\Users\cbockenm\Documents\BTest\ParaView\OwnBinaries\ParaView 5.1.2\lib\site-packages\vtk\util\numpy_support.py", line 214, in vtk_to_numpy "Unsupported array type %s"%typ AssertionError: Unsupported array type 15 "" It does not help me a lot, but maybe it indicates to somebody else what might be the problem!? Regards, Cornelis 2017-01-17 11:08 GMT+01:00 Cornelis Bockem?hl : > Thanks again Andy! > > I really appreciate your hints: It has already pointed me into a good > direction! > > Actually what I tried for my purpose was: > > 1. do a selection, apply the "extract selection" filter, with the "keep > topology" option on. With this I am getting just one additional column - > "vtkInsidedness" - and this tells me whether in the initial data (actually > cells of an "unstructured grid") an item was selected (value 1) or not > (value -1). > > 2. on top of this I applied the "calculator" filter like you suggested, > and with just an if(1=vtkInsidedness, ...) I could get exactly what I > wanted! > > Bottom line: these two filters are actually my friends for the purpose! > > Only two things I am still struggling: > > 1. if I want this procedure to be a bit more simple I should maybe still > write some kind of "wrapper filter" that does the above steps for me just > in one. Like derive one filter from the calculator, including the nice > calculator panel on the left, and just automatically do the "extract > selection" before applying the calculator > > 2. with the "python calculator" I was not successful, and I wonder why!? > Because if I applied that python calculator to my original "unstructured > grid" data set everything worked fine (so it is not about missing python > support!), but if I did the procedure as above, applying the "python > calculator" on the extracted data, I always got a message: "AssertionError: > Unsupported array type 15". This was independent on what was the expression > I tried to apply, even if it was just a constant value! Looking into the > source code it looks indeed like a mistake if some column has "type 15": I > found only about 10 type definitions at all... > > Regards, > Cornelis > > 2017-01-17 10:51 GMT+01:00 Andy Bauer : > >> Hi Cornelis, >> >> How would you like to select the single or group of values to change? >> Also, how would you like to change them (e.g. the same transformation for >> each or each with its own transformation)? These two questions are meant to >> guide you to do what you want in ParaView. >> >> You probably want to look at the Python Programmable Filter ( >> http://www.paraview.org/Wiki/Python_Programmable_Filter) for changing >> individual array values. If you are working in serial you may also be able >> to bring in the entities to change based on a selection. A better solution >> would be to use the global ids filter, then do a selection on what you want >> and finally pass that in as a secondary input to the Python Programmable >> filter. >> >> Developing your own filter is also a possibility. >> >> cheers, >> Andy >> >> On Tue, Jan 17, 2017 at 1:38 AM, Cornelis Bockem?hl < >> cornelis.bockemuehl at gmail.com> wrote: >> >>> Dear Andy, >>> >>> Thanks for this hint: Indeed I was not fully aware of the way how you >>> can easily add new calculated columns with these two filters! What they do >>> is some kind of "vector math", resulting in a new vector that is appended >>> to the input data set. >>> >>> However my question went in the direction of directly editing single >>> values, or groups of values. >>> >>> Example: Assume that we have a data array "Density" in some data set, >>> then I want to be able to directly change the "density" value for just a >>> few cells, or even better: for a selected set of data rows. >>> >>> Because: If such a thing does not exist yet I would consider trying to >>> write it myself - but I do not insist on reinventing any wheel! And I am >>> sometimes astonished how many "wheels" already exist in the ParaView >>> "world"... >>> >>> Regards, >>> Cornelis >>> >>> PS: Why do I never see my own posts to the paraview mailing list? Is >>> this a bug or a feature or something I am doing wrong? >>> >>> 2017-01-17 0:57 GMT+01:00 Andy Bauer : >>> >>>> This can be done through either the calculator or python calculator >>>> filter. If you're in the spreadsheet view it should switch over to the >>>> calculator/python calculator output when the filter is applied. >>>> >>>> On Mon, Jan 16, 2017 at 5:14 PM, Cornelis Bockem?hl < >>>> cornelis.bockemuehl at gmail.com> wrote: >>>> >>>>> Has somebody already written and contributed a filter that allows some >>>>> simple "spreadsheet like" user manipulation of the data? >>>>> >>>>> I mean something that accepts some data input, then allows user >>>>> changes, and the output would be the changed data set. >>>>> >>>>> Regards, >>>>> Cornelis >>>>> >>>>> -- >>>>> Cornelis Bockem?hl >>>>> Basel, Schweiz >>>>> >>>>> _______________________________________________ >>>>> Powered by www.kitware.com >>>>> >>>>> Visit other Kitware open-source projects at >>>>> http://www.kitware.com/opensource/opensource.html >>>>> >>>>> Please keep messages on-topic and check the ParaView Wiki at: >>>>> http://paraview.org/Wiki/ParaView >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>> >>>>> >>>> >>> >>> >>> -- >>> Cornelis Bockem?hl >>> Basel, Schweiz >>> >> >> > > > -- > Cornelis Bockem?hl > Basel, Schweiz > -- Cornelis Bockem?hl Basel, Schweiz -------------- next part -------------- An HTML attachment was scrubbed... URL: From fabian.wein at fau.de Tue Jan 17 05:19:40 2017 From: fabian.wein at fau.de (Fabian Wein) Date: Tue, 17 Jan 2017 11:19:40 +0100 Subject: [Paraview] packing superbuild 5.2 fails on openSUSE due to ldconfig Message-ID: <1ab4702b-2bb2-caae-37b7-807bd51fd3c9@fau.de> ctest -R cpack fails on openSUSE but works on Ubuntu CMake Error at /home/fwein/code/cfs_paraview/metabuild/build/cpack/paraview/TGZ/build/cmake_install.cmake:46 (message): Failed to install pvdataserver: Traceback (most recent call last): File "/home/fwein/code/cfs_paraview/metabuild/src/paraview-superbuild/superbuild/cmake/scripts/fixup_bundle.unix.py", line 507, in main(sys.argv[1:]) File "/home/fwein/code/cfs_paraview/metabuild/src/paraview-superbuild/superbuild/cmake/scripts/fixup_bundle.unix.py", line 499, in main _install_binary(main_exe, is_excluded, bundle_dest, opts.libdir, installed, manifest, dry_run=opts.dry_run) File "/home/fwein/code/cfs_paraview/metabuild/src/paraview-superbuild/superbuild/cmake/scripts/fixup_bundle.unix.py", line 403, in _install_binary deps = binary.dependencies.values() File "/home/fwein/code/cfs_paraview/metabuild/src/paraview-superbuild/superbuild/cmake/scripts/fixup_bundle.unix.py", line 198, in dependencies deplib = Library.create_from_reference(dep, self) File "/home/fwein/code/cfs_paraview/metabuild/src/paraview-superbuild/superbuild/cmake/scripts/fixup_bundle.unix.py", line 259, in create_from_reference paths.extend(cls.default_search_paths()) File "/home/fwein/code/cfs_paraview/metabuild/src/paraview-superbuild/superbuild/cmake/scripts/fixup_bundle.unix.py", line 231, in default_search_paths cls.__search_cache = pipe().split('\n') File "/home/fwein/code/cfs_paraview/metabuild/src/paraview-superbuild/superbuild/cmake/scripts/fixup_bundle.unix.py", line 23, in __call__ command = subprocess.Popen(command_args, stdin=last_input, stdout=subprocess.PIPE) File "/usr/lib64/python2.7/subprocess.py", line 390, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1024, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory The reason is that fixup_bundle.unix.py:23 is called with command_args=['ldconfig', '-v', '-N', '-X'] ldconfig is on openSUSE and Ubuntu /sbin/ldconfig but sbin in on openSUSE not in the user path. For me a link in $HOME/bin helped but maybe using the full path would work on all unix systems?! Fabian From sandy.mckenzie at kitware.com Tue Jan 17 08:38:42 2017 From: sandy.mckenzie at kitware.com (Sandy McKenzie) Date: Tue, 17 Jan 2017 08:38:42 -0500 Subject: [Paraview] Reminder: HPC Visualization Survey to Deliver Better ParaView Experience Message-ID: Greetings! If you have not already, please complete a short survey (less than 5 minutes) to help Kitware and NVIDIA understand the various aspects of the data that is visually analyzed by ParaView users. Survey link: https://www.surveymonkey.com/r/HPCVizSurvey As a reminder, this survey is completely anonymous. However, providing us your contact information will allow us to offer you early access to new products in the future. By completing the survey, you will automatically enter a raffle to win an NVIDIA Shield Android TV. If you?ve already filled out the survey, we appreciate and value your feedback! Regards, Kitware and NVIDIA teams -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Tue Jan 17 10:13:30 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 17 Jan 2017 08:13:30 -0700 Subject: [Paraview] Embedding the Visualizer app in the browser within an iframe In-Reply-To: References: <53b122fc-85c6-bb9a-b0e1-5061e655a04a@theweak.link> <2255E579-482D-46BB-BE9A-BCCAF43C9DE3@theweak.link> Message-ID: As you can see the issue is right there: "--load-file", "${data_dir}/can.ex2" As explained by Claude earlier in that same thread: The option --data specifies the directory, so whatever file you want to > load, it must be relative to that directory. On Tue, Jan 17, 2017 at 1:38 AM, Debopam Ghoshal wrote: > Hi Claude, > > Thanks a lot for your time and patience. As I have configured a virtual > host in apache, I am using the name of the virtual host (paraview) instead > of localhost. So instead of http://localhost, my url is http://paraview. > Please find my response below: > > - a successful POST request to localhost/paraview > > The only log that I saw in the developer console was: Navigated to: > http://paraview/ (Note: I did not give the data because it is already > hardcoded in the launcher.config file) > > - a successful GET request to localhost/proxy > > Nothing else was displayed in the console. I have attached a snapshot of > the network tab (not sure whether it has any relevant information) > > - then do you get an error such as "can't connect to ws://localhost..."? > > I get this error only when I specify "sessionURL" : "ws://paraview:80/ws". > When I specify "sessionURL" : "ws://paraview:80/proxy? > sessionId=${id}&path=ws" then there is no error. > Before starting the test today, I deleted all the log file, and after the > test the following are my observations: > > 1. the *error.log* file is empty > 2. the *launcher.log* has some entries, but none of them are errors: > 2017-01-17 13:43:17,786:INFO:twisted:Site starting on 9000 > 2017-01-17 13:43:17,786:INFO:twisted:Starting factory > > 2017-01-17 13:43:53,460:INFO:twisted:"127.0.0.1" - - > [17/Jan/2017:08:13:52 +0000] "POST /paraview/ HTTP/1.1" 200 206 " > http://paraview/" "Mozilla/5.0 (Windows NT 10.0; WOW64) > AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36" > 2017-01-17 13:45:01,183:INFO:twisted:Received SIGINT, shutting down. > 2017-01-17 13:45:01,183:INFO:twisted:(TCP Port 9000 Closed) > 2017-01-17 13:45:01,183:INFO:twisted:Stopping factory > > 2017-01-17 13:45:01,183:INFO:twisted:Main loop terminated. > 2017-01-17 13:45:01,183:WARNING:root:Server factory shutting down. > Stopping all processes > > 3. The *session log* file also did not have any errors: > 2017-01-17 13:43:52+0530 [-] Log opened. > 2017-01-17 13:43:52+0530 [-] Site starting on 9999 > 2017-01-17 13:43:52+0530 [-] Starting factory instance at 0x000001C32C76BF08> > 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Client has reconnected, > cancelling reaper > 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] on_connect: connection > count = 1 > 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property > BeginValueCapture has no GetData() method, skipping > 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property > CaptureValuesFloat has no GetData() method, skipping > 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property CaptureZBuffer > has no GetData() method, skipping > 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property > EndValueCapture has no GetData() method, skipping > 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property > StartCaptureLuminance has no GetData() method, skipping > 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property > StopCaptureLuminance has no GetData() method, skipping > > > What is confusing me is that the native rendering panel is coming up on > the desktop, but does not show the image to be rendered. The same panel is > also coming up as part of the Visualizer pane, and if I move the > orientation axis in the browser, then the axes are also moved in the native > window. In the attached snapshot, the native window is on your left. > > Cheers & Best Wishes, > Debopam > ------------------------------- > Cell: +91 98304 10041 <+91%2098304%2010041> > > On Tue, Jan 17, 2017 at 5:28 AM, claude wrote: > >> Hi Debopam, >> >> Would you mind trying to connect while the web developer console is on >> (for Chrome it's under "Tools > Javascript console") and copy/pasting the >> errors (if any). >> >> Do you see: >> >> - a successful POST request to localhost/paraview >> >> - a successful GET request to localhost/proxy >> >> - then do you get an error such as "can't connect to ws://localhost..."? >> >> Also, what do the logs tell you (/path/to/logs/error.log, >> /path/to/logs/launcherLog.log and /path/to/logs/.txt => fetch the >> last one created)? >> >> cheers >> >> claude >> >> >> On 01/16/2017 03:56 AM, Debopam Ghoshal wrote: >> >> Hi Claude, >> >> I tried using the filename hard coded in the config json as well as the >> index.html. But I am not able to view the file in the Visualizer. >> It is only showing the blank window/pane with no figure. I can move the >> orientation axes, but nothing is being rendered. Even when I choose a file >> from the Files tab, nothing is being displayed. >> >> My launcher config has: >> >> ....... >> "properties" : { >> "python_exec" : "C:/paraview/ParaView5.2.0/bin/pvpython.exe", >> "visualizer": "C:/paraview/ParaView5.2.0/sha >> re/paraview-5.2/web/visualizer/server/pvw-visualizer.py", >> "data_dir": "C:/paraview/ParaView5.2.0/data" >> }, >> "apps": { >> "visualizer": { >> "cmd": [ >> "${python_exec}", "-dr", "${visualizer}", "--port", >> "${port}", "--data", "${data_dir}", "--authKey", "${secret}", >> "--load-file", "${data_dir}/can.ex2" >> ], >> "ready_line" : "Starting factory" >> } >> } >> ...... >> >> >> (You can see that the file name is hard coded) >> >> The launcher.bat script has: >> >> set PV_HOME=C:\paraview\ParaView5.2.0 >> %PV_HOME%\bin\pvpython.exe %PV_HOME%\bin\Lib\site-packages\vtk\web\launcher.py >> %PV_HOME%\launcher.config >> >> >> However, I am able to view the file when I launch the pvpython.exe script >> directly using: >> .\bin\pvpython.exe "C:\paraview\ParaView5.2.0\sha >> re\paraview-5.2\web\visualizer\server\pvw-visualizer.py" --content >> "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\visualizer\www" --data >> "C:\paraview\ParaView5.2.0\data" --port 8080 >> >> So, I am guessing I may have mixed up some configuration items because of >> which the display is not coming when I try to launch it through the >> launcher scirpt/config. Surprisingly, there are no error messages in the >> log files. Could you please suggest something. >> >> I have added the details in the gist for your reference: >> https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >> >> The screenshots are also attached for your reference. >> >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> Cell: +91 98304 10041 <+91%2098304%2010041> >> >> On Fri, Jan 13, 2017 at 6:04 PM, Claude wrote: >> >>> Hi Debopam, >>> >>> Thanks for the added details on the gist and congratulations for setting >>> up the server, you are almost there. >>> For Visualizer to be able to load a file, it will need the argument >>> --load-file (it seems to have disappeared in your config launcher). The >>> option --data specifies the directory, so whatever file you want to load, >>> it must be relative to that directory. For example to load the data file >>> C:/my_data/dir/example1/my_file.vti you could do: >>> --data is C:/my_data/dir >>> --load-file is example1/my_file.vti >>> >>> Here is a question for you: do you want to always have the same data >>> loaded by default or to be able to specify it? >>> * If it's always the same, you can directly hardcode it in the launcher >>> config file. Then it will be loaded when you navigate to the paraview URL. >>> * if it's not always the same, you could use the solution on the gist >>> which is specifying it in the URL directly (there are other alternatives of >>> course). In that case, the URL must contain the file to load (otherwise >>> paraview cannot guess it :)). For instance: >>> http://localhost:9000/?data=example1/my_file >>> >>> (The JavaScript code automatically adds the extension .vti, you may >>> change that behavior of course). >>> >>> I'll be posting the detailed changes on your code in the gist comment >>> shortly. >>> >>> Let me know >>> Cheers >>> Claude >>> >>> >>> On Jan 13, 2017, at 5:05 AM, Debopam Ghoshal < >>> debopamg at gmail.com> wrote: >>> >>> Hi Claude, >>> >>> I followed your instructions with some modifications since I was having >>> problems. Finally, I was able to configure the Apache front end with the >>> ParaView Web launcher, and now I can view the index page of the visualizer. >>> However, when I choose any of the sample files, they are not being rendered >>> in the visualizer pane. >>> >>> I have added the details in the gist you created at: >>> >>> https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >>> >>> Would appreciate your thoughts on this. >>> >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> >>> >>> On Thu, Jan 12, 2017 at 5:22 PM, Debopam Ghoshal < >>> debopamg at gmail.com> wrote: >>> >>>> Hi Claude >>>> >>>> Thank you so much for your detailed explanation. The gist has been very >>>> useful. I am working on it at present, and is in the process of smoothening >>>> out a few creases because of the operating system I am using (Windows 10). >>>> >>>> Will let you know once I am able to use paraview web properly. And in >>>> case of any issue, I will bother you once again. >>>> >>>> Hi Seb, >>>> >>>> Thanks for the link. Much appreciated. >>>> >>>> >>>> Cheers & Best Wishes, >>>> Debopam >>>> ------------------------------- >>>> >>>> On Wed, Jan 11, 2017 at 9:48 PM, Sebastien Jourdain < >>>> sebastien.jourdain at kitware.com> wrote: >>>> >>>>> Thanks Claude, >>>>> >>>>> Here is the add-on of what functions can be called on Visualizer. (All >>>>> the function with export) >>>>> >>>>> >>>>> https://github.com/Kitware/visualizer/blob/master/src/app.js >>>>> >>>>> We are planning to add some helper for extracting arguments from the >>>>> URL. We actually add a class in the ParaViewWeb repo, but we haven't got to >>>>> the point of using it and making it available in visualizer. >>>>> >>>>> Seb >>>>> >>>>> On Wed, Jan 11, 2017 at 7:32 AM, claude < >>>>> claude at theweak.link> wrote: >>>>> >>>>>> Hi Debopam, >>>>>> >>>>>> >>>>>> I think there is one thing to consider first before taking care of >>>>>> data being passed through: if you manually start one instance of >>>>>> pvw-visualizer, it means all people connecting to port 8080 will see the >>>>>> same thing and act on the same viewer, which means potentially conflicting >>>>>> with each other action (e.g. a probable disconnection for everyone if one >>>>>> decide to exit maybe?). In that case, you need to have a virtual server >>>>>> that will launch a new process every time someone connect to port 8080. >>>>>> That way, all viewers are independent, the same person can open several >>>>>> viewers, etc. >>>>>> >>>>>> >>>>>> Now regarding the data being loaded at startup: you html index file >>>>>> should have a function grabbing the 'data' parameter from a URL, a form, a >>>>>> dropdown menu, etc. then sending it as a key to the Visualizer application >>>>>> (so that the launcher knows which file to load at startup). >>>>>> >>>>>> It would have been complicated to explain all the details in a email, >>>>>> so I made a gist with all the files and "code" addressing both points >>>>>> (launcher and data): >>>>>> >>>>>> >>>>>> https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >>>>>> >>>>>> Note that this gist was gathered info from the Paraview Web and >>>>>> Visualizer online documentations: kuddos to Paraview people. >>>>>> 2nd note: in that gist I'm giving the instructions for Apache server >>>>>> (you could technically choose any other, e.g. NGinx) for Linux. I see you >>>>>> are on Windows: I don't know how Apache works on Windows but I assume (and >>>>>> hope) the steps and config file should be similar. >>>>>> >>>>>> I hope it helps! Good luck! >>>>>> cheers >>>>>> claude >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On 01/11/2017 04:10 AM, Debopam Ghoshal wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>> We have a requirement where our application will send a request to >>>>>> the paraview web server to render a specific file (which will be available >>>>>> in the data given directory) in the visualizer app, and this will be >>>>>> embedded within our application page as a iframe, whose source is the >>>>>> Visualizer app's index.html. >>>>>> >>>>>> We are using the pvpython.exe executable to start the paraview web >>>>>> server. The command used to start the server is: >>>>>> >>>>>> .\bin\pvpython.exe "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>> -MPI-Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" >>>>>> --content "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>> -MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www" --data >>>>>> "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" --port 8080 >>>>>> >>>>>> >>>>>> From the command, we can see that the web content is being served >>>>>> from the C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\pa >>>>>> raview-5.2\web\visualizer\www directory. The index.html file uses >>>>>> the Visualizer.js script and calls the following functions: >>>>>> >>>>>> Visualizer.connect({ application: 'visualizer' }); >>>>>> Visualizer.autoStopServer(10); >>>>>> >>>>>> Is there any way to find out the available functions in the >>>>>> Visualizer.js script and call them from our custom html file? What we >>>>>> intend to do is to update the index.html file and >>>>>> a. add a javascript function which will accept a filename to be >>>>>> rendered >>>>>> b. once the filename is received by this function, it will call the >>>>>> visualizer and display the specified file >>>>>> c. in the visualizer page, the open files tab should be hidden. >>>>>> >>>>>> Please let me know if you require any clarification. >>>>>> >>>>>> Cheers & Best Wishes, >>>>>> Debopam >>>>>> ------------------------------- >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Powered by www.kitware.com >>>>>> >>>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>>>> >>>>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>>>> >>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>> >>>>>> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview >>>>>> >>>>>> _______________________________________________ Powered by >>>>>> www.kitware.com Visit other Kitware open-source projects at >>>>>> http://www.kitware.com/opensource/opensource.html Please keep >>>>>> messages on-topic and check the ParaView Wiki at: >>>>>> http://paraview.org/Wiki/ParaView Search the list archives at: >>>>>> http://markmail.org/search/?q=ParaView Follow this link to >>>>>> subscribe/unsubscribe: http://public.kitware.com/mail >>>>>> man/listinfo/paraview >>>>> >>>>> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From claude at theweak.link Tue Jan 17 10:52:00 2017 From: claude at theweak.link (claude) Date: Tue, 17 Jan 2017 09:52:00 -0600 Subject: [Paraview] Embedding the Visualizer app in the browser within an iframe In-Reply-To: References: <53b122fc-85c6-bb9a-b0e1-5061e655a04a@theweak.link> <2255E579-482D-46BB-BE9A-BCCAF43C9DE3@theweak.link> Message-ID: <558b4ce4-d37e-01a5-16ac-d0c073135b75@theweak.link> Thank you Sebastien! Good catch. One addition to make sure the path to the file is correct: in the JS of the HTML file in the gist, I specified data as being "data: getUrlParameter('data') + '.vti'". In your case, the extension of the file is .ex2, not vti. So make sure the whole filename is correct, for instance specify the extension in the URL and not in the JS: HTML -> "data: getUrlParameter('data')" URL -> http://paraview/?data=can.ex2 (Otherwise it will look for can.ex2.vti which does not exist) Thanks very much Sebastien! cheers On 01/17/2017 09:13 AM, Sebastien Jourdain wrote: > As you can see the issue is right there: > > "--load-file", "${data_dir}/can.ex2" > > > As explained by Claude earlier in that same thread: > > The option --data specifies the directory, so whatever file you > want to load, it must be relative to that directory. > > > > On Tue, Jan 17, 2017 at 1:38 AM, Debopam Ghoshal > wrote: > > Hi Claude, > > Thanks a lot for your time and patience. As I have configured a > virtual host in apache, I am using the name of the virtual host > (paraview) instead of localhost. So instead of http://localhost, > my url is http://paraview. Please find my response below: > > - a successful POST request to localhost/paraview > > The only log that I saw in the developer console was: Navigated > to: http://paraview/ (Note: I did not give the data because it is > already hardcoded in the launcher.config file) > > - a successful GET request to localhost/proxy > > Nothing else was displayed in the console. I have attached a > snapshot of the network tab (not sure whether it has any relevant > information) > > - then do you get an error such as "can't connect > to ws://localhost..."? > > I get this error only when I specify "sessionURL": > "ws://paraview:80/ws". When I specify "sessionURL": > "ws://paraview:80/proxy?sessionId=${id}&path=ws"then there is no > error. > > Before starting the test today, I deleted all the log file, and > after the test the following are my observations: > > 1. the *error.log* file is empty > 2. the *launcher.log* has some entries, but none of them are errors: > 2017-01-17 13:43:17,786:INFO:twisted:Site starting on 9000 > 2017-01-17 13:43:17,786:INFO:twisted:Starting factory > > 2017-01-17 13:43:53,460:INFO:twisted:"127.0.0.1" - - > [17/Jan/2017:08:13:52 +0000] "POST /paraview/ HTTP/1.1" 200 206 > "http://paraview/" "Mozilla/5.0 (Windows NT 10.0; WOW64) > AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 > Safari/537.36" > 2017-01-17 13:45:01,183:INFO:twisted:Received SIGINT, shutting down. > 2017-01-17 13:45:01,183:INFO:twisted:(TCP Port 9000 Closed) > 2017-01-17 13:45:01,183:INFO:twisted:Stopping factory > > 2017-01-17 13:45:01,183:INFO:twisted:Main loop terminated. > 2017-01-17 13:45:01,183:WARNING:root:Server factory shutting down. > Stopping all processes > > 3. The *session log* file also did not have any errors: > 2017-01-17 13:43:52+0530 [-] Log opened. > 2017-01-17 13:43:52+0530 [-] Site starting on 9999 > 2017-01-17 13:43:52+0530 [-] Starting factory > > 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Client has > reconnected, cancelling reaper > 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] on_connect: > connection count = 1 > 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property > BeginValueCapture has no GetData() method, skipping > 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property > CaptureValuesFloat has no GetData() method, skipping > 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property > CaptureZBuffer has no GetData() method, skipping > 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property > EndValueCapture has no GetData() method, skipping > 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property > StartCaptureLuminance has no GetData() method, skipping > 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property > StopCaptureLuminance has no GetData() method, skipping > > > What is confusing me is that the native rendering panel is coming > up on the desktop, but does not show the image to be rendered. The > same panel is also coming up as part of the Visualizer pane, and > if I move the orientation axis in the browser, then the axes are > also moved in the native window. In the attached snapshot, the > native window is on your left. > > Cheers & Best Wishes, > Debopam > ------------------------------- > Cell: +91 98304 10041 > > On Tue, Jan 17, 2017 at 5:28 AM, claude > wrote: > > Hi Debopam, > > Would you mind trying to connect while the web developer > console is on (for Chrome it's under "Tools > Javascript > console") and copy/pasting the errors (if any). > > Do you see: > > - a successful POST request to localhost/paraview > > - a successful GET request to localhost/proxy > > - then do you get an error such as "can't connect to > ws://localhost..."? > > Also, what do the logs tell you (/path/to/logs/error.log, > /path/to/logs/launcherLog.log and /path/to/logs/.txt > => fetch the last one created)? > > cheers > > claude > > > > On 01/16/2017 03:56 AM, Debopam Ghoshal wrote: >> Hi Claude, >> >> I tried using the filename hard coded in the config json as >> well as the index.html. But I am not able to view the file in >> the Visualizer. >> It is only showing the blank window/pane with no figure. I >> can move the orientation axes, but nothing is being rendered. >> Even when I choose a file from the Files tab, nothing is >> being displayed. >> >> My launcher config has: >> >> ....... >> "properties" : { >> "python_exec" : "C:/paraview/ParaView5.2.0/bin/pvpython.exe", >> "visualizer": >> "C:/paraview/ParaView5.2.0/share/paraview-5.2/web/visualizer/server/pvw-visualizer.py", >> "data_dir": "C:/paraview/ParaView5.2.0/data" >> }, >> "apps": { >> "visualizer": { >> "cmd": [ >> "${python_exec}", "-dr", "${visualizer}", >> "--port", "${port}", "--data", "${data_dir}", "--authKey", >> "${secret}", "--load-file", "${data_dir}/can.ex2" >> ], >> "ready_line" : "Starting factory" >> } >> } >> ...... >> >> >> (You can see that the file name is hard coded) >> >> The launcher.bat script has: >> >> set PV_HOME=C:\paraview\ParaView5.2.0 >> %PV_HOME%\bin\pvpython.exe >> %PV_HOME%\bin\Lib\site-packages\vtk\web\launcher.py >> %PV_HOME%\launcher.config >> >> >> However, I am able to view the file when I launch the >> pvpython.exe script directly using: >> .\bin\pvpython.exe >> "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" >> --content >> "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\visualizer\www" >> --data "C:\paraview\ParaView5.2.0\data" --port 8080 >> >> So, I am guessing I may have mixed up some configuration >> items because of which the display is not coming when I try >> to launch it through the launcher scirpt/config. >> Surprisingly, there are no error messages in the log files. >> Could you please suggest something. >> >> I have added the details in the gist for your >> reference: https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >> >> >> The screenshots are also attached for your reference. >> >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> Cell: +91 98304 10041 >> >> On Fri, Jan 13, 2017 at 6:04 PM, Claude > > wrote: >> >> Hi Debopam, >> >> Thanks for the added details on the gist and >> congratulations for setting up the server, you are almost >> there. >> For Visualizer to be able to load a file, it will need >> the argument --load-file (it seems to have disappeared in >> your config launcher). The option --data specifies the >> directory, so whatever file you want to load, it must be >> relative to that directory. For example to load the data >> file C:/my_data/dir/example1/my_file.vti you could do: >> --data is C:/my_data/dir >> --load-file is example1/my_file.vti >> >> Here is a question for you: do you want to always have >> the same data loaded by default or to be able to specify it? >> * If it's always the same, you can directly hardcode it >> in the launcher config file. Then it will be loaded when >> you navigate to the paraview URL. >> * if it's not always the same, you could use the solution >> on the gist which is specifying it in the URL directly >> (there are other alternatives of course). In that case, >> the URL must contain the file to load (otherwise paraview >> cannot guess it :)). For instance: >> http://localhost:9000/?data=example1/my_file >> >> >> (The JavaScript code automatically adds the extension >> .vti, you may change that behavior of course). >> >> I'll be posting the detailed changes on your code in the >> gist comment shortly. >> >> Let me know >> Cheers >> Claude >> >> >> On Jan 13, 2017, at 5:05 AM, Debopam Ghoshal >> > wrote: >> >>> Hi Claude, >>> >>> I followed your instructions with some modifications >>> since I was having problems. Finally, I was able to >>> configure the Apache front end with the ParaView Web >>> launcher, and now I can view the index page of the >>> visualizer. However, when I choose any of the sample >>> files, they are not being rendered in the visualizer pane. >>> >>> I have added the details in the gist you created >>> at: https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >>> >>> Would appreciate your thoughts on this. >>> >>> >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> >>> >>> On Thu, Jan 12, 2017 at 5:22 PM, Debopam Ghoshal >>> > wrote: >>> >>> Hi Claude >>> >>> Thank you so much for your detailed explanation. The >>> gist has been very useful. I am working on it at >>> present, and is in the process of smoothening out a >>> few creases because of the operating system I am >>> using (Windows 10). >>> >>> Will let you know once I am able to use paraview web >>> properly. And in case of any issue, I will bother >>> you once again. >>> >>> Hi Seb, >>> >>> Thanks for the link. Much appreciated. >>> >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> >>> On Wed, Jan 11, 2017 at 9:48 PM, Sebastien Jourdain >>> >> m> wrote: >>> >>> Thanks Claude, >>> >>> Here is the add-on of what functions can be >>> called on Visualizer. (All the function with export) >>> >>> https://github.com/Kitware/visualizer/blob/master/src/app.js >>> >>> We are planning to add some helper for >>> extracting arguments from the URL. We actually >>> add a class in the ParaViewWeb repo, but we >>> haven't got to the point of using it and making >>> it available in visualizer. >>> >>> Seb >>> >>> On Wed, Jan 11, 2017 at 7:32 AM, claude >>> >> > wrote: >>> >>> Hi Debopam, >>> >>> >>> I think there is one thing to consider first >>> before taking care of data being passed >>> through: if you manually start one instance >>> of pvw-visualizer, it means all people >>> connecting to port 8080 will see the same >>> thing and act on the same viewer, which >>> means potentially conflicting with each >>> other action (e.g. a probable disconnection >>> for everyone if one decide to exit maybe?). >>> In that case, you need to have a virtual >>> server that will launch a new process every >>> time someone connect to port 8080. That way, >>> all viewers are independent, the same person >>> can open several viewers, etc. >>> >>> >>> Now regarding the data being loaded at >>> startup: you html index file should have a >>> function grabbing the 'data' parameter from >>> a URL, a form, a dropdown menu, etc. then >>> sending it as a key to the Visualizer >>> application (so that the launcher knows >>> which file to load at startup). >>> >>> It would have been complicated to explain >>> all the details in a email, so I made a gist >>> with all the files and "code" addressing >>> both points (launcher and data): >>> >>> https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >>> >>> >>> Note that this gist was gathered info from >>> the Paraview Web and Visualizer online >>> documentations: kuddos to Paraview people. >>> 2nd note: in that gist I'm giving the >>> instructions for Apache server (you could >>> technically choose any other, e.g. NGinx) >>> for Linux. I see you are on Windows: I >>> don't know how Apache works on Windows but I >>> assume (and hope) the steps and config file >>> should be similar. >>> >>> I hope it helps! Good luck! >>> cheers >>> claude >>> >>> >>> >>> >>> On 01/11/2017 04:10 AM, Debopam Ghoshal wrote: >>>> Hi, >>>> >>>> We have a requirement where our application >>>> will send a request to the paraview web >>>> server to render a specific file (which >>>> will be available in the data given >>>> directory) in the visualizer app, and this >>>> will be embedded within our application >>>> page as a iframe, whose source is the >>>> Visualizer app's index.html. >>>> >>>> We are using the pvpython.exe executable to >>>> start the paraview web server. The command >>>> used to start the server is: >>>> >>>> .\bin\pvpython.exe >>>> "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" >>>> --content >>>> "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www" >>>> --data >>>> "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" >>>> --port 8080 >>>> >>>> >>>> From the command, we can see that the web >>>> content is being served from >>>> the C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www directory. >>>> The index.html file uses the Visualizer.js >>>> script and calls the following functions: >>>> >>>> Visualizer.connect({ application: >>>> 'visualizer' }); >>>> Visualizer.autoStopServer(10); >>>> >>>> Is there any way to find out the available >>>> functions in the Visualizer.js script and >>>> call them from our custom html file? What >>>> we intend to do is to update the index.html >>>> file and >>>> a. add a javascript function which will >>>> accept a filename to be rendered >>>> b. once the filename is received by this >>>> function, it will call the visualizer and >>>> display the specified file >>>> c. in the visualizer page, the open files >>>> tab should be hidden. >>>> >>>> Please let me know if you require any >>>> clarification. >>>> >>>> Cheers & Best Wishes, >>>> Debopam >>>> ------------------------------- >>>> >>>> >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> Visit other >>>> Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the >>>> ParaView Wiki at: >>>> http://paraview.org/Wiki/ParaView >>>> Search >>>> the list archives at: >>>> http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> Visit other Kitware >>> open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the >>> ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> Search >>> the list archives at: >>> http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben.boeckel at kitware.com Tue Jan 17 11:02:04 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Tue, 17 Jan 2017 11:02:04 -0500 Subject: [Paraview] packing superbuild 5.2 fails on openSUSE due to ldconfig In-Reply-To: <1ab4702b-2bb2-caae-37b7-807bd51fd3c9@fau.de> References: <1ab4702b-2bb2-caae-37b7-807bd51fd3c9@fau.de> Message-ID: <20170117160204.GA2731@megas> On Tue, Jan 17, 2017 at 11:19:40 +0100, Fabian Wein wrote: > ldconfig is on openSUSE and Ubuntu /sbin/ldconfig but sbin in on > openSUSE not in the user path. For me a link in $HOME/bin helped but > maybe using the full path > would work on all unix systems?! I guess we'll go with the full path. PR is making its way to the superbuild via: https://gitlab.kitware.com/paraview/common-superbuild/merge_requests/136 Thanks, --Ben From philippjung2010 at live.de Tue Jan 17 11:52:32 2017 From: philippjung2010 at live.de (philipp jung) Date: Tue, 17 Jan 2017 16:52:32 +0000 Subject: [Paraview] Floating point exception when using "Interpret Values As Categories" Message-ID: Dear Paraview Team, I am currently working on a custom plugin which returns Polydata with an attached UnsignedCharArray as respective categories for all points. I want to map these categories to colors using the "Interpret Values As Categories" feature. When I enable "Interpret Values As Categories" paraview immediately crashes with "Floating point exception (core dumped)" as console output. I tried using the feature with a couple other datasets (netCDF-format) and got the same result. I am using paraview version 5.2.0-RC3-22-g3fca33d 64bit on Ubuntu 16.04. Any indication what might be causing this behavior is much appreciated. Thank you very much. Philipp Jung From roeber at dkrz.de Tue Jan 17 11:58:31 2017 From: roeber at dkrz.de (=?UTF-8?Q?Niklas_R=c3=b6ber?=) Date: Tue, 17 Jan 2017 17:58:31 +0100 Subject: [Paraview] Increase number of slices for volume rendering ... In-Reply-To: <20170117160204.GA2731@megas> References: <1ab4702b-2bb2-caae-37b7-807bd51fd3c9@fau.de> <20170117160204.GA2731@megas> Message-ID: <5a9278ec-3fb5-9d75-db4e-a868631084a5@dkrz.de> Hi, for GPU based volume rendering, is there a way to increase the number of slices to enhance the overall quality of the rendering? If this can not directly be done in the GUI, would it be possible to adjust a scaling factor in the code? Thanks and Cheers, Niklas -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4916 bytes Desc: S/MIME Cryptographic Signature URL: From andy.bauer at kitware.com Tue Jan 17 12:09:08 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Tue, 17 Jan 2017 12:09:08 -0500 Subject: [Paraview] Filter for interactive spreadsheet? In-Reply-To: References: Message-ID: Hi Cornelis, I'm confused a bit. With PV 5.2 when I do Extract Selection with preserve topology on I only get the vtkInsidedness array out from that -- do you also get your other field arrays? I had to use the Append Attributes filter to get all of the arrays back into a single filter output. Also, I don't see an option for "if(1=vtkInsidedness, ...)" in the Calculator filter. Did you get that to work for you and if you did, what was the full expression? Using the Python Calculator I can do something like "numpy.where(vtkInsidedness>0, -RTData, RTData)" to negate values in the RTData array based on the vtkInsidedness array. Note that I had to use the Calculator fitler to create a double type of array from the original signed char vtkInsidedness array. This is because of the error that you noticed which is that we don't have a way to create a numpy array from a signed char array and thus the Python Calculator fails. To answer your question on how to speed up this process, you can try doing a Python trace and saving that as a Macro button or maybe create a custom filter that combines all of those filters. Details on both of those should be in the ParaView Users Guide. Best, Andy On Tue, Jan 17, 2017 at 5:12 AM, Cornelis Bockem?hl < cornelis.bockemuehl at gmail.com> wrote: > Once again: I just see that I received more information than just the > assertion error: > > "" > > Traceback (most recent call last): > > File "", line 4, in > > File "D:\Users\cbockenm\Documents\BTest\ParaView\OwnBinaries\ParaView > 5.1.2\lib\site-packages\paraview\calculator.py", line 122, in execute > > variables = get_arrays(inputs[0].GetAttributes(self. > GetArrayAssociation())) > > File "D:\Users\cbockenm\Documents\BTest\ParaView\OwnBinaries\ParaView > 5.1.2\lib\site-packages\paraview\calculator.py", line 34, in get_arrays > > arrays[varname] = attribs[key] > > File "D:\Users\cbockenm\Documents\BTest\ParaView\OwnBinaries\ParaView > 5.1.2\lib\site-packages\paraview\vtk\numpy_interface\dataset_adapter.py", > line 587, in __getitem__ > > return self.GetArray(idx) > > File "D:\Users\cbockenm\Documents\BTest\ParaView\OwnBinaries\ParaView > 5.1.2\lib\site-packages\paraview\vtk\numpy_interface\dataset_adapter.py", > line 599, in GetArray > > array = vtkDataArrayToVTKArray(vtkarray, self.DataSet) > > File "D:\Users\cbockenm\Documents\BTest\ParaView\OwnBinaries\ParaView > 5.1.2\lib\site-packages\paraview\vtk\numpy_interface\dataset_adapter.py", > line 138, in vtkDataArrayToVTKArray > > narray = numpy_support.vtk_to_numpy(array) > > File "D:\Users\cbockenm\Documents\BTest\ParaView\OwnBinaries\ParaView > 5.1.2\lib\site-packages\vtk\util\numpy_support.py", line 214, in > vtk_to_numpy > > "Unsupported array type %s"%typ > > AssertionError: Unsupported array type 15 > > > "" > > It does not help me a lot, but maybe it indicates to somebody else what > might be the problem!? > > Regards, > Cornelis > > > 2017-01-17 11:08 GMT+01:00 Cornelis Bockem?hl < > cornelis.bockemuehl at gmail.com>: > >> Thanks again Andy! >> >> I really appreciate your hints: It has already pointed me into a good >> direction! >> >> Actually what I tried for my purpose was: >> >> 1. do a selection, apply the "extract selection" filter, with the "keep >> topology" option on. With this I am getting just one additional column - >> "vtkInsidedness" - and this tells me whether in the initial data (actually >> cells of an "unstructured grid") an item was selected (value 1) or not >> (value -1). >> >> 2. on top of this I applied the "calculator" filter like you suggested, >> and with just an if(1=vtkInsidedness, ...) I could get exactly what I >> wanted! >> >> Bottom line: these two filters are actually my friends for the purpose! >> >> Only two things I am still struggling: >> >> 1. if I want this procedure to be a bit more simple I should maybe still >> write some kind of "wrapper filter" that does the above steps for me just >> in one. Like derive one filter from the calculator, including the nice >> calculator panel on the left, and just automatically do the "extract >> selection" before applying the calculator >> >> 2. with the "python calculator" I was not successful, and I wonder why!? >> Because if I applied that python calculator to my original "unstructured >> grid" data set everything worked fine (so it is not about missing python >> support!), but if I did the procedure as above, applying the "python >> calculator" on the extracted data, I always got a message: "AssertionError: >> Unsupported array type 15". This was independent on what was the expression >> I tried to apply, even if it was just a constant value! Looking into the >> source code it looks indeed like a mistake if some column has "type 15": I >> found only about 10 type definitions at all... >> >> Regards, >> Cornelis >> >> 2017-01-17 10:51 GMT+01:00 Andy Bauer : >> >>> Hi Cornelis, >>> >>> How would you like to select the single or group of values to change? >>> Also, how would you like to change them (e.g. the same transformation for >>> each or each with its own transformation)? These two questions are meant to >>> guide you to do what you want in ParaView. >>> >>> You probably want to look at the Python Programmable Filter ( >>> http://www.paraview.org/Wiki/Python_Programmable_Filter) for changing >>> individual array values. If you are working in serial you may also be able >>> to bring in the entities to change based on a selection. A better solution >>> would be to use the global ids filter, then do a selection on what you want >>> and finally pass that in as a secondary input to the Python Programmable >>> filter. >>> >>> Developing your own filter is also a possibility. >>> >>> cheers, >>> Andy >>> >>> On Tue, Jan 17, 2017 at 1:38 AM, Cornelis Bockem?hl < >>> cornelis.bockemuehl at gmail.com> wrote: >>> >>>> Dear Andy, >>>> >>>> Thanks for this hint: Indeed I was not fully aware of the way how you >>>> can easily add new calculated columns with these two filters! What they do >>>> is some kind of "vector math", resulting in a new vector that is appended >>>> to the input data set. >>>> >>>> However my question went in the direction of directly editing single >>>> values, or groups of values. >>>> >>>> Example: Assume that we have a data array "Density" in some data set, >>>> then I want to be able to directly change the "density" value for just a >>>> few cells, or even better: for a selected set of data rows. >>>> >>>> Because: If such a thing does not exist yet I would consider trying to >>>> write it myself - but I do not insist on reinventing any wheel! And I am >>>> sometimes astonished how many "wheels" already exist in the ParaView >>>> "world"... >>>> >>>> Regards, >>>> Cornelis >>>> >>>> PS: Why do I never see my own posts to the paraview mailing list? Is >>>> this a bug or a feature or something I am doing wrong? >>>> >>>> 2017-01-17 0:57 GMT+01:00 Andy Bauer : >>>> >>>>> This can be done through either the calculator or python calculator >>>>> filter. If you're in the spreadsheet view it should switch over to the >>>>> calculator/python calculator output when the filter is applied. >>>>> >>>>> On Mon, Jan 16, 2017 at 5:14 PM, Cornelis Bockem?hl < >>>>> cornelis.bockemuehl at gmail.com> wrote: >>>>> >>>>>> Has somebody already written and contributed a filter that allows >>>>>> some simple "spreadsheet like" user manipulation of the data? >>>>>> >>>>>> I mean something that accepts some data input, then allows user >>>>>> changes, and the output would be the changed data set. >>>>>> >>>>>> Regards, >>>>>> Cornelis >>>>>> >>>>>> -- >>>>>> Cornelis Bockem?hl >>>>>> Basel, Schweiz >>>>>> >>>>>> _______________________________________________ >>>>>> Powered by www.kitware.com >>>>>> >>>>>> Visit other Kitware open-source projects at >>>>>> http://www.kitware.com/opensource/opensource.html >>>>>> >>>>>> Please keep messages on-topic and check the ParaView Wiki at: >>>>>> http://paraview.org/Wiki/ParaView >>>>>> >>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>> >>>>>> Follow this link to subscribe/unsubscribe: >>>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>>> >>>>>> >>>>> >>>> >>>> >>>> -- >>>> Cornelis Bockem?hl >>>> Basel, Schweiz >>>> >>> >>> >> >> >> -- >> Cornelis Bockem?hl >> Basel, Schweiz >> > > > > -- > Cornelis Bockem?hl > Basel, Schweiz > -------------- next part -------------- An HTML attachment was scrubbed... URL: From yousefi at g.clemson.edu Tue Jan 17 13:33:07 2017 From: yousefi at g.clemson.edu (Mehrdad Yousefi) Date: Tue, 17 Jan 2017 13:33:07 -0500 Subject: [Paraview] vtkSocketCommunicator (0x9be6300): Could not receive tag. 1 In-Reply-To: References: Message-ID: Hi Mathieu, Yes I tried the binary version on my server but same result. Now I compiled ParaView 5.2 from source on my local machine exactly as the same of my server and when I opened my file, I got these error on the client and server sides respectively: -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- client side: yousefi at ariel:~$ paraview ERROR: In /root/ParaView-v5.2.0/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx, line 375 vtkSISourceProxy (0xb531f90): Failed to create 'vtkPolarAxesRepresentation'. This typically means that ParaView does not know about the request class to create an instance of if. Ensure that it has been correctly wrapped using the client-server wrappers and the wrapping has been initialized. Note class names are case-sensitive. Check for typos. Aborting for debugging purposes. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server side: [yousefi at node0342 ~]$ mpirun -np 16 ./ParaView-build/bin/pvserver --server-port=11111 Waiting for client... Connection URL: cs://node0342:11111 Accepting connection(s): node0342:11111 Client connected. Exiting... ERROR: In /home/yousefi/ParaView/VTK/Parallel/Core/vtkSocketCommunicator.cxx, line 809 vtkSocketCommunicator (0xa33ad00): Could not receive tag. 1 Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... Exiting... -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- So do you have any idea? Or any suggestion?! Best, Mehrdad Yousefi PhD Candidate Department of Materials Science and Engineering Clemson University On Tue, Jan 17, 2017 at 4:43 AM, Mathieu Westphal < mathieu.westphal at kitware.com> wrote: > Sorry, I meant to say, can you try with a binary version on your server ? > > Regards > > Le 14 janv. 2017 11:09 PM, "Mehrdad Yousefi" a > ?crit : > >> Dear Mathieu >> >> Yes it fails with all files. Yes I downloaded the source of paraview from >> official website and also as I said before I cannot compile paraview from >> source on my local machine (that's a another story of unknown errors!), so >> I run only binary version of Paraview on my computer which I downloaded >> from official website. >> >> Best, >> >> Mehrdad >> >> On Sat, Jan 14, 2017 at 4:39 PM Mathieu Westphal < >> mathieu.westphal at kitware.com> wrote: >> >>> Hi >>> >>> Does it fails with all files ? >>> Do you download the sources from paraview website ? >>> Can you try with the binary version of ParaView on your computer ? >>> >>> Regards, >>> >>> Mathieu Westphal >>> >>> >>> >>> On Fri, Jan 13, 2017 at 9:22 PM, Mehrdad Yousefi >>> wrote: >>> >>> Hi, >>> >>> I compiled ParaView 5.2 on our cluster from source and also have a >>> binary package of ParaView 5.2 on my local machine. I can connect >>> server/client successfully but when I try to open a file I get this error: >>> >>> [yousefi at node2010 ~]$ mpirun -np 24 ./ParaView-build/bin/pvserver >>> -display localhost:11111 >>> Waiting for client... >>> Connection URL: cs://node2010:11111 >>> Accepting connection(s): node2010:11111 >>> Client connected. >>> ERROR: In /home/yousefi/ParaView/VTK/Parallel/Core/vtkSocketCommunicator.cxx, >>> line 809 >>> vtkSocketCommunicator (0x9be6300): Could not receive tag. 1 >>> >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> Exiting... >>> >>> So this error is very strange. Anyone can help me?! >>> >>> Mehrdad Yousefi >>> PhD Candidate >>> Department of Materials Science and Engineering >>> Clemson University >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> >>> >>> Powered by www.kitware.com >>> >>> >>> >>> >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> >>> >>> >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> >>> >>> >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> >>> >>> >>> >>> Follow this link to subscribe/unsubscribe: >>> >>> >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >>> >>> >>> >>> >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Tue Jan 17 13:37:43 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 17 Jan 2017 13:37:43 -0500 Subject: [Paraview] vtkSocketCommunicator (0x9be6300): Could not receive tag. 1 In-Reply-To: References: Message-ID: Hi Mehrdad, If you are compiling the ParaView git repository, please make sure that you run 'git submodule udpate --init' in the git repository to ensure that VTK is up to date on both the client and server. Not doing this has been responsible for this kind of error in a number of cases in the past. HTH, Cory On Tue, Jan 17, 2017 at 1:33 PM, Mehrdad Yousefi wrote: > Hi Mathieu, > Yes I tried the binary version on my server but same result. Now I compiled > ParaView 5.2 from source on my local machine exactly as the same of my > server and when I opened my file, I got these error on the client and server > sides respectively: > > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > client side: > > yousefi at ariel:~$ paraview > ERROR: In > /root/ParaView-v5.2.0/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx, > line 375 > vtkSISourceProxy (0xb531f90): Failed to create 'vtkPolarAxesRepresentation'. > This typically means that ParaView does not know about the request class to > create an instance of if. Ensure that it has been correctly wrapped using > the client-server wrappers and the wrapping has been initialized. Note class > names are case-sensitive. Check for typos. Aborting for debugging purposes. > > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > server side: > > [yousefi at node0342 ~]$ mpirun -np 16 ./ParaView-build/bin/pvserver > --server-port=11111 > Waiting for client... > Connection URL: cs://node0342:11111 > Accepting connection(s): node0342:11111 > Client connected. > Exiting... > ERROR: In > /home/yousefi/ParaView/VTK/Parallel/Core/vtkSocketCommunicator.cxx, line 809 > vtkSocketCommunicator (0xa33ad00): Could not receive tag. 1 > > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > Exiting... > > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > So do you have any idea? Or any suggestion?! > > Best, > > Mehrdad Yousefi > PhD Candidate > Department of Materials Science and Engineering > Clemson University > > > On Tue, Jan 17, 2017 at 4:43 AM, Mathieu Westphal > wrote: >> >> Sorry, I meant to say, can you try with a binary version on your server ? >> >> Regards >> >> Le 14 janv. 2017 11:09 PM, "Mehrdad Yousefi" a >> ?crit : >>> >>> Dear Mathieu >>> >>> Yes it fails with all files. Yes I downloaded the source of paraview from >>> official website and also as I said before I cannot compile paraview from >>> source on my local machine (that's a another story of unknown errors!), so I >>> run only binary version of Paraview on my computer which I downloaded from >>> official website. >>> >>> Best, >>> >>> Mehrdad >>> >>> On Sat, Jan 14, 2017 at 4:39 PM Mathieu Westphal >>> wrote: >>>> >>>> Hi >>>> >>>> Does it fails with all files ? >>>> Do you download the sources from paraview website ? >>>> Can you try with the binary version of ParaView on your computer ? >>>> >>>> Regards, >>>> >>>> Mathieu Westphal >>>> >>>> >>>> >>>> On Fri, Jan 13, 2017 at 9:22 PM, Mehrdad Yousefi >>>> wrote: >>>>> >>>>> Hi, >>>>> >>>>> I compiled ParaView 5.2 on our cluster from source and also have a >>>>> binary package of ParaView 5.2 on my local machine. I can connect >>>>> server/client successfully but when I try to open a file I get this error: >>>>> >>>>> [yousefi at node2010 ~]$ mpirun -np 24 ./ParaView-build/bin/pvserver >>>>> -display localhost:11111 >>>>> Waiting for client... >>>>> Connection URL: cs://node2010:11111 >>>>> Accepting connection(s): node2010:11111 >>>>> Client connected. >>>>> ERROR: In >>>>> /home/yousefi/ParaView/VTK/Parallel/Core/vtkSocketCommunicator.cxx, line 809 >>>>> vtkSocketCommunicator (0x9be6300): Could not receive tag. 1 >>>>> >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> Exiting... >>>>> >>>>> So this error is very strange. Anyone can help me?! >>>>> >>>>> Mehrdad Yousefi >>>>> PhD Candidate >>>>> Department of Materials Science and Engineering >>>>> Clemson University >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> >>>>> >>>>> Powered by www.kitware.com >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Visit other Kitware open-source projects at >>>>> http://www.kitware.com/opensource/opensource.html >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Please keep messages on-topic and check the ParaView Wiki at: >>>>> http://paraview.org/Wiki/ParaView >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> >>>>> >>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>> >>>>> >>>>> >>>> >>>> >>>> > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From yousefi at g.clemson.edu Tue Jan 17 13:40:54 2017 From: yousefi at g.clemson.edu (Mehrdad Yousefi) Date: Tue, 17 Jan 2017 18:40:54 +0000 Subject: [Paraview] vtkSocketCommunicator (0x9be6300): Could not receive tag. 1 In-Reply-To: References: Message-ID: Dear Cory, Yes, exactly I know your point and I'm sure that I compiled VTK 7.1 with ParaView 5.2 from the source and I do not use the global VTK which is installed on my machine. So there should be another cause for these strange errors! Best, Mehrdad On Tue, Jan 17, 2017 at 1:37 PM Cory Quammen wrote: > Hi Mehrdad, > > > > If you are compiling the ParaView git repository, please make sure > > that you run 'git submodule udpate --init' in the git repository to > > ensure that VTK is up to date on both the client and server. Not doing > > this has been responsible for this kind of error in a number of cases > > in the past. > > > > HTH, > > Cory > > > > On Tue, Jan 17, 2017 at 1:33 PM, Mehrdad Yousefi > wrote: > > > Hi Mathieu, > > > Yes I tried the binary version on my server but same result. Now I > compiled > > > ParaView 5.2 from source on my local machine exactly as the same of my > > > server and when I opened my file, I got these error on the client and > server > > > sides respectively: > > > > > > > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > > > > > client side: > > > > > > yousefi at ariel:~$ paraview > > > ERROR: In > > > > /root/ParaView-v5.2.0/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx, > > > line 375 > > > vtkSISourceProxy (0xb531f90): Failed to create > 'vtkPolarAxesRepresentation'. > > > This typically means that ParaView does not know about the request class > to > > > create an instance of if. Ensure that it has been correctly wrapped using > > > the client-server wrappers and the wrapping has been initialized. Note > class > > > names are case-sensitive. Check for typos. Aborting for debugging > purposes. > > > > > > > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > > > > > server side: > > > > > > [yousefi at node0342 ~]$ mpirun -np 16 ./ParaView-build/bin/pvserver > > > --server-port=11111 > > > Waiting for client... > > > Connection URL: cs://node0342:11111 > > > Accepting connection(s): node0342:11111 > > > Client connected. > > > Exiting... > > > ERROR: In > > > /home/yousefi/ParaView/VTK/Parallel/Core/vtkSocketCommunicator.cxx, line > 809 > > > vtkSocketCommunicator (0xa33ad00): Could not receive tag. 1 > > > > > > Exiting... > > > Exiting... > > > Exiting... > > > Exiting... > > > Exiting... > > > Exiting... > > > Exiting... > > > Exiting... > > > Exiting... > > > Exiting... > > > Exiting... > > > Exiting... > > > Exiting... > > > Exiting... > > > Exiting... > > > > > > > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > > > > > So do you have any idea? Or any suggestion?! > > > > > > Best, > > > > > > Mehrdad Yousefi > > > PhD Candidate > > > Department of Materials Science and Engineering > > > Clemson University > > > > > > > > > On Tue, Jan 17, 2017 at 4:43 AM, Mathieu Westphal > > > wrote: > > >> > > >> Sorry, I meant to say, can you try with a binary version on your server > ? > > >> > > >> Regards > > >> > > >> Le 14 janv. 2017 11:09 PM, "Mehrdad Yousefi" a > > >> ?crit : > > >>> > > >>> Dear Mathieu > > >>> > > >>> Yes it fails with all files. Yes I downloaded the source of paraview > from > > >>> official website and also as I said before I cannot compile paraview > from > > >>> source on my local machine (that's a another story of unknown > errors!), so I > > >>> run only binary version of Paraview on my computer which I downloaded > from > > >>> official website. > > >>> > > >>> Best, > > >>> > > >>> Mehrdad > > >>> > > >>> On Sat, Jan 14, 2017 at 4:39 PM Mathieu Westphal > > >>> wrote: > > >>>> > > >>>> Hi > > >>>> > > >>>> Does it fails with all files ? > > >>>> Do you download the sources from paraview website ? > > >>>> Can you try with the binary version of ParaView on your computer ? > > >>>> > > >>>> Regards, > > >>>> > > >>>> Mathieu Westphal > > >>>> > > >>>> > > >>>> > > >>>> On Fri, Jan 13, 2017 at 9:22 PM, Mehrdad Yousefi < > yousefi at g.clemson.edu> > > >>>> wrote: > > >>>>> > > >>>>> Hi, > > >>>>> > > >>>>> I compiled ParaView 5.2 on our cluster from source and also have a > > >>>>> binary package of ParaView 5.2 on my local machine. I can connect > > >>>>> server/client successfully but when I try to open a file I get this > error: > > >>>>> > > >>>>> [yousefi at node2010 ~]$ mpirun -np 24 ./ParaView-build/bin/pvserver > > >>>>> -display localhost:11111 > > >>>>> Waiting for client... > > >>>>> Connection URL: cs://node2010:11111 > > >>>>> Accepting connection(s): node2010:11111 > > >>>>> Client connected. > > >>>>> ERROR: In > > >>>>> /home/yousefi/ParaView/VTK/Parallel/Core/vtkSocketCommunicator.cxx, > line 809 > > >>>>> vtkSocketCommunicator (0x9be6300): Could not receive tag. 1 > > >>>>> > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> Exiting... > > >>>>> > > >>>>> So this error is very strange. Anyone can help me?! > > >>>>> > > >>>>> Mehrdad Yousefi > > >>>>> PhD Candidate > > >>>>> Department of Materials Science and Engineering > > >>>>> Clemson University > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> _______________________________________________ > > >>>>> > > >>>>> > > >>>>> Powered by www.kitware.com > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> Visit other Kitware open-source projects at > > >>>>> http://www.kitware.com/opensource/opensource.html > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> Please keep messages on-topic and check the ParaView Wiki at: > > >>>>> http://paraview.org/Wiki/ParaView > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> Search the list archives at: http://markmail.org/search/?q=ParaView > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> Follow this link to subscribe/unsubscribe: > > >>>>> > > >>>>> > > >>>>> http://public.kitware.com/mailman/listinfo/paraview > > >>>>> > > >>>>> > > >>>>> > > >>>> > > >>>> > > >>>> > > > > > > > > > _______________________________________________ > > > Powered by www.kitware.com > > > > > > Visit other Kitware open-source projects at > > > http://www.kitware.com/opensource/opensource.html > > > > > > Please keep messages on-topic and check the ParaView Wiki at: > > > http://paraview.org/Wiki/ParaView > > > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > > > Follow this link to subscribe/unsubscribe: > > > http://public.kitware.com/mailman/listinfo/paraview > > > > > > > > > > > -- > > Cory Quammen > > Staff R&D Engineer > > Kitware, Inc. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Tue Jan 17 14:13:31 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 17 Jan 2017 12:13:31 -0700 Subject: [Paraview] Embedding the Visualizer app in the browser within an iframe In-Reply-To: <558b4ce4-d37e-01a5-16ac-d0c073135b75@theweak.link> References: <53b122fc-85c6-bb9a-b0e1-5061e655a04a@theweak.link> <2255E579-482D-46BB-BE9A-BCCAF43C9DE3@theweak.link> <558b4ce4-d37e-01a5-16ac-d0c073135b75@theweak.link> Message-ID: No worries. Thanks Claude for your help on the mailing list... ;-) On Tue, Jan 17, 2017 at 8:52 AM, claude wrote: > Thank you Sebastien! Good catch. > > One addition to make sure the path to the file is correct: in the JS of > the HTML file in the gist, I specified data as being "data: > getUrlParameter('data') + '.vti'". In your case, the extension of the > file is .ex2, not vti. So make sure the whole filename is correct, for > instance specify the extension in the URL and not in the JS: > > HTML -> "data: getUrlParameter('data')" > > URL -> http://paraview/?data=can.ex2 > > (Otherwise it will look for can.ex2.vti which does not exist) > > Thanks very much Sebastien! > > cheers > > On 01/17/2017 09:13 AM, Sebastien Jourdain wrote: > > As you can see the issue is right there: > > "--load-file", "${data_dir}/can.ex2" > > > As explained by Claude earlier in that same thread: > > The option --data specifies the directory, so whatever file you want to >> load, it must be relative to that directory. > > > > On Tue, Jan 17, 2017 at 1:38 AM, Debopam Ghoshal > wrote: > >> Hi Claude, >> >> Thanks a lot for your time and patience. As I have configured a virtual >> host in apache, I am using the name of the virtual host (paraview) instead >> of localhost. So instead of http://localhost, my url >> is http://paraview. Please find my response below: >> >> - a successful POST request to localhost/paraview >> >> The only log that I saw in the developer console was: Navigated to: >> http://paraview/ (Note: I did not give the data >> because it is already hardcoded in the launcher.config file) >> >> - a successful GET request to localhost/proxy >> >> Nothing else was displayed in the console. I have attached a snapshot of >> the network tab (not sure whether it has any relevant information) >> >> - then do you get an error such as "can't connect to ws://localhost..."? >> >> I get this error only when I specify "sessionURL" : "ws://paraview:80/ws". >> When I specify "sessionURL" : "ws://paraview:80/proxy?sessio >> nId=${id}&path=ws" then there is no error. >> Before starting the test today, I deleted all the log file, and after the >> test the following are my observations: >> >> 1. the *error.log* file is empty >> 2. the *launcher.log* has some entries, but none of them are errors: >> 2017-01-17 13:43:17,786:INFO:twisted:Site starting on 9000 >> 2017-01-17 13:43:17,786:INFO:twisted:Starting factory >> >> 2017-01-17 13:43:53,460:INFO:twisted:"127.0.0.1" - - >> [17/Jan/2017:08:13:52 +0000] "POST /paraview/ HTTP/1.1" 200 206 " >> http://paraview/" "Mozilla/5.0 (Windows NT 10.0; WOW64) >> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36" >> 2017-01-17 13:45:01,183:INFO:twisted:Received SIGINT, shutting down. >> 2017-01-17 13:45:01,183:INFO:twisted:(TCP Port 9000 Closed) >> 2017-01-17 13:45:01,183:INFO:twisted:Stopping factory >> >> 2017-01-17 13:45:01,183:INFO:twisted:Main loop terminated. >> 2017-01-17 13:45:01,183:WARNING:root:Server factory shutting down. >> Stopping all processes >> >> 3. The *session log* file also did not have any errors: >> 2017-01-17 13:43:52+0530 [-] Log opened. >> 2017-01-17 13:43:52+0530 [-] Site starting on 9999 >> 2017-01-17 13:43:52+0530 [-] Starting factory > instance at 0x000001C32C76BF08> >> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Client has >> reconnected, cancelling reaper >> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] on_connect: connection >> count = 1 >> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >> BeginValueCapture has no GetData() method, skipping >> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >> CaptureValuesFloat has no GetData() method, skipping >> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >> CaptureZBuffer has no GetData() method, skipping >> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >> EndValueCapture has no GetData() method, skipping >> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >> StartCaptureLuminance has no GetData() method, skipping >> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >> StopCaptureLuminance has no GetData() method, skipping >> >> >> What is confusing me is that the native rendering panel is coming up on >> the desktop, but does not show the image to be rendered. The same panel is >> also coming up as part of the Visualizer pane, and if I move the >> orientation axis in the browser, then the axes are also moved in the native >> window. In the attached snapshot, the native window is on your left. >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> Cell: +91 98304 10041 <+91%2098304%2010041> >> >> On Tue, Jan 17, 2017 at 5:28 AM, claude < >> claude at theweak.link> wrote: >> >>> Hi Debopam, >>> >>> Would you mind trying to connect while the web developer console is on >>> (for Chrome it's under "Tools > Javascript console") and copy/pasting the >>> errors (if any). >>> >>> Do you see: >>> >>> - a successful POST request to localhost/paraview >>> >>> - a successful GET request to localhost/proxy >>> >>> - then do you get an error such as "can't connect to ws://localhost..."? >>> >>> Also, what do the logs tell you (/path/to/logs/error.log, >>> /path/to/logs/launcherLog.log and /path/to/logs/.txt => fetch the >>> last one created)? >>> >>> cheers >>> >>> claude >>> >>> >>> On 01/16/2017 03:56 AM, Debopam Ghoshal wrote: >>> >>> Hi Claude, >>> >>> I tried using the filename hard coded in the config json as well as the >>> index.html. But I am not able to view the file in the Visualizer. >>> It is only showing the blank window/pane with no figure. I can move the >>> orientation axes, but nothing is being rendered. Even when I choose a file >>> from the Files tab, nothing is being displayed. >>> >>> My launcher config has: >>> >>> ....... >>> "properties" : { >>> "python_exec" : "C:/paraview/ParaView5.2.0/bin/pvpython.exe", >>> "visualizer": "C:/paraview/ParaView5.2.0/sha >>> re/paraview-5.2/web/visualizer/server/pvw-visualizer.py", >>> "data_dir": "C:/paraview/ParaView5.2.0/data" >>> }, >>> "apps": { >>> "visualizer": { >>> "cmd": [ >>> "${python_exec}", "-dr", "${visualizer}", "--port", >>> "${port}", "--data", "${data_dir}", "--authKey", "${secret}", >>> "--load-file", "${data_dir}/can.ex2" >>> ], >>> "ready_line" : "Starting factory" >>> } >>> } >>> ...... >>> >>> >>> (You can see that the file name is hard coded) >>> >>> The launcher.bat script has: >>> >>> set PV_HOME=C:\paraview\ParaView5.2.0 >>> %PV_HOME%\bin\pvpython.exe %PV_HOME%\bin\Lib\site-packages\vtk\web\launcher.py >>> %PV_HOME%\launcher.config >>> >>> >>> However, I am able to view the file when I launch the pvpython.exe >>> script directly using: >>> .\bin\pvpython.exe "C:\paraview\ParaView5.2.0\sha >>> re\paraview-5.2\web\visualizer\server\pvw-visualizer.py" --content >>> "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\visualizer\www" >>> --data "C:\paraview\ParaView5.2.0\data" --port 8080 >>> >>> So, I am guessing I may have mixed up some configuration items because >>> of which the display is not coming when I try to launch it through the >>> launcher scirpt/config. Surprisingly, there are no error messages in the >>> log files. Could you please suggest something. >>> >>> I have added the details in the gist for your reference: >>> >>> https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >>> >>> The screenshots are also attached for your reference. >>> >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> Cell: +91 98304 10041 <+91%2098304%2010041> >>> >>> On Fri, Jan 13, 2017 at 6:04 PM, Claude < >>> claude at theweak.link> wrote: >>> >>>> Hi Debopam, >>>> >>>> Thanks for the added details on the gist and congratulations for >>>> setting up the server, you are almost there. >>>> For Visualizer to be able to load a file, it will need the argument >>>> --load-file (it seems to have disappeared in your config launcher). The >>>> option --data specifies the directory, so whatever file you want to load, >>>> it must be relative to that directory. For example to load the data file >>>> C:/my_data/dir/example1/my_file.vti you could do: >>>> --data is C:/my_data/dir >>>> --load-file is example1/my_file.vti >>>> >>>> Here is a question for you: do you want to always have the same data >>>> loaded by default or to be able to specify it? >>>> * If it's always the same, you can directly hardcode it in the launcher >>>> config file. Then it will be loaded when you navigate to the paraview URL. >>>> * if it's not always the same, you could use the solution on the gist >>>> which is specifying it in the URL directly (there are other alternatives of >>>> course). In that case, the URL must contain the file to load (otherwise >>>> paraview cannot guess it :)). For instance: >>>> http://localhost:9000/?data=example1/my_file >>>> >>>> (The JavaScript code automatically adds the extension .vti, you may >>>> change that behavior of course). >>>> >>>> I'll be posting the detailed changes on your code in the gist comment >>>> shortly. >>>> >>>> Let me know >>>> Cheers >>>> Claude >>>> >>>> >>>> On Jan 13, 2017, at 5:05 AM, Debopam Ghoshal < >>>> debopamg at gmail.com> wrote: >>>> >>>> Hi Claude, >>>> >>>> I followed your instructions with some modifications since I was having >>>> problems. Finally, I was able to configure the Apache front end with the >>>> ParaView Web launcher, and now I can view the index page of the visualizer. >>>> However, when I choose any of the sample files, they are not being rendered >>>> in the visualizer pane. >>>> >>>> I have added the details in the gist you created at: >>>> https://gist.github.com/cl >>>> avicule/7b8b3963ceb17302cff725f8dc36bc57 >>>> >>>> Would appreciate your thoughts on this. >>>> >>>> >>>> Cheers & Best Wishes, >>>> Debopam >>>> ------------------------------- >>>> >>>> >>>> On Thu, Jan 12, 2017 at 5:22 PM, Debopam Ghoshal < >>>> debopamg at gmail.com> wrote: >>>> >>>>> Hi Claude >>>>> >>>>> Thank you so much for your detailed explanation. The gist has been >>>>> very useful. I am working on it at present, and is in the process of >>>>> smoothening out a few creases because of the operating system I am using >>>>> (Windows 10). >>>>> >>>>> Will let you know once I am able to use paraview web properly. And in >>>>> case of any issue, I will bother you once again. >>>>> >>>>> Hi Seb, >>>>> >>>>> Thanks for the link. Much appreciated. >>>>> >>>>> >>>>> Cheers & Best Wishes, >>>>> Debopam >>>>> ------------------------------- >>>>> >>>>> On Wed, Jan 11, 2017 at 9:48 PM, Sebastien Jourdain < >>>>> sebastien.jourdain at kitware.com> wrote: >>>>> >>>>>> Thanks Claude, >>>>>> >>>>>> Here is the add-on of what functions can be called on Visualizer. >>>>>> (All the function with export) >>>>>> >>>>>> https://github.com/Kitware/vis >>>>>> ualizer/blob/master/src/app.js >>>>>> >>>>>> We are planning to add some helper for extracting arguments from the >>>>>> URL. We actually add a class in the ParaViewWeb repo, but we haven't got to >>>>>> the point of using it and making it available in visualizer. >>>>>> >>>>>> Seb >>>>>> >>>>>> On Wed, Jan 11, 2017 at 7:32 AM, claude < >>>>>> claude at theweak.link> wrote: >>>>>> >>>>>>> Hi Debopam, >>>>>>> >>>>>>> >>>>>>> I think there is one thing to consider first before taking care of >>>>>>> data being passed through: if you manually start one instance of >>>>>>> pvw-visualizer, it means all people connecting to port 8080 will see the >>>>>>> same thing and act on the same viewer, which means potentially conflicting >>>>>>> with each other action (e.g. a probable disconnection for everyone if one >>>>>>> decide to exit maybe?). In that case, you need to have a virtual server >>>>>>> that will launch a new process every time someone connect to port 8080. >>>>>>> That way, all viewers are independent, the same person can open several >>>>>>> viewers, etc. >>>>>>> >>>>>>> >>>>>>> Now regarding the data being loaded at startup: you html index file >>>>>>> should have a function grabbing the 'data' parameter from a URL, a form, a >>>>>>> dropdown menu, etc. then sending it as a key to the Visualizer application >>>>>>> (so that the launcher knows which file to load at startup). >>>>>>> >>>>>>> It would have been complicated to explain all the details in a >>>>>>> email, so I made a gist with all the files and "code" addressing both >>>>>>> points (launcher and data): >>>>>>> >>>>>>> https://gist.github.com/clavic >>>>>>> ule/7b8b3963ceb17302cff725f8dc36bc57 >>>>>>> >>>>>>> Note that this gist was gathered info from the Paraview Web and >>>>>>> Visualizer online documentations: kuddos to Paraview people. >>>>>>> 2nd note: in that gist I'm giving the instructions for Apache server >>>>>>> (you could technically choose any other, e.g. NGinx) for Linux. I see you >>>>>>> are on Windows: I don't know how Apache works on Windows but I assume (and >>>>>>> hope) the steps and config file should be similar. >>>>>>> >>>>>>> I hope it helps! Good luck! >>>>>>> cheers >>>>>>> claude >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On 01/11/2017 04:10 AM, Debopam Ghoshal wrote: >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> We have a requirement where our application will send a request to >>>>>>> the paraview web server to render a specific file (which will be available >>>>>>> in the data given directory) in the visualizer app, and this will be >>>>>>> embedded within our application page as a iframe, whose source is the >>>>>>> Visualizer app's index.html. >>>>>>> >>>>>>> We are using the pvpython.exe executable to start the paraview web >>>>>>> server. The command used to start the server is: >>>>>>> >>>>>>> .\bin\pvpython.exe "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>> -MPI-Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" >>>>>>> --content "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>> -MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www" --data >>>>>>> "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" --port 8080 >>>>>>> >>>>>>> >>>>>>> From the command, we can see that the web content is being served >>>>>>> from the C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\pa >>>>>>> raview-5.2\web\visualizer\www directory. The index.html file uses >>>>>>> the Visualizer.js script and calls the following functions: >>>>>>> >>>>>>> Visualizer.connect({ application: 'visualizer' }); >>>>>>> Visualizer.autoStopServer(10); >>>>>>> >>>>>>> Is there any way to find out the available functions in the >>>>>>> Visualizer.js script and call them from our custom html file? What we >>>>>>> intend to do is to update the index.html file and >>>>>>> a. add a javascript function which will accept a filename to be >>>>>>> rendered >>>>>>> b. once the filename is received by this function, it will call the >>>>>>> visualizer and display the specified file >>>>>>> c. in the visualizer page, the open files tab should be hidden. >>>>>>> >>>>>>> Please let me know if you require any clarification. >>>>>>> >>>>>>> Cheers & Best Wishes, >>>>>>> Debopam >>>>>>> ------------------------------- >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Powered by www.kitware.com >>>>>>> >>>>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>>>>> >>>>>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>>>>> >>>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>>> >>>>>>> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview >>>>>>> >>>>>>> _______________________________________________ Powered by >>>>>>> www.kitware.com Visit other Kitware open-source projects at >>>>>>> http://www.kitware.com/opensource/opensource.html Please keep >>>>>>> messages on-topic and check the ParaView Wiki at: >>>>>>> http://paraview.org/Wiki/ParaView Search the list archives at: >>>>>>> http://markmail.org/search/?q=ParaView Follow this link to >>>>>>> subscribe/unsubscribe: http://public.kitware.com/mail >>>>>>> man/listinfo/paraview >>>>>> >>>>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From debopamg at gmail.com Wed Jan 18 06:38:00 2017 From: debopamg at gmail.com (Debopam Ghoshal) Date: Wed, 18 Jan 2017 17:08:00 +0530 Subject: [Paraview] Embedding the Visualizer app in the browser within an iframe In-Reply-To: References: <53b122fc-85c6-bb9a-b0e1-5061e655a04a@theweak.link> <2255E579-482D-46BB-BE9A-BCCAF43C9DE3@theweak.link> <558b4ce4-d37e-01a5-16ac-d0c073135b75@theweak.link> Message-ID: Hi Seb & Claude, Thanks for pointing out the error, but still I am having the same problem. No matter what I do, I am not able to show the figure in the visualizer pane. It is always black/blank. :( This is what I did: 1. Used hard coded (can.ex2) as well as dynamic (${data}) for the data file, 2. I even hardcoded the data value in the index.html file, 3. I tried using http://paraview as well as http://paraview/?data=can.ex2 4. In the visualizer Files tab, I selected each of the data files (can.ex2, disc_out_ref.ex2, headsq.vti) But in all these cases, I was not able to see any output in the visualizer pane. In each case, the native window name Visualization Toolkit - Win32OpenGL #n showed up with nothing except the orientation axes. The same window showed up within the browser, and when I moved the orientation axes on the browser, the axes also moved in the native window. The later shows that the native window is connected and responds to the browser actions (through web sockets I believe). What I fail to understand is why is the *data file selected from the Files tab* in the Visualizer console (in browser) not showing up in the Visualizer pane. This the seems to be the basic problem. For instance, when I start the Visualizer through the pvpython using the pvw-visualizer.py script it works absolutely ok. Which shows that there is no problem with my graphics card or Paraview installation. *startpvw.bat:* .\bin\pvpython.exe "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" --content "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\visualizer\www" --data "C:\paraview\ParaView5.2.0\data" --port 9000 But when I run the launcher using the command: *launcher.bat:* set PV_HOME=C:\paraview\ParaView5.2.0 %PV_HOME%\bin\pvpython.exe %PV_HOME%\bin\Lib\site-packages\vtk\web\launcher.py %PV_HOME%\launcher.config and then access the visualizer through the apache front end, then the data file is not being rendered. So, I guess there is something wrong with the way I am calling the visualizer from the launcher and the way it is called with the pvw-visualizer.py script. Your continued support is much appreciated. I am attaching the relevant files for your reference. Cheers & Best Wishes, Debopam ------------------------------- Cell: +91 98304 10041 On Wed, Jan 18, 2017 at 12:43 AM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > No worries. Thanks Claude for your help on the mailing list... ;-) > > On Tue, Jan 17, 2017 at 8:52 AM, claude wrote: > >> Thank you Sebastien! Good catch. >> >> One addition to make sure the path to the file is correct: in the JS of >> the HTML file in the gist, I specified data as being "data: >> getUrlParameter('data') + '.vti'". In your case, the extension of the >> file is .ex2, not vti. So make sure the whole filename is correct, for >> instance specify the extension in the URL and not in the JS: >> >> HTML -> "data: getUrlParameter('data')" >> >> URL -> http://paraview/?data=can.ex2 >> >> (Otherwise it will look for can.ex2.vti which does not exist) >> >> Thanks very much Sebastien! >> >> cheers >> >> On 01/17/2017 09:13 AM, Sebastien Jourdain wrote: >> >> As you can see the issue is right there: >> >> "--load-file", "${data_dir}/can.ex2" >> >> >> As explained by Claude earlier in that same thread: >> >> The option --data specifies the directory, so whatever file you want to >>> load, it must be relative to that directory. >> >> >> >> On Tue, Jan 17, 2017 at 1:38 AM, Debopam Ghoshal >> wrote: >> >>> Hi Claude, >>> >>> Thanks a lot for your time and patience. As I have configured a virtual >>> host in apache, I am using the name of the virtual host (paraview) instead >>> of localhost. So instead of http://localhost, my url >>> is http://paraview. Please find my response below: >>> >>> - a successful POST request to localhost/paraview >>> >>> The only log that I saw in the developer console was: Navigated to: >>> http://paraview/ (Note: I did not give the data >>> because it is already hardcoded in the launcher.config file) >>> >>> - a successful GET request to localhost/proxy >>> >>> Nothing else was displayed in the console. I have attached a snapshot of >>> the network tab (not sure whether it has any relevant information) >>> >>> - then do you get an error such as "can't connect to ws://localhost..."? >>> >>> I get this error only when I specify "sessionURL" : "ws://paraview:80/ws >>> ". When I specify "sessionURL" : "ws://paraview:80/proxy?sessio >>> nId=${id}&path=ws" then there is no error. >>> Before starting the test today, I deleted all the log file, and after >>> the test the following are my observations: >>> >>> 1. the *error.log* file is empty >>> 2. the *launcher.log* has some entries, but none of them are errors: >>> 2017-01-17 13:43:17,786:INFO:twisted:Site starting on 9000 >>> 2017-01-17 13:43:17,786:INFO:twisted:Starting factory >>> >>> 2017-01-17 13:43:53,460:INFO:twisted:"127.0.0.1" - - >>> [17/Jan/2017:08:13:52 +0000] "POST /paraview/ HTTP/1.1" 200 206 " >>> http://paraview/" "Mozilla/5.0 (Windows NT 10.0; WOW64) >>> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36" >>> 2017-01-17 13:45:01,183:INFO:twisted:Received SIGINT, shutting down. >>> 2017-01-17 13:45:01,183:INFO:twisted:(TCP Port 9000 Closed) >>> 2017-01-17 13:45:01,183:INFO:twisted:Stopping factory >>> >>> 2017-01-17 13:45:01,183:INFO:twisted:Main loop terminated. >>> 2017-01-17 13:45:01,183:WARNING:root:Server factory shutting down. >>> Stopping all processes >>> >>> 3. The *session log* file also did not have any errors: >>> 2017-01-17 13:43:52+0530 [-] Log opened. >>> 2017-01-17 13:43:52+0530 [-] Site starting on 9999 >>> 2017-01-17 13:43:52+0530 [-] Starting factory >> instance at 0x000001C32C76BF08> >>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Client has >>> reconnected, cancelling reaper >>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] on_connect: >>> connection count = 1 >>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>> BeginValueCapture has no GetData() method, skipping >>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>> CaptureValuesFloat has no GetData() method, skipping >>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>> CaptureZBuffer has no GetData() method, skipping >>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>> EndValueCapture has no GetData() method, skipping >>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>> StartCaptureLuminance has no GetData() method, skipping >>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>> StopCaptureLuminance has no GetData() method, skipping >>> >>> >>> What is confusing me is that the native rendering panel is coming up on >>> the desktop, but does not show the image to be rendered. The same panel is >>> also coming up as part of the Visualizer pane, and if I move the >>> orientation axis in the browser, then the axes are also moved in the native >>> window. In the attached snapshot, the native window is on your left. >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> Cell: +91 98304 10041 <+91%2098304%2010041> >>> >>> On Tue, Jan 17, 2017 at 5:28 AM, claude < >>> claude at theweak.link> wrote: >>> >>>> Hi Debopam, >>>> >>>> Would you mind trying to connect while the web developer console is on >>>> (for Chrome it's under "Tools > Javascript console") and copy/pasting the >>>> errors (if any). >>>> >>>> Do you see: >>>> >>>> - a successful POST request to localhost/paraview >>>> >>>> - a successful GET request to localhost/proxy >>>> >>>> - then do you get an error such as "can't connect to ws://localhost >>>> ..."? >>>> >>>> Also, what do the logs tell you (/path/to/logs/error.log, >>>> /path/to/logs/launcherLog.log and /path/to/logs/.txt => fetch the >>>> last one created)? >>>> >>>> cheers >>>> >>>> claude >>>> >>>> >>>> On 01/16/2017 03:56 AM, Debopam Ghoshal wrote: >>>> >>>> Hi Claude, >>>> >>>> I tried using the filename hard coded in the config json as well as the >>>> index.html. But I am not able to view the file in the Visualizer. >>>> It is only showing the blank window/pane with no figure. I can move the >>>> orientation axes, but nothing is being rendered. Even when I choose a file >>>> from the Files tab, nothing is being displayed. >>>> >>>> My launcher config has: >>>> >>>> ....... >>>> "properties" : { >>>> "python_exec" : "C:/paraview/ParaView5.2.0/bin/pvpython.exe", >>>> "visualizer": "C:/paraview/ParaView5.2.0/sha >>>> re/paraview-5.2/web/visualizer/server/pvw-visualizer.py", >>>> "data_dir": "C:/paraview/ParaView5.2.0/data" >>>> }, >>>> "apps": { >>>> "visualizer": { >>>> "cmd": [ >>>> "${python_exec}", "-dr", "${visualizer}", "--port", >>>> "${port}", "--data", "${data_dir}", "--authKey", "${secret}", >>>> "--load-file", "${data_dir}/can.ex2" >>>> ], >>>> "ready_line" : "Starting factory" >>>> } >>>> } >>>> ...... >>>> >>>> >>>> (You can see that the file name is hard coded) >>>> >>>> The launcher.bat script has: >>>> >>>> set PV_HOME=C:\paraview\ParaView5.2.0 >>>> %PV_HOME%\bin\pvpython.exe %PV_HOME%\bin\Lib\site-packages\vtk\web\launcher.py >>>> %PV_HOME%\launcher.config >>>> >>>> >>>> However, I am able to view the file when I launch the pvpython.exe >>>> script directly using: >>>> .\bin\pvpython.exe "C:\paraview\ParaView5.2.0\sha >>>> re\paraview-5.2\web\visualizer\server\pvw-visualizer.py" --content >>>> "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\visualizer\www" >>>> --data "C:\paraview\ParaView5.2.0\data" --port 8080 >>>> >>>> So, I am guessing I may have mixed up some configuration items because >>>> of which the display is not coming when I try to launch it through the >>>> launcher scirpt/config. Surprisingly, there are no error messages in the >>>> log files. Could you please suggest something. >>>> >>>> I have added the details in the gist for your reference: >>>> >>>> https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >>>> >>>> The screenshots are also attached for your reference. >>>> >>>> >>>> Cheers & Best Wishes, >>>> Debopam >>>> ------------------------------- >>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>> >>>> On Fri, Jan 13, 2017 at 6:04 PM, Claude < >>>> claude at theweak.link> wrote: >>>> >>>>> Hi Debopam, >>>>> >>>>> Thanks for the added details on the gist and congratulations for >>>>> setting up the server, you are almost there. >>>>> For Visualizer to be able to load a file, it will need the argument >>>>> --load-file (it seems to have disappeared in your config launcher). The >>>>> option --data specifies the directory, so whatever file you want to load, >>>>> it must be relative to that directory. For example to load the data file >>>>> C:/my_data/dir/example1/my_file.vti you could do: >>>>> --data is C:/my_data/dir >>>>> --load-file is example1/my_file.vti >>>>> >>>>> Here is a question for you: do you want to always have the same data >>>>> loaded by default or to be able to specify it? >>>>> * If it's always the same, you can directly hardcode it in the >>>>> launcher config file. Then it will be loaded when you navigate to the >>>>> paraview URL. >>>>> * if it's not always the same, you could use the solution on the gist >>>>> which is specifying it in the URL directly (there are other alternatives of >>>>> course). In that case, the URL must contain the file to load (otherwise >>>>> paraview cannot guess it :)). For instance: >>>>> http://localhost:9000/?data=example1/my_file >>>>> >>>>> (The JavaScript code automatically adds the extension .vti, you may >>>>> change that behavior of course). >>>>> >>>>> I'll be posting the detailed changes on your code in the gist comment >>>>> shortly. >>>>> >>>>> Let me know >>>>> Cheers >>>>> Claude >>>>> >>>>> >>>>> On Jan 13, 2017, at 5:05 AM, Debopam Ghoshal < >>>>> debopamg at gmail.com> wrote: >>>>> >>>>> Hi Claude, >>>>> >>>>> I followed your instructions with some modifications since I was >>>>> having problems. Finally, I was able to configure the Apache front end with >>>>> the ParaView Web launcher, and now I can view the index page of the >>>>> visualizer. However, when I choose any of the sample files, they are not >>>>> being rendered in the visualizer pane. >>>>> >>>>> I have added the details in the gist you created at: >>>>> https://gist.github.com/cl >>>>> avicule/7b8b3963ceb17302cff725f8dc36bc57 >>>>> >>>>> Would appreciate your thoughts on this. >>>>> >>>>> >>>>> Cheers & Best Wishes, >>>>> Debopam >>>>> ------------------------------- >>>>> >>>>> >>>>> On Thu, Jan 12, 2017 at 5:22 PM, Debopam Ghoshal < >>>>> debopamg at gmail.com> wrote: >>>>> >>>>>> Hi Claude >>>>>> >>>>>> Thank you so much for your detailed explanation. The gist has been >>>>>> very useful. I am working on it at present, and is in the process of >>>>>> smoothening out a few creases because of the operating system I am using >>>>>> (Windows 10). >>>>>> >>>>>> Will let you know once I am able to use paraview web properly. And in >>>>>> case of any issue, I will bother you once again. >>>>>> >>>>>> Hi Seb, >>>>>> >>>>>> Thanks for the link. Much appreciated. >>>>>> >>>>>> >>>>>> Cheers & Best Wishes, >>>>>> Debopam >>>>>> ------------------------------- >>>>>> >>>>>> On Wed, Jan 11, 2017 at 9:48 PM, Sebastien Jourdain < >>>>>> sebastien.jourdain at kitware.com> wrote: >>>>>> >>>>>>> Thanks Claude, >>>>>>> >>>>>>> Here is the add-on of what functions can be called on Visualizer. >>>>>>> (All the function with export) >>>>>>> >>>>>>> https://github.com/Kitware/vis >>>>>>> ualizer/blob/master/src/app.js >>>>>>> >>>>>>> We are planning to add some helper for extracting arguments from the >>>>>>> URL. We actually add a class in the ParaViewWeb repo, but we haven't got to >>>>>>> the point of using it and making it available in visualizer. >>>>>>> >>>>>>> Seb >>>>>>> >>>>>>> On Wed, Jan 11, 2017 at 7:32 AM, claude < >>>>>>> claude at theweak.link> wrote: >>>>>>> >>>>>>>> Hi Debopam, >>>>>>>> >>>>>>>> >>>>>>>> I think there is one thing to consider first before taking care of >>>>>>>> data being passed through: if you manually start one instance of >>>>>>>> pvw-visualizer, it means all people connecting to port 8080 will see the >>>>>>>> same thing and act on the same viewer, which means potentially conflicting >>>>>>>> with each other action (e.g. a probable disconnection for everyone if one >>>>>>>> decide to exit maybe?). In that case, you need to have a virtual server >>>>>>>> that will launch a new process every time someone connect to port 8080. >>>>>>>> That way, all viewers are independent, the same person can open several >>>>>>>> viewers, etc. >>>>>>>> >>>>>>>> >>>>>>>> Now regarding the data being loaded at startup: you html index file >>>>>>>> should have a function grabbing the 'data' parameter from a URL, a form, a >>>>>>>> dropdown menu, etc. then sending it as a key to the Visualizer application >>>>>>>> (so that the launcher knows which file to load at startup). >>>>>>>> >>>>>>>> It would have been complicated to explain all the details in a >>>>>>>> email, so I made a gist with all the files and "code" addressing both >>>>>>>> points (launcher and data): >>>>>>>> >>>>>>>> https://gist.github.com/clavic >>>>>>>> ule/7b8b3963ceb17302cff725f8dc36bc57 >>>>>>>> >>>>>>>> Note that this gist was gathered info from the Paraview Web and >>>>>>>> Visualizer online documentations: kuddos to Paraview people. >>>>>>>> 2nd note: in that gist I'm giving the instructions for Apache >>>>>>>> server (you could technically choose any other, e.g. NGinx) for Linux. I >>>>>>>> see you are on Windows: I don't know how Apache works on Windows but I >>>>>>>> assume (and hope) the steps and config file should be similar. >>>>>>>> >>>>>>>> I hope it helps! Good luck! >>>>>>>> cheers >>>>>>>> claude >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On 01/11/2017 04:10 AM, Debopam Ghoshal wrote: >>>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> We have a requirement where our application will send a request to >>>>>>>> the paraview web server to render a specific file (which will be available >>>>>>>> in the data given directory) in the visualizer app, and this will be >>>>>>>> embedded within our application page as a iframe, whose source is the >>>>>>>> Visualizer app's index.html. >>>>>>>> >>>>>>>> We are using the pvpython.exe executable to start the paraview web >>>>>>>> server. The command used to start the server is: >>>>>>>> >>>>>>>> .\bin\pvpython.exe "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>> -MPI-Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" >>>>>>>> --content "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>> -MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www" --data >>>>>>>> "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" --port 8080 >>>>>>>> >>>>>>>> >>>>>>>> From the command, we can see that the web content is being served >>>>>>>> from the C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\pa >>>>>>>> raview-5.2\web\visualizer\www directory. The index.html file uses >>>>>>>> the Visualizer.js script and calls the following functions: >>>>>>>> >>>>>>>> Visualizer.connect({ application: 'visualizer' }); >>>>>>>> Visualizer.autoStopServer(10); >>>>>>>> >>>>>>>> Is there any way to find out the available functions in the >>>>>>>> Visualizer.js script and call them from our custom html file? What we >>>>>>>> intend to do is to update the index.html file and >>>>>>>> a. add a javascript function which will accept a filename to be >>>>>>>> rendered >>>>>>>> b. once the filename is received by this function, it will call the >>>>>>>> visualizer and display the specified file >>>>>>>> c. in the visualizer page, the open files tab should be hidden. >>>>>>>> >>>>>>>> Please let me know if you require any clarification. >>>>>>>> >>>>>>>> Cheers & Best Wishes, >>>>>>>> Debopam >>>>>>>> ------------------------------- >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Powered by www.kitware.com >>>>>>>> >>>>>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>>>>>> >>>>>>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>>>>>> >>>>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>>>> >>>>>>>> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview >>>>>>>> >>>>>>>> _______________________________________________ Powered by >>>>>>>> www.kitware.com Visit other Kitware open-source projects at >>>>>>>> http://www.kitware.com/opensource/opensource.html Please keep >>>>>>>> messages on-topic and check the ParaView Wiki at: >>>>>>>> http://paraview.org/Wiki/ParaView Search the list archives at: >>>>>>>> http://markmail.org/search/?q=ParaView Follow this link to >>>>>>>> subscribe/unsubscribe: http://public.kitware.com/mail >>>>>>>> man/listinfo/paraview >>>>>>> >>>>>>> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: httpd-vhosts.conf Type: application/octet-stream Size: 2142 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: launcher.config Type: application/octet-stream Size: 998 bytes Desc: not available URL: From sebastien.jourdain at kitware.com Wed Jan 18 09:49:18 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 18 Jan 2017 07:49:18 -0700 Subject: [Paraview] Embedding the Visualizer app in the browser within an iframe In-Reply-To: References: <53b122fc-85c6-bb9a-b0e1-5061e655a04a@theweak.link> <2255E579-482D-46BB-BE9A-BCCAF43C9DE3@theweak.link> <558b4ce4-d37e-01a5-16ac-d0c073135b75@theweak.link> Message-ID: Well we fixed that issue last time in another thread. Here is the difference: Launcher configuration (Not working) "C:/paraview/ParaView5.2.0/data" Command line (Working) "C:\paraview\ParaView5.2.0\data" Do you notice any difference? Do you see what you should try next? On Wed, Jan 18, 2017 at 4:38 AM, Debopam Ghoshal wrote: > Hi Seb & Claude, > > Thanks for pointing out the error, but still I am having the same problem. > No matter what I do, I am not able to show the figure in the visualizer > pane. It is always black/blank. :( > > This is what I did: > 1. Used hard coded (can.ex2) as well as dynamic (${data}) for the data > file, > 2. I even hardcoded the data value in the index.html file, > 3. I tried using http://paraview as well as http://paraview/?data=can.ex2 > 4. In the visualizer Files tab, I selected each of the data files (can.ex2, > disc_out_ref.ex2, headsq.vti) > > But in all these cases, I was not able to see any output in the visualizer > pane. In each case, the native window name Visualization Toolkit - > Win32OpenGL #n showed up with nothing except the orientation axes. The > same window showed up within the browser, and when I moved the orientation > axes on the browser, the axes also moved in the native window. The later > shows that the native window is connected and responds to the browser > actions (through web sockets I believe). > > What I fail to understand is why is the *data file selected from the > Files tab* in the Visualizer console (in browser) not showing up in the > Visualizer pane. This the seems to be the basic problem. For instance, when > I start the Visualizer through the pvpython using the pvw-visualizer.py > script it works absolutely ok. Which shows that there is no problem with > my graphics card or Paraview installation. > > *startpvw.bat:* > > .\bin\pvpython.exe "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\ > visualizer\server\pvw-visualizer.py" --content "C:\paraview\ParaView5.2.0\ > share\paraview-5.2\web\visualizer\www" --data "C:\paraview\ParaView5.2.0\data" > --port 9000 > > > But when I run the launcher using the command: > *launcher.bat:* > > set PV_HOME=C:\paraview\ParaView5.2.0 > %PV_HOME%\bin\pvpython.exe %PV_HOME%\bin\Lib\site-packages\vtk\web\launcher.py > %PV_HOME%\launcher.config > > and then access the visualizer through the apache front end, then the data > file is not being rendered. > > So, I guess there is something wrong with the way I am calling the > visualizer from the launcher and the way it is called with the > pvw-visualizer.py script. > > Your continued support is much appreciated. I am attaching the relevant > files for your reference. > > > Cheers & Best Wishes, > Debopam > ------------------------------- > Cell: +91 98304 10041 <+91%2098304%2010041> > > On Wed, Jan 18, 2017 at 12:43 AM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> No worries. Thanks Claude for your help on the mailing list... ;-) >> >> On Tue, Jan 17, 2017 at 8:52 AM, claude wrote: >> >>> Thank you Sebastien! Good catch. >>> >>> One addition to make sure the path to the file is correct: in the JS of >>> the HTML file in the gist, I specified data as being "data: >>> getUrlParameter('data') + '.vti'". In your case, the extension of the >>> file is .ex2, not vti. So make sure the whole filename is correct, for >>> instance specify the extension in the URL and not in the JS: >>> >>> HTML -> "data: getUrlParameter('data')" >>> >>> URL -> http://paraview/?data=can.ex2 >>> >>> (Otherwise it will look for can.ex2.vti which does not exist) >>> >>> Thanks very much Sebastien! >>> >>> cheers >>> >>> On 01/17/2017 09:13 AM, Sebastien Jourdain wrote: >>> >>> As you can see the issue is right there: >>> >>> "--load-file", "${data_dir}/can.ex2" >>> >>> >>> As explained by Claude earlier in that same thread: >>> >>> The option --data specifies the directory, so whatever file you want to >>>> load, it must be relative to that directory. >>> >>> >>> >>> On Tue, Jan 17, 2017 at 1:38 AM, Debopam Ghoshal >>> wrote: >>> >>>> Hi Claude, >>>> >>>> Thanks a lot for your time and patience. As I have configured a virtual >>>> host in apache, I am using the name of the virtual host (paraview) instead >>>> of localhost. So instead of http://localhost, my url >>>> is http://paraview. Please find my response below: >>>> >>>> - a successful POST request to localhost/paraview >>>> >>>> The only log that I saw in the developer console was: Navigated to: >>>> http://paraview/ (Note: I did not give the data >>>> because it is already hardcoded in the launcher.config file) >>>> >>>> - a successful GET request to localhost/proxy >>>> >>>> Nothing else was displayed in the console. I have attached a snapshot >>>> of the network tab (not sure whether it has any relevant information) >>>> >>>> - then do you get an error such as "can't connect to ws://localhost >>>> ..."? >>>> >>>> I get this error only when I specify "sessionURL" : " >>>> ws://paraview:80/ws". When I specify "sessionURL" : " >>>> ws://paraview:80/proxy?sessionId=${id}&path=ws" then there is no error. >>>> Before starting the test today, I deleted all the log file, and after >>>> the test the following are my observations: >>>> >>>> 1. the *error.log* file is empty >>>> 2. the *launcher.log* has some entries, but none of them are errors: >>>> 2017-01-17 13:43:17,786:INFO:twisted:Site starting on 9000 >>>> 2017-01-17 13:43:17,786:INFO:twisted:Starting factory >>>> >>>> 2017-01-17 13:43:53,460:INFO:twisted:"127.0.0.1" - - >>>> [17/Jan/2017:08:13:52 +0000] "POST /paraview/ HTTP/1.1" 200 206 " >>>> http://paraview/" "Mozilla/5.0 (Windows NT 10.0; WOW64) >>>> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36" >>>> 2017-01-17 13:45:01,183:INFO:twisted:Received SIGINT, shutting down. >>>> 2017-01-17 13:45:01,183:INFO:twisted:(TCP Port 9000 Closed) >>>> 2017-01-17 13:45:01,183:INFO:twisted:Stopping factory >>>> >>>> 2017-01-17 13:45:01,183:INFO:twisted:Main loop terminated. >>>> 2017-01-17 13:45:01,183:WARNING:root:Server factory shutting down. >>>> Stopping all processes >>>> >>>> 3. The *session log* file also did not have any errors: >>>> 2017-01-17 13:43:52+0530 [-] Log opened. >>>> 2017-01-17 13:43:52+0530 [-] Site starting on 9999 >>>> 2017-01-17 13:43:52+0530 [-] Starting factory >>> instance at 0x000001C32C76BF08> >>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Client has >>>> reconnected, cancelling reaper >>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] on_connect: >>>> connection count = 1 >>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>> BeginValueCapture has no GetData() method, skipping >>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>> CaptureValuesFloat has no GetData() method, skipping >>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>> CaptureZBuffer has no GetData() method, skipping >>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>> EndValueCapture has no GetData() method, skipping >>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>> StartCaptureLuminance has no GetData() method, skipping >>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>> StopCaptureLuminance has no GetData() method, skipping >>>> >>>> >>>> What is confusing me is that the native rendering panel is coming up on >>>> the desktop, but does not show the image to be rendered. The same panel is >>>> also coming up as part of the Visualizer pane, and if I move the >>>> orientation axis in the browser, then the axes are also moved in the native >>>> window. In the attached snapshot, the native window is on your left. >>>> >>>> Cheers & Best Wishes, >>>> Debopam >>>> ------------------------------- >>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>> >>>> On Tue, Jan 17, 2017 at 5:28 AM, claude < >>>> claude at theweak.link> wrote: >>>> >>>>> Hi Debopam, >>>>> >>>>> Would you mind trying to connect while the web developer console is on >>>>> (for Chrome it's under "Tools > Javascript console") and copy/pasting the >>>>> errors (if any). >>>>> >>>>> Do you see: >>>>> >>>>> - a successful POST request to localhost/paraview >>>>> >>>>> - a successful GET request to localhost/proxy >>>>> >>>>> - then do you get an error such as "can't connect to ws://localhost >>>>> ..."? >>>>> >>>>> Also, what do the logs tell you (/path/to/logs/error.log, >>>>> /path/to/logs/launcherLog.log and /path/to/logs/.txt => fetch the >>>>> last one created)? >>>>> >>>>> cheers >>>>> >>>>> claude >>>>> >>>>> >>>>> On 01/16/2017 03:56 AM, Debopam Ghoshal wrote: >>>>> >>>>> Hi Claude, >>>>> >>>>> I tried using the filename hard coded in the config json as well as >>>>> the index.html. But I am not able to view the file in the Visualizer. >>>>> It is only showing the blank window/pane with no figure. I can move >>>>> the orientation axes, but nothing is being rendered. Even when I choose a >>>>> file from the Files tab, nothing is being displayed. >>>>> >>>>> My launcher config has: >>>>> >>>>> ....... >>>>> "properties" : { >>>>> "python_exec" : "C:/paraview/ParaView5.2.0/bin/pvpython.exe", >>>>> "visualizer": "C:/paraview/ParaView5.2.0/sha >>>>> re/paraview-5.2/web/visualizer/server/pvw-visualizer.py", >>>>> "data_dir": "C:/paraview/ParaView5.2.0/data" >>>>> }, >>>>> "apps": { >>>>> "visualizer": { >>>>> "cmd": [ >>>>> "${python_exec}", "-dr", "${visualizer}", "--port", >>>>> "${port}", "--data", "${data_dir}", "--authKey", "${secret}", >>>>> "--load-file", "${data_dir}/can.ex2" >>>>> ], >>>>> "ready_line" : "Starting factory" >>>>> } >>>>> } >>>>> ...... >>>>> >>>>> >>>>> (You can see that the file name is hard coded) >>>>> >>>>> The launcher.bat script has: >>>>> >>>>> set PV_HOME=C:\paraview\ParaView5.2.0 >>>>> %PV_HOME%\bin\pvpython.exe %PV_HOME%\bin\Lib\site-packages\vtk\web\launcher.py >>>>> %PV_HOME%\launcher.config >>>>> >>>>> >>>>> However, I am able to view the file when I launch the pvpython.exe >>>>> script directly using: >>>>> .\bin\pvpython.exe "C:\paraview\ParaView5.2.0\sha >>>>> re\paraview-5.2\web\visualizer\server\pvw-visualizer.py" --content >>>>> "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\visualizer\www" >>>>> --data "C:\paraview\ParaView5.2.0\data" --port 8080 >>>>> >>>>> So, I am guessing I may have mixed up some configuration items because >>>>> of which the display is not coming when I try to launch it through the >>>>> launcher scirpt/config. Surprisingly, there are no error messages in the >>>>> log files. Could you please suggest something. >>>>> >>>>> I have added the details in the gist for your reference: >>>>> >>>>> https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >>>>> >>>>> The screenshots are also attached for your reference. >>>>> >>>>> >>>>> Cheers & Best Wishes, >>>>> Debopam >>>>> ------------------------------- >>>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>>> >>>>> On Fri, Jan 13, 2017 at 6:04 PM, Claude < >>>>> claude at theweak.link> wrote: >>>>> >>>>>> Hi Debopam, >>>>>> >>>>>> Thanks for the added details on the gist and congratulations for >>>>>> setting up the server, you are almost there. >>>>>> For Visualizer to be able to load a file, it will need the argument >>>>>> --load-file (it seems to have disappeared in your config launcher). The >>>>>> option --data specifies the directory, so whatever file you want to load, >>>>>> it must be relative to that directory. For example to load the data file >>>>>> C:/my_data/dir/example1/my_file.vti you could do: >>>>>> --data is C:/my_data/dir >>>>>> --load-file is example1/my_file.vti >>>>>> >>>>>> Here is a question for you: do you want to always have the same data >>>>>> loaded by default or to be able to specify it? >>>>>> * If it's always the same, you can directly hardcode it in the >>>>>> launcher config file. Then it will be loaded when you navigate to the >>>>>> paraview URL. >>>>>> * if it's not always the same, you could use the solution on the gist >>>>>> which is specifying it in the URL directly (there are other alternatives of >>>>>> course). In that case, the URL must contain the file to load (otherwise >>>>>> paraview cannot guess it :)). For instance: >>>>>> http://localhost:9000/?data=example1/my_file >>>>>> >>>>>> (The JavaScript code automatically adds the extension .vti, you may >>>>>> change that behavior of course). >>>>>> >>>>>> I'll be posting the detailed changes on your code in the gist comment >>>>>> shortly. >>>>>> >>>>>> Let me know >>>>>> Cheers >>>>>> Claude >>>>>> >>>>>> >>>>>> On Jan 13, 2017, at 5:05 AM, Debopam Ghoshal < >>>>>> debopamg at gmail.com> wrote: >>>>>> >>>>>> Hi Claude, >>>>>> >>>>>> I followed your instructions with some modifications since I was >>>>>> having problems. Finally, I was able to configure the Apache front end with >>>>>> the ParaView Web launcher, and now I can view the index page of the >>>>>> visualizer. However, when I choose any of the sample files, they are not >>>>>> being rendered in the visualizer pane. >>>>>> >>>>>> I have added the details in the gist you created at: >>>>>> https://gist.github.com/cl >>>>>> avicule/7b8b3963ceb17302cff725f8dc36bc57 >>>>>> >>>>>> Would appreciate your thoughts on this. >>>>>> >>>>>> >>>>>> Cheers & Best Wishes, >>>>>> Debopam >>>>>> ------------------------------- >>>>>> >>>>>> >>>>>> On Thu, Jan 12, 2017 at 5:22 PM, Debopam Ghoshal < >>>>>> debopamg at gmail.com> wrote: >>>>>> >>>>>>> Hi Claude >>>>>>> >>>>>>> Thank you so much for your detailed explanation. The gist has been >>>>>>> very useful. I am working on it at present, and is in the process of >>>>>>> smoothening out a few creases because of the operating system I am using >>>>>>> (Windows 10). >>>>>>> >>>>>>> Will let you know once I am able to use paraview web properly. And >>>>>>> in case of any issue, I will bother you once again. >>>>>>> >>>>>>> Hi Seb, >>>>>>> >>>>>>> Thanks for the link. Much appreciated. >>>>>>> >>>>>>> >>>>>>> Cheers & Best Wishes, >>>>>>> Debopam >>>>>>> ------------------------------- >>>>>>> >>>>>>> On Wed, Jan 11, 2017 at 9:48 PM, Sebastien Jourdain < >>>>>>> sebastien.jourdain at kitware.com> >>>>>>> wrote: >>>>>>> >>>>>>>> Thanks Claude, >>>>>>>> >>>>>>>> Here is the add-on of what functions can be called on Visualizer. >>>>>>>> (All the function with export) >>>>>>>> >>>>>>>> https://github.com/Kitware/vis >>>>>>>> ualizer/blob/master/src/app.js >>>>>>>> >>>>>>>> We are planning to add some helper for extracting arguments from >>>>>>>> the URL. We actually add a class in the ParaViewWeb repo, but we haven't >>>>>>>> got to the point of using it and making it available in visualizer. >>>>>>>> >>>>>>>> Seb >>>>>>>> >>>>>>>> On Wed, Jan 11, 2017 at 7:32 AM, claude < >>>>>>>> claude at theweak.link> wrote: >>>>>>>> >>>>>>>>> Hi Debopam, >>>>>>>>> >>>>>>>>> >>>>>>>>> I think there is one thing to consider first before taking care of >>>>>>>>> data being passed through: if you manually start one instance of >>>>>>>>> pvw-visualizer, it means all people connecting to port 8080 will see the >>>>>>>>> same thing and act on the same viewer, which means potentially conflicting >>>>>>>>> with each other action (e.g. a probable disconnection for everyone if one >>>>>>>>> decide to exit maybe?). In that case, you need to have a virtual server >>>>>>>>> that will launch a new process every time someone connect to port 8080. >>>>>>>>> That way, all viewers are independent, the same person can open several >>>>>>>>> viewers, etc. >>>>>>>>> >>>>>>>>> >>>>>>>>> Now regarding the data being loaded at startup: you html index >>>>>>>>> file should have a function grabbing the 'data' parameter from a URL, a >>>>>>>>> form, a dropdown menu, etc. then sending it as a key to the Visualizer >>>>>>>>> application (so that the launcher knows which file to load at startup). >>>>>>>>> >>>>>>>>> It would have been complicated to explain all the details in a >>>>>>>>> email, so I made a gist with all the files and "code" addressing both >>>>>>>>> points (launcher and data): >>>>>>>>> >>>>>>>>> https://gist.github.com/clavic >>>>>>>>> ule/7b8b3963ceb17302cff725f8dc36bc57 >>>>>>>>> >>>>>>>>> Note that this gist was gathered info from the Paraview Web and >>>>>>>>> Visualizer online documentations: kuddos to Paraview people. >>>>>>>>> 2nd note: in that gist I'm giving the instructions for Apache >>>>>>>>> server (you could technically choose any other, e.g. NGinx) for Linux. I >>>>>>>>> see you are on Windows: I don't know how Apache works on Windows but I >>>>>>>>> assume (and hope) the steps and config file should be similar. >>>>>>>>> >>>>>>>>> I hope it helps! Good luck! >>>>>>>>> cheers >>>>>>>>> claude >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On 01/11/2017 04:10 AM, Debopam Ghoshal wrote: >>>>>>>>> >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> We have a requirement where our application will send a request to >>>>>>>>> the paraview web server to render a specific file (which will be available >>>>>>>>> in the data given directory) in the visualizer app, and this will be >>>>>>>>> embedded within our application page as a iframe, whose source is the >>>>>>>>> Visualizer app's index.html. >>>>>>>>> >>>>>>>>> We are using the pvpython.exe executable to start the paraview web >>>>>>>>> server. The command used to start the server is: >>>>>>>>> >>>>>>>>> .\bin\pvpython.exe "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>> -MPI-Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" >>>>>>>>> --content "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>> -MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www" --data >>>>>>>>> "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" --port 8080 >>>>>>>>> >>>>>>>>> >>>>>>>>> From the command, we can see that the web content is being served >>>>>>>>> from the C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\pa >>>>>>>>> raview-5.2\web\visualizer\www directory. The index.html file uses >>>>>>>>> the Visualizer.js script and calls the following functions: >>>>>>>>> >>>>>>>>> Visualizer.connect({ application: 'visualizer' }); >>>>>>>>> Visualizer.autoStopServer(10); >>>>>>>>> >>>>>>>>> Is there any way to find out the available functions in the >>>>>>>>> Visualizer.js script and call them from our custom html file? What we >>>>>>>>> intend to do is to update the index.html file and >>>>>>>>> a. add a javascript function which will accept a filename to be >>>>>>>>> rendered >>>>>>>>> b. once the filename is received by this function, it will call >>>>>>>>> the visualizer and display the specified file >>>>>>>>> c. in the visualizer page, the open files tab should be hidden. >>>>>>>>> >>>>>>>>> Please let me know if you require any clarification. >>>>>>>>> >>>>>>>>> Cheers & Best Wishes, >>>>>>>>> Debopam >>>>>>>>> ------------------------------- >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> Powered by www.kitware.com >>>>>>>>> >>>>>>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>>>>>>> >>>>>>>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>>>>>>> >>>>>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>>>>> >>>>>>>>> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview >>>>>>>>> >>>>>>>>> _______________________________________________ Powered by >>>>>>>>> www.kitware.com Visit other Kitware open-source projects at >>>>>>>>> http://www.kitware.com/opensource/opensource.html Please keep >>>>>>>>> messages on-topic and check the ParaView Wiki at: >>>>>>>>> http://paraview.org/Wiki/ParaView Search the list archives at: >>>>>>>>> http://markmail.org/search/?q=ParaView Follow this link to >>>>>>>>> subscribe/unsubscribe: http://public.kitware.com/mail >>>>>>>>> man/listinfo/paraview >>>>>>>> >>>>>>>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From julio.hoffimann at gmail.com Wed Jan 18 13:59:41 2017 From: julio.hoffimann at gmail.com (=?UTF-8?Q?J=C3=BAlio_Hoffimann?=) Date: Wed, 18 Jan 2017 10:59:41 -0800 Subject: [Paraview] Display all time steps on the same window Message-ID: Hi, I am struggling with a very simple task in ParaView. I have 500 time steps that represent an object moving in space. I would like to display all the positions of the object (thus, the trajectory) in a single window. I have a set of 500 *.vtu files and a pvd collection that I can successfully load into ParaView to play with the time. How to display all time steps in the window, or alternatively, how to merge all these *.vtu files into a single unstructured mesh? -J?lio -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Wed Jan 18 14:11:24 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 18 Jan 2017 14:11:24 -0500 Subject: [Paraview] Display all time steps on the same window In-Reply-To: References: Message-ID: Apply the "Group TimeSteps" filter to your reader. That will create a new dataset that has all timesteps in it. If I am not mistaken, this filter was added in 5.2, so if it's not present under the "Temporal" filter menu with your version of ParaView, try the latest version. Utkarsh On Wed, Jan 18, 2017 at 1:59 PM, J?lio Hoffimann wrote: > Hi, > > I am struggling with a very simple task in ParaView. I have 500 time steps > that represent an object moving in space. I would like to display all the > positions of the object (thus, the trajectory) in a single window. > > I have a set of 500 *.vtu files and a pvd collection that I can successfully > load into ParaView to play with the time. How to display all time steps in > the window, or alternatively, how to merge all these *.vtu files into a > single unstructured mesh? > > -J?lio > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From kmorel at sandia.gov Wed Jan 18 14:38:54 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Wed, 18 Jan 2017 19:38:54 +0000 Subject: [Paraview] Display all time steps on the same window Message-ID: Try applying the ?Group Time Steps? filter (introduced in ParaView 5.2). -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of J?lio Hoffimann Sent: Wednesday, January 18, 2017 12:00 PM To: paraview Subject: [EXTERNAL] [Paraview] Display all time steps on the same window Hi, I am struggling with a very simple task in ParaView. I have 500 time steps that represent an object moving in space. I would like to display all the positions of the object (thus, the trajectory) in a single window. I have a set of 500 *.vtu files and a pvd collection that I can successfully load into ParaView to play with the time. How to display all time steps in the window, or alternatively, how to merge all these *.vtu files into a single unstructured mesh? -J?lio -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Olesen at esi-group.com Wed Jan 18 15:16:55 2017 From: Mark.Olesen at esi-group.com (Mark Olesen) Date: Wed, 18 Jan 2017 20:16:55 +0000 Subject: [Paraview] ParaView and Qt 5 In-Reply-To: References: Message-ID: I'm trying to compile a paraview using a Qt5 (5.7.1) that I've compiled with '-qt-xcb' to avoid too many dependencies. When compiling paraview (git version), I supposed that the following would be sufficient to convey which qt to use: cmake -DPARAVIEW_BUILD_QT_GUI=ON -DQT_QMAKE_EXECUTABLE:FILEPATH=/software/path/qt-5.7.1/bin/qmake -DPARAVIEW_QT_VERSION:STRING=5 ... However, the find_package(Qt5) locates the system Qt and its cmake file, which bombs out: CMake Error at CMake/ParaViewQt.cmake:65 (find_package): Could not find a configuration file for package "Qt5" that is compatible with requested version "5.6". The following configuration files were considered but not accepted: /usr/lib64/cmake/Qt5/Qt5Config.cmake, version: 5.5.1 /usr/lib64/cmake/Qt5/Qt5Config.cmake, version: 5.5.1 Call Stack (most recent call first): Qt/Widgets/CMakeLists.txt:200 (pv_find_package_qt) Which config variables am I missing? Thanks, /mark ________________________________________ From: ParaView on behalf of Utkarsh Ayachit Sent: Monday, January 16, 2017 7:51:36 PM To: ParaView Developers Cc: ParaView Subject: [Paraview] ParaView and Qt 5 Folks, With upcoming release (5.3), we plan to move to using Qt 5 by default. Qt 5 has been out since 2012 and it is well supported on modern platforms. ParaView will continue to build with Qt 4 until further notice, but we highly recommend custom application developers and plugin developers to move to Qt 5 at the earliest since active development and testing for ParaView will happen with Qt 5. Changes [1] that landed in master earlier today update ParaView to now use QOpenGLWidget for rendering which creates a frame buffer object to do all the rendering in. If you have custom mapper or rendering code that assumed it was rendering to the default onscreen frame buffer, it will not work correctly and will need to be updated. Please use the mailing, if you encounter any such issues. For everything else, the changes should be fairly transparent except in exceptions documented here [2]. In the upcoming weeks, we will update the superbuild and dashboards to build and test using Qt 5. Thanks, Utkarsh [1] https://gitlab.kitware.com/paraview/paraview/merge_requests/1279 [2] https://gitlab.kitware.com/paraview/paraview/blob/master/Utilities/Doxygen/pages/MajorAPIChanges.md#changes-in-53 _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview From shawn.waldon at kitware.com Wed Jan 18 15:22:18 2017 From: shawn.waldon at kitware.com (Shawn Waldon) Date: Wed, 18 Jan 2017 15:22:18 -0500 Subject: [Paraview] ParaView and Qt 5 In-Reply-To: References: Message-ID: Hi Mark, CMake uses different variables to find Qt4 vs Qt5. QT_QMAKE_EXECUTABLE is the Qt4 variable and is ignored by the code to find Qt5. The variable you want is: -DQt5_DIR=/software/path/qt-5.7.1/lib/cmake/Qt5 HTH, Shawn On Wed, Jan 18, 2017 at 3:16 PM, Mark Olesen wrote: > I'm trying to compile a paraview using a Qt5 (5.7.1) that I've compiled > with '-qt-xcb' to avoid too many dependencies. When compiling paraview (git > version), I supposed that the following would be sufficient to convey which > qt to use: > > cmake -DPARAVIEW_BUILD_QT_GUI=ON -DQT_QMAKE_EXECUTABLE: > FILEPATH=/software/path/qt-5.7.1/bin/qmake > -DPARAVIEW_QT_VERSION:STRING=5 ... > > However, the find_package(Qt5) locates the system Qt and its cmake file, > which bombs out: > > CMake Error at CMake/ParaViewQt.cmake:65 (find_package): > Could not find a configuration file for package "Qt5" that is compatible > with requested version "5.6". > The following configuration files were considered but not accepted: > /usr/lib64/cmake/Qt5/Qt5Config.cmake, version: 5.5.1 > /usr/lib64/cmake/Qt5/Qt5Config.cmake, version: 5.5.1 > Call Stack (most recent call first): > Qt/Widgets/CMakeLists.txt:200 (pv_find_package_qt) > > > Which config variables am I missing? > > Thanks, > /mark > ________________________________________ > From: ParaView on behalf of Utkarsh > Ayachit > Sent: Monday, January 16, 2017 7:51:36 PM > To: ParaView Developers > Cc: ParaView > Subject: [Paraview] ParaView and Qt 5 > > Folks, > > With upcoming release (5.3), we plan to move to using Qt 5 by default. > Qt 5 has been out since 2012 and it is well supported on modern > platforms. ParaView will continue to build with Qt 4 until further > notice, but we highly recommend custom application developers and > plugin developers to move to Qt 5 at the earliest since active > development and testing for ParaView will happen with Qt 5. > > Changes [1] that landed in master earlier today update ParaView to now > use QOpenGLWidget for rendering which creates a frame buffer object to > do all the rendering in. If you have custom mapper or rendering code > that assumed it was rendering to the default onscreen frame buffer, it > will not work correctly and will need to be updated. Please use the > mailing, if you encounter any such issues. For everything else, the > changes should be fairly transparent except in exceptions documented > here [2]. > > In the upcoming weeks, we will update the superbuild and dashboards to > build and test using Qt 5. > > Thanks, > Utkarsh > > > [1] https://gitlab.kitware.com/paraview/paraview/merge_requests/1279 > [2] https://gitlab.kitware.com/paraview/paraview/blob/master/ > Utilities/Doxygen/pages/MajorAPIChanges.md#changes-in-53 > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From julio.hoffimann at gmail.com Wed Jan 18 15:47:29 2017 From: julio.hoffimann at gmail.com (=?UTF-8?Q?J=C3=BAlio_Hoffimann?=) Date: Wed, 18 Jan 2017 12:47:29 -0800 Subject: [Paraview] Display all time steps on the same window In-Reply-To: References: Message-ID: Thank you all, it worked like a charm. -J?lio On Jan 18, 2017 11:39 AM, "Moreland, Kenneth" wrote: > Try applying the ?Group Time Steps? filter (introduced in ParaView 5.2). > > > > -Ken > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *J?lio > Hoffimann > *Sent:* Wednesday, January 18, 2017 12:00 PM > *To:* paraview > *Subject:* [EXTERNAL] [Paraview] Display all time steps on the same window > > > > Hi, > > > > I am struggling with a very simple task in ParaView. I have 500 time steps > that represent an object moving in space. I would like to display all the > positions of the object (thus, the trajectory) in a single window. > > > > I have a set of 500 *.vtu files and a pvd collection that I can > successfully load into ParaView to play with the time. How to display all > time steps in the window, or alternatively, how to merge all these *.vtu > files into a single unstructured mesh? > > > > -J?lio > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Wed Jan 18 16:59:33 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 18 Jan 2017 16:59:33 -0500 Subject: [Paraview] Floating point exception when using "Interpret Values As Categories" In-Reply-To: References: Message-ID: Can you share a sample dataset that reproduces the problem? That'll make it easier to track it down. Thanks. Utkarsh On Tue, Jan 17, 2017 at 11:52 AM, philipp jung wrote: > Dear Paraview Team, > > I am currently working on a custom plugin which returns Polydata with an > attached UnsignedCharArray as respective categories for all points. I > want to map these categories to colors using the "Interpret Values As > Categories" feature. When I enable "Interpret Values As Categories" > paraview immediately crashes with "Floating point exception (core > dumped)" as console output. I tried using the feature with a couple > other datasets (netCDF-format) and got the same result. > > I am using paraview version 5.2.0-RC3-22-g3fca33d 64bit on Ubuntu 16.04. > > > Any indication what might be causing this behavior is much appreciated. > > > Thank you very much. > > Philipp Jung > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From a.hill at victorchang.edu.au Wed Jan 18 18:14:59 2017 From: a.hill at victorchang.edu.au (Adam Hill) Date: Wed, 18 Jan 2017 23:14:59 +0000 Subject: [Paraview] size limit to loading annotated but file 4095 time steps Message-ID: Hi all We are using paraview to visualise a time series corresponding to propagation of a voltage waveform in a 2D domain. Data is a .vtu file annotated with time points. Total series is >10,000 time steps. All confirmed as being annotated correctly When we load into paraview (5.2), only the first 4095 time steps are imported. Any ideas why this might be? Is there some sort of 12 bit limit being imposed somewhere? Any workarounds people can suggest? Cheers A From fabian.wein at fau.de Thu Jan 19 05:35:30 2017 From: fabian.wein at fau.de (Fabian Wein) Date: Thu, 19 Jan 2017 11:35:30 +0100 Subject: [Paraview] Strange error building paraview-superbuild als nightly build Message-ID: Hello, I have a strange error. The issue is not very important, just a nice to have. I have a simple project building paraview-superbuild as external project which includes applying two simple patches (add building of the libs boost_filesystem and hdf5_cpp) and our external plugin. When run the project manually (cmake ..) it works reproducible perfectly smooth on several Linux machines and Mac. When I run the project via ctest for a nightly build I have errors building qt5. When I do 'make' in my project or the paraview-superbuild project all runs without any notice of a error, simply in install/bin no paraview stuff built. I diffed Testing/Temporary/LastBuild_20170118-1244.log with the output from my manual build. All is more or less the same but sometimes differently ordered due to parallal building (which I don't trigger actively) The real difference start in the ctest log in line ~36500 with ----------------------------- [ 88%] Performing install step for 'qt5' In file included from /home/fwein/code/cfs_paraview_build/build/superbuild/qt5/src/qtbase/src/corelib/tools/qlocale_tools.cpp:42:0: /home/fwein/code/cfs_paraview_build/build/superbuild/qt5/src/qtbase/src/corelib/tools/qdoublescanprint_p.h:151:53: fatal error: double-conversion/double-conversion.h: No such file or directory # include ^ compilation terminated. g++: error: .obj/qlocale_tools.o: No such file or directory mv: cannot stat 'libQt5Core.so.5.7.1': No such file or directory install: cannot stat '../../lib/libQt5Core.so.5.7.1': No such file or directory strip: '/home/fwein/code/cfs_paraview_build/build/install/lib/libQt5Core.so.5.7.1': No such file /home/fwein/code/cfs_paraview_build/build/superbuild/qt5/src/qtbase/src/network/kernel/qnetworkproxy_libproxy.cpp:47:19: fatal error: proxy.h: No such file or directory #include ^ compilation terminated. g++: error: .obj/qnetworkproxy_libproxy.o: No such file or directory mv: cannot stat 'libQt5Network.so.5.7.1': No such file or directory ... ---------------------------------------- In the manual built it is ---------------------------------------- [ 88%] Performing install step for 'qt5' strip:/home/fwein/code/cfs_paraview_build/build/install/bin/fixqt4headers.pl: File format not recognized strip:/home/fwein/code/cfs_paraview_build/build/install/bin/syncqt.pl: File format not recognized Some of the required modules (android|ios|winrt|osx_webview_experimental|qtHaveModule(webengine)) are not available. Skipped. [ 90%] Completed 'qt5' [ 90%] Built target qt5 Scanning dependencies of target paraview [ 90%] Creating directories for 'paraview' [ 91%] Performing download step (download, verify and extract) for 'paraview' -- verifying file... ... ------------------------------------------ I cannot see how this is caused by my ctest script --------------------------------------------- SET(CTEST_SOURCE_DIRECTORY "$ENV{HOME}/code/cfs_paraview") SET(CTEST_BINARY_DIRECTORY "$ENV{HOME}/code/cfs_paraview_build") SET(CTEST_CMAKE_GENERATOR "Unix Makefiles") SET(CTEST_PROJECT_NAME "Paraview metabuild") set(CTEST_SITE "eamc061") set(CTEST_BUILD_NAME "Paraview 5.2 metabuild") set(BUILDNAME "Paraview 5.2 metabuild Buildname what for?") # somehow CTEST_START_WITH_EMPTY_BINARY_DIRECTORY does not work?! So do it also manually file(REMOVE_RECURSE "${CTEST_BINARY_DIRECTORY}") file(MAKE_DIRECTORY "${CTEST_BINARY_DIRECTORY}") SET(CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE) SET(BUILDTYPE "RELEASE") message("Start dashboard...") ctest_start(Experimental) message(" Update") find_program(CTEST_SVN_COMMAND NAMES svn) set(CTEST_UPDATE_COMMAND "${CTEST_SVN_COMMAND}") ctest_update(SOURCE "${CTEST_SOURCE_DIRECTORY}" RETURN_VALUE res) message(" Configure") ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res) message(" Build") ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res) message(" Test") ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}/build" RETURN_VALUE res) message(" Submit") ------------------------------------------------------------- The CMakeCache.txt in my build directory and the paraview-superbuild build directory are identical Anyone has any idea? I can live without nightly builds but it would be nice for me to understand. Fabian From Mark.Olesen at esi-group.com Thu Jan 19 05:41:41 2017 From: Mark.Olesen at esi-group.com (Mark Olesen) Date: Thu, 19 Jan 2017 10:41:41 +0000 Subject: [Paraview] ParaView and Qt 5 In-Reply-To: References: , Message-ID: Thanks, this solves the problem. ________________________________________ From: Shawn Waldon Sent: Wednesday, January 18, 2017 9:22:18 PM To: Mark Olesen Cc: Utkarsh Ayachit; ParaView Developers; ParaView Subject: Re: [Paraview] ParaView and Qt 5 Hi Mark, CMake uses different variables to find Qt4 vs Qt5. QT_QMAKE_EXECUTABLE is the Qt4 variable and is ignored by the code to find Qt5. The variable you want is: -DQt5_DIR=/software/path/qt-5.7.1/lib/cmake/Qt5 HTH, Shawn On Wed, Jan 18, 2017 at 3:16 PM, Mark Olesen > wrote: I'm trying to compile a paraview using a Qt5 (5.7.1) that I've compiled with '-qt-xcb' to avoid too many dependencies. When compiling paraview (git version), I supposed that the following would be sufficient to convey which qt to use: cmake -DPARAVIEW_BUILD_QT_GUI=ON -DQT_QMAKE_EXECUTABLE:FILEPATH=/software/path/qt-5.7.1/bin/qmake -DPARAVIEW_QT_VERSION:STRING=5 ... However, the find_package(Qt5) locates the system Qt and its cmake file, which bombs out: CMake Error at CMake/ParaViewQt.cmake:65 (find_package): Could not find a configuration file for package "Qt5" that is compatible with requested version "5.6". The following configuration files were considered but not accepted: /usr/lib64/cmake/Qt5/Qt5Config.cmake, version: 5.5.1 /usr/lib64/cmake/Qt5/Qt5Config.cmake, version: 5.5.1 Call Stack (most recent call first): Qt/Widgets/CMakeLists.txt:200 (pv_find_package_qt) Which config variables am I missing? Thanks, /mark ________________________________________ From: ParaView > on behalf of Utkarsh Ayachit > Sent: Monday, January 16, 2017 7:51:36 PM To: ParaView Developers Cc: ParaView Subject: [Paraview] ParaView and Qt 5 Folks, With upcoming release (5.3), we plan to move to using Qt 5 by default. Qt 5 has been out since 2012 and it is well supported on modern platforms. ParaView will continue to build with Qt 4 until further notice, but we highly recommend custom application developers and plugin developers to move to Qt 5 at the earliest since active development and testing for ParaView will happen with Qt 5. Changes [1] that landed in master earlier today update ParaView to now use QOpenGLWidget for rendering which creates a frame buffer object to do all the rendering in. If you have custom mapper or rendering code that assumed it was rendering to the default onscreen frame buffer, it will not work correctly and will need to be updated. Please use the mailing, if you encounter any such issues. For everything else, the changes should be fairly transparent except in exceptions documented here [2]. In the upcoming weeks, we will update the superbuild and dashboards to build and test using Qt 5. Thanks, Utkarsh [1] https://gitlab.kitware.com/paraview/paraview/merge_requests/1279 [2] https://gitlab.kitware.com/paraview/paraview/blob/master/Utilities/Doxygen/pages/MajorAPIChanges.md#changes-in-53 _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview From aleksejs.fomins at lspr.swiss Thu Jan 19 09:01:44 2017 From: aleksejs.fomins at lspr.swiss (Aleksejs Fomins) Date: Thu, 19 Jan 2017 15:01:44 +0100 Subject: [Paraview] Problems writing binary vtu file Message-ID: <96dba2f1-e8cd-16b6-ddfe-656844397966@lspr.swiss> Dear Paraview, I tried to extend my VTU writer to write into binary format. I have tried either writing floats using Float32 format and doubles using Float64 format, both fail the same way. I write into binary by using file.write( (char*) &binarydata, sizeof(BinaryType)); In both cases, Paraview complains that there is an invalid token immediately at the beginning of binary output within the first DataArray clause. Could someone please hint me as of what I am doing wrong. Regards, Aleksejs ERROR: In /home/fomins/Downloads/ParaView-v5.0.1-source/VTK/IO/XMLParser/vtkXMLParser.cxx, line 397 vtkXMLDataParser (0x49f23f0): Error parsing XML in stream at line 7, column 0, byte index 379: not well-formed (invalid token) ERROR: In /home/fomins/Downloads/ParaView-v5.0.1-source/VTK/IO/XML/vtkXMLReader.cxx, line 456 vtkXMLUnstructuredGridReader (0x49ff7d0): Error parsing input file. ReadXMLInformation aborting. ERROR: In /home/fomins/Downloads/ParaView-v5.0.1-source/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 784 vtkCompositeDataPipeline (0x4226820): Algorithm vtkXMLUnstructuredGridReader(0x49ff7d0) returned failure for request: vtkInformation (0x4c21eb0) Debug: Off Modified Time: 167613 Reference Count: 1 Registered Events: (none) Request: REQUEST_INFORMATION ALGORITHM_AFTER_FORWARD: 1 FORWARD_DIRECTION: 0 ERROR: In /home/fomins/Downloads/ParaView-v5.0.1-source/VTK/IO/XMLParser/vtkXMLParser.cxx, line 397 vtkXMLDataParser (0x49aa790): Error parsing XML in stream at line 7, column 0, byte index 379: not well-formed (invalid token) ERROR: In /home/fomins/Downloads/ParaView-v5.0.1-source/VTK/IO/XML/vtkXMLReader.cxx, line 456 vtkXMLUnstructuredGridReader (0x49ff7d0): Error parsing input file. ReadXMLInformation aborting. ERROR: In /home/fomins/Downloads/ParaView-v5.0.1-source/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 784 vtkCompositeDataPipeline (0x4226820): Algorithm vtkXMLUnstructuredGridReader(0x49ff7d0) returned failure for request: vtkInformation (0x4c21eb0) Debug: Off Modified Time: 167613 Reference Count: 1 Registered Events: (none) Request: REQUEST_INFORMATION ALGORITHM_AFTER_FORWARD: 1 FORWARD_DIRECTION: 0 From Mark.Olesen at esi-group.com Thu Jan 19 10:34:22 2017 From: Mark.Olesen at esi-group.com (Mark Olesen) Date: Thu, 19 Jan 2017 15:34:22 +0000 Subject: [Paraview] combining in on-screen and off-screen in one build Message-ID: >From commits it looks like http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D isn't up-to-date. Can someone offer the cmake variable combinations that I need to compile a combined build with both opengl + osmesa? If this works well, I'd like to be using that sooner rather than later. Thanks, /mark From utkarsh.ayachit at kitware.com Thu Jan 19 10:44:08 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 19 Jan 2017 10:44:08 -0500 Subject: [Paraview] combining in on-screen and off-screen in one build In-Reply-To: References: Message-ID: Mark, Can you elaborate? When you say opengl + osmesa, do you mean as in Mesa+X and OSMesa ? Utkarsh On Thu, Jan 19, 2017 at 10:34 AM, Mark Olesen wrote: > From commits it looks like http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D isn't up-to-date. Can someone offer the cmake variable combinations that I need to compile a combined build with both opengl + osmesa? If this works well, I'd like to be using that sooner rather than later. > > Thanks, > /mark > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From alvaro.sanchez at kitware.com Thu Jan 19 10:49:17 2017 From: alvaro.sanchez at kitware.com (Alvaro Sanchez) Date: Thu, 19 Jan 2017 10:49:17 -0500 Subject: [Paraview] Increase number of slices for volume rendering ... In-Reply-To: <5a9278ec-3fb5-9d75-db4e-a868631084a5@dkrz.de> References: <1ab4702b-2bb2-caae-37b7-807bd51fd3c9@fau.de> <20170117160204.GA2731@megas> <5a9278ec-3fb5-9d75-db4e-a868631084a5@dkrz.de> Message-ID: Hi Niklas, unfortunately sampling distance is currently not exposed as a UI setting. You could make the following changes in order to decrease the sampling distance, VTK/Rendering/VolumeOpenGL2/vtkSmartVolumeMapper.cxx ln. 91 -- comment // this->GPUMapper->LockSampleDistanceToInputSpacingOn(); /ParaViewCore/ClientServerCore/Rendering/vtkImageVolumeRepresentation.cxx ln. 350 -- add this->VolumeMapper->SetAutoAdjustSampleDistances(0); this->VolumeMapper->SetInteractiveAdjustSampleDistances(0); const float dist = 1.0; this->VolumeMapper->SetSampleDistance(dist); //<-- smaller dist for higher quality / worse performance This is a hack, but it should improve the rendering quality. Be careful however to not make 'dist' too small as this hack has the disadvantage that the specified sampling distance would be also used during interaction (you might notice some performance issues). If you are trying to increase the sampling rate in order to reduce "wood grain" artifacts, you could instead try enabling jittering, this might also help (without major performance concerns), VTK/Rendering/VolumeOpenGL2/vtkSmartVolumeMapper.cxx ln. 92 -- add this->GPUMapper->UseJitteringOn(); We are planning to expose both settings in the future so that they can be controlled through the UI in ParaView. Hope that helps, ?lvaro On Tue, Jan 17, 2017 at 11:58 AM, Niklas R?ber wrote: > Hi, > > for GPU based volume rendering, is there a way to increase the number of > slices to enhance the overall quality of the rendering? If this can not > directly be done in the GUI, would it be possible to adjust a scaling > factor in the code? > > Thanks and Cheers, > Niklas > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -- Alvaro Sanchez Kitware, Inc. Senior R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4901 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Olesen at esi-group.com Thu Jan 19 11:15:19 2017 From: Mark.Olesen at esi-group.com (Mark Olesen) Date: Thu, 19 Jan 2017 16:15:19 +0000 Subject: [Paraview] combining in on-screen and off-screen in one build In-Reply-To: References: , Message-ID: Hi Utkarsh, Yes we need an off-screen rendering for the server and X11/GPU accelerated for the client. As per the FAQ: Can ParaView be built with X11/GPU accelerated OpenGL and OSMesa in the same build? If I build with osmesa, it seems that I must use PARAVIEW_BUILD_QT_GUI=OFF and VTK_USE_X=OFF to get a build (I'll need to re-verify, since I've tried so many combination). But this seems to preclude building for both hardware and software rendering in the same build? /mark ________________________________________ From: Utkarsh Ayachit Sent: Thursday, January 19, 2017 4:44:08 PM To: Mark Olesen Cc: paraview at paraview.org Subject: Re: [Paraview] combining in on-screen and off-screen in one build Mark, Can you elaborate? When you say opengl + osmesa, do you mean as in Mesa+X and OSMesa ? Utkarsh On Thu, Jan 19, 2017 at 10:34 AM, Mark Olesen wrote: > From commits it looks like http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D isn't up-to-date. Can someone offer the cmake variable combinations that I need to compile a combined build with both opengl + osmesa? If this works well, I'd like to be using that sooner rather than later. > > Thanks, > /mark > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From roeber at dkrz.de Thu Jan 19 11:17:53 2017 From: roeber at dkrz.de (=?UTF-8?Q?Niklas_R=c3=b6ber?=) Date: Thu, 19 Jan 2017 18:17:53 +0200 Subject: [Paraview] Increase number of slices for volume rendering ... In-Reply-To: References: <1ab4702b-2bb2-caae-37b7-807bd51fd3c9@fau.de> <20170117160204.GA2731@megas> <5a9278ec-3fb5-9d75-db4e-a868631084a5@dkrz.de> Message-ID: Awesome, thank you very much! Cheers, Niklas > Hi Niklas, > > unfortunately sampling distance is currently not exposed as a UI > setting. You could make the > following changes in order to decrease the sampling distance, > > VTK/Rendering/VolumeOpenGL2/vtkSmartVolumeMapper.cxx > ln. 91 -- comment > > // this->GPUMapper->LockSampleDistanceToInputSpacingOn(); > > /ParaViewCore/ClientServerCore/Rendering/vtkImageVolumeRepresentation.cxx > ln. 350 -- add > > this->VolumeMapper->SetAutoAdjustSampleDistances(0); > this->VolumeMapper->SetInteractiveAdjustSampleDistances(0); > const float dist = 1.0; > this->VolumeMapper->SetSampleDistance(dist); //<-- smaller dist for > higher quality / worse performance > > This is a hack, but it should improve the rendering quality. Be > careful however to not make 'dist' > too small as this hack has the disadvantage that the specified > sampling distance would be also > used during interaction (you might notice some performance issues). > > If you are trying to increase the sampling rate in order to reduce > "wood grain" artifacts, you > could instead try enabling jittering, this might also help (without > major performance concerns), > > VTK/Rendering/VolumeOpenGL2/vtkSmartVolumeMapper.cxx > > ln. 92 -- add > > this->GPUMapper->UseJitteringOn(); > > We are planning to expose both settings in the future so that they can > be controlled through > the UI in ParaView. > > Hope that helps, > ?lvaro > > > On Tue, Jan 17, 2017 at 11:58 AM, Niklas R?ber > wrote: > > Hi, > > for GPU based volume rendering, is there a way to increase the > number of slices to enhance the overall quality of the rendering? > If this can not directly be done in the GUI, would it be possible > to adjust a scaling factor in the code? > > Thanks and Cheers, > Niklas > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: > http://markmail.org/search/?q=ParaView > > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > > -- > Alvaro Sanchez > Kitware, Inc. > Senior R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4901 -- ______________________________________________ Dr. Niklas R?ber Visualisierung Abteilung Anwendungen Deutsches Klimarechenzentrum GmbH (DKRZ) Bundesstra?e 45 a ? D-20146 Hamburg ? Germany email: roeber at dkrz.de phone: +49 (0)40 460094 283 fax: +49 (0)40 460094 270 web: http://www.dkrz.de/ Gesch?ftsf?hrer: Prof. Dr. Thomas Ludwig Sitz der Gesellschaft: Hamburg Amtsgericht Hamburg HRB 39784 ______________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4916 bytes Desc: S/MIME Cryptographic Signature URL: From ben.boeckel at kitware.com Thu Jan 19 11:26:06 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Thu, 19 Jan 2017 11:26:06 -0500 Subject: [Paraview] Strange error building paraview-superbuild als nightly build In-Reply-To: References: Message-ID: <20170119162606.GB26876@megas.kitware.com> On Thu, Jan 19, 2017 at 11:35:30 +0100, Fabian Wein wrote: > I have a strange error. The issue is not very important, just a nice > to have. I suspect this is CTest's fault. Could you see if there is a `-i` flag in your DartConfiguration.tcl (or anywhere else in the cache) associated with the `make` command? The fix is to pass `-DMAKE_COMMAND:STRING=/path/to/make` to CMake during the configure, otherwise it "helpfully" passes `-i` (act like errors don't happen) which causes these kinds of problems. I suspect that Qt's configure is passing things it should not be passing and then setting preprocessor definitions it should not be. Note that it may be helpful to use an external Qt using the `standalone-qt` project in `superbuild/standalone-qt` so that you do not need to build it every night (it changes infrequently enough that this isn't too much of a hassle). --Ben From utkarsh.ayachit at kitware.com Thu Jan 19 11:40:14 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 19 Jan 2017 11:40:14 -0500 Subject: [Paraview] combining in on-screen and off-screen in one build In-Reply-To: References: Message-ID: To the best of my knowledge, that's not possible, it's not possible to have GPU accelerated OpenGL and OSMesa in the same build of ParaView. You have to do separate builds. ParaView does support using osmesa and libGL provided by Mesa itself in the same build, but that won't be using GPU, in that case. On Thu, Jan 19, 2017 at 11:15 AM, Mark Olesen wrote: > Hi Utkarsh, > > Yes we need an off-screen rendering for the server and X11/GPU accelerated for the client. > As per the FAQ: Can ParaView be built with X11/GPU accelerated OpenGL and OSMesa in the same build? > > If I build with osmesa, it seems that I must use PARAVIEW_BUILD_QT_GUI=OFF and VTK_USE_X=OFF to get a build (I'll need to re-verify, since I've tried so many combination). But this seems to preclude building for both hardware and software rendering in the same build? > > /mark > ________________________________________ > From: Utkarsh Ayachit > Sent: Thursday, January 19, 2017 4:44:08 PM > To: Mark Olesen > Cc: paraview at paraview.org > Subject: Re: [Paraview] combining in on-screen and off-screen in one build > > Mark, > > Can you elaborate? When you say opengl + osmesa, do you mean as in > Mesa+X and OSMesa ? > > Utkarsh > > On Thu, Jan 19, 2017 at 10:34 AM, Mark Olesen wrote: >> From commits it looks like http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D isn't up-to-date. Can someone offer the cmake variable combinations that I need to compile a combined build with both opengl + osmesa? If this works well, I'd like to be using that sooner rather than later. >> >> Thanks, >> /mark >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview From Mark.Olesen at esi-group.com Thu Jan 19 11:48:51 2017 From: Mark.Olesen at esi-group.com (Mark Olesen) Date: Thu, 19 Jan 2017 16:48:51 +0000 Subject: [Paraview] combining in on-screen and off-screen in one build In-Reply-To: References: , Message-ID: That is rather unfortunate - I guess that I misunderstood what the commits were doing. On the bright side: at least I have a definitive statement about what works and what doesn't. Many thanks for the quick answer. /mark ________________________________________ From: Utkarsh Ayachit Sent: Thursday, January 19, 2017 5:40:14 PM To: Mark Olesen Cc: paraview at paraview.org Subject: Re: [Paraview] combining in on-screen and off-screen in one build To the best of my knowledge, that's not possible, it's not possible to have GPU accelerated OpenGL and OSMesa in the same build of ParaView. You have to do separate builds. ParaView does support using osmesa and libGL provided by Mesa itself in the same build, but that won't be using GPU, in that case. On Thu, Jan 19, 2017 at 11:15 AM, Mark Olesen wrote: > Hi Utkarsh, > > Yes we need an off-screen rendering for the server and X11/GPU accelerated for the client. > As per the FAQ: Can ParaView be built with X11/GPU accelerated OpenGL and OSMesa in the same build? > > If I build with osmesa, it seems that I must use PARAVIEW_BUILD_QT_GUI=OFF and VTK_USE_X=OFF to get a build (I'll need to re-verify, since I've tried so many combination). But this seems to preclude building for both hardware and software rendering in the same build? > > /mark > ________________________________________ > From: Utkarsh Ayachit > Sent: Thursday, January 19, 2017 4:44:08 PM > To: Mark Olesen > Cc: paraview at paraview.org > Subject: Re: [Paraview] combining in on-screen and off-screen in one build > > Mark, > > Can you elaborate? When you say opengl + osmesa, do you mean as in > Mesa+X and OSMesa ? > > Utkarsh > > On Thu, Jan 19, 2017 at 10:34 AM, Mark Olesen wrote: >> From commits it looks like http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D isn't up-to-date. Can someone offer the cmake variable combinations that I need to compile a combined build with both opengl + osmesa? If this works well, I'd like to be using that sooner rather than later. >> >> Thanks, >> /mark >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview From gdsjaar at sandia.gov Thu Jan 19 12:17:32 2017 From: gdsjaar at sandia.gov (Sjaardema, Gregory D) Date: Thu, 19 Jan 2017 17:17:32 +0000 Subject: [Paraview] [EXTERNAL] Re: exodusII reader & writer in parallel In-Reply-To: <0599E816-969B-4D6C-A764-B970FA58FDB3@kitware.com> References: <27c0bba434404571812c265fe79d1ceb@ES08AMSNLNT.srn.sandia.gov> <0599E816-969B-4D6C-A764-B970FA58FDB3@kitware.com> Message-ID: It is legal to create an exodus file with no nodes and no elements. If that file is part of a parallel set (using file-per-processor mode), then that ?empty? file should have consistent metadata (block counts, sideset counts, ?), but it is allowed to have zero nodes and elements. ..Greg -- "A supercomputer is a device for turning compute-bound problems into I/O-bound problems? On 1/13/17, 2:13 PM, "ParaView on behalf of David Thompson" wrote: Hi all, > It's looking like there could be a decent amount of hacking in the ExodusII code to get the writer to work properly for this (as well as the reader to read it back in without issues). The main issue appears to be that NetCDF doesn't allow creating a dimension of 0 length/size. Thus the stuff in VTK/ThirdParty/exodusII/vtkexodusII would need to be changed. > > Both the reader and writer make the assumption that if the num_nodes dimension exists that there are points to be read in. Yes, that is a basic assumption of the Exodus file format: each rank is assigned a subset of the cells and nodes in the simulation domain, since otherwise there is no state to store. If rank 0 of a simulation has no nodes (and thus cannot have cells either), then it should probably not participate in writing the Exodus dataset. You could create an MPI subcontroller without the rank 0 process and have the writer use that. > At this point I'm thinking it's better to modify the reader than the writer... I would be very wary of this. David > > On Fri, Jan 13, 2017 at 2:59 PM, Andy Bauer wrote: > Hi Ken, > > Thanks for the input. > > There is an explicit check in the writer to see if there are any points before writing out point data. I took that check out and am hitting a NetCDF error that the "num_nodes" dimension isn't specified. It will probably take a bit of investigating to fix this but at least you've helped me go down the correct path. > > Thanks, > Andy > > On Fri, Jan 13, 2017 at 2:44 PM, Moreland, Kenneth wrote: > Andy, > > > > That sounds like a bug in our Exodus writer to me. I?m not positive, but I?m pretty sure that you can specify in Exodus point and cell arrays if no grid points or cells exist. The writer is probably making a shortcut and skipping that if there is no actual data. > > > > -Ken > > > > From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Andy Bauer > Sent: Friday, January 13, 2017 12:00 PM > To: paraview at paraview.org > Subject: [EXTERNAL] [Paraview] exodusII reader & writer in parallel > > > > Hi, > > I'm trying out the ExodusII writer in parallel and had some questions about how it should work in general when there isn't any data on process 0. Currently what happens in ParaView is that a file for each process is written out but the file corresponding to process 0 doesn't have any grid information or field data (an example is attached). When I read this back into ParaView using the built-in server (i.e. in serial) the ExodusII reader gets the proper points and cells but no field data is read in. > > So my question is this, does the ExodusII file format allow specifying point and cell arrays in a file if no grid points or cells exist? > > I'm tempted to fix this issue by modifying the reader to properly pass the field data information to process 0 from another one that has data but wanted to get the community's thoughts on this before I go through the implementation. The alternative would be to modify the writer to include point and cell data information and that's probably a better solution, assuming that the ExodusII format allows for that. > > Thanks, > > Andy > > ps. Attached is a sample set of ExodusII files that doesn't have any data on parallel.ex2.4.0 in case someone wants to play around with it. > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview From fabian.wein at fau.de Thu Jan 19 16:06:22 2017 From: fabian.wein at fau.de (Fabian Wein) Date: Thu, 19 Jan 2017 22:06:22 +0100 Subject: [Paraview] Strange error building paraview-superbuild als nightly build In-Reply-To: <20170119162606.GB26876@megas.kitware.com> References: <20170119162606.GB26876@megas.kitware.com> Message-ID: <0C66964A-15FD-4B87-AE27-5BE842963EC1@fau.de> thank you very much for the hint. I solved it via set(CTEST_BUILD_COMMAND ?/usr/bin/make") in the .ctest file. Fabian > Am 19.01.2017 um 17:26 schrieb Ben Boeckel : > > On Thu, Jan 19, 2017 at 11:35:30 +0100, Fabian Wein wrote: >> I have a strange error. The issue is not very important, just a nice >> to have. > > I suspect this is CTest's fault. Could you see if there is a `-i` flag > in your DartConfiguration.tcl (or anywhere else in the cache) associated > with the `make` command? The fix is to pass > `-DMAKE_COMMAND:STRING=/path/to/make` to CMake during the configure, > otherwise it "helpfully" passes `-i` (act like errors don't happen) > which causes these kinds of problems. I suspect that Qt's configure is > passing things it should not be passing and then setting preprocessor > definitions it should not be. > > Note that it may be helpful to use an external Qt using the > `standalone-qt` project in `superbuild/standalone-qt` so that you do not > need to build it every night (it changes infrequently enough that this > isn't too much of a hassle). > > --Ben Dr. Fabian Wein ZISC - Zentralinstitut f?r wissenschaftliches Rechnen Universit?t Erlangen-N?rnberg D-91052 Erlangen, Germany fabian.wein at fau.de From wascott at sandia.gov Thu Jan 19 18:21:03 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 19 Jan 2017 23:21:03 +0000 Subject: [Paraview] [EXTERNAL] size limit to loading annotated but file 4095 time steps In-Reply-To: References: Message-ID: Sounds like a bug? Could you create a dataset that replicates the issue, that is reasonably small in size? I.e., with one cell or point? Alan > -----Original Message----- > From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of > Adam Hill > Sent: Wednesday, January 18, 2017 4:15 PM > To: paraview at paraview.org > Subject: [EXTERNAL] [Paraview] size limit to loading annotated but file 4095 > time steps > > Hi all > > We are using paraview to visualise a time series corresponding to > propagation of a voltage waveform in a 2D domain. > > Data is a .vtu file annotated with time points. Total series is >10,000 time > steps. All confirmed as being annotated correctly > > When we load into paraview (5.2), only the first 4095 time steps are > imported. > > Any ideas why this might be? Is there some sort of 12 bit limit being imposed > somewhere? Any workarounds people can suggest? > > Cheers > > A > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From claude at theweak.link Thu Jan 19 19:01:13 2017 From: claude at theweak.link (claude) Date: Thu, 19 Jan 2017 18:01:13 -0600 Subject: [Paraview] ParaviewWeb on EC2 Message-ID: Hello! Following up one of the previous thread on setting up ParaviewWeb+Visualizer, I am trying to get it going on AWS EC2 with paraview-5.2. Maybe someone already went through it and know how to solve this little problem? * I launched the public AMI (ami-34f3f65e) on Ubuntu-14 with paraviewweb 4.4 which seemed like a good starting point. * I tested the visualizer on paraviewweb-4.4 and works perfectly. * I downloaded paraviewweb-5.2 and updated the 'pv' and 'www' symlinks under /data folder (see 'aws_data_dir' snapshot attached). * I also updated the paths in the start.sh, apache-TEMPLATE.conf and launcher-TEMPLATE.json files so that they reflect the correct path for paraview-5.2 (which are bit different than paraview-4.4). By the way, having start.sh running as a service at startup configuring properly the TEMPLATE files with the proper DNS name is admirable (each time I look at the doc, config files or code, I am amazed by the quality of it, thumb up!). * when I navigate to the EC2 DNS, the Visualizer comes up and I can browse for data files. The files seem to successfully load but nothing show up in the camera (see snapshot 'aws_ec2_visu'). Looking at the logs on the machine, they don't report any error (and look similar to what I can get locally on my machine). There is a couple of errors showing up in the web console though (in the snapshot attached). It looks like I am very close to make it work, I am probably missing something obvious. I tried the following to solve it by using my configuration on my local machine: 1. update the apache-TEMPLATE.conf with the following rules: RewriteCond %{QUERY_STRING} ^sessionId=(.*)&path=(.*)$ [NC] RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/%2 [P] 2. update the launcher-TEMPLATE.json with the following line: "sessionURL" : "ws://DNS_NAME/proxy?sessionId=${id}&path=ws", 3. reboot (so that the files get updated) but this time the UI doesn't even load, meaning I made it worse. It seems just like a websocket connection issue, right? Thanks in advance for any ideas to try. cheers claude -------------- next part -------------- A non-text attachment was scrubbed... Name: aws_ec2_visu.png Type: image/png Size: 121230 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: aws_data_dir.png Type: image/png Size: 86103 bytes Desc: not available URL: From sebastien.jourdain at kitware.com Thu Jan 19 19:19:24 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Thu, 19 Jan 2017 17:19:24 -0700 Subject: [Paraview] ParaviewWeb on EC2 In-Reply-To: References: Message-ID: Hi Claude, I'm glad you like our doc and code. If you feel we are missing something that is not obvious, please report it so we can fix it. Regarding your issue, you had a good reflex in fixing apache and the launcher config, as with PV5.2 we use a second ws connection for streaming the images in binary format. But it has been forever since I setup that ami, I have very little memory of what was setup. I do know that we use 'sed' to dynamically replace some string so the proper HOST for apache and the launcher get used, but I don't remember if it was DNS_NAME or something else. But from what I understand, you've done exactly what I would have done myself. I'm wondering if when you edited your launcher config you managed to produce an invalid JSON file. (You can paste it here http://jsonlint.com/ to be sure) Moreover, seeing the network calls of the web page that don't even load might be useful. I'd be curious to see the response of the POST on /paraview. Seb On Thu, Jan 19, 2017 at 5:01 PM, claude wrote: > Hello! > > Following up one of the previous thread on setting up > ParaviewWeb+Visualizer, I am trying to get it going on AWS EC2 with > paraview-5.2. Maybe someone already went through it and know how to > solve this little problem? > > * I launched the public AMI (ami-34f3f65e) on Ubuntu-14 with paraviewweb > 4.4 which seemed like a good starting point. > * I tested the visualizer on paraviewweb-4.4 and works perfectly. > * I downloaded paraviewweb-5.2 and updated the 'pv' and 'www' symlinks > under /data folder (see 'aws_data_dir' snapshot attached). > * I also updated the paths in the start.sh, apache-TEMPLATE.conf and > launcher-TEMPLATE.json files so that they reflect the correct path for > paraview-5.2 (which are bit different than paraview-4.4). By the way, > having start.sh running as a service at startup configuring properly the > TEMPLATE files with the proper DNS name is admirable (each time I look > at the doc, config files or code, I am amazed by the quality of it, > thumb up!). > * when I navigate to the EC2 DNS, the Visualizer comes up and I can > browse for data files. The files seem to successfully load but nothing > show up in the camera (see snapshot 'aws_ec2_visu'). Looking at the logs > on the machine, they don't report any error (and look similar to what I > can get locally on my machine). There is a couple of errors showing up > in the web console though (in the snapshot attached). > > It looks like I am very close to make it work, I am probably missing > something obvious. > I tried the following to solve it by using my configuration on my local > machine: > 1. update the apache-TEMPLATE.conf with the following rules: > RewriteCond %{QUERY_STRING} ^sessionId=(.*)&path=(.*)$ [NC] > RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/%2 [P] > > 2. update the launcher-TEMPLATE.json with the following line: > "sessionURL" : "ws://DNS_NAME/proxy?sessionId=${id}&path=ws", > > 3. reboot (so that the files get updated) > > but this time the UI doesn't even load, meaning I made it worse. > > It seems just like a websocket connection issue, right? > > Thanks in advance for any ideas to try. > cheers > claude > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From David.Benn at csiro.au Fri Jan 20 02:01:32 2017 From: David.Benn at csiro.au (David.Benn at csiro.au) Date: Fri, 20 Jan 2017 07:01:32 +0000 Subject: [Paraview] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? Message-ID: <5e518246b98c4d90a39855ea3bf421ca@exch4-cdc.nexus.csiro.au> Upon loading an annotated .vtu file with TimeStep annotations such as this into Paraview 5.2.0 (under 64 bit SUSE Linux): I see the following: [cid:image001.png at 01D27342.72FDFF10] such that a maximum of 4095 time steps are available, as opposed to the expected 10,560 time steps. When the non-annotated .vtu file is loaded, the expected number of frames are visible. Is there some inherent limitation within Paraview that prevents more than 4095 time steps from being loaded/visualised? Thanks. David -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 10819 bytes Desc: image001.png URL: From luo229 at gmail.com Fri Jan 20 02:45:10 2017 From: luo229 at gmail.com (Jiahui Luo) Date: Fri, 20 Jan 2017 15:45:10 +0800 Subject: [Paraview] OSPray rendering: ERROR: VolumeMapper's Input has no scalar array! Message-ID: <33e14dbc-aee1-04d4-ca2a-c9e9f7ef78fc@gmail.com> Hi , I got an error message when trying to do volume rendering on the output of the ResampleToImage filter: ERROR: In /home/user/apps/paraview5.2.0-build/superbuild/paraview/src/VTK/Rendering/OSPRay/vtkOSPRayVolumeMapperNode.cxx, line 107 vtkOSPRayVolumeMapperNode (0x68c2ad0): VolumeMapper's Input has no scalar array! Here is how it happened. First, I added a ProgrammableSource with Output DataSet Type set to vtkRectilinearGrid and apply something like this, import numpy as np # Read x,y,z,th from file xCoords = vtk.vtkDoubleArray() for i in x: xCoords.InsertNextValue(i) yCoords = vtk.vtkDoubleArray() for i in y: yCoords.InsertNextValue(i) zCoords = vtk.vtkDoubleArray() for i in z: zCoords.InsertNextValue(i) output.SetDimensions(len(x), len(y), len(z)) output.SetXCoordinates(xCoords) output.SetYCoordinates(yCoords) output.SetZCoordinates(zCoords) thArray = vtk.vtkFloatArray() thArray.SetName("Temperature") thArray.SetNumberOfComponents(1) thArray.SetNumberOfTuples(nx*ny*nz) for k in range(nz): for j in range(ny): for i in range(nx): index = i+j*nx+k*ny*nx thArray.SetValue(index, th[k,j,i]) output.GetCellData().SetScalars(thArray) return output Since volume rendering can not be done on rectilinear grid. I added a ResampleToImage filter on this source. Then I could do volume rendering using Ray cast or GPU based, but not OSPray and the above message popped up. How to make this work? Thanks. Jiahui Luo -------------- next part -------------- An HTML attachment was scrubbed... URL: From claude at theweak.link Fri Jan 20 10:33:39 2017 From: claude at theweak.link (claude) Date: Fri, 20 Jan 2017 09:33:39 -0600 Subject: [Paraview] ParaviewWeb on EC2 In-Reply-To: References: Message-ID: Hi Sebastien, sorry to make you dig into old memories :S so far I have been able to achieve the goals thanks to the documentation and help. Last thing I tried was to connect the visualizer to pv server in parallel. The help contents (--help) of bin/pvserver and the pvw-visualizer.py helped me to figure it out (all I had to do is use "reverse connection" and have pvserver connect to paraviewweb). I don't think it's possible to document every single possibility and that's where the code quality+comment and built-in help are very useful and complete. I will let you know if I find anything but so far so amazingly good. Regarding the EC2 at startup (pvw-start service running /data/start.sh), only DNS_NAME (ec2-xxxx-compute1-amazonaws.com) is fetched and replaced in the {apache/launcher}-TEMPLATE.{conf/json} files. I didn't see any other variable in there. After checking with JSONLint, the launcher JSON file is indeed valid. Paying more attention to the network requests, I don't see the failed GET and WS switching protocol requests anymore. Even more strange, when I move the camera, I can see the stack of black/blank frames being send by the server (axis are not visible either). By the way I used this config: * apache.conf RewriteCond %{QUERY_STRING} ^sessionId=(.*)&path=(.*)$ [NC] RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/%2 [P] * launcher.json "sessionURL" : "ws://DNS_NAME/proxy?sessionId=${id}&path=ws", As I am writing this, I just restarted the instance (terminate+launch) instead of reboot and it is now working... I went back to see the logs of failed remote viewing and I can now see this at the very end (after proper launching and everything): XIO: fatal IO error 0 (Success) on X server ":0.0" So here is what I am guessing: - I messed up something in the config files yesterday as I didn't get to that point - rebooting the instance doesn't start X properly, which fails to render the 3D view and explains why the frames are blank but everything else is fine. - somehow re-launching the instance starts X properly. I am puzzled but also happy that it seems to be working :) Do you know what would be the reasons for this issue with X? Since I started from the pv AMI, I didn't have to install any drivers nor configure the display. Maybe I'll try a fresh AMI with ubuntu-16 and install the drivers nvidia-367 to see if I encounter similar issues with X. Thanks for the pointers Sebastien. cheers, Claude On 01/19/2017 06:19 PM, Sebastien Jourdain wrote: > Hi Claude, > > I'm glad you like our doc and code. If you feel we are missing > something that is not obvious, please report it so we can fix it. > > Regarding your issue, you had a good reflex in fixing apache and the > launcher config, as with PV5.2 we use a second ws connection for > streaming the images in binary format. But it has been forever since I > setup that ami, I have very little memory of what was setup. > > I do know that we use 'sed' to dynamically replace some string so the > proper HOST for apache and the launcher get used, but I don't remember > if it was DNS_NAME or something else. But from what I understand, > you've done exactly what I would have done myself. > > I'm wondering if when you edited your launcher config you managed to > produce an invalid JSON file. (You can paste it > here http://jsonlint.com/ to be sure) > > Moreover, seeing the network calls of the web page that don't even > load might be useful. I'd be curious to see the response of the POST > on /paraview. > > Seb > > > On Thu, Jan 19, 2017 at 5:01 PM, claude > wrote: > > Hello! > > Following up one of the previous thread on setting up > ParaviewWeb+Visualizer, I am trying to get it going on AWS EC2 with > paraview-5.2. Maybe someone already went through it and know how to > solve this little problem? > > * I launched the public AMI (ami-34f3f65e) on Ubuntu-14 with > paraviewweb > 4.4 which seemed like a good starting point. > * I tested the visualizer on paraviewweb-4.4 and works perfectly. > * I downloaded paraviewweb-5.2 and updated the 'pv' and 'www' symlinks > under /data folder (see 'aws_data_dir' snapshot attached). > * I also updated the paths in the start.sh, apache-TEMPLATE.conf and > launcher-TEMPLATE.json files so that they reflect the correct path for > paraview-5.2 (which are bit different than paraview-4.4). By the way, > having start.sh running as a service at startup configuring > properly the > TEMPLATE files with the proper DNS name is admirable (each time I look > at the doc, config files or code, I am amazed by the quality of it, > thumb up!). > * when I navigate to the EC2 DNS, the Visualizer comes up and I can > browse for data files. The files seem to successfully load but nothing > show up in the camera (see snapshot 'aws_ec2_visu'). Looking at > the logs > on the machine, they don't report any error (and look similar to > what I > can get locally on my machine). There is a couple of errors showing up > in the web console though (in the snapshot attached). > > It looks like I am very close to make it work, I am probably missing > something obvious. > I tried the following to solve it by using my configuration on my > local > machine: > 1. update the apache-TEMPLATE.conf with the following rules: > RewriteCond %{QUERY_STRING} ^sessionId=(.*)&path=(.*)$ [NC] > RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/%2 [P] > > 2. update the launcher-TEMPLATE.json with the following line: > "sessionURL" : "ws://DNS_NAME/proxy?sessionId=${id}&path=ws", > > 3. reboot (so that the files get updated) > > but this time the UI doesn't even load, meaning I made it worse. > > It seems just like a websocket connection issue, right? > > Thanks in advance for any ideas to try. > cheers > claude > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: > http://markmail.org/search/?q=ParaView > > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: EC2_paraview_POST.png Type: image/png Size: 80945 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ec2_network_requests.png Type: image/png Size: 66693 bytes Desc: not available URL: From sebastien.jourdain at kitware.com Fri Jan 20 10:46:57 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Fri, 20 Jan 2017 08:46:57 -0700 Subject: [Paraview] ParaviewWeb on EC2 In-Reply-To: References: Message-ID: Thanks Claude for your feedback and I'm happy to ear that's working. We haven't moved to Ubuntu 16.04 so far due to the lack of time and the fact that services management is different. For Ubuntu 14.04, you can use our ansible provisioning script here: http://kitware.github.io/paraviewweb/docs/ansible.html But as I said, it won't fully work on 16.04, but if you are up for it, you can always fix it for 16.04 and contribute back. Moreover, we still have some manual step for the driver as the user should pick the right driver. You might also find some useful information here too: https://github.com/Kitware/paraviewweb/issues/319 Good luck, Seb On Fri, Jan 20, 2017 at 8:33 AM, claude wrote: > Hi Sebastien, > > sorry to make you dig into old memories :S > so far I have been able to achieve the goals thanks to the documentation > and help. Last thing I tried was to connect the visualizer to pv server in > parallel. The help contents (--help) of bin/pvserver and the > pvw-visualizer.py helped me to figure it out (all I had to do is use > "reverse connection" and have pvserver connect to paraviewweb). > > I don't think it's possible to document every single possibility and > that's where the code quality+comment and built-in help are very useful and > complete. I will let you know if I find anything but so far so amazingly > good. > > > Regarding the EC2 at startup (pvw-start service running /data/start.sh), > only DNS_NAME (ec2-xxxx-compute1-amazonaws.com) is fetched and replaced > in the {apache/launcher}-TEMPLATE.{conf/json} files. I didn't see any > other variable in there. > > After checking with JSONLint, the launcher JSON file is indeed valid. > > Paying more attention to the network requests, I don't see the failed GET > and WS switching protocol requests anymore. Even more strange, when I move > the camera, I can see the stack of black/blank frames being send by the > server (axis are not visible either). > > By the way I used this config: > * apache.conf > RewriteCond %{QUERY_STRING} ^sessionId=(.*)&path=(.*)$ [NC] > RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/%2 [P] > > * launcher.json > "sessionURL" : "ws://DNS_NAME/proxy?sessionId=${id}&path=ws", > > As I am writing this, I just restarted the instance (terminate+launch) > instead of reboot and it is now working... I went back to see the logs of > failed remote viewing and I can now see this at the very end (after proper > launching and everything): > XIO: fatal IO error 0 (Success) on X server ":0.0" > > So here is what I am guessing: > - I messed up something in the config files yesterday as I didn't get to > that point > - rebooting the instance doesn't start X properly, which fails to render > the 3D view and explains why the frames are blank but everything else is > fine. > - somehow re-launching the instance starts X properly. > > I am puzzled but also happy that it seems to be working :) > Do you know what would be the reasons for this issue with X? Since I > started from the pv AMI, I didn't have to install any drivers nor configure > the display. Maybe I'll try a fresh AMI with ubuntu-16 and install the > drivers nvidia-367 to see if I encounter similar issues with X. > > Thanks for the pointers Sebastien. > > cheers, > Claude > > > On 01/19/2017 06:19 PM, Sebastien Jourdain wrote: > > Hi Claude, > > I'm glad you like our doc and code. If you feel we are missing something > that is not obvious, please report it so we can fix it. > > Regarding your issue, you had a good reflex in fixing apache and the > launcher config, as with PV5.2 we use a second ws connection for streaming > the images in binary format. But it has been forever since I setup that > ami, I have very little memory of what was setup. > > I do know that we use 'sed' to dynamically replace some string so the > proper HOST for apache and the launcher get used, but I don't remember if > it was DNS_NAME or something else. But from what I understand, you've > done exactly what I would have done myself. > > I'm wondering if when you edited your launcher config you managed to > produce an invalid JSON file. (You can paste it here http://jsonlint.com/ > to be sure) > > Moreover, seeing the network calls of the web page that don't even load > might be useful. I'd be curious to see the response of the POST on > /paraview. > > Seb > > > On Thu, Jan 19, 2017 at 5:01 PM, claude wrote: > >> Hello! >> >> Following up one of the previous thread on setting up >> ParaviewWeb+Visualizer, I am trying to get it going on AWS EC2 with >> paraview-5.2. Maybe someone already went through it and know how to >> solve this little problem? >> >> * I launched the public AMI (ami-34f3f65e) on Ubuntu-14 with paraviewweb >> 4.4 which seemed like a good starting point. >> * I tested the visualizer on paraviewweb-4.4 and works perfectly. >> * I downloaded paraviewweb-5.2 and updated the 'pv' and 'www' symlinks >> under /data folder (see 'aws_data_dir' snapshot attached). >> * I also updated the paths in the start.sh, apache-TEMPLATE.conf and >> launcher-TEMPLATE.json files so that they reflect the correct path for >> paraview-5.2 (which are bit different than paraview-4.4). By the way, >> having start.sh running as a service at startup configuring properly the >> TEMPLATE files with the proper DNS name is admirable (each time I look >> at the doc, config files or code, I am amazed by the quality of it, >> thumb up!). >> * when I navigate to the EC2 DNS, the Visualizer comes up and I can >> browse for data files. The files seem to successfully load but nothing >> show up in the camera (see snapshot 'aws_ec2_visu'). Looking at the logs >> on the machine, they don't report any error (and look similar to what I >> can get locally on my machine). There is a couple of errors showing up >> in the web console though (in the snapshot attached). >> >> It looks like I am very close to make it work, I am probably missing >> something obvious. >> I tried the following to solve it by using my configuration on my local >> machine: >> 1. update the apache-TEMPLATE.conf with the following rules: >> RewriteCond %{QUERY_STRING} ^sessionId=(.*)&path=(.*)$ [NC] >> RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/%2 [P] >> >> 2. update the launcher-TEMPLATE.json with the following line: >> "sessionURL" : "ws://DNS_NAME/proxy?sessionId=${id}&path=ws", >> >> 3. reboot (so that the files get updated) >> >> but this time the UI doesn't even load, meaning I made it worse. >> >> It seems just like a websocket connection issue, right? >> >> Thanks in advance for any ideas to try. >> cheers >> claude >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From claude at theweak.link Fri Jan 20 10:59:23 2017 From: claude at theweak.link (claude) Date: Fri, 20 Jan 2017 09:59:23 -0600 Subject: [Paraview] ParaviewWeb on EC2 In-Reply-To: References: Message-ID: I'm definitely up for the challenge. Thanks for referring the current issues that will help. I am not familiar with Ansible, I'll definitely give it a try then. I'll try the following: * make a public AMI for Ubuntu 16.04 - paraview-5.2 * port the Ansible book to Ubuntu 16.04 I'll keep you posted. Thank you Sebastien! claude On 01/20/2017 09:46 AM, Sebastien Jourdain wrote: > Thanks Claude for your feedback and I'm happy to ear that's working. > > We haven't moved to Ubuntu 16.04 so far due to the lack of time and > the fact that services management is different. > > For Ubuntu 14.04, you can use our ansible provisioning script here: > http://kitware.github.io/paraviewweb/docs/ansible.html > But as I said, it won't fully work on 16.04, but if you are up for it, > you can always fix it for 16.04 and contribute back. > > Moreover, we still have some manual step for the driver as the user > should pick the right driver. > > You might also find some useful information here > too: https://github.com/Kitware/paraviewweb/issues/319 > > Good luck, > > Seb > > > On Fri, Jan 20, 2017 at 8:33 AM, claude > wrote: > > Hi Sebastien, > > sorry to make you dig into old memories :S > so far I have been able to achieve the goals thanks to the > documentation and help. Last thing I tried was to connect the > visualizer to pv server in parallel. The help contents (--help) of > bin/pvserver and the pvw-visualizer.py helped me to figure it out > (all I had to do is use "reverse connection" and have pvserver > connect to paraviewweb). > > I don't think it's possible to document every single possibility > and that's where the code quality+comment and built-in help are > very useful and complete. I will let you know if I find anything > but so far so amazingly good. > > > Regarding the EC2 at startup (pvw-start service running > /data/start.sh), only DNS_NAME (ec2-xxxx-compute1-amazonaws.com > ) is fetched and replaced > in the {apache/launcher}-TEMPLATE.{conf/json} files. I didn't see > any other variable in there. > > After checking with JSONLint, the launcher JSON file is indeed valid. > > Paying more attention to the network requests, I don't see the > failed GET and WS switching protocol requests anymore. Even more > strange, when I move the camera, I can see the stack of > black/blank frames being send by the server (axis are not visible > either). > > By the way I used this config: > * apache.conf > RewriteCond %{QUERY_STRING} ^sessionId=(.*)&path=(.*)$ [NC] > RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/%2 [P] > > * launcher.json > "sessionURL" : "ws://DNS_NAME/proxy?sessionId=${id}&path=ws", > > As I am writing this, I just restarted the instance > (terminate+launch) instead of reboot and it is now working... I > went back to see the logs of failed remote viewing and I can now > see this at the very end (after proper launching and everything): > XIO: fatal IO error 0 (Success) on X server ":0.0" > > So here is what I am guessing: > - I messed up something in the config files yesterday as I didn't > get to that point > - rebooting the instance doesn't start X properly, which fails to > render the 3D view and explains why the frames are blank but > everything else is fine. > - somehow re-launching the instance starts X properly. > > I am puzzled but also happy that it seems to be working :) > Do you know what would be the reasons for this issue with X? Since > I started from the pv AMI, I didn't have to install any drivers > nor configure the display. Maybe I'll try a fresh AMI with > ubuntu-16 and install the drivers nvidia-367 to see if I encounter > similar issues with X. > > Thanks for the pointers Sebastien. > > cheers, > Claude > > > On 01/19/2017 06:19 PM, Sebastien Jourdain wrote: >> Hi Claude, >> >> I'm glad you like our doc and code. If you feel we are missing >> something that is not obvious, please report it so we can fix it. >> >> Regarding your issue, you had a good reflex in fixing apache and >> the launcher config, as with PV5.2 we use a second ws connection >> for streaming the images in binary format. But it has been >> forever since I setup that ami, I have very little memory of what >> was setup. >> >> I do know that we use 'sed' to dynamically replace some string so >> the proper HOST for apache and the launcher get used, but I don't >> remember if it was DNS_NAME or something else. But from what I >> understand, you've done exactly what I would have done myself. >> >> I'm wondering if when you edited your launcher config you managed >> to produce an invalid JSON file. (You can paste it >> here http://jsonlint.com/ to be sure) >> >> Moreover, seeing the network calls of the web page that don't >> even load might be useful. I'd be curious to see the response of >> the POST on /paraview. >> >> Seb >> >> >> On Thu, Jan 19, 2017 at 5:01 PM, claude > > wrote: >> >> Hello! >> >> Following up one of the previous thread on setting up >> ParaviewWeb+Visualizer, I am trying to get it going on AWS >> EC2 with >> paraview-5.2. Maybe someone already went through it and know >> how to >> solve this little problem? >> >> * I launched the public AMI (ami-34f3f65e) on Ubuntu-14 with >> paraviewweb >> 4.4 which seemed like a good starting point. >> * I tested the visualizer on paraviewweb-4.4 and works perfectly. >> * I downloaded paraviewweb-5.2 and updated the 'pv' and 'www' >> symlinks >> under /data folder (see 'aws_data_dir' snapshot attached). >> * I also updated the paths in the start.sh, >> apache-TEMPLATE.conf and >> launcher-TEMPLATE.json files so that they reflect the correct >> path for >> paraview-5.2 (which are bit different than paraview-4.4). By >> the way, >> having start.sh running as a service at startup configuring >> properly the >> TEMPLATE files with the proper DNS name is admirable (each >> time I look >> at the doc, config files or code, I am amazed by the quality >> of it, >> thumb up!). >> * when I navigate to the EC2 DNS, the Visualizer comes up and >> I can >> browse for data files. The files seem to successfully load >> but nothing >> show up in the camera (see snapshot 'aws_ec2_visu'). Looking >> at the logs >> on the machine, they don't report any error (and look similar >> to what I >> can get locally on my machine). There is a couple of errors >> showing up >> in the web console though (in the snapshot attached). >> >> It looks like I am very close to make it work, I am probably >> missing >> something obvious. >> I tried the following to solve it by using my configuration >> on my local >> machine: >> 1. update the apache-TEMPLATE.conf with the following rules: >> RewriteCond %{QUERY_STRING} ^sessionId=(.*)&path=(.*)$ [NC] >> RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/%2 [P] >> >> 2. update the launcher-TEMPLATE.json with the following line: >> "sessionURL" : "ws://DNS_NAME/proxy?sessionId=${id}&path=ws", >> >> 3. reboot (so that the files get updated) >> >> but this time the UI doesn't even load, meaning I made it worse. >> >> It seems just like a websocket connection issue, right? >> >> Thanks in advance for any ideas to try. >> cheers >> claude >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> >> Search the list archives at: >> http://markmail.org/search/?q=ParaView >> >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Fri Jan 20 12:06:23 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Fri, 20 Jan 2017 12:06:23 -0500 Subject: [Paraview] [EXTERNAL] Re: exodusII reader & writer in parallel In-Reply-To: References: <27c0bba434404571812c265fe79d1ceb@ES08AMSNLNT.srn.sandia.gov> <0599E816-969B-4D6C-A764-B970FA58FDB3@kitware.com> Message-ID: Hi Greg, Thanks for the info. I've briefly gone through the ExodusII Sandia report at http://prod.sandia.gov/techlib/access-control.cgi/1992/922137.pdf but didn't notice any information on parallel sets. Is that available some place that I can look at? Thanks, Andy On Thu, Jan 19, 2017 at 12:17 PM, Sjaardema, Gregory D wrote: > It is legal to create an exodus file with no nodes and no elements. If > that file is part of a parallel set (using file-per-processor mode), then > that ?empty? file should have consistent metadata (block counts, sideset > counts, ?), but it is allowed to have zero nodes and elements. > > ..Greg > > -- > "A supercomputer is a device for turning compute-bound problems into > I/O-bound problems? > > On 1/13/17, 2:13 PM, "ParaView on behalf of David Thompson" < > paraview-bounces at paraview.org on behalf of david.thompson at kitware.com> > wrote: > > Hi all, > > > It's looking like there could be a decent amount of hacking in the > ExodusII code to get the writer to work properly for this (as well as the > reader to read it back in without issues). The main issue appears to be > that NetCDF doesn't allow creating a dimension of 0 length/size. Thus the > stuff in VTK/ThirdParty/exodusII/vtkexodusII would need to be changed. > > > > Both the reader and writer make the assumption that if the num_nodes > dimension exists that there are points to be read in. > > Yes, that is a basic assumption of the Exodus file format: each rank > is assigned a subset of the cells and nodes in the simulation domain, since > otherwise there is no state to store. If rank 0 of a simulation has no > nodes (and thus cannot have cells either), then it should probably not > participate in writing the Exodus dataset. You could create an MPI > subcontroller without the rank 0 process and have the writer use that. > > > At this point I'm thinking it's better to modify the reader than the > writer... > > I would be very wary of this. > > David > > > > > On Fri, Jan 13, 2017 at 2:59 PM, Andy Bauer > wrote: > > Hi Ken, > > > > Thanks for the input. > > > > There is an explicit check in the writer to see if there are any > points before writing out point data. I took that check out and am hitting > a NetCDF error that the "num_nodes" dimension isn't specified. It will > probably take a bit of investigating to fix this but at least you've helped > me go down the correct path. > > > > Thanks, > > Andy > > > > On Fri, Jan 13, 2017 at 2:44 PM, Moreland, Kenneth < > kmorel at sandia.gov> wrote: > > Andy, > > > > > > > > That sounds like a bug in our Exodus writer to me. I?m not positive, > but I?m pretty sure that you can specify in Exodus point and cell arrays if > no grid points or cells exist. The writer is probably making a shortcut and > skipping that if there is no actual data. > > > > > > > > -Ken > > > > > > > > From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of > Andy Bauer > > Sent: Friday, January 13, 2017 12:00 PM > > To: paraview at paraview.org > > Subject: [EXTERNAL] [Paraview] exodusII reader & writer in parallel > > > > > > > > Hi, > > > > I'm trying out the ExodusII writer in parallel and had some > questions about how it should work in general when there isn't any data on > process 0. Currently what happens in ParaView is that a file for each > process is written out but the file corresponding to process 0 doesn't have > any grid information or field data (an example is attached). When I read > this back into ParaView using the built-in server (i.e. in serial) the > ExodusII reader gets the proper points and cells but no field data is read > in. > > > > So my question is this, does the ExodusII file format allow > specifying point and cell arrays in a file if no grid points or cells exist? > > > > I'm tempted to fix this issue by modifying the reader to properly > pass the field data information to process 0 from another one that has data > but wanted to get the community's thoughts on this before I go through the > implementation. The alternative would be to modify the writer to include > point and cell data information and that's probably a better solution, > assuming that the ExodusII format allows for that. > > > > Thanks, > > > > Andy > > > > ps. Attached is a sample set of ExodusII files that doesn't have any > data on parallel.ex2.4.0 in case someone wants to play around with it. > > > > > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Fri Jan 20 12:08:52 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Fri, 20 Jan 2017 12:08:52 -0500 Subject: [Paraview] OSPray rendering: ERROR: VolumeMapper's Input has no scalar array! In-Reply-To: <33e14dbc-aee1-04d4-ca2a-c9e9f7ef78fc@gmail.com> References: <33e14dbc-aee1-04d4-ca2a-c9e9f7ef78fc@gmail.com> Message-ID: That's a bug in either the OSPRay mapper or the ResampleToImage filter, depending on your point of view. To workaround, put a python programmable filter into the pipeline to annotate the array as being the "Active Scalars". In it, choose: Output Data Set Type = "Same as Input" //the default check "Copy Arrays" //not the default for script use :self.GetOutput().GetPointData().SetActiveScalars("RTData") David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Fri, Jan 20, 2017 at 2:45 AM, Jiahui Luo wrote: > Hi , > I got an error message when trying to do volume rendering on the output of > the ResampleToImage filter: > > ERROR: In /home/user/apps/paraview5.2.0-build/superbuild/paraview/src/ > VTK/Rendering/OSPRay/vtkOSPRayVolumeMapperNode.cxx, line 107 > vtkOSPRayVolumeMapperNode (0x68c2ad0): VolumeMapper's Input has no scalar > array! > > Here is how it happened. > First, I added a ProgrammableSource with Output DataSet Type set to > vtkRectilinearGrid and apply something like this, > > import numpy as np > > # Read x,y,z,th from file > > xCoords = vtk.vtkDoubleArray() > for i in x: > xCoords.InsertNextValue(i) > > yCoords = vtk.vtkDoubleArray() > for i in y: > yCoords.InsertNextValue(i) > > zCoords = vtk.vtkDoubleArray() > for i in z: > zCoords.InsertNextValue(i) > > output.SetDimensions(len(x), len(y), len(z)) > output.SetXCoordinates(xCoords) > output.SetYCoordinates(yCoords) > output.SetZCoordinates(zCoords) > > thArray = vtk.vtkFloatArray() > thArray.SetName("Temperature") > thArray.SetNumberOfComponents(1) > thArray.SetNumberOfTuples(nx*ny*nz) > for k in range(nz): > for j in range(ny): > for i in range(nx): > index = i+j*nx+k*ny*nx > thArray.SetValue(index, th[k,j,i]) > output.GetCellData().SetScalars(thArray) > return output > > Since volume rendering can not be done on rectilinear grid. I added a > ResampleToImage filter on this source. > > Then I could do volume rendering using Ray cast or GPU based, but not > OSPray and the above message popped up. > > How to make this work? Thanks. > > Jiahui Luo > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Fri Jan 20 12:09:15 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Fri, 20 Jan 2017 12:09:15 -0500 Subject: [Paraview] OSPray rendering: ERROR: VolumeMapper's Input has no scalar array! In-Reply-To: References: <33e14dbc-aee1-04d4-ca2a-c9e9f7ef78fc@gmail.com> Message-ID: Please file a bug report on gitlab. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Fri, Jan 20, 2017 at 12:08 PM, David E DeMarle wrote: > That's a bug in either the OSPRay mapper or the ResampleToImage filter, > depending on your point of view. To workaround, put a python programmable > filter into the pipeline to annotate the array as being the "Active > Scalars". > > In it, choose: > Output Data Set Type = "Same as Input" //the default > check "Copy Arrays" //not the default > for script use :self.GetOutput().GetPointData().SetActiveScalars("RTData") > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 <(518)%20881-4909> > > On Fri, Jan 20, 2017 at 2:45 AM, Jiahui Luo wrote: > >> Hi , >> I got an error message when trying to do volume rendering on the output >> of the ResampleToImage filter: >> >> ERROR: In /home/user/apps/paraview5.2.0-build/superbuild/paraview/src/ >> VTK/Rendering/OSPRay/vtkOSPRayVolumeMapperNode.cxx, line 107 >> vtkOSPRayVolumeMapperNode (0x68c2ad0): VolumeMapper's Input has no scalar >> array! >> >> Here is how it happened. >> First, I added a ProgrammableSource with Output DataSet Type set to >> vtkRectilinearGrid and apply something like this, >> >> import numpy as np >> >> # Read x,y,z,th from file >> >> xCoords = vtk.vtkDoubleArray() >> for i in x: >> xCoords.InsertNextValue(i) >> >> yCoords = vtk.vtkDoubleArray() >> for i in y: >> yCoords.InsertNextValue(i) >> >> zCoords = vtk.vtkDoubleArray() >> for i in z: >> zCoords.InsertNextValue(i) >> >> output.SetDimensions(len(x), len(y), len(z)) >> output.SetXCoordinates(xCoords) >> output.SetYCoordinates(yCoords) >> output.SetZCoordinates(zCoords) >> >> thArray = vtk.vtkFloatArray() >> thArray.SetName("Temperature") >> thArray.SetNumberOfComponents(1) >> thArray.SetNumberOfTuples(nx*ny*nz) >> for k in range(nz): >> for j in range(ny): >> for i in range(nx): >> index = i+j*nx+k*ny*nx >> thArray.SetValue(index, th[k,j,i]) >> output.GetCellData().SetScalars(thArray) >> return output >> >> Since volume rendering can not be done on rectilinear grid. I added a >> ResampleToImage filter on this source. >> >> Then I could do volume rendering using Ray cast or GPU based, but not >> OSPray and the above message popped up. >> >> How to make this work? Thanks. >> >> Jiahui Luo >> >> >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Fri Jan 20 13:04:20 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Fri, 20 Jan 2017 13:04:20 -0500 Subject: [Paraview] OSPray rendering: ERROR: VolumeMapper's Input has no scalar array! In-Reply-To: References: <33e14dbc-aee1-04d4-ca2a-c9e9f7ef78fc@gmail.com> Message-ID: nvm, already reported here: https://gitlab.kitware.com/paraview/paraview/issues/17121 David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Fri, Jan 20, 2017 at 12:09 PM, David E DeMarle wrote: > Please file a bug report on gitlab. > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 <(518)%20881-4909> > > On Fri, Jan 20, 2017 at 12:08 PM, David E DeMarle < > dave.demarle at kitware.com> wrote: > >> That's a bug in either the OSPRay mapper or the ResampleToImage filter, >> depending on your point of view. To workaround, put a python programmable >> filter into the pipeline to annotate the array as being the "Active >> Scalars". >> >> In it, choose: >> Output Data Set Type = "Same as Input" //the default >> check "Copy Arrays" //not the default >> for script use :self.GetOutput().GetPointData >> ().SetActiveScalars("RTData") >> >> David E DeMarle >> Kitware, Inc. >> R&D Engineer >> 21 Corporate Drive >> Clifton Park, NY 12065-8662 >> Phone: 518-881-4909 <(518)%20881-4909> >> >> On Fri, Jan 20, 2017 at 2:45 AM, Jiahui Luo wrote: >> >>> Hi , >>> I got an error message when trying to do volume rendering on the output >>> of the ResampleToImage filter: >>> >>> ERROR: In /home/user/apps/paraview5.2.0-build/superbuild/paraview/src/ >>> VTK/Rendering/OSPRay/vtkOSPRayVolumeMapperNode.cxx, line 107 >>> vtkOSPRayVolumeMapperNode (0x68c2ad0): VolumeMapper's Input has no >>> scalar array! >>> >>> Here is how it happened. >>> First, I added a ProgrammableSource with Output DataSet Type set to >>> vtkRectilinearGrid and apply something like this, >>> >>> import numpy as np >>> >>> # Read x,y,z,th from file >>> >>> xCoords = vtk.vtkDoubleArray() >>> for i in x: >>> xCoords.InsertNextValue(i) >>> >>> yCoords = vtk.vtkDoubleArray() >>> for i in y: >>> yCoords.InsertNextValue(i) >>> >>> zCoords = vtk.vtkDoubleArray() >>> for i in z: >>> zCoords.InsertNextValue(i) >>> >>> output.SetDimensions(len(x), len(y), len(z)) >>> output.SetXCoordinates(xCoords) >>> output.SetYCoordinates(yCoords) >>> output.SetZCoordinates(zCoords) >>> >>> thArray = vtk.vtkFloatArray() >>> thArray.SetName("Temperature") >>> thArray.SetNumberOfComponents(1) >>> thArray.SetNumberOfTuples(nx*ny*nz) >>> for k in range(nz): >>> for j in range(ny): >>> for i in range(nx): >>> index = i+j*nx+k*ny*nx >>> thArray.SetValue(index, th[k,j,i]) >>> output.GetCellData().SetScalars(thArray) >>> return output >>> >>> Since volume rendering can not be done on rectilinear grid. I added a >>> ResampleToImage filter on this source. >>> >>> Then I could do volume rendering using Ray cast or GPU based, but not >>> OSPray and the above message popped up. >>> >>> How to make this work? Thanks. >>> >>> Jiahui Luo >>> >>> >>> >>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From luo229 at gmail.com Sat Jan 21 22:17:39 2017 From: luo229 at gmail.com (Jiahui Luo) Date: Sun, 22 Jan 2017 11:17:39 +0800 Subject: [Paraview] OSPray rendering: ERROR: VolumeMapper's Input has no scalar array! In-Reply-To: References: <33e14dbc-aee1-04d4-ca2a-c9e9f7ef78fc@gmail.com> Message-ID: <19ececca-7501-1e40-938e-a9c4da8fe876@gmail.com> Thank you, David. I could not get your script to work. Fortunately, I found another workaround. Either change my source to provide PointData, or put a CellDataToPointData filter between the source and the resample filter. Hope this is helpful for you. Jiahui Luo ? 2017?01?21? 02:04, David E DeMarle ??: > nvm, already reported here: > https://gitlab.kitware.com/paraview/paraview/issues/17121 > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > On Fri, Jan 20, 2017 at 12:09 PM, David E DeMarle > > wrote: > > Please file a bug report on gitlab. > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > On Fri, Jan 20, 2017 at 12:08 PM, David E DeMarle > wrote: > > That's a bug in either the OSPRay mapper or the > ResampleToImage filter, depending on your point of view. To > workaround, put a python programmable filter into the pipeline > to annotate the array as being the "Active Scalars". > > In it, choose: > Output Data Set Type = "Same as Input" //the default > check "Copy Arrays" //not the default > for script use > :self.GetOutput().GetPointData().SetActiveScalars("RTData") > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > On Fri, Jan 20, 2017 at 2:45 AM, Jiahui Luo > wrote: > > Hi , > I got an error message when trying to do volume rendering > on the output of the ResampleToImage filter: > > ERROR: In > /home/user/apps/paraview5.2.0-build/superbuild/paraview/src/VTK/Rendering/OSPRay/vtkOSPRayVolumeMapperNode.cxx, > line 107 > vtkOSPRayVolumeMapperNode (0x68c2ad0): VolumeMapper's > Input has no scalar array! > > Here is how it happened. > First, I added a ProgrammableSource with Output DataSet > Type set to vtkRectilinearGrid and apply something like this, > > import numpy as np > > # Read x,y,z,th from file > > xCoords = vtk.vtkDoubleArray() > for i in x: > xCoords.InsertNextValue(i) > > yCoords = vtk.vtkDoubleArray() > for i in y: > yCoords.InsertNextValue(i) > > zCoords = vtk.vtkDoubleArray() > for i in z: > zCoords.InsertNextValue(i) > > output.SetDimensions(len(x), len(y), len(z)) > output.SetXCoordinates(xCoords) > output.SetYCoordinates(yCoords) > output.SetZCoordinates(zCoords) > > thArray = vtk.vtkFloatArray() > thArray.SetName("Temperature") > thArray.SetNumberOfComponents(1) > thArray.SetNumberOfTuples(nx*ny*nz) > for k in range(nz): > for j in range(ny): > for i in range(nx): > index = i+j*nx+k*ny*nx > thArray.SetValue(index, th[k,j,i]) > output.GetCellData().SetScalars(thArray) > return output > > Since volume rendering can not be done on rectilinear > grid. I added a ResampleToImage filter on this source. > > Then I could do volume rendering using Ray cast or GPU > based, but not OSPray and the above message popped up. > > How to make this work? Thanks. > > Jiahui Luo > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > > Please keep messages on-topic and check the ParaView Wiki > at: http://paraview.org/Wiki/ParaView > > > Search the list archives at: > http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tranquanghuyhp at gmail.com Sat Jan 21 22:23:17 2017 From: tranquanghuyhp at gmail.com (TRAN QUANG HUY) Date: Sun, 22 Jan 2017 14:23:17 +1100 Subject: [Paraview] Fwd: A ERROR WHILE READING A PLUG-IN FILE In-Reply-To: References: Message-ID: Dear All, I have been spending nearly 2 weeks to build and install a plug-in called "Serafinreader" that can help me read TELEMAC3D output files. Unfortunately, I failed many times, right now it is a stressful time for me as I don't know how to sort it out. I attach here the error, so hopefully someone could help me (I think in this mailling list, there are some TELEMAC users who are also keen on to tackle this problem with PARAVIEW). Please help me. I really appreciate in advance! Best Regards HUY -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2017-01-22 14-03-51.png Type: image/png Size: 254253 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2017-01-22 14-05-08.png Type: image/png Size: 156391 bytes Desc: not available URL: From tranquanghuyhp at gmail.com Sat Jan 21 22:28:56 2017 From: tranquanghuyhp at gmail.com (TRAN QUANG HUY) Date: Sun, 22 Jan 2017 14:28:56 +1100 Subject: [Paraview] A ERROR WHILE READING A PLUG-IN FILE In-Reply-To: References: Message-ID: Here is the error (I attached jpg files, but I think it is not allowed to attach?) ERROR: In /home/huyquangtran/ParaView_source43H/Plugins/SerafinReader/vtkSerafinReader.cxx, line 498 vtkSerafinReader (0x9f08370): cell type is not supported Thanks & Best Regards Huy On 22 January 2017 at 14:17, TRAN QUANG HUY wrote: > Dear All, > > I have been spending nearly 2 weeks to build and install a plug-in called > "Serafinreader" that can help me read TELEMAC3D output files. > > Unfortunately, I failed many times, right now it is a stressful time for > me as I don't know how to sort it out. I attach here the error, so > hopefully someone could help me > > (I think in this mailling list, there are some TELEMAC users who are also > keen on to tackle this problem with PARAVIEW). > > Please help me. I really appreciate in advance! > > Best Regards > HUY > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andi3173 at gmail.com Mon Jan 23 01:05:17 2017 From: andi3173 at gmail.com (Andi Hartarto) Date: Mon, 23 Jan 2017 17:05:17 +1100 Subject: [Paraview] [EXTERNAL] Decode a vtu file In-Reply-To: References: <7fcedbf9a78e476d86c581257a05dd1e@ES08AMSNLNT.srn.sandia.gov> Message-ID: Thank you so much for helping !! That is all i needed. Thank you, Andi On 16 January 2017 at 17:45, Mark Olesen wrote: > Hi Andi, > > The document that Ken referenced (pg 15 onwards are what you need) are > actually enough. However if I understand correctly, you probably just want > a really quick solution and don't want to wade through all the details. My > suggestion would be to load your file in paraview and then re-save it from > there. > > File > Save Data: vtm/vtp/vtu ... > > You should get a "Configure Writer" dialog. Select the appropriate data > mode (ASCII, unencoded) and this should give you really quick insight into > the contents in an easily readable form. > > Cheers, > /mark > > ________________________________________ > From: ParaView on behalf of Andi Hartarto > > Sent: Saturday, January 14, 2017 7:58 AM > To: Moreland, Kenneth > Cc: paraview at paraview.org > Subject: Re: [Paraview] [EXTERNAL] Decode a vtu file > > Dear Kenneth, > > Thank you for helping but i didn't mean understanding the text document if > that is what you mean. > I mean I want to access the appended data in base 64. > > Maybe in command module somehow > (code to show the data) > data .. > > Thank you, > Andi > > On 14 January 2017 at 03:49, Moreland, Kenneth kmorel at sandia.gov>> wrote: > Documentation for vtu file format (and several other standard VTK formats) > is here: > > http://www.vtk.org/VTK/img/file-formats.pdf > > -Ken > > From: ParaView [mailto:paraview-bounces at paraview.org bounces at paraview.org>] On Behalf Of Andi Hartarto > Sent: Thursday, January 12, 2017 7:54 PM > To: paraview at paraview.org > Subject: [EXTERNAL] [Paraview] Decode a vtu file > > Hello all, > > Can I please have guidance/help in decoding a vtu file? > > My file is a > > compressor="vtkZLibDataCompressor"> > > > > > > > RangeMin="1" RangeMax="2" offset="0" > /> > RangeMin="0" RangeMax="262" > offset="188" /> > > > format="appended" RangeMin="2003013.3465" RangeMax="2003224.1668" > offset="812" /> > > > RangeMin="" RangeMax="" > offset="1680" /> > RangeMin="" RangeMax="" > offset="5892" /> > RangeMin="" RangeMax="" > offset="8116" /> > > > > > (data long list) > > The file can be found in this link: > https://drive.google.com/open?id=0BzmZiSDoM7l3U2poYWNTbUhBWVU > > I don't understand how to decode a vtk file and couldn't find anything in > google. I've tried using some scripts in python for base64 but it didn't > work.. > > The reason why I need to decode this is because somehow this vtk file > which load in paraview perfectly becomes a 2d file in another software > "MOOSE" .. So I think somehow in the encoded data is telling the other > software "only display the 2D intersection of blocks". But I want a 3D cube > not a 2D surface. If someone knows about this please tell me . > > Thank you, > Andi > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken.martin at kitware.com Mon Jan 23 12:45:55 2017 From: ken.martin at kitware.com (Ken Martin) Date: Mon, 23 Jan 2017 12:45:55 -0500 Subject: [Paraview] Rendering Backend OpenGL2 & PV 5.2.0-RC4 & SurfaceLic --> Problem... In-Reply-To: References: <84a5a6aa-326f-a1ff-7789-28204a0ee502@DLR.de> Message-ID: There is a VTK topic now that should fix this regression. With this change OpenGL2 LIC seems to run much faster (at least 10X). https://gitlab.kitware.com/vtk/vtk/merge_requests/2419 Hopefully it will test out OK and get merged into VTK and then merged into ParaView. On Mon, Dec 12, 2016 at 11:38 AM, Andy Smith wrote: > Ken, > > You are correct in your assumption about my dataset; it is multiblock > unstructured data. Adding a MergeBlocks filter to my slice does improve > the 5.2.0 with OpenGL2 significantly. > With that change the performance of 5.2.0 with OpenGL2 is on the same > order of magnitude as 5.2.0 with OpenGL and with 4.4.0, though the 5.2.0 > variants are still slower than 4.4.0. > > I realized after posting that my comparison is not exactly apples to > apples - my build of 5.2.0 required updates to mesa (13.0.0) compared with > the version I used for 4.4.0 (11.2.0). > I will recompile 4.4.0 with the same mesa version I used with 5.2.0 and > report back. > > Thank you for your input. > > -Andy > > On Fri, Dec 9, 2016 at 3:44 PM, Ken Martin wrote: > >> I have not had time to look into this, but my quick guess is that you >> have a multiblock dataset with a lot of blocks. Can you try merging the >> blocks all together somehow into one block and see if the rendering speed >> improves? >> >> On Tue, Nov 15, 2016 at 5:35 AM, Stefan Melber >> wrote: >> >>> Hi, >>> >>> >>> i have a problem which is there in all RCs (1-4) of current ParaView: if >>> i compile the RenderingBackend to "OpenGL2" and use SurfaceLic the >>> visualization time goes up from a few seconds (with "OpenGL") to many >>> minutes and the memory consumption from a few GByte to approx 100 GByte. >>> Switching back to OpenGL any thing is fine. Without SurfaceLIC the OpenGL2 >>> works although fine for me. >>> >>> Has any one tested OpenGL2 with SurfaceLIC-Plugin the last time and has >>> (the same) problems? >>> >>> o Kernel 4.7.6-1 / x86-64 >>> o Quadro 4000 >>> o NVidia driver v367.57 >>> o PV 5.2.0 RC1 - RC4 >>> >>> Best regards, >>> >>> Stefan >>> >>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> >> >> -- >> Ken Martin PhD >> Chairman & CFO >> Kitware Inc. >> 28 Corporate Drive >> Clifton Park NY 12065 >> 518 371 3971 <(518)%20371-3971> >> >> This communication, including all attachments, contains confidential and >> legally privileged information, and it is intended only for the use of the >> addressee. Access to this email by anyone else is unauthorized. If you are >> not the intended recipient, any disclosure, copying, distribution or any >> action taken in reliance on it is prohibited and may be unlawful. If you >> received this communication in error please notify us immediately and >> destroy the original message. Thank you. >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -- Ken Martin PhD Chairman & CFO Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 518 371 3971 This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniel.frisch.kit at gmail.com Mon Jan 23 13:31:18 2017 From: daniel.frisch.kit at gmail.com (Daniel Frisch) Date: Mon, 23 Jan 2017 19:31:18 +0100 Subject: [Paraview] Time Source for Data Arrays Message-ID: Hello, in Biomedical Engineering we often work with large datasets where the geometry doesn't change over time but the scalar values change. Therefore we use to save the data as single geometry with many variables (data arrays) that are named according to the time index. It would be very convenient if ParaView could recognize these data arrays as time index again. I am looking for the following filter: INPUT - Dataset with - one geometry - some individual variables (p.ex. material class) - and thousands of variables / scalar data arrays with consecutive names like - fwd_calc_0000.000000 - fwd_calc_0000.001000 - fwd_calc_0000.002000 - fwd_calc_0000.003000 - Regular expression that matches the wanted data arrays and extracts the numeric time value OUTPUT - Dataset with - geometry - the individual variables - Time dependence according to the variables that are named fitting for the regex The filter itself must be possible: TimeSource creates time index data out of nothing. I learned about vtkFileSeriesReader, but I don't want to save each timestep into a separate VTK file with its own geometry since the geometry stays the same. Such a filter would be very useful to many of us and has been awaited for a long time. Best regards Daniel Frisch Institut f?r Biomedizinische Messtechnik Karlsruher Institut f?r Technologie -------------- next part -------------- An HTML attachment was scrubbed... URL: From philippjung2010 at live.de Mon Jan 23 14:01:10 2017 From: philippjung2010 at live.de (philipp jung) Date: Mon, 23 Jan 2017 19:01:10 +0000 Subject: [Paraview] Floating point exception when using "Interpret Values As Categories" In-Reply-To: References: Message-ID: Hi, I tried rebuilding paraview with: make -B -dr -j 12 > stdout.txt 2> stderr.txt Unfortunately the problem still persists. The output file stderr.txt is attached, the other one is too large. Philipp On 19.01.2017 16:36, Utkarsh Ayachit wrote: > Also try running with command line argument "-dr" to see if that makes > any difference. > > On Thu, Jan 19, 2017 at 4:11 AM, philipp jung wrote: >> Hi, >> >> I tested the datasets on two different PCs at university and it did >> work. It seems to be a problem with paraview on my home computer. Also I >> could not use the feature with any datasets at home ( I tried >> .vtk,.vti,.csv files). I will try rebuilding paraview later today and >> report back. >> >> >> Philipp Jung >> >> On 18.01.2017 22:59, Utkarsh Ayachit wrote: >>> Can you share a sample dataset that reproduces the problem? That'll >>> make it easier to track it down. Thanks. >>> >>> Utkarsh >>> >>> On Tue, Jan 17, 2017 at 11:52 AM, philipp jung wrote: >>>> Dear Paraview Team, >>>> >>>> I am currently working on a custom plugin which returns Polydata with an >>>> attached UnsignedCharArray as respective categories for all points. I >>>> want to map these categories to colors using the "Interpret Values As >>>> Categories" feature. When I enable "Interpret Values As Categories" >>>> paraview immediately crashes with "Floating point exception (core >>>> dumped)" as console output. I tried using the feature with a couple >>>> other datasets (netCDF-format) and got the same result. >>>> >>>> I am using paraview version 5.2.0-RC3-22-g3fca33d 64bit on Ubuntu 16.04. >>>> >>>> >>>> Any indication what might be causing this behavior is much appreciated. >>>> >>>> >>>> Thank you very much. >>>> >>>> Philipp Jung >>>> >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: stderr.txt URL: From utkarsh.ayachit at kitware.com Mon Jan 23 14:18:47 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 23 Jan 2017 14:18:47 -0500 Subject: [Paraview] Floating point exception when using "Interpret Values As Categories" In-Reply-To: References: Message-ID: Philipp, The "-dr" was a command line argument to ParaView, not for building ParaView. > ./bin/paraview -dr Utkarsh On Mon, Jan 23, 2017 at 2:01 PM, philipp jung wrote: > Hi, > > I tried rebuilding paraview with: make -B -dr -j 12 > stdout.txt 2> > stderr.txt > > Unfortunately the problem still persists. The output file stderr.txt is > attached, the other one is too large. > > > Philipp > > On 19.01.2017 16:36, Utkarsh Ayachit wrote: >> Also try running with command line argument "-dr" to see if that makes >> any difference. >> >> On Thu, Jan 19, 2017 at 4:11 AM, philipp jung wrote: >>> Hi, >>> >>> I tested the datasets on two different PCs at university and it did >>> work. It seems to be a problem with paraview on my home computer. Also I >>> could not use the feature with any datasets at home ( I tried >>> .vtk,.vti,.csv files). I will try rebuilding paraview later today and >>> report back. >>> >>> >>> Philipp Jung >>> >>> On 18.01.2017 22:59, Utkarsh Ayachit wrote: >>>> Can you share a sample dataset that reproduces the problem? That'll >>>> make it easier to track it down. Thanks. >>>> >>>> Utkarsh >>>> >>>> On Tue, Jan 17, 2017 at 11:52 AM, philipp jung wrote: >>>>> Dear Paraview Team, >>>>> >>>>> I am currently working on a custom plugin which returns Polydata with an >>>>> attached UnsignedCharArray as respective categories for all points. I >>>>> want to map these categories to colors using the "Interpret Values As >>>>> Categories" feature. When I enable "Interpret Values As Categories" >>>>> paraview immediately crashes with "Floating point exception (core >>>>> dumped)" as console output. I tried using the feature with a couple >>>>> other datasets (netCDF-format) and got the same result. >>>>> >>>>> I am using paraview version 5.2.0-RC3-22-g3fca33d 64bit on Ubuntu 16.04. >>>>> >>>>> >>>>> Any indication what might be causing this behavior is much appreciated. >>>>> >>>>> >>>>> Thank you very much. >>>>> >>>>> Philipp Jung >>>>> >>>>> >>>>> _______________________________________________ >>>>> Powered by www.kitware.com >>>>> >>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>>> >>>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> http://public.kitware.com/mailman/listinfo/paraview > From philippjung2010 at live.de Mon Jan 23 14:26:50 2017 From: philippjung2010 at live.de (philipp jung) Date: Mon, 23 Jan 2017 19:26:50 +0000 Subject: [Paraview] Floating point exception when using "Interpret Values As Categories" In-Reply-To: References: Message-ID: Hi, My bad :(, Yes it does work with the -dr argument. There is no additional output on the console. Is there a way to make it work without the -dr argument? Philipp On 23.01.2017 20:18, Utkarsh Ayachit wrote: > Philipp, > > The "-dr" was a command line argument to ParaView, not for building ParaView. > >> ./bin/paraview -dr > Utkarsh > > On Mon, Jan 23, 2017 at 2:01 PM, philipp jung wrote: >> Hi, >> >> I tried rebuilding paraview with: make -B -dr -j 12 > stdout.txt 2> >> stderr.txt >> >> Unfortunately the problem still persists. The output file stderr.txt is >> attached, the other one is too large. >> >> >> Philipp >> >> On 19.01.2017 16:36, Utkarsh Ayachit wrote: >>> Also try running with command line argument "-dr" to see if that makes >>> any difference. >>> >>> On Thu, Jan 19, 2017 at 4:11 AM, philipp jung wrote: >>>> Hi, >>>> >>>> I tested the datasets on two different PCs at university and it did >>>> work. It seems to be a problem with paraview on my home computer. Also I >>>> could not use the feature with any datasets at home ( I tried >>>> .vtk,.vti,.csv files). I will try rebuilding paraview later today and >>>> report back. >>>> >>>> >>>> Philipp Jung >>>> >>>> On 18.01.2017 22:59, Utkarsh Ayachit wrote: >>>>> Can you share a sample dataset that reproduces the problem? That'll >>>>> make it easier to track it down. Thanks. >>>>> >>>>> Utkarsh >>>>> >>>>> On Tue, Jan 17, 2017 at 11:52 AM, philipp jung wrote: >>>>>> Dear Paraview Team, >>>>>> >>>>>> I am currently working on a custom plugin which returns Polydata with an >>>>>> attached UnsignedCharArray as respective categories for all points. I >>>>>> want to map these categories to colors using the "Interpret Values As >>>>>> Categories" feature. When I enable "Interpret Values As Categories" >>>>>> paraview immediately crashes with "Floating point exception (core >>>>>> dumped)" as console output. I tried using the feature with a couple >>>>>> other datasets (netCDF-format) and got the same result. >>>>>> >>>>>> I am using paraview version 5.2.0-RC3-22-g3fca33d 64bit on Ubuntu 16.04. >>>>>> >>>>>> >>>>>> Any indication what might be causing this behavior is much appreciated. >>>>>> >>>>>> >>>>>> Thank you very much. >>>>>> >>>>>> Philipp Jung >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Powered by www.kitware.com >>>>>> >>>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>>>> >>>>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>>>> >>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>> >>>>>> Follow this link to subscribe/unsubscribe: >>>>>> http://public.kitware.com/mailman/listinfo/paraview From utkarsh.ayachit at kitware.com Mon Jan 23 14:38:17 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 23 Jan 2017 14:38:17 -0500 Subject: [Paraview] Floating point exception when using "Interpret Values As Categories" In-Reply-To: References: Message-ID: You can remove old config files which seem to be causing some issues. The location of the config files is specified here: http://www.paraview.org/Wiki/ParaView_Settings_Files On Mon, Jan 23, 2017 at 2:26 PM, philipp jung wrote: > Hi, > > My bad :(, Yes it does work with the -dr argument. There is no > additional output on the console. > > Is there a way to make it work without the -dr argument? > > > Philipp > > > > On 23.01.2017 20:18, Utkarsh Ayachit wrote: >> Philipp, >> >> The "-dr" was a command line argument to ParaView, not for building ParaView. >> >>> ./bin/paraview -dr >> Utkarsh >> >> On Mon, Jan 23, 2017 at 2:01 PM, philipp jung wrote: >>> Hi, >>> >>> I tried rebuilding paraview with: make -B -dr -j 12 > stdout.txt 2> >>> stderr.txt >>> >>> Unfortunately the problem still persists. The output file stderr.txt is >>> attached, the other one is too large. >>> >>> >>> Philipp >>> >>> On 19.01.2017 16:36, Utkarsh Ayachit wrote: >>>> Also try running with command line argument "-dr" to see if that makes >>>> any difference. >>>> >>>> On Thu, Jan 19, 2017 at 4:11 AM, philipp jung wrote: >>>>> Hi, >>>>> >>>>> I tested the datasets on two different PCs at university and it did >>>>> work. It seems to be a problem with paraview on my home computer. Also I >>>>> could not use the feature with any datasets at home ( I tried >>>>> .vtk,.vti,.csv files). I will try rebuilding paraview later today and >>>>> report back. >>>>> >>>>> >>>>> Philipp Jung >>>>> >>>>> On 18.01.2017 22:59, Utkarsh Ayachit wrote: >>>>>> Can you share a sample dataset that reproduces the problem? That'll >>>>>> make it easier to track it down. Thanks. >>>>>> >>>>>> Utkarsh >>>>>> >>>>>> On Tue, Jan 17, 2017 at 11:52 AM, philipp jung wrote: >>>>>>> Dear Paraview Team, >>>>>>> >>>>>>> I am currently working on a custom plugin which returns Polydata with an >>>>>>> attached UnsignedCharArray as respective categories for all points. I >>>>>>> want to map these categories to colors using the "Interpret Values As >>>>>>> Categories" feature. When I enable "Interpret Values As Categories" >>>>>>> paraview immediately crashes with "Floating point exception (core >>>>>>> dumped)" as console output. I tried using the feature with a couple >>>>>>> other datasets (netCDF-format) and got the same result. >>>>>>> >>>>>>> I am using paraview version 5.2.0-RC3-22-g3fca33d 64bit on Ubuntu 16.04. >>>>>>> >>>>>>> >>>>>>> Any indication what might be causing this behavior is much appreciated. >>>>>>> >>>>>>> >>>>>>> Thank you very much. >>>>>>> >>>>>>> Philipp Jung >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Powered by www.kitware.com >>>>>>> >>>>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>>>>> >>>>>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>>>>> >>>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>>> >>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>> http://public.kitware.com/mailman/listinfo/paraview > From philippjung2010 at live.de Mon Jan 23 14:54:12 2017 From: philippjung2010 at live.de (philipp jung) Date: Mon, 23 Jan 2017 19:54:12 +0000 Subject: [Paraview] Floating point exception when using "Interpret Values As Categories" In-Reply-To: References: Message-ID: Thank you very much! Everything is working again. Philipp On 23.01.2017 20:38, Utkarsh Ayachit wrote: > You can remove old config files which seem to be causing some issues. > The location of the config files is specified here: > http://www.paraview.org/Wiki/ParaView_Settings_Files > > > > On Mon, Jan 23, 2017 at 2:26 PM, philipp jung wrote: >> Hi, >> >> My bad :(, Yes it does work with the -dr argument. There is no >> additional output on the console. >> >> Is there a way to make it work without the -dr argument? >> >> >> Philipp >> >> >> >> On 23.01.2017 20:18, Utkarsh Ayachit wrote: >>> Philipp, >>> >>> The "-dr" was a command line argument to ParaView, not for building ParaView. >>> >>>> ./bin/paraview -dr >>> Utkarsh >>> >>> On Mon, Jan 23, 2017 at 2:01 PM, philipp jung wrote: >>>> Hi, >>>> >>>> I tried rebuilding paraview with: make -B -dr -j 12 > stdout.txt 2> >>>> stderr.txt >>>> >>>> Unfortunately the problem still persists. The output file stderr.txt is >>>> attached, the other one is too large. >>>> >>>> >>>> Philipp >>>> >>>> On 19.01.2017 16:36, Utkarsh Ayachit wrote: >>>>> Also try running with command line argument "-dr" to see if that makes >>>>> any difference. >>>>> >>>>> On Thu, Jan 19, 2017 at 4:11 AM, philipp jung wrote: >>>>>> Hi, >>>>>> >>>>>> I tested the datasets on two different PCs at university and it did >>>>>> work. It seems to be a problem with paraview on my home computer. Also I >>>>>> could not use the feature with any datasets at home ( I tried >>>>>> .vtk,.vti,.csv files). I will try rebuilding paraview later today and >>>>>> report back. >>>>>> >>>>>> >>>>>> Philipp Jung >>>>>> >>>>>> On 18.01.2017 22:59, Utkarsh Ayachit wrote: >>>>>>> Can you share a sample dataset that reproduces the problem? That'll >>>>>>> make it easier to track it down. Thanks. >>>>>>> >>>>>>> Utkarsh >>>>>>> >>>>>>> On Tue, Jan 17, 2017 at 11:52 AM, philipp jung wrote: >>>>>>>> Dear Paraview Team, >>>>>>>> >>>>>>>> I am currently working on a custom plugin which returns Polydata with an >>>>>>>> attached UnsignedCharArray as respective categories for all points. I >>>>>>>> want to map these categories to colors using the "Interpret Values As >>>>>>>> Categories" feature. When I enable "Interpret Values As Categories" >>>>>>>> paraview immediately crashes with "Floating point exception (core >>>>>>>> dumped)" as console output. I tried using the feature with a couple >>>>>>>> other datasets (netCDF-format) and got the same result. >>>>>>>> >>>>>>>> I am using paraview version 5.2.0-RC3-22-g3fca33d 64bit on Ubuntu 16.04. >>>>>>>> >>>>>>>> >>>>>>>> Any indication what might be causing this behavior is much appreciated. >>>>>>>> >>>>>>>> >>>>>>>> Thank you very much. >>>>>>>> >>>>>>>> Philipp Jung >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Powered by www.kitware.com >>>>>>>> >>>>>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>>>>>> >>>>>>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>>>>>> >>>>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>>>> >>>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>>> http://public.kitware.com/mailman/listinfo/paraview From chrisneal at snumerics.com Mon Jan 23 16:24:19 2017 From: chrisneal at snumerics.com (Christopher Neal) Date: Mon, 23 Jan 2017 16:24:19 -0500 Subject: [Paraview] Time Source for Data Arrays In-Reply-To: References: Message-ID: Hi Daniel, The datasets that you describe are what most computational physics datasets are like. The geometry remains fixed while the scalars on the geometry change with time. The Ensight Gold format is one that I use often. It has very nice support for time series data where there is just one geometry file with a set of changing scalars on the geometry. http://www-vis.lbl.gov/NERSC/Software/ensight/doc/OnlineHelp/UM-C11.pdf I'm not sure exactly what you are asking for in your original question. Do you want the Kitware guys to write a filter that can read some sort of simulation data formatted in a specific way into Paraview? They would need more information about the format that you are using i.e. how is the data structured, etc. Hope this helps, On Mon, Jan 23, 2017 at 1:31 PM, Daniel Frisch wrote: > Hello, > > in Biomedical Engineering we often work with large datasets where the > geometry doesn't change over time but the scalar values change. Therefore > we use to save the data as single geometry with many variables (data > arrays) that are named according to the time index. > > It would be very convenient if ParaView could recognize these data arrays > as time index again. I am looking for the following filter: > > INPUT > - Dataset with > - one geometry > - some individual variables (p.ex. material class) > - and thousands of variables / scalar data arrays with consecutive > names like > - fwd_calc_0000.000000 > - fwd_calc_0000.001000 > - fwd_calc_0000.002000 > - fwd_calc_0000.003000 > - Regular expression that matches the wanted data arrays and extracts the > numeric time value > > OUTPUT > - Dataset with > - geometry > - the individual variables > - Time dependence according to the variables that are named fitting > for the regex > > The filter itself must be possible: TimeSource creates time index data out > of nothing. > I learned about vtkFileSeriesReader, but I don't want to save each > timestep into a separate VTK file with its own geometry since the geometry > stays the same. > Such a filter would be very useful to many of us and has been awaited for > a long time. > > Best regards > Daniel Frisch > Institut f?r Biomedizinische Messtechnik > Karlsruher Institut f?r Technologie > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -- Christopher Neal Research Engineer Streamline Numerics, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Mon Jan 23 16:52:49 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Mon, 23 Jan 2017 21:52:49 +0000 Subject: [Paraview] [EXTERNAL] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? In-Reply-To: <5e518246b98c4d90a39855ea3bf421ca@exch4-cdc.nexus.csiro.au> References: <5e518246b98c4d90a39855ea3bf421ca@exch4-cdc.nexus.csiro.au> Message-ID: Looks like a bug. Mind writing it up? If you can give the developers a way to replicate the bug, it will significantly increase the chance it will be looked at... https://gitlab.kitware.com/paraview/paraview/issues Thanks, Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of David.Benn at csiro.au Sent: Friday, January 20, 2017 12:02 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? Upon loading an annotated .vtu file with TimeStep annotations such as this into Paraview 5.2.0 (under 64 bit SUSE Linux): I see the following: [cid:image001.png at 01D27588.5D3DF7F0] such that a maximum of 4095 time steps are available, as opposed to the expected 10,560 time steps. When the non-annotated .vtu file is loaded, the expected number of frames are visible. Is there some inherent limitation within Paraview that prevents more than 4095 time steps from being loaded/visualised? Thanks. David -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 10819 bytes Desc: image001.png URL: From utkarsh.ayachit at kitware.com Mon Jan 23 17:28:05 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 23 Jan 2017 17:28:05 -0500 Subject: [Paraview] Time Source for Data Arrays In-Reply-To: References: Message-ID: Attached is a script that shows how this can be done using a programmable filter. You'll need to update the "Script" and "ScriptRequestInformation" to load your files using the right reader, along with the logic to determine which files are to be read, this should give you some hints. I've also attached the mock data I used for this. You can run the script.py from the "Python Shell" in ParaView. Utkarsh On Mon, Jan 23, 2017 at 1:31 PM, Daniel Frisch wrote: > Hello, > > in Biomedical Engineering we often work with large datasets where the > geometry doesn't change over time but the scalar values change. Therefore we > use to save the data as single geometry with many variables (data arrays) > that are named according to the time index. > > It would be very convenient if ParaView could recognize these data arrays as > time index again. I am looking for the following filter: > > INPUT > - Dataset with > - one geometry > - some individual variables (p.ex. material class) > - and thousands of variables / scalar data arrays with consecutive names > like > - fwd_calc_0000.000000 > - fwd_calc_0000.001000 > - fwd_calc_0000.002000 > - fwd_calc_0000.003000 > - Regular expression that matches the wanted data arrays and extracts the > numeric time value > > OUTPUT > - Dataset with > - geometry > - the individual variables > - Time dependence according to the variables that are named fitting for > the regex > > The filter itself must be possible: TimeSource creates time index data out > of nothing. > I learned about vtkFileSeriesReader, but I don't want to save each timestep > into a separate VTK file with its own geometry since the geometry stays the > same. > Such a filter would be very useful to many of us and has been awaited for a > long time. > > Best regards > Daniel Frisch > Institut f?r Biomedizinische Messtechnik > Karlsruher Institut f?r Technologie > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- A non-text attachment was scrubbed... Name: data.tar.gz Type: application/x-gzip Size: 218587 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: script.py Type: text/x-python Size: 1720 bytes Desc: not available URL: From David.Benn at csiro.au Tue Jan 24 01:54:32 2017 From: David.Benn at csiro.au (David.Benn at csiro.au) Date: Tue, 24 Jan 2017 06:54:32 +0000 Subject: [Paraview] [EXTERNAL] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? In-Reply-To: References: <5e518246b98c4d90a39855ea3bf421ca@exch4-cdc.nexus.csiro.au> Message-ID: Hi Alan Sure, will do. I have also tested a solution. David From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Tuesday, 24 January 2017 8:23 AM To: Benn, David (IM&T, Waite Campus) ; paraview at paraview.org Subject: RE: [EXTERNAL] [Paraview] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? Looks like a bug. Mind writing it up? If you can give the developers a way to replicate the bug, it will significantly increase the chance it will be looked at... https://gitlab.kitware.com/paraview/paraview/issues Thanks, Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of David.Benn at csiro.au Sent: Friday, January 20, 2017 12:02 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? Upon loading an annotated .vtu file with TimeStep annotations such as this into Paraview 5.2.0 (under 64 bit SUSE Linux): I see the following: [cid:image001.png at 01D27666.B7A23B50] such that a maximum of 4095 time steps are available, as opposed to the expected 10,560 time steps. When the non-annotated .vtu file is loaded, the expected number of frames are visible. Is there some inherent limitation within Paraview that prevents more than 4095 time steps from being loaded/visualised? Thanks. David -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 10819 bytes Desc: image001.png URL: From schneider at hlrs.de Tue Jan 24 04:40:32 2017 From: schneider at hlrs.de (Ralf Schneider) Date: Tue, 24 Jan 2017 10:40:32 +0100 Subject: [Paraview] Problems with ResampleWithDataset in ParaView 5.2 Message-ID: <389def22-74c6-1f31-8d59-bf8aa5c149b6@hlrs.de> Hello, since ParaView 5.2 I have Problems with resampling transient image data to polygonal meshes or unstructured grids. The ResampleWithDataset Filter is only applied to the current time-step and is not updated upon time step change. The old implementation LegacyResampleWithDataset still works though. I have attached transient image data that I generated with the data object generator source and a ParaView 5.2 state that demonstrates the problem once the time step is changed. My Question is, did I miss something in the application of the reimplemented filter or is this a bug ? Best regards Ralf -- +---------------------------------------------+ | Ralf Schneider | | University of Stuttgart | High Performance Computing Center | Numerical Methods & Libraries | Nobelstrasse 19, D-70569 Stuttgart, Germany | | Phone : ++49 (0)711-685-87236 | Fax : ++49 (0)711-685-87279 | e-mail: schneider at hlrs.de +---------------------------------------------+ -------------- next part -------------- An HTML attachment was scrubbed... URL: From schneider at hlrs.de Tue Jan 24 04:42:51 2017 From: schneider at hlrs.de (Ralf Schneider) Date: Tue, 24 Jan 2017 10:42:51 +0100 Subject: [Paraview] Problems with ResampleWithDataset in ParaView 5.2 In-Reply-To: <389def22-74c6-1f31-8d59-bf8aa5c149b6@hlrs.de> References: <389def22-74c6-1f31-8d59-bf8aa5c149b6@hlrs.de> Message-ID: <3e2b3838-7b76-8092-2b28-26e90bd585b8@hlrs.de> Now with attachments, Sorry! Ralf Am 24.01.2017 um 10:40 schrieb Ralf Schneider: > > Hello, > > since ParaView 5.2 I have Problems with resampling transient image > data to polygonal meshes or unstructured grids. > > The ResampleWithDataset Filter is only applied to the current > time-step and is not updated upon time step change. The old > implementation LegacyResampleWithDataset still works though. > > I have attached transient image data that I generated with the data > object generator source and a ParaView 5.2 state that demonstrates > the problem once the time step is changed. > > My Question is, did I miss something in the application of the > reimplemented filter or is this a bug ? > > > Best regards > > Ralf > > > -- > +---------------------------------------------+ > | Ralf Schneider > | > | University of Stuttgart > | High Performance Computing Center > | Numerical Methods & Libraries > | Nobelstrasse 19, D-70569 Stuttgart, Germany > | > | Phone : ++49 (0)711-685-87236 > | Fax : ++49 (0)711-685-87279 > | e-mail: schneider at hlrs.de > +---------------------------------------------+ -- +---------------------------------------------+ | Ralf Schneider | | University of Stuttgart | High Performance Computing Center | Numerical Methods & Libraries | Nobelstrasse 19, D-70569 Stuttgart, Germany | | Phone : ++49 (0)711-685-87236 | Fax : ++49 (0)711-685-87279 | e-mail: schneider at hlrs.de +---------------------------------------------+ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: 5.2_resample_5.vti Type: application/octet-stream Size: 5355 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 5.2_resample_4.vti Type: application/octet-stream Size: 5355 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 5.2_resample_3.vti Type: application/octet-stream Size: 5355 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 5.2_resample_2.vti Type: application/octet-stream Size: 5355 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 5.2_resample_1.vti Type: application/octet-stream Size: 5355 bytes Desc: not available URL: From daniel.frisch.kit at gmail.com Tue Jan 24 06:42:46 2017 From: daniel.frisch.kit at gmail.com (Daniel Frisch) Date: Tue, 24 Jan 2017 12:42:46 +0100 Subject: [Paraview] Time Source for Data Arrays In-Reply-To: References: Message-ID: Hi Christopher, I was looking for a general filter that can turn a series of variables named in a consecutive manner into one time dependent variable. Thank you very much for your reply. I now think about using Ensight Gold or XDMF as data format which is more modern and appropriate than VTK. Best regards Daniel 2017-01-23 22:24 GMT+01:00 Christopher Neal : > Hi Daniel, > > The datasets that you describe are what most computational physics > datasets are like. The geometry remains fixed while the scalars on the > geometry change with time. The Ensight Gold format is one that I use often. > It has very nice support for time series data where there is just one > geometry file with a set of changing scalars on the geometry. > > http://www-vis.lbl.gov/NERSC/Software/ensight/doc/OnlineHelp/UM-C11.pdf > > I'm not sure exactly what you are asking for in your original question. Do > you want the Kitware guys to write a filter that can read some sort of > simulation data formatted in a specific way into Paraview? They would need > more information about the format that you are using i.e. how is the data > structured, etc. > > Hope this helps, > > On Mon, Jan 23, 2017 at 1:31 PM, Daniel Frisch < > daniel.frisch.kit at gmail.com> wrote: > >> Hello, >> >> in Biomedical Engineering we often work with large datasets where the >> geometry doesn't change over time but the scalar values change. Therefore >> we use to save the data as single geometry with many variables (data >> arrays) that are named according to the time index. >> >> It would be very convenient if ParaView could recognize these data arrays >> as time index again. I am looking for the following filter: >> >> INPUT >> - Dataset with >> - one geometry >> - some individual variables (p.ex. material class) >> - and thousands of variables / scalar data arrays with consecutive >> names like >> - fwd_calc_0000.000000 >> - fwd_calc_0000.001000 >> - fwd_calc_0000.002000 >> - fwd_calc_0000.003000 >> - Regular expression that matches the wanted data arrays and extracts the >> numeric time value >> >> OUTPUT >> - Dataset with >> - geometry >> - the individual variables >> - Time dependence according to the variables that are named fitting >> for the regex >> >> The filter itself must be possible: TimeSource creates time index data >> out of nothing. >> I learned about vtkFileSeriesReader, but I don't want to save each >> timestep into a separate VTK file with its own geometry since the geometry >> stays the same. >> Such a filter would be very useful to many of us and has been awaited for >> a long time. >> >> Best regards >> Daniel Frisch >> Institut f?r Biomedizinische Messtechnik >> Karlsruher Institut f?r Technologie >> >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > > > -- > Christopher Neal > Research Engineer > Streamline Numerics, Inc. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From debopamg at gmail.com Tue Jan 24 07:10:26 2017 From: debopamg at gmail.com (Debopam Ghoshal) Date: Tue, 24 Jan 2017 17:40:26 +0530 Subject: [Paraview] Embedding the Visualizer app in the browser within an iframe In-Reply-To: References: <53b122fc-85c6-bb9a-b0e1-5061e655a04a@theweak.link> <2255E579-482D-46BB-BE9A-BCCAF43C9DE3@theweak.link> <558b4ce4-d37e-01a5-16ac-d0c073135b75@theweak.link> Message-ID: Hi Seb and Claude, Thanks for your valuable inputs. I have been able to setup ParaView web on a windows 10 system and things are working as expected. I have created a gist ( https://gist.github.com/debopamg/aa497516d79442efa44b8e23838e1235) detailing the process of setting up the ParaView application and use apache as the front end server. Thanks again for your help. Cheers & Best Wishes, Debopam ------------------------------- Cell: +91 98304 10041 On Wed, Jan 18, 2017 at 8:19 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > Well we fixed that issue last time in another thread. Here is the > difference: > > Launcher configuration (Not working) > "C:/paraview/ParaView5.2.0/data" > > Command line (Working) > "C:\paraview\ParaView5.2.0\data" > > Do you notice any difference? Do you see what you should try next? > > On Wed, Jan 18, 2017 at 4:38 AM, Debopam Ghoshal > wrote: > >> Hi Seb & Claude, >> >> Thanks for pointing out the error, but still I am having the same >> problem. No matter what I do, I am not able to show the figure in the >> visualizer pane. It is always black/blank. :( >> >> This is what I did: >> 1. Used hard coded (can.ex2) as well as dynamic (${data}) for the data >> file, >> 2. I even hardcoded the data value in the index.html file, >> 3. I tried using http://paraview as well as http://paraview/?data=can.ex2 >> 4. In the visualizer Files tab, I selected each of the data files (can.ex2, >> disc_out_ref.ex2, headsq.vti) >> >> But in all these cases, I was not able to see any output in the >> visualizer pane. In each case, the native window name Visualization >> Toolkit - Win32OpenGL #n showed up with nothing except the orientation >> axes. The same window showed up within the browser, and when I moved the >> orientation axes on the browser, the axes also moved in the native window. >> The later shows that the native window is connected and responds to the >> browser actions (through web sockets I believe). >> >> What I fail to understand is why is the *data file selected from the >> Files tab* in the Visualizer console (in browser) not showing up in the >> Visualizer pane. This the seems to be the basic problem. For instance, when >> I start the Visualizer through the pvpython using the pvw-visualizer.py >> script it works absolutely ok. Which shows that there is no problem with >> my graphics card or Paraview installation. >> >> *startpvw.bat:* >> >> .\bin\pvpython.exe "C:\paraview\ParaView5.2.0\sha >> re\paraview-5.2\web\visualizer\server\pvw-visualizer.py" --content >> "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\visualizer\www" --data >> "C:\paraview\ParaView5.2.0\data" --port 9000 >> >> >> But when I run the launcher using the command: >> *launcher.bat:* >> >> set PV_HOME=C:\paraview\ParaView5.2.0 >> %PV_HOME%\bin\pvpython.exe %PV_HOME%\bin\Lib\site-packages\vtk\web\launcher.py >> %PV_HOME%\launcher.config >> >> and then access the visualizer through the apache front end, then the >> data file is not being rendered. >> >> So, I guess there is something wrong with the way I am calling the >> visualizer from the launcher and the way it is called with the >> pvw-visualizer.py script. >> >> Your continued support is much appreciated. I am attaching the relevant >> files for your reference. >> >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> Cell: +91 98304 10041 <+91%2098304%2010041> >> >> On Wed, Jan 18, 2017 at 12:43 AM, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> No worries. Thanks Claude for your help on the mailing list... ;-) >>> >>> On Tue, Jan 17, 2017 at 8:52 AM, claude wrote: >>> >>>> Thank you Sebastien! Good catch. >>>> >>>> One addition to make sure the path to the file is correct: in the JS of >>>> the HTML file in the gist, I specified data as being "data: >>>> getUrlParameter('data') + '.vti'". In your case, the extension of the >>>> file is .ex2, not vti. So make sure the whole filename is correct, for >>>> instance specify the extension in the URL and not in the JS: >>>> >>>> HTML -> "data: getUrlParameter('data')" >>>> >>>> URL -> http://paraview/?data=can.ex2 >>>> >>>> (Otherwise it will look for can.ex2.vti which does not exist) >>>> >>>> Thanks very much Sebastien! >>>> >>>> cheers >>>> >>>> On 01/17/2017 09:13 AM, Sebastien Jourdain wrote: >>>> >>>> As you can see the issue is right there: >>>> >>>> "--load-file", "${data_dir}/can.ex2" >>>> >>>> >>>> As explained by Claude earlier in that same thread: >>>> >>>> The option --data specifies the directory, so whatever file you want to >>>>> load, it must be relative to that directory. >>>> >>>> >>>> >>>> On Tue, Jan 17, 2017 at 1:38 AM, Debopam Ghoshal >>>> wrote: >>>> >>>>> Hi Claude, >>>>> >>>>> Thanks a lot for your time and patience. As I have configured a >>>>> virtual host in apache, I am using the name of the virtual host (paraview) >>>>> instead of localhost. So instead of http://localhost, >>>>> my url is http://paraview. Please find my response below: >>>>> >>>>> - a successful POST request to localhost/paraview >>>>> >>>>> The only log that I saw in the developer console was: Navigated to: >>>>> http://paraview/ (Note: I did not give the data >>>>> because it is already hardcoded in the launcher.config file) >>>>> >>>>> - a successful GET request to localhost/proxy >>>>> >>>>> Nothing else was displayed in the console. I have attached a snapshot >>>>> of the network tab (not sure whether it has any relevant information) >>>>> >>>>> - then do you get an error such as "can't connect to ws://localhost >>>>> ..."? >>>>> >>>>> I get this error only when I specify "sessionURL" : " >>>>> ws://paraview:80/ws". When I specify "sessionURL" : " >>>>> ws://paraview:80/proxy?sessionId=${id}&path=ws" then there is no >>>>> error. >>>>> Before starting the test today, I deleted all the log file, and after >>>>> the test the following are my observations: >>>>> >>>>> 1. the *error.log* file is empty >>>>> 2. the *launcher.log* has some entries, but none of them are errors: >>>>> 2017-01-17 13:43:17,786:INFO:twisted:Site starting on 9000 >>>>> 2017-01-17 13:43:17,786:INFO:twisted:Starting factory >>>>> >>>>> 2017-01-17 13:43:53,460:INFO:twisted:"127.0.0.1" - - >>>>> [17/Jan/2017:08:13:52 +0000] "POST /paraview/ HTTP/1.1" 200 206 " >>>>> http://paraview/" "Mozilla/5.0 (Windows NT 10.0; WOW64) >>>>> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36" >>>>> 2017-01-17 13:45:01,183:INFO:twisted:Received SIGINT, shutting down. >>>>> 2017-01-17 13:45:01,183:INFO:twisted:(TCP Port 9000 Closed) >>>>> 2017-01-17 13:45:01,183:INFO:twisted:Stopping factory >>>>> >>>>> 2017-01-17 13:45:01,183:INFO:twisted:Main loop terminated. >>>>> 2017-01-17 13:45:01,183:WARNING:root:Server factory shutting down. >>>>> Stopping all processes >>>>> >>>>> 3. The *session log* file also did not have any errors: >>>>> 2017-01-17 13:43:52+0530 [-] Log opened. >>>>> 2017-01-17 13:43:52+0530 [-] Site starting on 9999 >>>>> 2017-01-17 13:43:52+0530 [-] Starting factory >>>> instance at 0x000001C32C76BF08> >>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Client has >>>>> reconnected, cancelling reaper >>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] on_connect: >>>>> connection count = 1 >>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>> BeginValueCapture has no GetData() method, skipping >>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>> CaptureValuesFloat has no GetData() method, skipping >>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>> CaptureZBuffer has no GetData() method, skipping >>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>> EndValueCapture has no GetData() method, skipping >>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>> StartCaptureLuminance has no GetData() method, skipping >>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>> StopCaptureLuminance has no GetData() method, skipping >>>>> >>>>> >>>>> What is confusing me is that the native rendering panel is coming up >>>>> on the desktop, but does not show the image to be rendered. The same panel >>>>> is also coming up as part of the Visualizer pane, and if I move the >>>>> orientation axis in the browser, then the axes are also moved in the native >>>>> window. In the attached snapshot, the native window is on your left. >>>>> >>>>> Cheers & Best Wishes, >>>>> Debopam >>>>> ------------------------------- >>>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>>> >>>>> On Tue, Jan 17, 2017 at 5:28 AM, claude < >>>>> claude at theweak.link> wrote: >>>>> >>>>>> Hi Debopam, >>>>>> >>>>>> Would you mind trying to connect while the web developer console is >>>>>> on (for Chrome it's under "Tools > Javascript console") and copy/pasting >>>>>> the errors (if any). >>>>>> >>>>>> Do you see: >>>>>> >>>>>> - a successful POST request to localhost/paraview >>>>>> >>>>>> - a successful GET request to localhost/proxy >>>>>> >>>>>> - then do you get an error such as "can't connect to ws://localhost >>>>>> ..."? >>>>>> >>>>>> Also, what do the logs tell you (/path/to/logs/error.log, >>>>>> /path/to/logs/launcherLog.log and /path/to/logs/.txt => fetch the >>>>>> last one created)? >>>>>> >>>>>> cheers >>>>>> >>>>>> claude >>>>>> >>>>>> >>>>>> On 01/16/2017 03:56 AM, Debopam Ghoshal wrote: >>>>>> >>>>>> Hi Claude, >>>>>> >>>>>> I tried using the filename hard coded in the config json as well as >>>>>> the index.html. But I am not able to view the file in the Visualizer. >>>>>> It is only showing the blank window/pane with no figure. I can move >>>>>> the orientation axes, but nothing is being rendered. Even when I choose a >>>>>> file from the Files tab, nothing is being displayed. >>>>>> >>>>>> My launcher config has: >>>>>> >>>>>> ....... >>>>>> "properties" : { >>>>>> "python_exec" : "C:/paraview/ParaView5.2.0/bin/pvpython.exe", >>>>>> "visualizer": "C:/paraview/ParaView5.2.0/sha >>>>>> re/paraview-5.2/web/visualizer/server/pvw-visualizer.py", >>>>>> "data_dir": "C:/paraview/ParaView5.2.0/data" >>>>>> }, >>>>>> "apps": { >>>>>> "visualizer": { >>>>>> "cmd": [ >>>>>> "${python_exec}", "-dr", "${visualizer}", "--port", >>>>>> "${port}", "--data", "${data_dir}", "--authKey", "${secret}", >>>>>> "--load-file", "${data_dir}/can.ex2" >>>>>> ], >>>>>> "ready_line" : "Starting factory" >>>>>> } >>>>>> } >>>>>> ...... >>>>>> >>>>>> >>>>>> (You can see that the file name is hard coded) >>>>>> >>>>>> The launcher.bat script has: >>>>>> >>>>>> set PV_HOME=C:\paraview\ParaView5.2.0 >>>>>> %PV_HOME%\bin\pvpython.exe %PV_HOME%\bin\Lib\site-packages\vtk\web\launcher.py >>>>>> %PV_HOME%\launcher.config >>>>>> >>>>>> >>>>>> However, I am able to view the file when I launch the pvpython.exe >>>>>> script directly using: >>>>>> .\bin\pvpython.exe "C:\paraview\ParaView5.2.0\sha >>>>>> re\paraview-5.2\web\visualizer\server\pvw-visualizer.py" --content >>>>>> "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\visualizer\www" >>>>>> --data "C:\paraview\ParaView5.2.0\data" --port 8080 >>>>>> >>>>>> So, I am guessing I may have mixed up some configuration items >>>>>> because of which the display is not coming when I try to launch it through >>>>>> the launcher scirpt/config. Surprisingly, there are no error messages in >>>>>> the log files. Could you please suggest something. >>>>>> >>>>>> I have added the details in the gist for your reference: >>>>>> >>>>>> https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >>>>>> >>>>>> The screenshots are also attached for your reference. >>>>>> >>>>>> >>>>>> Cheers & Best Wishes, >>>>>> Debopam >>>>>> ------------------------------- >>>>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>>>> >>>>>> On Fri, Jan 13, 2017 at 6:04 PM, Claude < >>>>>> claude at theweak.link> wrote: >>>>>> >>>>>>> Hi Debopam, >>>>>>> >>>>>>> Thanks for the added details on the gist and congratulations for >>>>>>> setting up the server, you are almost there. >>>>>>> For Visualizer to be able to load a file, it will need the argument >>>>>>> --load-file (it seems to have disappeared in your config launcher). The >>>>>>> option --data specifies the directory, so whatever file you want to load, >>>>>>> it must be relative to that directory. For example to load the data file >>>>>>> C:/my_data/dir/example1/my_file.vti you could do: >>>>>>> --data is C:/my_data/dir >>>>>>> --load-file is example1/my_file.vti >>>>>>> >>>>>>> Here is a question for you: do you want to always have the same data >>>>>>> loaded by default or to be able to specify it? >>>>>>> * If it's always the same, you can directly hardcode it in the >>>>>>> launcher config file. Then it will be loaded when you navigate to the >>>>>>> paraview URL. >>>>>>> * if it's not always the same, you could use the solution on the >>>>>>> gist which is specifying it in the URL directly (there are other >>>>>>> alternatives of course). In that case, the URL must contain the file to >>>>>>> load (otherwise paraview cannot guess it :)). For instance: >>>>>>> http://localhost:9000/?data=example1/my_file >>>>>>> >>>>>>> (The JavaScript code automatically adds the extension .vti, you may >>>>>>> change that behavior of course). >>>>>>> >>>>>>> I'll be posting the detailed changes on your code in the gist >>>>>>> comment shortly. >>>>>>> >>>>>>> Let me know >>>>>>> Cheers >>>>>>> Claude >>>>>>> >>>>>>> >>>>>>> On Jan 13, 2017, at 5:05 AM, Debopam Ghoshal < >>>>>>> debopamg at gmail.com> wrote: >>>>>>> >>>>>>> Hi Claude, >>>>>>> >>>>>>> I followed your instructions with some modifications since I was >>>>>>> having problems. Finally, I was able to configure the Apache front end with >>>>>>> the ParaView Web launcher, and now I can view the index page of the >>>>>>> visualizer. However, when I choose any of the sample files, they are not >>>>>>> being rendered in the visualizer pane. >>>>>>> >>>>>>> I have added the details in the gist you created at: >>>>>>> https://gist.github.com/cl >>>>>>> avicule/7b8b3963ceb17302cff725f8dc36bc57 >>>>>>> >>>>>>> Would appreciate your thoughts on this. >>>>>>> >>>>>>> >>>>>>> Cheers & Best Wishes, >>>>>>> Debopam >>>>>>> ------------------------------- >>>>>>> >>>>>>> >>>>>>> On Thu, Jan 12, 2017 at 5:22 PM, Debopam Ghoshal < >>>>>>> debopamg at gmail.com> wrote: >>>>>>> >>>>>>>> Hi Claude >>>>>>>> >>>>>>>> Thank you so much for your detailed explanation. The gist has been >>>>>>>> very useful. I am working on it at present, and is in the process of >>>>>>>> smoothening out a few creases because of the operating system I am using >>>>>>>> (Windows 10). >>>>>>>> >>>>>>>> Will let you know once I am able to use paraview web properly. And >>>>>>>> in case of any issue, I will bother you once again. >>>>>>>> >>>>>>>> Hi Seb, >>>>>>>> >>>>>>>> Thanks for the link. Much appreciated. >>>>>>>> >>>>>>>> >>>>>>>> Cheers & Best Wishes, >>>>>>>> Debopam >>>>>>>> ------------------------------- >>>>>>>> >>>>>>>> On Wed, Jan 11, 2017 at 9:48 PM, Sebastien Jourdain < >>>>>>>> sebastien.jourdain at kitware.com> >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Thanks Claude, >>>>>>>>> >>>>>>>>> Here is the add-on of what functions can be called on Visualizer. >>>>>>>>> (All the function with export) >>>>>>>>> >>>>>>>>> https://github.com/Kitware/vis >>>>>>>>> ualizer/blob/master/src/app.js >>>>>>>>> >>>>>>>>> We are planning to add some helper for extracting arguments from >>>>>>>>> the URL. We actually add a class in the ParaViewWeb repo, but we haven't >>>>>>>>> got to the point of using it and making it available in visualizer. >>>>>>>>> >>>>>>>>> Seb >>>>>>>>> >>>>>>>>> On Wed, Jan 11, 2017 at 7:32 AM, claude < >>>>>>>>> claude at theweak.link> wrote: >>>>>>>>> >>>>>>>>>> Hi Debopam, >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> I think there is one thing to consider first before taking care >>>>>>>>>> of data being passed through: if you manually start one instance of >>>>>>>>>> pvw-visualizer, it means all people connecting to port 8080 will see the >>>>>>>>>> same thing and act on the same viewer, which means potentially conflicting >>>>>>>>>> with each other action (e.g. a probable disconnection for everyone if one >>>>>>>>>> decide to exit maybe?). In that case, you need to have a virtual server >>>>>>>>>> that will launch a new process every time someone connect to port 8080. >>>>>>>>>> That way, all viewers are independent, the same person can open several >>>>>>>>>> viewers, etc. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Now regarding the data being loaded at startup: you html index >>>>>>>>>> file should have a function grabbing the 'data' parameter from a URL, a >>>>>>>>>> form, a dropdown menu, etc. then sending it as a key to the Visualizer >>>>>>>>>> application (so that the launcher knows which file to load at startup). >>>>>>>>>> >>>>>>>>>> It would have been complicated to explain all the details in a >>>>>>>>>> email, so I made a gist with all the files and "code" addressing both >>>>>>>>>> points (launcher and data): >>>>>>>>>> >>>>>>>>>> https://gist.github.com/clavic >>>>>>>>>> ule/7b8b3963ceb17302cff725f8dc36bc57 >>>>>>>>>> >>>>>>>>>> Note that this gist was gathered info from the Paraview Web and >>>>>>>>>> Visualizer online documentations: kuddos to Paraview people. >>>>>>>>>> 2nd note: in that gist I'm giving the instructions for Apache >>>>>>>>>> server (you could technically choose any other, e.g. NGinx) for Linux. I >>>>>>>>>> see you are on Windows: I don't know how Apache works on Windows but I >>>>>>>>>> assume (and hope) the steps and config file should be similar. >>>>>>>>>> >>>>>>>>>> I hope it helps! Good luck! >>>>>>>>>> cheers >>>>>>>>>> claude >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On 01/11/2017 04:10 AM, Debopam Ghoshal wrote: >>>>>>>>>> >>>>>>>>>> Hi, >>>>>>>>>> >>>>>>>>>> We have a requirement where our application will send a request >>>>>>>>>> to the paraview web server to render a specific file (which will be >>>>>>>>>> available in the data given directory) in the visualizer app, and this will >>>>>>>>>> be embedded within our application page as a iframe, whose source is the >>>>>>>>>> Visualizer app's index.html. >>>>>>>>>> >>>>>>>>>> We are using the pvpython.exe executable to start the paraview >>>>>>>>>> web server. The command used to start the server is: >>>>>>>>>> >>>>>>>>>> .\bin\pvpython.exe "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>>> -MPI-Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" >>>>>>>>>> --content "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>>> -MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www" --data >>>>>>>>>> "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" --port >>>>>>>>>> 8080 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> From the command, we can see that the web content is being served >>>>>>>>>> from the C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\pa >>>>>>>>>> raview-5.2\web\visualizer\www directory. The index.html file >>>>>>>>>> uses the Visualizer.js script and calls the following functions: >>>>>>>>>> >>>>>>>>>> Visualizer.connect({ application: 'visualizer' }); >>>>>>>>>> Visualizer.autoStopServer(10); >>>>>>>>>> >>>>>>>>>> Is there any way to find out the available functions in the >>>>>>>>>> Visualizer.js script and call them from our custom html file? What we >>>>>>>>>> intend to do is to update the index.html file and >>>>>>>>>> a. add a javascript function which will accept a filename to be >>>>>>>>>> rendered >>>>>>>>>> b. once the filename is received by this function, it will call >>>>>>>>>> the visualizer and display the specified file >>>>>>>>>> c. in the visualizer page, the open files tab should be hidden. >>>>>>>>>> >>>>>>>>>> Please let me know if you require any clarification. >>>>>>>>>> >>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>> Debopam >>>>>>>>>> ------------------------------- >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> Powered by www.kitware.com >>>>>>>>>> >>>>>>>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>>>>>>>> >>>>>>>>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>>>>>>>> >>>>>>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>>>>>> >>>>>>>>>> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview >>>>>>>>>> >>>>>>>>>> _______________________________________________ Powered by >>>>>>>>>> www.kitware.com Visit other Kitware open-source projects at >>>>>>>>>> http://www.kitware.com/opensource/opensource.html Please keep >>>>>>>>>> messages on-topic and check the ParaView Wiki at: >>>>>>>>>> http://paraview.org/Wiki/ParaView Search the list archives at: >>>>>>>>>> http://markmail.org/search/?q=ParaView Follow this link to >>>>>>>>>> subscribe/unsubscribe: http://public.kitware.com/mail >>>>>>>>>> man/listinfo/paraview >>>>>>>>> >>>>>>>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sujin.philip at kitware.com Tue Jan 24 09:24:14 2017 From: sujin.philip at kitware.com (Sujin Philip) Date: Tue, 24 Jan 2017 09:24:14 -0500 Subject: [Paraview] Problems with ResampleWithDataset in ParaView 5.2 In-Reply-To: <3e2b3838-7b76-8092-2b28-26e90bd585b8@hlrs.de> References: <389def22-74c6-1f31-8d59-bf8aa5c149b6@hlrs.de> <3e2b3838-7b76-8092-2b28-26e90bd585b8@hlrs.de> Message-ID: Hi Ralf, This is a known bug in v5.2. There is a fix in the master branch of ParaView if you would like to try it out. Thanks Sujin On Tue, Jan 24, 2017 at 4:42 AM, Ralf Schneider wrote: > Now with attachments, > > Sorry! > > Ralf > > Am 24.01.2017 um 10:40 schrieb Ralf Schneider: > > Hello, > > since ParaView 5.2 I have Problems with resampling transient image data to > polygonal meshes or unstructured grids. > > The ResampleWithDataset Filter is only applied to the current time-step > and is not updated upon time step change. The old implementation > LegacyResampleWithDataset still works though. > > I have attached transient image data that I generated with the data object > generator source and a ParaView 5.2 state that demonstrates the problem > once the time step is changed. > > My Question is, did I miss something in the application of the > reimplemented filter or is this a bug ? > > > Best regards > > Ralf > > -- > +---------------------------------------------+ > | Ralf Schneider > | > | University of Stuttgart > | High Performance Computing Center > | Numerical Methods & Libraries > | Nobelstrasse 19, D-70569 Stuttgart, Germany > | > | Phone : ++49 (0)711-685-87236 <+49%20711%2068587236> > | Fax : ++49 (0)711-685-87279 <+49%20711%2068587279> > | e-mail: schneider at hlrs.de > +---------------------------------------------+ > > > -- > +---------------------------------------------+ > | Ralf Schneider > | > | University of Stuttgart > | High Performance Computing Center > | Numerical Methods & Libraries > | Nobelstrasse 19, D-70569 Stuttgart, Germany > | > | Phone : ++49 (0)711-685-87236 <+49%20711%2068587236> > | Fax : ++49 (0)711-685-87279 <+49%20711%2068587279> > | e-mail: schneider at hlrs.de > +---------------------------------------------+ > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Jan 24 09:34:53 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 24 Jan 2017 09:34:53 -0500 Subject: [Paraview] A ERROR WHILE READING A PLUG-IN FILE In-Reply-To: References: Message-ID: I'd suggest contacting the developers of the said plugin. It's not a plugin distributed by ParaView officially. Based on the error messages, seems to me that your file has element types not supported by the reader. Utkarsh On Sat, Jan 21, 2017 at 10:28 PM, TRAN QUANG HUY wrote: > Here is the error (I attached jpg files, but I think it is not allowed to > attach?) > > ERROR: In /home/huyquangtran/ParaView_source43H/Plugins/SerafinReader/vtkSerafinReader.cxx, > line 498 > > vtkSerafinReader (0x9f08370): cell type is not supported > > > > > Thanks & Best Regards > Huy > On 22 January 2017 at 14:17, TRAN QUANG HUY > wrote: > >> Dear All, >> >> I have been spending nearly 2 weeks to build and install a plug-in called >> "Serafinreader" that can help me read TELEMAC3D output files. >> >> Unfortunately, I failed many times, right now it is a stressful time for >> me as I don't know how to sort it out. I attach here the error, so >> hopefully someone could help me >> >> (I think in this mailling list, there are some TELEMAC users who are also >> keen on to tackle this problem with PARAVIEW). >> >> Please help me. I really appreciate in advance! >> >> Best Regards >> HUY >> > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Tue Jan 24 10:30:07 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 24 Jan 2017 08:30:07 -0700 Subject: [Paraview] Embedding the Visualizer app in the browser within an iframe In-Reply-To: References: <53b122fc-85c6-bb9a-b0e1-5061e655a04a@theweak.link> <2255E579-482D-46BB-BE9A-BCCAF43C9DE3@theweak.link> <558b4ce4-d37e-01a5-16ac-d0c073135b75@theweak.link> Message-ID: Thanks Debopam for putting it together. If you feel that could be useful, we can move/copy your gist to the main paraviewweb web site. Let me know if you want me to put that information in the ParaViewWeb repo. Thanks, Seb On Tue, Jan 24, 2017 at 5:10 AM, Debopam Ghoshal wrote: > Hi Seb and Claude, > > Thanks for your valuable inputs. I have been able to setup ParaView web on > a windows 10 system and things are working as expected. > > I have created a gist (https://gist.github.com/debopamg/ > aa497516d79442efa44b8e23838e1235) detailing the process of setting up the > ParaView application and use apache as the front end server. > > Thanks again for your help. > > > Cheers & Best Wishes, > Debopam > ------------------------------- > Cell: +91 98304 10041 <+91%2098304%2010041> > > On Wed, Jan 18, 2017 at 8:19 PM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> Well we fixed that issue last time in another thread. Here is the >> difference: >> >> Launcher configuration (Not working) >> "C:/paraview/ParaView5.2.0/data" >> >> Command line (Working) >> "C:\paraview\ParaView5.2.0\data" >> >> Do you notice any difference? Do you see what you should try next? >> >> On Wed, Jan 18, 2017 at 4:38 AM, Debopam Ghoshal >> wrote: >> >>> Hi Seb & Claude, >>> >>> Thanks for pointing out the error, but still I am having the same >>> problem. No matter what I do, I am not able to show the figure in the >>> visualizer pane. It is always black/blank. :( >>> >>> This is what I did: >>> 1. Used hard coded (can.ex2) as well as dynamic (${data}) for the data >>> file, >>> 2. I even hardcoded the data value in the index.html file, >>> 3. I tried using http://paraview as well as >>> http://paraview/?data=can.ex2 >>> 4. In the visualizer Files tab, I selected each of the data files (can.ex2, >>> disc_out_ref.ex2, headsq.vti) >>> >>> But in all these cases, I was not able to see any output in the >>> visualizer pane. In each case, the native window name Visualization >>> Toolkit - Win32OpenGL #n showed up with nothing except the orientation >>> axes. The same window showed up within the browser, and when I moved the >>> orientation axes on the browser, the axes also moved in the native window. >>> The later shows that the native window is connected and responds to the >>> browser actions (through web sockets I believe). >>> >>> What I fail to understand is why is the *data file selected from the >>> Files tab* in the Visualizer console (in browser) not showing up in the >>> Visualizer pane. This the seems to be the basic problem. For instance, when >>> I start the Visualizer through the pvpython using the pvw-visualizer.py >>> script it works absolutely ok. Which shows that there is no problem >>> with my graphics card or Paraview installation. >>> >>> *startpvw.bat:* >>> >>> .\bin\pvpython.exe "C:\paraview\ParaView5.2.0\sha >>> re\paraview-5.2\web\visualizer\server\pvw-visualizer.py" --content >>> "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\visualizer\www" >>> --data "C:\paraview\ParaView5.2.0\data" --port 9000 >>> >>> >>> But when I run the launcher using the command: >>> *launcher.bat:* >>> >>> set PV_HOME=C:\paraview\ParaView5.2.0 >>> %PV_HOME%\bin\pvpython.exe %PV_HOME%\bin\Lib\site-packages\vtk\web\launcher.py >>> %PV_HOME%\launcher.config >>> >>> and then access the visualizer through the apache front end, then the >>> data file is not being rendered. >>> >>> So, I guess there is something wrong with the way I am calling the >>> visualizer from the launcher and the way it is called with the >>> pvw-visualizer.py script. >>> >>> Your continued support is much appreciated. I am attaching the relevant >>> files for your reference. >>> >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> Cell: +91 98304 10041 <+91%2098304%2010041> >>> >>> On Wed, Jan 18, 2017 at 12:43 AM, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>>> No worries. Thanks Claude for your help on the mailing list... ;-) >>>> >>>> On Tue, Jan 17, 2017 at 8:52 AM, claude wrote: >>>> >>>>> Thank you Sebastien! Good catch. >>>>> >>>>> One addition to make sure the path to the file is correct: in the JS >>>>> of the HTML file in the gist, I specified data as being "data: >>>>> getUrlParameter('data') + '.vti'". In your case, the extension of the >>>>> file is .ex2, not vti. So make sure the whole filename is correct, for >>>>> instance specify the extension in the URL and not in the JS: >>>>> >>>>> HTML -> "data: getUrlParameter('data')" >>>>> >>>>> URL -> http://paraview/?data=can.ex2 >>>>> >>>>> (Otherwise it will look for can.ex2.vti which does not exist) >>>>> >>>>> Thanks very much Sebastien! >>>>> >>>>> cheers >>>>> >>>>> On 01/17/2017 09:13 AM, Sebastien Jourdain wrote: >>>>> >>>>> As you can see the issue is right there: >>>>> >>>>> "--load-file", "${data_dir}/can.ex2" >>>>> >>>>> >>>>> As explained by Claude earlier in that same thread: >>>>> >>>>> The option --data specifies the directory, so whatever file you want >>>>>> to load, it must be relative to that directory. >>>>> >>>>> >>>>> >>>>> On Tue, Jan 17, 2017 at 1:38 AM, Debopam Ghoshal >>>>> wrote: >>>>> >>>>>> Hi Claude, >>>>>> >>>>>> Thanks a lot for your time and patience. As I have configured a >>>>>> virtual host in apache, I am using the name of the virtual host (paraview) >>>>>> instead of localhost. So instead of >>>>>> http://localhost, my url is http://paraview. Please find my response >>>>>> below: >>>>>> >>>>>> - a successful POST request to localhost/paraview >>>>>> >>>>>> The only log that I saw in the developer console was: Navigated to: >>>>>> http://paraview/ (Note: I did not give the data >>>>>> because it is already hardcoded in the launcher.config file) >>>>>> >>>>>> - a successful GET request to localhost/proxy >>>>>> >>>>>> Nothing else was displayed in the console. I have attached a snapshot >>>>>> of the network tab (not sure whether it has any relevant information) >>>>>> >>>>>> - then do you get an error such as "can't connect to ws://localhost >>>>>> ..."? >>>>>> >>>>>> I get this error only when I specify "sessionURL" : " >>>>>> ws://paraview:80/ws". When I specify "sessionURL" : " >>>>>> ws://paraview:80/proxy?sessionId=${id}&path=ws" then there is no >>>>>> error. >>>>>> Before starting the test today, I deleted all the log file, and after >>>>>> the test the following are my observations: >>>>>> >>>>>> 1. the *error.log* file is empty >>>>>> 2. the *launcher.log* has some entries, but none of them are errors: >>>>>> 2017-01-17 13:43:17,786:INFO:twisted:Site starting on 9000 >>>>>> 2017-01-17 13:43:17,786:INFO:twisted:Starting factory >>>>>> >>>>>> 2017-01-17 13:43:53,460:INFO:twisted:"127.0.0.1" - - >>>>>> [17/Jan/2017:08:13:52 +0000] "POST /paraview/ HTTP/1.1" 200 206 " >>>>>> http://paraview/" "Mozilla/5.0 (Windows NT 10.0; WOW64) >>>>>> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36" >>>>>> 2017-01-17 13:45:01,183:INFO:twisted:Received SIGINT, shutting down. >>>>>> 2017-01-17 13:45:01,183:INFO:twisted:(TCP Port 9000 Closed) >>>>>> 2017-01-17 13:45:01,183:INFO:twisted:Stopping factory >>>>>> >>>>>> 2017-01-17 13:45:01,183:INFO:twisted:Main loop terminated. >>>>>> 2017-01-17 13:45:01,183:WARNING:root:Server factory shutting down. >>>>>> Stopping all processes >>>>>> >>>>>> 3. The *session log* file also did not have any errors: >>>>>> 2017-01-17 13:43:52+0530 [-] Log opened. >>>>>> 2017-01-17 13:43:52+0530 [-] Site starting on 9999 >>>>>> 2017-01-17 13:43:52+0530 [-] Starting factory >>>>>> >>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Client has >>>>>> reconnected, cancelling reaper >>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] on_connect: >>>>>> connection count = 1 >>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>>> BeginValueCapture has no GetData() method, skipping >>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>>> CaptureValuesFloat has no GetData() method, skipping >>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>>> CaptureZBuffer has no GetData() method, skipping >>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>>> EndValueCapture has no GetData() method, skipping >>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>>> StartCaptureLuminance has no GetData() method, skipping >>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>>> StopCaptureLuminance has no GetData() method, skipping >>>>>> >>>>>> >>>>>> What is confusing me is that the native rendering panel is coming up >>>>>> on the desktop, but does not show the image to be rendered. The same panel >>>>>> is also coming up as part of the Visualizer pane, and if I move the >>>>>> orientation axis in the browser, then the axes are also moved in the native >>>>>> window. In the attached snapshot, the native window is on your left. >>>>>> >>>>>> Cheers & Best Wishes, >>>>>> Debopam >>>>>> ------------------------------- >>>>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>>>> >>>>>> On Tue, Jan 17, 2017 at 5:28 AM, claude < >>>>>> claude at theweak.link> wrote: >>>>>> >>>>>>> Hi Debopam, >>>>>>> >>>>>>> Would you mind trying to connect while the web developer console is >>>>>>> on (for Chrome it's under "Tools > Javascript console") and copy/pasting >>>>>>> the errors (if any). >>>>>>> >>>>>>> Do you see: >>>>>>> >>>>>>> - a successful POST request to localhost/paraview >>>>>>> >>>>>>> - a successful GET request to localhost/proxy >>>>>>> >>>>>>> - then do you get an error such as "can't connect to ws://localhost >>>>>>> ..."? >>>>>>> >>>>>>> Also, what do the logs tell you (/path/to/logs/error.log, >>>>>>> /path/to/logs/launcherLog.log and /path/to/logs/.txt => fetch the >>>>>>> last one created)? >>>>>>> >>>>>>> cheers >>>>>>> >>>>>>> claude >>>>>>> >>>>>>> >>>>>>> On 01/16/2017 03:56 AM, Debopam Ghoshal wrote: >>>>>>> >>>>>>> Hi Claude, >>>>>>> >>>>>>> I tried using the filename hard coded in the config json as well as >>>>>>> the index.html. But I am not able to view the file in the Visualizer. >>>>>>> It is only showing the blank window/pane with no figure. I can move >>>>>>> the orientation axes, but nothing is being rendered. Even when I choose a >>>>>>> file from the Files tab, nothing is being displayed. >>>>>>> >>>>>>> My launcher config has: >>>>>>> >>>>>>> ....... >>>>>>> "properties" : { >>>>>>> "python_exec" : "C:/paraview/ParaView5.2.0/bin/pvpython.exe", >>>>>>> "visualizer": "C:/paraview/ParaView5.2.0/sha >>>>>>> re/paraview-5.2/web/visualizer/server/pvw-visualizer.py", >>>>>>> "data_dir": "C:/paraview/ParaView5.2.0/data" >>>>>>> }, >>>>>>> "apps": { >>>>>>> "visualizer": { >>>>>>> "cmd": [ >>>>>>> "${python_exec}", "-dr", "${visualizer}", "--port", >>>>>>> "${port}", "--data", "${data_dir}", "--authKey", "${secret}", >>>>>>> "--load-file", "${data_dir}/can.ex2" >>>>>>> ], >>>>>>> "ready_line" : "Starting factory" >>>>>>> } >>>>>>> } >>>>>>> ...... >>>>>>> >>>>>>> >>>>>>> (You can see that the file name is hard coded) >>>>>>> >>>>>>> The launcher.bat script has: >>>>>>> >>>>>>> set PV_HOME=C:\paraview\ParaView5.2.0 >>>>>>> %PV_HOME%\bin\pvpython.exe %PV_HOME%\bin\Lib\site-packages\vtk\web\launcher.py >>>>>>> %PV_HOME%\launcher.config >>>>>>> >>>>>>> >>>>>>> However, I am able to view the file when I launch the pvpython.exe >>>>>>> script directly using: >>>>>>> .\bin\pvpython.exe "C:\paraview\ParaView5.2.0\sha >>>>>>> re\paraview-5.2\web\visualizer\server\pvw-visualizer.py" --content >>>>>>> "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\visualizer\www" >>>>>>> --data "C:\paraview\ParaView5.2.0\data" --port 8080 >>>>>>> >>>>>>> So, I am guessing I may have mixed up some configuration items >>>>>>> because of which the display is not coming when I try to launch it through >>>>>>> the launcher scirpt/config. Surprisingly, there are no error messages in >>>>>>> the log files. Could you please suggest something. >>>>>>> >>>>>>> I have added the details in the gist for your reference: >>>>>>> >>>>>>> https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >>>>>>> >>>>>>> The screenshots are also attached for your reference. >>>>>>> >>>>>>> >>>>>>> Cheers & Best Wishes, >>>>>>> Debopam >>>>>>> ------------------------------- >>>>>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>>>>> >>>>>>> On Fri, Jan 13, 2017 at 6:04 PM, Claude < >>>>>>> claude at theweak.link> wrote: >>>>>>> >>>>>>>> Hi Debopam, >>>>>>>> >>>>>>>> Thanks for the added details on the gist and congratulations for >>>>>>>> setting up the server, you are almost there. >>>>>>>> For Visualizer to be able to load a file, it will need the argument >>>>>>>> --load-file (it seems to have disappeared in your config launcher). The >>>>>>>> option --data specifies the directory, so whatever file you want to load, >>>>>>>> it must be relative to that directory. For example to load the data file >>>>>>>> C:/my_data/dir/example1/my_file.vti you could do: >>>>>>>> --data is C:/my_data/dir >>>>>>>> --load-file is example1/my_file.vti >>>>>>>> >>>>>>>> Here is a question for you: do you want to always have the same >>>>>>>> data loaded by default or to be able to specify it? >>>>>>>> * If it's always the same, you can directly hardcode it in the >>>>>>>> launcher config file. Then it will be loaded when you navigate to the >>>>>>>> paraview URL. >>>>>>>> * if it's not always the same, you could use the solution on the >>>>>>>> gist which is specifying it in the URL directly (there are other >>>>>>>> alternatives of course). In that case, the URL must contain the file to >>>>>>>> load (otherwise paraview cannot guess it :)). For instance: >>>>>>>> http://localhost:9000/?data=example1/my_file >>>>>>>> >>>>>>>> (The JavaScript code automatically adds the extension .vti, you may >>>>>>>> change that behavior of course). >>>>>>>> >>>>>>>> I'll be posting the detailed changes on your code in the gist >>>>>>>> comment shortly. >>>>>>>> >>>>>>>> Let me know >>>>>>>> Cheers >>>>>>>> Claude >>>>>>>> >>>>>>>> >>>>>>>> On Jan 13, 2017, at 5:05 AM, Debopam Ghoshal < >>>>>>>> debopamg at gmail.com> wrote: >>>>>>>> >>>>>>>> Hi Claude, >>>>>>>> >>>>>>>> I followed your instructions with some modifications since I was >>>>>>>> having problems. Finally, I was able to configure the Apache front end with >>>>>>>> the ParaView Web launcher, and now I can view the index page of the >>>>>>>> visualizer. However, when I choose any of the sample files, they are not >>>>>>>> being rendered in the visualizer pane. >>>>>>>> >>>>>>>> I have added the details in the gist you created at: >>>>>>>> https://gist.github.com/cl >>>>>>>> avicule/7b8b3963ceb17302cff725f8dc36bc57 >>>>>>>> >>>>>>>> Would appreciate your thoughts on this. >>>>>>>> >>>>>>>> >>>>>>>> Cheers & Best Wishes, >>>>>>>> Debopam >>>>>>>> ------------------------------- >>>>>>>> >>>>>>>> >>>>>>>> On Thu, Jan 12, 2017 at 5:22 PM, Debopam Ghoshal < >>>>>>>> debopamg at gmail.com> wrote: >>>>>>>> >>>>>>>>> Hi Claude >>>>>>>>> >>>>>>>>> Thank you so much for your detailed explanation. The gist has been >>>>>>>>> very useful. I am working on it at present, and is in the process of >>>>>>>>> smoothening out a few creases because of the operating system I am using >>>>>>>>> (Windows 10). >>>>>>>>> >>>>>>>>> Will let you know once I am able to use paraview web properly. And >>>>>>>>> in case of any issue, I will bother you once again. >>>>>>>>> >>>>>>>>> Hi Seb, >>>>>>>>> >>>>>>>>> Thanks for the link. Much appreciated. >>>>>>>>> >>>>>>>>> >>>>>>>>> Cheers & Best Wishes, >>>>>>>>> Debopam >>>>>>>>> ------------------------------- >>>>>>>>> >>>>>>>>> On Wed, Jan 11, 2017 at 9:48 PM, Sebastien Jourdain < >>>>>>>>> sebastien.jourdain at kitware.com> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Thanks Claude, >>>>>>>>>> >>>>>>>>>> Here is the add-on of what functions can be called on Visualizer. >>>>>>>>>> (All the function with export) >>>>>>>>>> >>>>>>>>>> https://github.com/Kitware/vis >>>>>>>>>> ualizer/blob/master/src/app.js >>>>>>>>>> >>>>>>>>>> We are planning to add some helper for extracting arguments from >>>>>>>>>> the URL. We actually add a class in the ParaViewWeb repo, but we haven't >>>>>>>>>> got to the point of using it and making it available in visualizer. >>>>>>>>>> >>>>>>>>>> Seb >>>>>>>>>> >>>>>>>>>> On Wed, Jan 11, 2017 at 7:32 AM, claude < >>>>>>>>>> claude at theweak.link> wrote: >>>>>>>>>> >>>>>>>>>>> Hi Debopam, >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> I think there is one thing to consider first before taking care >>>>>>>>>>> of data being passed through: if you manually start one instance of >>>>>>>>>>> pvw-visualizer, it means all people connecting to port 8080 will see the >>>>>>>>>>> same thing and act on the same viewer, which means potentially conflicting >>>>>>>>>>> with each other action (e.g. a probable disconnection for everyone if one >>>>>>>>>>> decide to exit maybe?). In that case, you need to have a virtual server >>>>>>>>>>> that will launch a new process every time someone connect to port 8080. >>>>>>>>>>> That way, all viewers are independent, the same person can open several >>>>>>>>>>> viewers, etc. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Now regarding the data being loaded at startup: you html index >>>>>>>>>>> file should have a function grabbing the 'data' parameter from a URL, a >>>>>>>>>>> form, a dropdown menu, etc. then sending it as a key to the Visualizer >>>>>>>>>>> application (so that the launcher knows which file to load at startup). >>>>>>>>>>> >>>>>>>>>>> It would have been complicated to explain all the details in a >>>>>>>>>>> email, so I made a gist with all the files and "code" addressing both >>>>>>>>>>> points (launcher and data): >>>>>>>>>>> >>>>>>>>>>> https://gist.github.com/clavic >>>>>>>>>>> ule/7b8b3963ceb17302cff725f8dc36bc57 >>>>>>>>>>> >>>>>>>>>>> Note that this gist was gathered info from the Paraview Web and >>>>>>>>>>> Visualizer online documentations: kuddos to Paraview people. >>>>>>>>>>> 2nd note: in that gist I'm giving the instructions for Apache >>>>>>>>>>> server (you could technically choose any other, e.g. NGinx) for Linux. I >>>>>>>>>>> see you are on Windows: I don't know how Apache works on Windows but I >>>>>>>>>>> assume (and hope) the steps and config file should be similar. >>>>>>>>>>> >>>>>>>>>>> I hope it helps! Good luck! >>>>>>>>>>> cheers >>>>>>>>>>> claude >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On 01/11/2017 04:10 AM, Debopam Ghoshal wrote: >>>>>>>>>>> >>>>>>>>>>> Hi, >>>>>>>>>>> >>>>>>>>>>> We have a requirement where our application will send a request >>>>>>>>>>> to the paraview web server to render a specific file (which will be >>>>>>>>>>> available in the data given directory) in the visualizer app, and this will >>>>>>>>>>> be embedded within our application page as a iframe, whose source is the >>>>>>>>>>> Visualizer app's index.html. >>>>>>>>>>> >>>>>>>>>>> We are using the pvpython.exe executable to start the paraview >>>>>>>>>>> web server. The command used to start the server is: >>>>>>>>>>> >>>>>>>>>>> .\bin\pvpython.exe "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>>>> -MPI-Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" >>>>>>>>>>> --content "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>>>> -MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www" >>>>>>>>>>> --data "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" >>>>>>>>>>> --port 8080 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> From the command, we can see that the web content is being >>>>>>>>>>> served from the C:\ParaView-5.2.0-Qt4-Open >>>>>>>>>>> GL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www directory. >>>>>>>>>>> The index.html file uses the Visualizer.js script and calls the following >>>>>>>>>>> functions: >>>>>>>>>>> >>>>>>>>>>> Visualizer.connect({ application: 'visualizer' }); >>>>>>>>>>> Visualizer.autoStopServer(10); >>>>>>>>>>> >>>>>>>>>>> Is there any way to find out the available functions in the >>>>>>>>>>> Visualizer.js script and call them from our custom html file? What we >>>>>>>>>>> intend to do is to update the index.html file and >>>>>>>>>>> a. add a javascript function which will accept a filename to be >>>>>>>>>>> rendered >>>>>>>>>>> b. once the filename is received by this function, it will call >>>>>>>>>>> the visualizer and display the specified file >>>>>>>>>>> c. in the visualizer page, the open files tab should be hidden. >>>>>>>>>>> >>>>>>>>>>> Please let me know if you require any clarification. >>>>>>>>>>> >>>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>>> Debopam >>>>>>>>>>> ------------------------------- >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> Powered by www.kitware.com >>>>>>>>>>> >>>>>>>>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>>>>>>>>> >>>>>>>>>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>>>>>>>>> >>>>>>>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>>>>>>> >>>>>>>>>>> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ Powered by >>>>>>>>>>> www.kitware.com Visit other Kitware open-source projects at >>>>>>>>>>> http://www.kitware.com/opensource/opensource.html Please keep >>>>>>>>>>> messages on-topic and check the ParaView Wiki at: >>>>>>>>>>> http://paraview.org/Wiki/ParaView Search the list archives at: >>>>>>>>>>> http://markmail.org/search/?q=ParaView Follow this link to >>>>>>>>>>> subscribe/unsubscribe: http://public.kitware.com/mail >>>>>>>>>>> man/listinfo/paraview >>>>>>>>>> >>>>>>>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From debopamg at gmail.com Tue Jan 24 23:29:06 2017 From: debopamg at gmail.com (Debopam Ghoshal) Date: Wed, 25 Jan 2017 09:59:06 +0530 Subject: [Paraview] Embedding the Visualizer app in the browser within an iframe In-Reply-To: References: <53b122fc-85c6-bb9a-b0e1-5061e655a04a@theweak.link> <2255E579-482D-46BB-BE9A-BCCAF43C9DE3@theweak.link> <558b4ce4-d37e-01a5-16ac-d0c073135b75@theweak.link> Message-ID: Hi Seb, Please go ahead and put the information in the ParaView Web Repo. I think this will help anyone interested in setting up a ParaView Web Server on Windows. Cheers & Best Wishes, Debopam ------------------------------- Cell: +91 98304 10041 On Tue, Jan 24, 2017 at 9:00 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > Thanks Debopam for putting it together. > > If you feel that could be useful, we can move/copy your gist to the main > paraviewweb web site. > > Let me know if you want me to put that information in the ParaViewWeb repo. > > Thanks, > > Seb > > > On Tue, Jan 24, 2017 at 5:10 AM, Debopam Ghoshal > wrote: > >> Hi Seb and Claude, >> >> Thanks for your valuable inputs. I have been able to setup ParaView web >> on a windows 10 system and things are working as expected. >> >> I have created a gist (https://gist.github.com/debop >> amg/aa497516d79442efa44b8e23838e1235) detailing the process of setting >> up the ParaView application and use apache as the front end server. >> >> Thanks again for your help. >> >> >> Cheers & Best Wishes, >> Debopam >> ------------------------------- >> Cell: +91 98304 10041 <+91%2098304%2010041> >> >> On Wed, Jan 18, 2017 at 8:19 PM, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> Well we fixed that issue last time in another thread. Here is the >>> difference: >>> >>> Launcher configuration (Not working) >>> "C:/paraview/ParaView5.2.0/data" >>> >>> Command line (Working) >>> "C:\paraview\ParaView5.2.0\data" >>> >>> Do you notice any difference? Do you see what you should try next? >>> >>> On Wed, Jan 18, 2017 at 4:38 AM, Debopam Ghoshal >>> wrote: >>> >>>> Hi Seb & Claude, >>>> >>>> Thanks for pointing out the error, but still I am having the same >>>> problem. No matter what I do, I am not able to show the figure in the >>>> visualizer pane. It is always black/blank. :( >>>> >>>> This is what I did: >>>> 1. Used hard coded (can.ex2) as well as dynamic (${data}) for the >>>> data file, >>>> 2. I even hardcoded the data value in the index.html file, >>>> 3. I tried using http://paraview as well as >>>> http://paraview/?data=can.ex2 >>>> 4. In the visualizer Files tab, I selected each of the data files (can.ex2, >>>> disc_out_ref.ex2, headsq.vti) >>>> >>>> But in all these cases, I was not able to see any output in the >>>> visualizer pane. In each case, the native window name Visualization >>>> Toolkit - Win32OpenGL #n showed up with nothing except the orientation >>>> axes. The same window showed up within the browser, and when I moved the >>>> orientation axes on the browser, the axes also moved in the native window. >>>> The later shows that the native window is connected and responds to the >>>> browser actions (through web sockets I believe). >>>> >>>> What I fail to understand is why is the *data file selected from the >>>> Files tab* in the Visualizer console (in browser) not showing up in >>>> the Visualizer pane. This the seems to be the basic problem. For instance, >>>> when I start the Visualizer through the pvpython using the >>>> pvw-visualizer.py script it works absolutely ok. Which shows that >>>> there is no problem with my graphics card or Paraview installation. >>>> >>>> *startpvw.bat:* >>>> >>>> .\bin\pvpython.exe "C:\paraview\ParaView5.2.0\sha >>>> re\paraview-5.2\web\visualizer\server\pvw-visualizer.py" --content >>>> "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\visualizer\www" >>>> --data "C:\paraview\ParaView5.2.0\data" --port 9000 >>>> >>>> >>>> But when I run the launcher using the command: >>>> *launcher.bat:* >>>> >>>> set PV_HOME=C:\paraview\ParaView5.2.0 >>>> %PV_HOME%\bin\pvpython.exe %PV_HOME%\bin\Lib\site-packages\vtk\web\launcher.py >>>> %PV_HOME%\launcher.config >>>> >>>> and then access the visualizer through the apache front end, then the >>>> data file is not being rendered. >>>> >>>> So, I guess there is something wrong with the way I am calling the >>>> visualizer from the launcher and the way it is called with the >>>> pvw-visualizer.py script. >>>> >>>> Your continued support is much appreciated. I am attaching the >>>> relevant files for your reference. >>>> >>>> >>>> Cheers & Best Wishes, >>>> Debopam >>>> ------------------------------- >>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>> >>>> On Wed, Jan 18, 2017 at 12:43 AM, Sebastien Jourdain < >>>> sebastien.jourdain at kitware.com> wrote: >>>> >>>>> No worries. Thanks Claude for your help on the mailing list... ;-) >>>>> >>>>> On Tue, Jan 17, 2017 at 8:52 AM, claude wrote: >>>>> >>>>>> Thank you Sebastien! Good catch. >>>>>> >>>>>> One addition to make sure the path to the file is correct: in the JS >>>>>> of the HTML file in the gist, I specified data as being "data: >>>>>> getUrlParameter('data') + '.vti'". In your case, the extension of >>>>>> the file is .ex2, not vti. So make sure the whole filename is correct, for >>>>>> instance specify the extension in the URL and not in the JS: >>>>>> >>>>>> HTML -> "data: getUrlParameter('data')" >>>>>> >>>>>> URL -> http://paraview/?data=can.ex2 >>>>>> >>>>>> (Otherwise it will look for can.ex2.vti which does not exist) >>>>>> >>>>>> Thanks very much Sebastien! >>>>>> >>>>>> cheers >>>>>> >>>>>> On 01/17/2017 09:13 AM, Sebastien Jourdain wrote: >>>>>> >>>>>> As you can see the issue is right there: >>>>>> >>>>>> "--load-file", "${data_dir}/can.ex2" >>>>>> >>>>>> >>>>>> As explained by Claude earlier in that same thread: >>>>>> >>>>>> The option --data specifies the directory, so whatever file you want >>>>>>> to load, it must be relative to that directory. >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Jan 17, 2017 at 1:38 AM, Debopam Ghoshal >>>>>> wrote: >>>>>> >>>>>>> Hi Claude, >>>>>>> >>>>>>> Thanks a lot for your time and patience. As I have configured a >>>>>>> virtual host in apache, I am using the name of the virtual host (paraview) >>>>>>> instead of localhost. So instead of >>>>>>> http://localhost, my url is http://paraview. Please find my >>>>>>> response below: >>>>>>> >>>>>>> - a successful POST request to localhost/paraview >>>>>>> >>>>>>> The only log that I saw in the developer console was: Navigated to: >>>>>>> http://paraview/ (Note: I did not give the data >>>>>>> because it is already hardcoded in the launcher.config file) >>>>>>> >>>>>>> - a successful GET request to localhost/proxy >>>>>>> >>>>>>> Nothing else was displayed in the console. I have attached a >>>>>>> snapshot of the network tab (not sure whether it has any relevant >>>>>>> information) >>>>>>> >>>>>>> - then do you get an error such as "can't connect to ws://localhost >>>>>>> ..."? >>>>>>> >>>>>>> I get this error only when I specify "sessionURL" : " >>>>>>> ws://paraview:80/ws". When I specify "sessionURL" : " >>>>>>> ws://paraview:80/proxy?sessionId=${id}&path=ws" then there is no >>>>>>> error. >>>>>>> Before starting the test today, I deleted all the log file, and >>>>>>> after the test the following are my observations: >>>>>>> >>>>>>> 1. the *error.log* file is empty >>>>>>> 2. the *launcher.log* has some entries, but none of them are errors: >>>>>>> 2017-01-17 13:43:17,786:INFO:twisted:Site starting on 9000 >>>>>>> 2017-01-17 13:43:17,786:INFO:twisted:Starting factory >>>>>>> >>>>>>> 2017-01-17 13:43:53,460:INFO:twisted:"127.0.0.1" - - >>>>>>> [17/Jan/2017:08:13:52 +0000] "POST /paraview/ HTTP/1.1" 200 206 " >>>>>>> http://paraview/" "Mozilla/5.0 (Windows NT 10.0; WOW64) >>>>>>> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36" >>>>>>> 2017-01-17 13:45:01,183:INFO:twisted:Received SIGINT, shutting down. >>>>>>> 2017-01-17 13:45:01,183:INFO:twisted:(TCP Port 9000 Closed) >>>>>>> 2017-01-17 13:45:01,183:INFO:twisted:Stopping factory >>>>>>> >>>>>>> 2017-01-17 13:45:01,183:INFO:twisted:Main loop terminated. >>>>>>> 2017-01-17 13:45:01,183:WARNING:root:Server factory shutting down. >>>>>>> Stopping all processes >>>>>>> >>>>>>> 3. The *session log* file also did not have any errors: >>>>>>> 2017-01-17 13:43:52+0530 [-] Log opened. >>>>>>> 2017-01-17 13:43:52+0530 [-] Site starting on 9999 >>>>>>> 2017-01-17 13:43:52+0530 [-] Starting factory >>>>>>> >>>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Client has >>>>>>> reconnected, cancelling reaper >>>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] on_connect: >>>>>>> connection count = 1 >>>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>>>> BeginValueCapture has no GetData() method, skipping >>>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>>>> CaptureValuesFloat has no GetData() method, skipping >>>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>>>> CaptureZBuffer has no GetData() method, skipping >>>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>>>> EndValueCapture has no GetData() method, skipping >>>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>>>> StartCaptureLuminance has no GetData() method, skipping >>>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>>>> StopCaptureLuminance has no GetData() method, skipping >>>>>>> >>>>>>> >>>>>>> What is confusing me is that the native rendering panel is coming up >>>>>>> on the desktop, but does not show the image to be rendered. The same panel >>>>>>> is also coming up as part of the Visualizer pane, and if I move the >>>>>>> orientation axis in the browser, then the axes are also moved in the native >>>>>>> window. In the attached snapshot, the native window is on your left. >>>>>>> >>>>>>> Cheers & Best Wishes, >>>>>>> Debopam >>>>>>> ------------------------------- >>>>>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>>>>> >>>>>>> On Tue, Jan 17, 2017 at 5:28 AM, claude < >>>>>>> claude at theweak.link> wrote: >>>>>>> >>>>>>>> Hi Debopam, >>>>>>>> >>>>>>>> Would you mind trying to connect while the web developer console is >>>>>>>> on (for Chrome it's under "Tools > Javascript console") and copy/pasting >>>>>>>> the errors (if any). >>>>>>>> >>>>>>>> Do you see: >>>>>>>> >>>>>>>> - a successful POST request to localhost/paraview >>>>>>>> >>>>>>>> - a successful GET request to localhost/proxy >>>>>>>> >>>>>>>> - then do you get an error such as "can't connect to ws://localhost >>>>>>>> ..."? >>>>>>>> >>>>>>>> Also, what do the logs tell you (/path/to/logs/error.log, >>>>>>>> /path/to/logs/launcherLog.log and /path/to/logs/.txt => fetch the >>>>>>>> last one created)? >>>>>>>> >>>>>>>> cheers >>>>>>>> >>>>>>>> claude >>>>>>>> >>>>>>>> >>>>>>>> On 01/16/2017 03:56 AM, Debopam Ghoshal wrote: >>>>>>>> >>>>>>>> Hi Claude, >>>>>>>> >>>>>>>> I tried using the filename hard coded in the config json as well as >>>>>>>> the index.html. But I am not able to view the file in the Visualizer. >>>>>>>> It is only showing the blank window/pane with no figure. I can move >>>>>>>> the orientation axes, but nothing is being rendered. Even when I choose a >>>>>>>> file from the Files tab, nothing is being displayed. >>>>>>>> >>>>>>>> My launcher config has: >>>>>>>> >>>>>>>> ....... >>>>>>>> "properties" : { >>>>>>>> "python_exec" : "C:/paraview/ParaView5.2.0/bin/pvpython.exe", >>>>>>>> "visualizer": "C:/paraview/ParaView5.2.0/sha >>>>>>>> re/paraview-5.2/web/visualizer/server/pvw-visualizer.py", >>>>>>>> "data_dir": "C:/paraview/ParaView5.2.0/data" >>>>>>>> }, >>>>>>>> "apps": { >>>>>>>> "visualizer": { >>>>>>>> "cmd": [ >>>>>>>> "${python_exec}", "-dr", "${visualizer}", "--port", >>>>>>>> "${port}", "--data", "${data_dir}", "--authKey", "${secret}", >>>>>>>> "--load-file", "${data_dir}/can.ex2" >>>>>>>> ], >>>>>>>> "ready_line" : "Starting factory" >>>>>>>> } >>>>>>>> } >>>>>>>> ...... >>>>>>>> >>>>>>>> >>>>>>>> (You can see that the file name is hard coded) >>>>>>>> >>>>>>>> The launcher.bat script has: >>>>>>>> >>>>>>>> set PV_HOME=C:\paraview\ParaView5.2.0 >>>>>>>> %PV_HOME%\bin\pvpython.exe %PV_HOME%\bin\Lib\site-packages\vtk\web\launcher.py >>>>>>>> %PV_HOME%\launcher.config >>>>>>>> >>>>>>>> >>>>>>>> However, I am able to view the file when I launch the pvpython.exe >>>>>>>> script directly using: >>>>>>>> .\bin\pvpython.exe "C:\paraview\ParaView5.2.0\sha >>>>>>>> re\paraview-5.2\web\visualizer\server\pvw-visualizer.py" --content >>>>>>>> "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\visualizer\www" >>>>>>>> --data "C:\paraview\ParaView5.2.0\data" --port 8080 >>>>>>>> >>>>>>>> So, I am guessing I may have mixed up some configuration items >>>>>>>> because of which the display is not coming when I try to launch it through >>>>>>>> the launcher scirpt/config. Surprisingly, there are no error messages in >>>>>>>> the log files. Could you please suggest something. >>>>>>>> >>>>>>>> I have added the details in the gist for your reference: >>>>>>>> >>>>>>>> https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >>>>>>>> >>>>>>>> The screenshots are also attached for your reference. >>>>>>>> >>>>>>>> >>>>>>>> Cheers & Best Wishes, >>>>>>>> Debopam >>>>>>>> ------------------------------- >>>>>>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>>>>>> >>>>>>>> On Fri, Jan 13, 2017 at 6:04 PM, Claude < >>>>>>>> claude at theweak.link> wrote: >>>>>>>> >>>>>>>>> Hi Debopam, >>>>>>>>> >>>>>>>>> Thanks for the added details on the gist and congratulations for >>>>>>>>> setting up the server, you are almost there. >>>>>>>>> For Visualizer to be able to load a file, it will need the >>>>>>>>> argument --load-file (it seems to have disappeared in your config >>>>>>>>> launcher). The option --data specifies the directory, so whatever file you >>>>>>>>> want to load, it must be relative to that directory. For example to load >>>>>>>>> the data file C:/my_data/dir/example1/my_file.vti you could do: >>>>>>>>> --data is C:/my_data/dir >>>>>>>>> --load-file is example1/my_file.vti >>>>>>>>> >>>>>>>>> Here is a question for you: do you want to always have the same >>>>>>>>> data loaded by default or to be able to specify it? >>>>>>>>> * If it's always the same, you can directly hardcode it in the >>>>>>>>> launcher config file. Then it will be loaded when you navigate to the >>>>>>>>> paraview URL. >>>>>>>>> * if it's not always the same, you could use the solution on the >>>>>>>>> gist which is specifying it in the URL directly (there are other >>>>>>>>> alternatives of course). In that case, the URL must contain the file to >>>>>>>>> load (otherwise paraview cannot guess it :)). For instance: >>>>>>>>> http://localhost:9000/?data=example1/my_file >>>>>>>>> >>>>>>>>> (The JavaScript code automatically adds the extension .vti, you >>>>>>>>> may change that behavior of course). >>>>>>>>> >>>>>>>>> I'll be posting the detailed changes on your code in the gist >>>>>>>>> comment shortly. >>>>>>>>> >>>>>>>>> Let me know >>>>>>>>> Cheers >>>>>>>>> Claude >>>>>>>>> >>>>>>>>> >>>>>>>>> On Jan 13, 2017, at 5:05 AM, Debopam Ghoshal < >>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>> >>>>>>>>> Hi Claude, >>>>>>>>> >>>>>>>>> I followed your instructions with some modifications since I was >>>>>>>>> having problems. Finally, I was able to configure the Apache front end with >>>>>>>>> the ParaView Web launcher, and now I can view the index page of the >>>>>>>>> visualizer. However, when I choose any of the sample files, they are not >>>>>>>>> being rendered in the visualizer pane. >>>>>>>>> >>>>>>>>> I have added the details in the gist you created at: >>>>>>>>> https://gist.github.com/cl >>>>>>>>> avicule/7b8b3963ceb17302cff725f8dc36bc57 >>>>>>>>> >>>>>>>>> Would appreciate your thoughts on this. >>>>>>>>> >>>>>>>>> >>>>>>>>> Cheers & Best Wishes, >>>>>>>>> Debopam >>>>>>>>> ------------------------------- >>>>>>>>> >>>>>>>>> >>>>>>>>> On Thu, Jan 12, 2017 at 5:22 PM, Debopam Ghoshal < >>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Hi Claude >>>>>>>>>> >>>>>>>>>> Thank you so much for your detailed explanation. The gist has >>>>>>>>>> been very useful. I am working on it at present, and is in the process of >>>>>>>>>> smoothening out a few creases because of the operating system I am using >>>>>>>>>> (Windows 10). >>>>>>>>>> >>>>>>>>>> Will let you know once I am able to use paraview web properly. >>>>>>>>>> And in case of any issue, I will bother you once again. >>>>>>>>>> >>>>>>>>>> Hi Seb, >>>>>>>>>> >>>>>>>>>> Thanks for the link. Much appreciated. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>> Debopam >>>>>>>>>> ------------------------------- >>>>>>>>>> >>>>>>>>>> On Wed, Jan 11, 2017 at 9:48 PM, Sebastien Jourdain < >>>>>>>>>> sebastien.jourdain at kitware.com> >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> Thanks Claude, >>>>>>>>>>> >>>>>>>>>>> Here is the add-on of what functions can be called on >>>>>>>>>>> Visualizer. (All the function with export) >>>>>>>>>>> >>>>>>>>>>> https://github.com/Kitware/vis >>>>>>>>>>> ualizer/blob/master/src/app.js >>>>>>>>>>> >>>>>>>>>>> We are planning to add some helper for extracting arguments from >>>>>>>>>>> the URL. We actually add a class in the ParaViewWeb repo, but we haven't >>>>>>>>>>> got to the point of using it and making it available in visualizer. >>>>>>>>>>> >>>>>>>>>>> Seb >>>>>>>>>>> >>>>>>>>>>> On Wed, Jan 11, 2017 at 7:32 AM, claude < >>>>>>>>>>> claude at theweak.link> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi Debopam, >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> I think there is one thing to consider first before taking care >>>>>>>>>>>> of data being passed through: if you manually start one instance of >>>>>>>>>>>> pvw-visualizer, it means all people connecting to port 8080 will see the >>>>>>>>>>>> same thing and act on the same viewer, which means potentially conflicting >>>>>>>>>>>> with each other action (e.g. a probable disconnection for everyone if one >>>>>>>>>>>> decide to exit maybe?). In that case, you need to have a virtual server >>>>>>>>>>>> that will launch a new process every time someone connect to port 8080. >>>>>>>>>>>> That way, all viewers are independent, the same person can open several >>>>>>>>>>>> viewers, etc. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Now regarding the data being loaded at startup: you html index >>>>>>>>>>>> file should have a function grabbing the 'data' parameter from a URL, a >>>>>>>>>>>> form, a dropdown menu, etc. then sending it as a key to the Visualizer >>>>>>>>>>>> application (so that the launcher knows which file to load at startup). >>>>>>>>>>>> >>>>>>>>>>>> It would have been complicated to explain all the details in a >>>>>>>>>>>> email, so I made a gist with all the files and "code" addressing both >>>>>>>>>>>> points (launcher and data): >>>>>>>>>>>> >>>>>>>>>>>> https://gist.github.com/clavic >>>>>>>>>>>> ule/7b8b3963ceb17302cff725f8dc36bc57 >>>>>>>>>>>> >>>>>>>>>>>> Note that this gist was gathered info from the Paraview Web and >>>>>>>>>>>> Visualizer online documentations: kuddos to Paraview people. >>>>>>>>>>>> 2nd note: in that gist I'm giving the instructions for Apache >>>>>>>>>>>> server (you could technically choose any other, e.g. NGinx) for Linux. I >>>>>>>>>>>> see you are on Windows: I don't know how Apache works on Windows but I >>>>>>>>>>>> assume (and hope) the steps and config file should be similar. >>>>>>>>>>>> >>>>>>>>>>>> I hope it helps! Good luck! >>>>>>>>>>>> cheers >>>>>>>>>>>> claude >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On 01/11/2017 04:10 AM, Debopam Ghoshal wrote: >>>>>>>>>>>> >>>>>>>>>>>> Hi, >>>>>>>>>>>> >>>>>>>>>>>> We have a requirement where our application will send a request >>>>>>>>>>>> to the paraview web server to render a specific file (which will be >>>>>>>>>>>> available in the data given directory) in the visualizer app, and this will >>>>>>>>>>>> be embedded within our application page as a iframe, whose source is the >>>>>>>>>>>> Visualizer app's index.html. >>>>>>>>>>>> >>>>>>>>>>>> We are using the pvpython.exe executable to start the paraview >>>>>>>>>>>> web server. The command used to start the server is: >>>>>>>>>>>> >>>>>>>>>>>> .\bin\pvpython.exe "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>>>>> -MPI-Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" >>>>>>>>>>>> --content "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>>>>> -MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www" >>>>>>>>>>>> --data "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" >>>>>>>>>>>> --port 8080 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> From the command, we can see that the web content is being >>>>>>>>>>>> served from the C:\ParaView-5.2.0-Qt4-Open >>>>>>>>>>>> GL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www directory. >>>>>>>>>>>> The index.html file uses the Visualizer.js script and calls the following >>>>>>>>>>>> functions: >>>>>>>>>>>> >>>>>>>>>>>> Visualizer.connect({ application: 'visualizer' }); >>>>>>>>>>>> Visualizer.autoStopServer(10); >>>>>>>>>>>> >>>>>>>>>>>> Is there any way to find out the available functions in the >>>>>>>>>>>> Visualizer.js script and call them from our custom html file? What we >>>>>>>>>>>> intend to do is to update the index.html file and >>>>>>>>>>>> a. add a javascript function which will accept a filename to be >>>>>>>>>>>> rendered >>>>>>>>>>>> b. once the filename is received by this function, it will call >>>>>>>>>>>> the visualizer and display the specified file >>>>>>>>>>>> c. in the visualizer page, the open files tab should be hidden. >>>>>>>>>>>> >>>>>>>>>>>> Please let me know if you require any clarification. >>>>>>>>>>>> >>>>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>>>> Debopam >>>>>>>>>>>> ------------------------------- >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> Powered by www.kitware.com >>>>>>>>>>>> >>>>>>>>>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>>>>>>>>>> >>>>>>>>>>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>>>>>>>>>> >>>>>>>>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>>>>>>>> >>>>>>>>>>>> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ Powered by >>>>>>>>>>>> www.kitware.com Visit other Kitware open-source projects at >>>>>>>>>>>> http://www.kitware.com/opensource/opensource.html Please keep >>>>>>>>>>>> messages on-topic and check the ParaView Wiki at: >>>>>>>>>>>> http://paraview.org/Wiki/ParaView Search the list archives at: >>>>>>>>>>>> http://markmail.org/search/?q=ParaView Follow this link to >>>>>>>>>>>> subscribe/unsubscribe: http://public.kitware.com/mail >>>>>>>>>>>> man/listinfo/paraview >>>>>>>>>>> >>>>>>>>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From David.Benn at csiro.au Wed Jan 25 02:31:57 2017 From: David.Benn at csiro.au (David.Benn at csiro.au) Date: Wed, 25 Jan 2017 07:31:57 +0000 Subject: [Paraview] [EXTERNAL] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? In-Reply-To: References: <5e518246b98c4d90a39855ea3bf421ca@exch4-cdc.nexus.csiro.au> Message-ID: <20e07684d33f48b4b6049d5612e46c15@exch4-cdc.nexus.csiro.au> I have submitted an issue for this: https://gitlab.kitware.com/paraview/paraview/issues/17135 David From: Benn, David (IM&T, Waite Campus) Sent: Tuesday, 24 January 2017 5:25 PM To: 'Scott, W Alan' ; paraview at paraview.org Cc: Benn, David (IM&T, Waite Campus) Subject: RE: [EXTERNAL] [Paraview] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? Hi Alan Sure, will do. I have also tested a solution. David From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Tuesday, 24 January 2017 8:23 AM To: Benn, David (IM&T, Waite Campus) >; paraview at paraview.org Subject: RE: [EXTERNAL] [Paraview] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? Looks like a bug. Mind writing it up? If you can give the developers a way to replicate the bug, it will significantly increase the chance it will be looked at... https://gitlab.kitware.com/paraview/paraview/issues Thanks, Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of David.Benn at csiro.au Sent: Friday, January 20, 2017 12:02 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? Upon loading an annotated .vtu file with TimeStep annotations such as this into Paraview 5.2.0 (under 64 bit SUSE Linux): I see the following: [cid:image001.png at 01D27735.1E0C99C0] such that a maximum of 4095 time steps are available, as opposed to the expected 10,560 time steps. When the non-annotated .vtu file is loaded, the expected number of frames are visible. Is there some inherent limitation within Paraview that prevents more than 4095 time steps from being loaded/visualised? Thanks. David -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 10819 bytes Desc: image001.png URL: From daniel.frisch.kit at gmail.com Wed Jan 25 08:25:14 2017 From: daniel.frisch.kit at gmail.com (Daniel Frisch) Date: Wed, 25 Jan 2017 14:25:14 +0100 Subject: [Paraview] XDMF crash Message-ID: I generated the following XDMF file and tried to open it in ParaView. When I open it, I get a dialog with three readers to choose: - XDMF reader - XDMF3 reader - XDMF3 reader (Top Level Partition) I can open the file with "XDMF reader", but when I open it with the other two readers, ParaView (5.1.0 64-bit Mac) crashes. Application Specific Information: terminating with uncaught exception of type XdmfError: 'Value' not in itemProperties in XdmfTime::populateItem abort() called But I generated the file according to this recommendation and according to the XDMF3 standard. When I try to open this public example with XDMF3 in ParaView, it crashes, too. Now this is the content of my XDMF file: 2 5 1 2 6 5 2 7 6 2 3 7 8 7 3 4 8 3 1 5 4 8 4 5 -1 1 2 0 0 0 1 0 0 1 1 0 0 1 0 0 0 1 1 0 1 1 1 .2 0 1 .2 0 1 2 3 4 5 6 7 8 8 7 6 5 4 3 2 1 0 -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew.j.burns35.ctr at mail.mil Wed Jan 25 10:58:59 2017 From: andrew.j.burns35.ctr at mail.mil (Burns, Andrew J CTR USARMY RDECOM ARL (US)) Date: Wed, 25 Jan 2017 15:58:59 +0000 Subject: [Paraview] [Non-DoD Source] XDMF crash In-Reply-To: References: Message-ID: This is because the Xdmf3 reader does not support the Hyperslab Timetype. One Time item per grid is the preferred method. Andrew Burns Software Engineer | SAIC Phone: 410-306-0409 ARL DSRC andrew.j.burns35.ctr at mail.mil -----Original Message----- From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Daniel Frisch Sent: Wednesday, January 25, 2017 8:25 AM To: paraview at paraview.org Subject: [Non-DoD Source] [Paraview] XDMF crash All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. ________________________________ I generated the following XDMF file and tried to open it in ParaView. When I open it, I get a dialog with three readers to choose: - XDMF reader - XDMF3 reader - XDMF3 reader (Top Level Partition) I can open the file with "XDMF reader", but when I open it with the other two readers, ParaView (5.1.0 64-bit Mac) crashes. Application Specific Information: terminating with uncaught exception of type XdmfError: 'Value' not in itemProperties in XdmfTime::populateItem abort() called But I generated the file according to this recommendation < Caution-http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview > and according to the XDMF3 < Caution-http://www.xdmf.org/index.php/XDMF_Model_and_Format > standard. When I try to open this public example < Caution-http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview > with XDMF3 in ParaView, it crashes, too. Now this is the content of my XDMF file: 2 5 1 2 6 5 2 7 6 2 3 7 8 7 3 4 8 3 1 5 4 8 4 5 -1 1 2 0 0 0 1 0 0 1 1 0 0 1 0 0 0 1 1 0 1 1 1 .2 0 1 .2 0 1 2 3 4 5 6 7 8 8 7 6 5 4 3 2 1 0 From jfavre at cscs.ch Wed Jan 25 11:07:15 2017 From: jfavre at cscs.ch (Favre Jean) Date: Wed, 25 Jan 2017 16:07:15 +0000 Subject: [Paraview] Time Source for Data Arrays In-Reply-To: References: , Message-ID: <0EB9B6375711A04B820E6B6F5CCA9F684379754A@MBX111.d.ethz.ch> I have examined Utkarsh's example because it is similar to one of my projects. Thanks. Yet, I am sorry to say I cannot execute it cleanly, without a small edit. I run PV 5.2. I execute script.py from the Python Shell. An image of the can is displayed, yet what is not working is that the Information Tab has an empty set of Timestep index, and Timestep Value. Consequently, the VCR Play button will go thru timestep values = 0, 0.111, 0.222, 0.333, 0.444 etc.... My work-around is to go back to the ProgrammableSource and force re-execution manually, by simply deleting the first empty line of "Script" and forcing re-execution. This is more than an aesthetic problem. This prevents the correct execution of time-dependent programmable sources in BATCH mode. I have yet to manage to get my time-aware analysis working. Do you not run into the same problem? ----------------- Jean/CSCS From chris.marsh at usask.ca Wed Jan 25 12:08:00 2017 From: chris.marsh at usask.ca (Chris Marsh) Date: Wed, 25 Jan 2017 11:08:00 -0600 Subject: [Paraview] Windows plugin compatibility with Paraview Message-ID: I would like to build and make available a pre-compiled windows binary for a filter I have developed. I would like to avoid the (windows) user having to compile the filter as well as paraview. Therefore I am wondering what compiler is used to produce the official Paraview builds so-as to avoid ABI issues with my pre-compiled .dll. Is there anything else I need to be aware of? Thanks, Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Wed Jan 25 13:00:42 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Wed, 25 Jan 2017 18:00:42 +0000 Subject: [Paraview] [EXTERNAL] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? In-Reply-To: <20e07684d33f48b4b6049d5612e46c15@exch4-cdc.nexus.csiro.au> References: <5e518246b98c4d90a39855ea3bf421ca@exch4-cdc.nexus.csiro.au> <20e07684d33f48b4b6049d5612e46c15@exch4-cdc.nexus.csiro.au> Message-ID: Thanks! You definitely did a good job with that bug report! Alan From: David.Benn at csiro.au [mailto:David.Benn at csiro.au] Sent: Wednesday, January 25, 2017 12:32 AM To: Scott, W Alan ; paraview at paraview.org Cc: David.Benn at csiro.au Subject: RE: [EXTERNAL] [Paraview] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? I have submitted an issue for this: https://gitlab.kitware.com/paraview/paraview/issues/17135 David From: Benn, David (IM&T, Waite Campus) Sent: Tuesday, 24 January 2017 5:25 PM To: 'Scott, W Alan' >; paraview at paraview.org Cc: Benn, David (IM&T, Waite Campus) > Subject: RE: [EXTERNAL] [Paraview] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? Hi Alan Sure, will do. I have also tested a solution. David From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Tuesday, 24 January 2017 8:23 AM To: Benn, David (IM&T, Waite Campus) >; paraview at paraview.org Subject: RE: [EXTERNAL] [Paraview] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? Looks like a bug. Mind writing it up? If you can give the developers a way to replicate the bug, it will significantly increase the chance it will be looked at... https://gitlab.kitware.com/paraview/paraview/issues Thanks, Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of David.Benn at csiro.au Sent: Friday, January 20, 2017 12:02 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? Upon loading an annotated .vtu file with TimeStep annotations such as this into Paraview 5.2.0 (under 64 bit SUSE Linux): I see the following: [cid:image001.png at 01D276FA.43DFFCE0] such that a maximum of 4095 time steps are available, as opposed to the expected 10,560 time steps. When the non-annotated .vtu file is loaded, the expected number of frames are visible. Is there some inherent limitation within Paraview that prevents more than 4095 time steps from being loaded/visualised? Thanks. David -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 10819 bytes Desc: image001.png URL: From daniel.frisch.kit at gmail.com Wed Jan 25 13:13:49 2017 From: daniel.frisch.kit at gmail.com (Daniel Frisch) Date: Wed, 25 Jan 2017 19:13:49 +0100 Subject: [Paraview] [Non-DoD Source] XDMF crash Message-ID: Hello Mr. Burns, thank you very much for your helpful answer. I changed the XDMF file. But now I have another question. Now I have problems with GridType="SubSet". ParaView doesn't view the second and third timestep. Their grids are referenced as SubSet from the first grid. This is the reason why I am doing all this: I want ParaView change the color on a static, fixed, large geometry as quickly as if I switched the surface coloring variable in the Active Variables Controls dropdown, but using the time playback features. It is very inconvenient to change the "timestep" by selecting an other variable in a Color Map drop-down menu with thousands of entries. Is this even possible in ParaView? This is my XDMF content: /Xdmf/Domain/Grid/Grid[@Name="MainGrid"] /Xdmf/Domain/Grid/Grid[@Name="MainGrid"] 2017-01-25 16:58 GMT+01:00 Burns, Andrew J CTR USARMY RDECOM ARL (US) < andrew.j.burns35.ctr at mail.mil>: > This is because the Xdmf3 reader does not support the Hyperslab Timetype. > One Time item per grid is the preferred method. > > Andrew Burns > Software Engineer | SAIC > Phone: 410-306-0409 > ARL DSRC > andrew.j.burns35.ctr at mail.mil > > -----Original Message----- > From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Daniel > Frisch > Sent: Wednesday, January 25, 2017 8:25 AM > To: paraview at paraview.org > Subject: [Non-DoD Source] [Paraview] XDMF crash > > All active links contained in this email were disabled. Please verify the > identity of the sender, and confirm the authenticity of all links contained > within the message prior to copying and pasting the address to a Web > browser. > > > ________________________________ > > > > I generated the following XDMF file and tried to open it in ParaView. When > I open it, I get a dialog with three readers to choose: > - XDMF reader > - XDMF3 reader > - XDMF3 reader (Top Level Partition) > > I can open the file with "XDMF reader", but when I open it with the other > two readers, ParaView (5.1.0 64-bit Mac) crashes. > > Application Specific Information: > terminating with uncaught exception of type XdmfError: 'Value' not in > itemProperties in XdmfTime::populateItem > abort() called > > But I generated the file according to this recommendation < Caution- > http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_ > varying_Raw_file_into_Paraview > and according to the XDMF3 < Caution- > http://www.xdmf.org/index.php/XDMF_Model_and_Format > standard. When I > try to open this public example < Caution-http://www.paraview. > org/Wiki/ParaView/Data_formats#Reading_a_time_ > varying_Raw_file_into_Paraview > with XDMF3 in ParaView, it crashes, too. > > > Now this is the content of my XDMF file: > > > > > > > > > > > 2 5 1 > 2 6 5 2 7 6 2 3 7 8 7 3 4 8 3 1 5 4 8 4 5 > > > > > > -1 1 2 0 0 0 1 0 > 0 1 1 0 0 1 0 0 0 1 1 0 1 1 1 .2 0 1 .2 > > > > Name="TimeSeriesGrid"> > > > > > > > > > > > > 0 1 2 3 4 5 6 7 > 8 > > > > > > > > > > > > > > 8 7 6 5 4 3 2 1 > 0 > > > > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew.j.burns35.ctr at mail.mil Wed Jan 25 13:24:48 2017 From: andrew.j.burns35.ctr at mail.mil (Burns, Andrew J CTR USARMY RDECOM ARL (US)) Date: Wed, 25 Jan 2017 18:24:48 +0000 Subject: [Paraview] [Non-DoD Source] XDMF crash In-Reply-To: References: Message-ID: From my understanding of your method, you want to use the progression of "time" to iterate across attribute displays? You don't need GridType="Subset" for that (and I don't think Xdmf3 uses that designation anyway). Just use XPointers to point the grids to the topology and geometry of the first one. Andrew Burns Software Engineer | SAIC Phone: 410-306-0409 ARL DSRC andrew.j.burns35.ctr at mail.mil -----Original Message----- From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Daniel Frisch Sent: Wednesday, January 25, 2017 1:14 PM To: paraview at paraview.org Subject: Re: [Paraview] [Non-DoD Source] XDMF crash All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. ________________________________ Hello Mr. Burns, thank you very much for your helpful answer. I changed the XDMF file. But now I have another question. Now I have problems with GridType="SubSet". ParaView doesn't view the second and third timestep. Their grids are referenced as SubSet from the first grid. This is the reason why I am doing all this: I want ParaView change the color on a static, fixed, large geometry as quickly as if I switched the surface coloring variable in the Active Variables Controls dropdown, but using the time playback features. It is very inconvenient to change the "timestep" by selecting an other variable in a Color Map drop-down menu with thousands of entries. Is this even possible in ParaView? This is my XDMF content: /Xdmf/Domain/Grid/Grid[@Name="MainGrid"] /Xdmf/Domain/Grid/Grid[@Name="MainGrid"] 2017-01-25 16:58 GMT+01:00 Burns, Andrew J CTR USARMY RDECOM ARL (US) >: This is because the Xdmf3 reader does not support the Hyperslab Timetype. One Time item per grid is the preferred method. Andrew Burns Software Engineer | SAIC Phone: 410-306-0409 < tel:410-306-0409 > ARL DSRC andrew.j.burns35.ctr at mail.mil < Caution-mailto:andrew.j.burns35.ctr at mail.mil > -----Original Message----- From: ParaView [Caution-mailto:paraview-bounces at paraview.org < Caution-mailto:paraview-bounces at paraview.org > ] On Behalf Of Daniel Frisch Sent: Wednesday, January 25, 2017 8:25 AM To: paraview at paraview.org < Caution-mailto:paraview at paraview.org > Subject: [Non-DoD Source] [Paraview] XDMF crash All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. ________________________________ I generated the following XDMF file and tried to open it in ParaView. When I open it, I get a dialog with three readers to choose: - XDMF reader - XDMF3 reader - XDMF3 reader (Top Level Partition) I can open the file with "XDMF reader", but when I open it with the other two readers, ParaView (5.1.0 64-bit Mac) crashes. Application Specific Information: terminating with uncaught exception of type XdmfError: 'Value' not in itemProperties in XdmfTime::populateItem abort() called But I generated the file according to this recommendation < Caution-Caution-http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview < Caution-http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview > > and according to the XDMF3 < Caution-Caution-http://www.xdmf.org/index.php/XDMF_Model_and_Format < Caution-http://www.xdmf.org/index.php/XDMF_Model_and_Format > > standard. When I try to open this public example < Caution-Caution-http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview < Caution-http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview > > with XDMF3 in ParaView, it crashes, too. Now this is the content of my XDMF file: 2 5 1 2 6 5 2 7 6 2 3 7 8 7 3 4 8 3 1 5 4 8 4 5 -1 1 2 0 0 0 1 0 0 1 1 0 0 1 0 0 0 1 1 0 1 1 1 .2 0 1 .2 0 1 2 3 4 5 6 7 8 8 7 6 5 4 3 2 1 0 From ben.boeckel at kitware.com Wed Jan 25 13:39:37 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Wed, 25 Jan 2017 13:39:37 -0500 Subject: [Paraview] Windows plugin compatibility with Paraview In-Reply-To: References: Message-ID: <20170125183937.GA4230@megas.kitware.com> On Wed, Jan 25, 2017 at 11:08:00 -0600, Chris Marsh wrote: > I would like to build and make available a pre-compiled windows binary for > a filter I have developed. I would like to avoid the (windows) user having > to compile the filter as well as paraview. Therefore I am wondering what > compiler is used to produce the official Paraview builds so-as to avoid ABI > issues with my pre-compiled .dll. Is there anything else I need to be aware > of? We use Visual Studio 2013 Community to build the binaries from the superbuild: https://gitlab.kitware.com/paraview/paraview-superbuild If you want to be compatible with the paraview.org downloads, there are two packages built, one with MPI and one without. You can see the command lines used to build the superbuild here: https://open.cdash.org/viewConfigure.php?buildid=4740356 (no MPI) https://open.cdash.org/viewConfigure.php?buildid=4740247 (with MPI) Only MSMPI is supported (but cannot be redistributed, so we rely on it being available on the target machine already). If you want to build your own package with the plugin pre-packaged, you can use the documentation here: https://gitlab.kitware.com/paraview/paraview-superbuild/#external-plugins to support building your plugin and then extract it from the install/ tree and distribute it to your users. We currently do not ship an SDK for Windows, so it is easiest to build 5.2.0 locally and then redistribute your plugin (though building your own package is also easy). Note that your plugin is built as part of ParaView in this configuration, so there is no need to do a `find_package(ParaView)`. You can see how the PointSpritePlugin deals with this here: https://gitlab.kitware.com/paraview/paraview/blob/4897676d1cdc764f933a9fac22149dadf6dd5cb2/Plugins/PointSprite/CMakeLists.txt#L14 --Ben From daniel.frisch.kit at gmail.com Wed Jan 25 13:43:42 2017 From: daniel.frisch.kit at gmail.com (Daniel Frisch) Date: Wed, 25 Jan 2017 19:43:42 +0100 Subject: [Paraview] [Non-DoD Source] XDMF crash In-Reply-To: References: Message-ID: I already tried XPath pointers, but it takes a few seconds in ParaView when I click to the next time frame --- whereas it takes only 0.1s to change the color when I switch the Active Variable for the ColorMap in ParaView's dropdown. I thought using SubSet, ParaView might "recognize" that it is actually all the same geometry. But meanwhile I assume ParaView always thinks the geometry might change between timeframes and takes much time for switching between timeframes no matter what file format I use. 2017-01-25 19:24 GMT+01:00 Burns, Andrew J CTR USARMY RDECOM ARL (US) < andrew.j.burns35.ctr at mail.mil>: > From my understanding of your method, you want to use the progression of > "time" to iterate across attribute displays? > > You don't need GridType="Subset" for that (and I don't think Xdmf3 uses > that designation anyway). Just use XPointers to point the grids to the > topology and geometry of the first one. > > Andrew Burns > Software Engineer | SAIC > Phone: 410-306-0409 > ARL DSRC > andrew.j.burns35.ctr at mail.mil > > -----Original Message----- > From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Daniel > Frisch > Sent: Wednesday, January 25, 2017 1:14 PM > To: paraview at paraview.org > Subject: Re: [Paraview] [Non-DoD Source] XDMF crash > > All active links contained in this email were disabled. Please verify the > identity of the sender, and confirm the authenticity of all links contained > within the message prior to copying and pasting the address to a Web > browser. > > > ________________________________ > > > > Hello Mr. Burns, thank you very much for your helpful answer. I changed > the XDMF file. But now I have another question. > > Now I have problems with GridType="SubSet". ParaView doesn't view the > second and third timestep. Their grids are referenced as SubSet from the > first grid. > > This is the reason why I am doing all this: I want ParaView change the > color on a static, fixed, large geometry as quickly as if I switched the > surface coloring variable in the Active Variables Controls dropdown, but > using the time playback features. It is very inconvenient to change the > "timestep" by selecting an other variable in a Color Map drop-down menu > with thousands of entries. Is this even possible in ParaView? > > > > > This is my XDMF content: > > > > > > > > > Name="TimeSeriesGrid"> > > > > > > > > /Xdmf/Domain/G > rid/Grid[@Name="MainGrid"] > > > > > > /Xdmf/Domain/G > rid/Grid[@Name="MainGrid"] > > > > > > > > > > > 2017-01-25 16:58 GMT+01:00 Burns, Andrew J CTR USARMY RDECOM ARL (US) < > andrew.j.burns35.ctr at mail.mil < Caution-mailto:andrew.j.burns3 > 5.ctr at mail.mil > >: > > > This is because the Xdmf3 reader does not support the Hyperslab > Timetype. One Time item per grid is the preferred method. > > Andrew Burns > Software Engineer | SAIC > Phone: 410-306-0409 < tel:410-306-0409 > > ARL DSRC > andrew.j.burns35.ctr at mail.mil < Caution-mailto:andrew.j.burns3 > 5.ctr at mail.mil > > > -----Original Message----- > From: ParaView [Caution-mailto:paraview-bounces at paraview.org < > Caution-mailto:paraview-bounces at paraview.org > ] On Behalf Of Daniel > Frisch > Sent: Wednesday, January 25, 2017 8:25 AM > To: paraview at paraview.org < Caution-mailto:paraview at paraview.org > > Subject: [Non-DoD Source] [Paraview] XDMF crash > > All active links contained in this email were disabled. Please > verify the identity of the sender, and confirm the authenticity of all > links contained within the message prior to copying and pasting the address > to a Web browser. > > > ________________________________ > > > > I generated the following XDMF file and tried to open it in > ParaView. When I open it, I get a dialog with three readers to choose: > - XDMF reader > - XDMF3 reader > - XDMF3 reader (Top Level Partition) > > I can open the file with "XDMF reader", but when I open it with > the other two readers, ParaView (5.1.0 64-bit Mac) crashes. > > Application Specific Information: > terminating with uncaught exception of type XdmfError: 'Value' not > in itemProperties in XdmfTime::populateItem > abort() called > > But I generated the file according to this recommendation < > Caution-Caution-http://www.paraview.org/Wiki/ParaView/Data_ > formats#Reading_a_time_varying_Raw_file_into_Paraview < Caution- > http://www.paraview.org/Wiki/ParaView/Data_formats# > Reading_a_time_varying_Raw_file_into_Paraview > > and according to the > XDMF3 < Caution-Caution-http://www.xdmf.org/index.php/XDMF_Model_and > _Format < Caution-http://www.xdmf.org/index.php/XDMF_Model_and_Format > > > standard. When I try to open this public example < Caution-Caution- > http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying > _Raw_file_into_Paraview < Caution-http://www.paraview.or > g/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview > > > with XDMF3 in ParaView, it crashes, too. > > > > Now this is the content of my XDMF file: > > > > > > > > > > > Format="XML">2 5 1 2 6 5 2 7 6 2 3 7 8 7 3 4 8 3 1 5 4 > 8 4 5 > > > > > > -1 1 2 0 0 > 0 1 0 0 1 1 0 0 1 0 0 0 1 1 0 1 1 1 .2 0 1 > .2 > > > > Name="TimeSeriesGrid"> > > > > > > > > > > > > 0 1 2 3 > 4 5 6 7 8 > > > > > > > > > > > > > > 8 7 6 5 > 4 3 2 1 0 > > > > > > > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Wed Jan 25 13:46:55 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 25 Jan 2017 11:46:55 -0700 Subject: [Paraview] Embedding the Visualizer app in the browser within an iframe In-Reply-To: References: <53b122fc-85c6-bb9a-b0e1-5061e655a04a@theweak.link> <2255E579-482D-46BB-BE9A-BCCAF43C9DE3@theweak.link> <558b4ce4-d37e-01a5-16ac-d0c073135b75@theweak.link> Message-ID: Hi Debopam, Here is the link for the live the documentation: => http://kitware.github.io/paraviewweb/docs/windows_10.html The source file for it is available below: => https://github.com/Kitware/paraviewweb/blob/master/documentation/content/docs/windows_10.md Thanks again for your contribution, Seb On Tue, Jan 24, 2017 at 9:29 PM, Debopam Ghoshal wrote: > Hi Seb, > > Please go ahead and put the information in the ParaView Web Repo. I think > this will help anyone interested in setting up a ParaView Web Server on > Windows. > > Cheers & Best Wishes, > Debopam > ------------------------------- > Cell: +91 98304 10041 <+91%2098304%2010041> > > On Tue, Jan 24, 2017 at 9:00 PM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> Thanks Debopam for putting it together. >> >> If you feel that could be useful, we can move/copy your gist to the main >> paraviewweb web site. >> >> Let me know if you want me to put that information in the ParaViewWeb >> repo. >> >> Thanks, >> >> Seb >> >> >> On Tue, Jan 24, 2017 at 5:10 AM, Debopam Ghoshal >> wrote: >> >>> Hi Seb and Claude, >>> >>> Thanks for your valuable inputs. I have been able to setup ParaView web >>> on a windows 10 system and things are working as expected. >>> >>> I have created a gist (https://gist.github.com/debop >>> amg/aa497516d79442efa44b8e23838e1235) detailing the process of setting >>> up the ParaView application and use apache as the front end server. >>> >>> Thanks again for your help. >>> >>> >>> Cheers & Best Wishes, >>> Debopam >>> ------------------------------- >>> Cell: +91 98304 10041 <+91%2098304%2010041> >>> >>> On Wed, Jan 18, 2017 at 8:19 PM, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>>> Well we fixed that issue last time in another thread. Here is the >>>> difference: >>>> >>>> Launcher configuration (Not working) >>>> "C:/paraview/ParaView5.2.0/data" >>>> >>>> Command line (Working) >>>> "C:\paraview\ParaView5.2.0\data" >>>> >>>> Do you notice any difference? Do you see what you should try next? >>>> >>>> On Wed, Jan 18, 2017 at 4:38 AM, Debopam Ghoshal >>>> wrote: >>>> >>>>> Hi Seb & Claude, >>>>> >>>>> Thanks for pointing out the error, but still I am having the same >>>>> problem. No matter what I do, I am not able to show the figure in the >>>>> visualizer pane. It is always black/blank. :( >>>>> >>>>> This is what I did: >>>>> 1. Used hard coded (can.ex2) as well as dynamic (${data}) for the >>>>> data file, >>>>> 2. I even hardcoded the data value in the index.html file, >>>>> 3. I tried using http://paraview as well as >>>>> http://paraview/?data=can.ex2 >>>>> 4. In the visualizer Files tab, I selected each of the data files (can.ex2, >>>>> disc_out_ref.ex2, headsq.vti) >>>>> >>>>> But in all these cases, I was not able to see any output in the >>>>> visualizer pane. In each case, the native window name Visualization >>>>> Toolkit - Win32OpenGL #n showed up with nothing except the >>>>> orientation axes. The same window showed up within the browser, and when I >>>>> moved the orientation axes on the browser, the axes also moved in the >>>>> native window. The later shows that the native window is connected and >>>>> responds to the browser actions (through web sockets I believe). >>>>> >>>>> What I fail to understand is why is the *data file selected from the >>>>> Files tab* in the Visualizer console (in browser) not showing up in >>>>> the Visualizer pane. This the seems to be the basic problem. For instance, >>>>> when I start the Visualizer through the pvpython using the >>>>> pvw-visualizer.py script it works absolutely ok. Which shows that >>>>> there is no problem with my graphics card or Paraview installation. >>>>> >>>>> *startpvw.bat:* >>>>> >>>>> .\bin\pvpython.exe "C:\paraview\ParaView5.2.0\sha >>>>> re\paraview-5.2\web\visualizer\server\pvw-visualizer.py" --content >>>>> "C:\paraview\ParaView5.2.0\share\paraview-5.2\web\visualizer\www" >>>>> --data "C:\paraview\ParaView5.2.0\data" --port 9000 >>>>> >>>>> >>>>> But when I run the launcher using the command: >>>>> *launcher.bat:* >>>>> >>>>> set PV_HOME=C:\paraview\ParaView5.2.0 >>>>> %PV_HOME%\bin\pvpython.exe %PV_HOME%\bin\Lib\site-packages\vtk\web\launcher.py >>>>> %PV_HOME%\launcher.config >>>>> >>>>> and then access the visualizer through the apache front end, then the >>>>> data file is not being rendered. >>>>> >>>>> So, I guess there is something wrong with the way I am calling the >>>>> visualizer from the launcher and the way it is called with the >>>>> pvw-visualizer.py script. >>>>> >>>>> Your continued support is much appreciated. I am attaching the >>>>> relevant files for your reference. >>>>> >>>>> >>>>> Cheers & Best Wishes, >>>>> Debopam >>>>> ------------------------------- >>>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>>> >>>>> On Wed, Jan 18, 2017 at 12:43 AM, Sebastien Jourdain < >>>>> sebastien.jourdain at kitware.com> wrote: >>>>> >>>>>> No worries. Thanks Claude for your help on the mailing list... ;-) >>>>>> >>>>>> On Tue, Jan 17, 2017 at 8:52 AM, claude wrote: >>>>>> >>>>>>> Thank you Sebastien! Good catch. >>>>>>> >>>>>>> One addition to make sure the path to the file is correct: in the JS >>>>>>> of the HTML file in the gist, I specified data as being "data: >>>>>>> getUrlParameter('data') + '.vti'". In your case, the extension of >>>>>>> the file is .ex2, not vti. So make sure the whole filename is correct, for >>>>>>> instance specify the extension in the URL and not in the JS: >>>>>>> >>>>>>> HTML -> "data: getUrlParameter('data')" >>>>>>> >>>>>>> URL -> http://paraview/?data=can.ex2 >>>>>>> >>>>>>> (Otherwise it will look for can.ex2.vti which does not exist) >>>>>>> >>>>>>> Thanks very much Sebastien! >>>>>>> >>>>>>> cheers >>>>>>> >>>>>>> On 01/17/2017 09:13 AM, Sebastien Jourdain wrote: >>>>>>> >>>>>>> As you can see the issue is right there: >>>>>>> >>>>>>> "--load-file", "${data_dir}/can.ex2" >>>>>>> >>>>>>> >>>>>>> As explained by Claude earlier in that same thread: >>>>>>> >>>>>>> The option --data specifies the directory, so whatever file you want >>>>>>>> to load, it must be relative to that directory. >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Jan 17, 2017 at 1:38 AM, Debopam Ghoshal >>>>>> > wrote: >>>>>>> >>>>>>>> Hi Claude, >>>>>>>> >>>>>>>> Thanks a lot for your time and patience. As I have configured a >>>>>>>> virtual host in apache, I am using the name of the virtual host (paraview) >>>>>>>> instead of localhost. So instead of >>>>>>>> http://localhost, my url is http://paraview. Please find my >>>>>>>> response below: >>>>>>>> >>>>>>>> - a successful POST request to localhost/paraview >>>>>>>> >>>>>>>> The only log that I saw in the developer console was: Navigated to: >>>>>>>> http://paraview/ (Note: I did not give the data >>>>>>>> because it is already hardcoded in the launcher.config file) >>>>>>>> >>>>>>>> - a successful GET request to localhost/proxy >>>>>>>> >>>>>>>> Nothing else was displayed in the console. I have attached a >>>>>>>> snapshot of the network tab (not sure whether it has any relevant >>>>>>>> information) >>>>>>>> >>>>>>>> - then do you get an error such as "can't connect to ws://localhost >>>>>>>> ..."? >>>>>>>> >>>>>>>> I get this error only when I specify "sessionURL" : " >>>>>>>> ws://paraview:80/ws". When I specify "sessionURL" : " >>>>>>>> ws://paraview:80/proxy?sessionId=${id}&path=ws" then there is no >>>>>>>> error. >>>>>>>> Before starting the test today, I deleted all the log file, and >>>>>>>> after the test the following are my observations: >>>>>>>> >>>>>>>> 1. the *error.log* file is empty >>>>>>>> 2. the *launcher.log* has some entries, but none of them are >>>>>>>> errors: >>>>>>>> 2017-01-17 13:43:17,786:INFO:twisted:Site starting on 9000 >>>>>>>> 2017-01-17 13:43:17,786:INFO:twisted:Starting factory >>>>>>>> >>>>>>>> 2017-01-17 13:43:53,460:INFO:twisted:"127.0.0.1" - - >>>>>>>> [17/Jan/2017:08:13:52 +0000] "POST /paraview/ HTTP/1.1" 200 206 " >>>>>>>> http://paraview/" "Mozilla/5.0 (Windows NT 10.0; WOW64) >>>>>>>> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36" >>>>>>>> 2017-01-17 13:45:01,183:INFO:twisted:Received SIGINT, shutting >>>>>>>> down. >>>>>>>> 2017-01-17 13:45:01,183:INFO:twisted:(TCP Port 9000 Closed) >>>>>>>> 2017-01-17 13:45:01,183:INFO:twisted:Stopping factory >>>>>>>> >>>>>>>> 2017-01-17 13:45:01,183:INFO:twisted:Main loop terminated. >>>>>>>> 2017-01-17 13:45:01,183:WARNING:root:Server factory shutting down. >>>>>>>> Stopping all processes >>>>>>>> >>>>>>>> 3. The *session log* file also did not have any errors: >>>>>>>> 2017-01-17 13:43:52+0530 [-] Log opened. >>>>>>>> 2017-01-17 13:43:52+0530 [-] Site starting on 9999 >>>>>>>> 2017-01-17 13:43:52+0530 [-] Starting factory >>>>>>>> >>>>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Client has >>>>>>>> reconnected, cancelling reaper >>>>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] on_connect: >>>>>>>> connection count = 1 >>>>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>>>>> BeginValueCapture has no GetData() method, skipping >>>>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>>>>> CaptureValuesFloat has no GetData() method, skipping >>>>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>>>>> CaptureZBuffer has no GetData() method, skipping >>>>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>>>>> EndValueCapture has no GetData() method, skipping >>>>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>>>>> StartCaptureLuminance has no GetData() method, skipping >>>>>>>> 2017-01-17 13:43:54+0530 [HTTPChannel,0,127.0.0.1] Property >>>>>>>> StopCaptureLuminance has no GetData() method, skipping >>>>>>>> >>>>>>>> >>>>>>>> What is confusing me is that the native rendering panel is coming >>>>>>>> up on the desktop, but does not show the image to be rendered. The same >>>>>>>> panel is also coming up as part of the Visualizer pane, and if I move the >>>>>>>> orientation axis in the browser, then the axes are also moved in the native >>>>>>>> window. In the attached snapshot, the native window is on your left. >>>>>>>> >>>>>>>> Cheers & Best Wishes, >>>>>>>> Debopam >>>>>>>> ------------------------------- >>>>>>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>>>>>> >>>>>>>> On Tue, Jan 17, 2017 at 5:28 AM, claude < >>>>>>>> claude at theweak.link> wrote: >>>>>>>> >>>>>>>>> Hi Debopam, >>>>>>>>> >>>>>>>>> Would you mind trying to connect while the web developer console >>>>>>>>> is on (for Chrome it's under "Tools > Javascript console") and copy/pasting >>>>>>>>> the errors (if any). >>>>>>>>> >>>>>>>>> Do you see: >>>>>>>>> >>>>>>>>> - a successful POST request to localhost/paraview >>>>>>>>> >>>>>>>>> - a successful GET request to localhost/proxy >>>>>>>>> >>>>>>>>> - then do you get an error such as "can't connect to >>>>>>>>> ws://localhost..."? >>>>>>>>> >>>>>>>>> Also, what do the logs tell you (/path/to/logs/error.log, >>>>>>>>> /path/to/logs/launcherLog.log and /path/to/logs/.txt => fetch the >>>>>>>>> last one created)? >>>>>>>>> >>>>>>>>> cheers >>>>>>>>> >>>>>>>>> claude >>>>>>>>> >>>>>>>>> >>>>>>>>> On 01/16/2017 03:56 AM, Debopam Ghoshal wrote: >>>>>>>>> >>>>>>>>> Hi Claude, >>>>>>>>> >>>>>>>>> I tried using the filename hard coded in the config json as well >>>>>>>>> as the index.html. But I am not able to view the file in the Visualizer. >>>>>>>>> It is only showing the blank window/pane with no figure. I can >>>>>>>>> move the orientation axes, but nothing is being rendered. Even when I >>>>>>>>> choose a file from the Files tab, nothing is being displayed. >>>>>>>>> >>>>>>>>> My launcher config has: >>>>>>>>> >>>>>>>>> ....... >>>>>>>>> "properties" : { >>>>>>>>> "python_exec" : "C:/paraview/ParaView5.2.0/bin/pvpython.exe", >>>>>>>>> "visualizer": "C:/paraview/ParaView5.2.0/sha >>>>>>>>> re/paraview-5.2/web/visualizer/server/pvw-visualizer.py", >>>>>>>>> "data_dir": "C:/paraview/ParaView5.2.0/data" >>>>>>>>> }, >>>>>>>>> "apps": { >>>>>>>>> "visualizer": { >>>>>>>>> "cmd": [ >>>>>>>>> "${python_exec}", "-dr", "${visualizer}", "--port", >>>>>>>>> "${port}", "--data", "${data_dir}", "--authKey", "${secret}", >>>>>>>>> "--load-file", "${data_dir}/can.ex2" >>>>>>>>> ], >>>>>>>>> "ready_line" : "Starting factory" >>>>>>>>> } >>>>>>>>> } >>>>>>>>> ...... >>>>>>>>> >>>>>>>>> >>>>>>>>> (You can see that the file name is hard coded) >>>>>>>>> >>>>>>>>> The launcher.bat script has: >>>>>>>>> >>>>>>>>> set PV_HOME=C:\paraview\ParaView5.2.0 >>>>>>>>> %PV_HOME%\bin\pvpython.exe %PV_HOME%\bin\Lib\site-packages\vtk\web\launcher.py >>>>>>>>> %PV_HOME%\launcher.config >>>>>>>>> >>>>>>>>> >>>>>>>>> However, I am able to view the file when I launch the pvpython.exe >>>>>>>>> script directly using: >>>>>>>>> .\bin\pvpython.exe "C:\paraview\ParaView5.2.0\sha >>>>>>>>> re\paraview-5.2\web\visualizer\server\pvw-visualizer.py" >>>>>>>>> --content "C:\paraview\ParaView5.2.0\sha >>>>>>>>> re\paraview-5.2\web\visualizer\www" --data >>>>>>>>> "C:\paraview\ParaView5.2.0\data" --port 8080 >>>>>>>>> >>>>>>>>> So, I am guessing I may have mixed up some configuration items >>>>>>>>> because of which the display is not coming when I try to launch it through >>>>>>>>> the launcher scirpt/config. Surprisingly, there are no error messages in >>>>>>>>> the log files. Could you please suggest something. >>>>>>>>> >>>>>>>>> I have added the details in the gist for your reference: >>>>>>>>> >>>>>>>>> https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 >>>>>>>>> >>>>>>>>> The screenshots are also attached for your reference. >>>>>>>>> >>>>>>>>> >>>>>>>>> Cheers & Best Wishes, >>>>>>>>> Debopam >>>>>>>>> ------------------------------- >>>>>>>>> Cell: +91 98304 10041 <+91%2098304%2010041> >>>>>>>>> >>>>>>>>> On Fri, Jan 13, 2017 at 6:04 PM, Claude < >>>>>>>>> claude at theweak.link> wrote: >>>>>>>>> >>>>>>>>>> Hi Debopam, >>>>>>>>>> >>>>>>>>>> Thanks for the added details on the gist and congratulations for >>>>>>>>>> setting up the server, you are almost there. >>>>>>>>>> For Visualizer to be able to load a file, it will need the >>>>>>>>>> argument --load-file (it seems to have disappeared in your config >>>>>>>>>> launcher). The option --data specifies the directory, so whatever file you >>>>>>>>>> want to load, it must be relative to that directory. For example to load >>>>>>>>>> the data file C:/my_data/dir/example1/my_file.vti you could do: >>>>>>>>>> --data is C:/my_data/dir >>>>>>>>>> --load-file is example1/my_file.vti >>>>>>>>>> >>>>>>>>>> Here is a question for you: do you want to always have the same >>>>>>>>>> data loaded by default or to be able to specify it? >>>>>>>>>> * If it's always the same, you can directly hardcode it in the >>>>>>>>>> launcher config file. Then it will be loaded when you navigate to the >>>>>>>>>> paraview URL. >>>>>>>>>> * if it's not always the same, you could use the solution on the >>>>>>>>>> gist which is specifying it in the URL directly (there are other >>>>>>>>>> alternatives of course). In that case, the URL must contain the file to >>>>>>>>>> load (otherwise paraview cannot guess it :)). For instance: >>>>>>>>>> http://localhost:9000/?data=example1/my_file >>>>>>>>>> >>>>>>>>>> (The JavaScript code automatically adds the extension .vti, you >>>>>>>>>> may change that behavior of course). >>>>>>>>>> >>>>>>>>>> I'll be posting the detailed changes on your code in the gist >>>>>>>>>> comment shortly. >>>>>>>>>> >>>>>>>>>> Let me know >>>>>>>>>> Cheers >>>>>>>>>> Claude >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Jan 13, 2017, at 5:05 AM, Debopam Ghoshal < >>>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>> Hi Claude, >>>>>>>>>> >>>>>>>>>> I followed your instructions with some modifications since I was >>>>>>>>>> having problems. Finally, I was able to configure the Apache front end with >>>>>>>>>> the ParaView Web launcher, and now I can view the index page of the >>>>>>>>>> visualizer. However, when I choose any of the sample files, they are not >>>>>>>>>> being rendered in the visualizer pane. >>>>>>>>>> >>>>>>>>>> I have added the details in the gist you created at: >>>>>>>>>> https://gist.github.com/cl >>>>>>>>>> avicule/7b8b3963ceb17302cff725f8dc36bc57 >>>>>>>>>> >>>>>>>>>> Would appreciate your thoughts on this. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>> Debopam >>>>>>>>>> ------------------------------- >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Thu, Jan 12, 2017 at 5:22 PM, Debopam Ghoshal < >>>>>>>>>> debopamg at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Hi Claude >>>>>>>>>>> >>>>>>>>>>> Thank you so much for your detailed explanation. The gist has >>>>>>>>>>> been very useful. I am working on it at present, and is in the process of >>>>>>>>>>> smoothening out a few creases because of the operating system I am using >>>>>>>>>>> (Windows 10). >>>>>>>>>>> >>>>>>>>>>> Will let you know once I am able to use paraview web properly. >>>>>>>>>>> And in case of any issue, I will bother you once again. >>>>>>>>>>> >>>>>>>>>>> Hi Seb, >>>>>>>>>>> >>>>>>>>>>> Thanks for the link. Much appreciated. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>>> Debopam >>>>>>>>>>> ------------------------------- >>>>>>>>>>> >>>>>>>>>>> On Wed, Jan 11, 2017 at 9:48 PM, Sebastien Jourdain < >>>>>>>>>>> sebastien.jourdain at kitware.com> >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Thanks Claude, >>>>>>>>>>>> >>>>>>>>>>>> Here is the add-on of what functions can be called on >>>>>>>>>>>> Visualizer. (All the function with export) >>>>>>>>>>>> >>>>>>>>>>>> https://github.com/Kitware/vis >>>>>>>>>>>> ualizer/blob/master/src/app.js >>>>>>>>>>>> >>>>>>>>>>>> We are planning to add some helper for extracting arguments >>>>>>>>>>>> from the URL. We actually add a class in the ParaViewWeb repo, but we >>>>>>>>>>>> haven't got to the point of using it and making it available in visualizer. >>>>>>>>>>>> >>>>>>>>>>>> Seb >>>>>>>>>>>> >>>>>>>>>>>> On Wed, Jan 11, 2017 at 7:32 AM, claude < >>>>>>>>>>>> claude at theweak.link> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hi Debopam, >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> I think there is one thing to consider first before taking >>>>>>>>>>>>> care of data being passed through: if you manually start one instance of >>>>>>>>>>>>> pvw-visualizer, it means all people connecting to port 8080 will see the >>>>>>>>>>>>> same thing and act on the same viewer, which means potentially conflicting >>>>>>>>>>>>> with each other action (e.g. a probable disconnection for everyone if one >>>>>>>>>>>>> decide to exit maybe?). In that case, you need to have a virtual server >>>>>>>>>>>>> that will launch a new process every time someone connect to port 8080. >>>>>>>>>>>>> That way, all viewers are independent, the same person can open several >>>>>>>>>>>>> viewers, etc. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Now regarding the data being loaded at startup: you html index >>>>>>>>>>>>> file should have a function grabbing the 'data' parameter from a URL, a >>>>>>>>>>>>> form, a dropdown menu, etc. then sending it as a key to the Visualizer >>>>>>>>>>>>> application (so that the launcher knows which file to load at startup). >>>>>>>>>>>>> >>>>>>>>>>>>> It would have been complicated to explain all the details in a >>>>>>>>>>>>> email, so I made a gist with all the files and "code" addressing both >>>>>>>>>>>>> points (launcher and data): >>>>>>>>>>>>> >>>>>>>>>>>>> https://gist.github.com/clavic >>>>>>>>>>>>> ule/7b8b3963ceb17302cff725f8dc36bc57 >>>>>>>>>>>>> >>>>>>>>>>>>> Note that this gist was gathered info from the Paraview Web >>>>>>>>>>>>> and Visualizer online documentations: kuddos to Paraview people. >>>>>>>>>>>>> 2nd note: in that gist I'm giving the instructions for Apache >>>>>>>>>>>>> server (you could technically choose any other, e.g. NGinx) for Linux. I >>>>>>>>>>>>> see you are on Windows: I don't know how Apache works on Windows but I >>>>>>>>>>>>> assume (and hope) the steps and config file should be similar. >>>>>>>>>>>>> >>>>>>>>>>>>> I hope it helps! Good luck! >>>>>>>>>>>>> cheers >>>>>>>>>>>>> claude >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On 01/11/2017 04:10 AM, Debopam Ghoshal wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> Hi, >>>>>>>>>>>>> >>>>>>>>>>>>> We have a requirement where our application will send a >>>>>>>>>>>>> request to the paraview web server to render a specific file (which will be >>>>>>>>>>>>> available in the data given directory) in the visualizer app, and this will >>>>>>>>>>>>> be embedded within our application page as a iframe, whose source is the >>>>>>>>>>>>> Visualizer app's index.html. >>>>>>>>>>>>> >>>>>>>>>>>>> We are using the pvpython.exe executable to start the paraview >>>>>>>>>>>>> web server. The command used to start the server is: >>>>>>>>>>>>> >>>>>>>>>>>>> .\bin\pvpython.exe "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>>>>>> -MPI-Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py" >>>>>>>>>>>>> --content "C:\ParaView-5.2.0-Qt4-OpenGL2 >>>>>>>>>>>>> -MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www" >>>>>>>>>>>>> --data "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" >>>>>>>>>>>>> --port 8080 >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> From the command, we can see that the web content is being >>>>>>>>>>>>> served from the C:\ParaView-5.2.0-Qt4-Open >>>>>>>>>>>>> GL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www directory. >>>>>>>>>>>>> The index.html file uses the Visualizer.js script and calls the following >>>>>>>>>>>>> functions: >>>>>>>>>>>>> >>>>>>>>>>>>> Visualizer.connect({ application: 'visualizer' }); >>>>>>>>>>>>> Visualizer.autoStopServer(10); >>>>>>>>>>>>> >>>>>>>>>>>>> Is there any way to find out the available functions in the >>>>>>>>>>>>> Visualizer.js script and call them from our custom html file? What we >>>>>>>>>>>>> intend to do is to update the index.html file and >>>>>>>>>>>>> a. add a javascript function which will accept a filename to >>>>>>>>>>>>> be rendered >>>>>>>>>>>>> b. once the filename is received by this function, it will >>>>>>>>>>>>> call the visualizer and display the specified file >>>>>>>>>>>>> c. in the visualizer page, the open files tab should be hidden. >>>>>>>>>>>>> >>>>>>>>>>>>> Please let me know if you require any clarification. >>>>>>>>>>>>> >>>>>>>>>>>>> Cheers & Best Wishes, >>>>>>>>>>>>> Debopam >>>>>>>>>>>>> ------------------------------- >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> Powered by www.kitware.com >>>>>>>>>>>>> >>>>>>>>>>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>>>>>>>>>>> >>>>>>>>>>>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>>>>>>>>>>> >>>>>>>>>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>>>>>>>>> >>>>>>>>>>>>> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview >>>>>>>>>>>>> >>>>>>>>>>>>> _______________________________________________ Powered by >>>>>>>>>>>>> www.kitware.com Visit other Kitware open-source projects at >>>>>>>>>>>>> http://www.kitware.com/opensource/opensource.html Please keep >>>>>>>>>>>>> messages on-topic and check the ParaView Wiki at: >>>>>>>>>>>>> http://paraview.org/Wiki/ParaView Search the list archives >>>>>>>>>>>>> at: http://markmail.org/search/?q=ParaView Follow this link >>>>>>>>>>>>> to subscribe/unsubscribe: http://public.kitware.com/mail >>>>>>>>>>>>> man/listinfo/paraview >>>>>>>>>>>> >>>>>>>>>>>> >>>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew.j.burns35.ctr at mail.mil Wed Jan 25 14:01:19 2017 From: andrew.j.burns35.ctr at mail.mil (Burns, Andrew J CTR USARMY RDECOM ARL (US)) Date: Wed, 25 Jan 2017 19:01:19 +0000 Subject: [Paraview] [Non-DoD Source] XDMF crash In-Reply-To: References: Message-ID: The load time is because Paraview needs a moment to load the data for the new timestep in. When you switch variables all the data is in memory already. This is done because Paraview is designed to work with large datasets. For higher scale implementations it wouldn't be feasible to have all grids loaded in memory simultaneously. From my knowledge, Paraview actually does check if the geometry is reused and doesn't reload it if that is the case. However, it still needs to do some conversions behind the scenes when it loads a timestep. -Andrew -----Original Message----- From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Daniel Frisch Sent: Wednesday, January 25, 2017 1:44 PM To: paraview at paraview.org Subject: Re: [Paraview] [Non-DoD Source] XDMF crash All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. ________________________________ I already tried XPath pointers, but it takes a few seconds in ParaView when I click to the next time frame --- whereas it takes only 0.1s to change the color when I switch the Active Variable for the ColorMap in ParaView's dropdown. I thought using SubSet, ParaView might "recognize" that it is actually all the same geometry. But meanwhile I assume ParaView always thinks the geometry might change between timeframes and takes much time for switching between timeframes no matter what file format I use. 2017-01-25 19:24 GMT+01:00 Burns, Andrew J CTR USARMY RDECOM ARL (US) >: From my understanding of your method, you want to use the progression of "time" to iterate across attribute displays? You don't need GridType="Subset" for that (and I don't think Xdmf3 uses that designation anyway). Just use XPointers to point the grids to the topology and geometry of the first one. Andrew Burns Software Engineer | SAIC Phone: 410-306-0409 < tel:410-306-0409 > ARL DSRC andrew.j.burns35.ctr at mail.mil < Caution-mailto:andrew.j.burns35.ctr at mail.mil > -----Original Message----- From: ParaView [Caution-mailto:paraview-bounces at paraview.org < Caution-mailto:paraview-bounces at paraview.org > ] On Behalf Of Daniel Frisch Sent: Wednesday, January 25, 2017 1:14 PM To: paraview at paraview.org < Caution-mailto:paraview at paraview.org > Subject: Re: [Paraview] [Non-DoD Source] XDMF crash All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. ________________________________ Hello Mr. Burns, thank you very much for your helpful answer. I changed the XDMF file. But now I have another question. Now I have problems with GridType="SubSet". ParaView doesn't view the second and third timestep. Their grids are referenced as SubSet from the first grid. This is the reason why I am doing all this: I want ParaView change the color on a static, fixed, large geometry as quickly as if I switched the surface coloring variable in the Active Variables Controls dropdown, but using the time playback features. It is very inconvenient to change the "timestep" by selecting an other variable in a Color Map drop-down menu with thousands of entries. Is this even possible in ParaView? This is my XDMF content: /Xdmf/Domain/Grid/Grid[@Name="MainGrid"] /Xdmf/Domain/Grid/Grid[@Name="MainGrid"] 2017-01-25 16:58 GMT+01:00 Burns, Andrew J CTR USARMY RDECOM ARL (US) < Caution-Caution-mailto:andrew.j.burns35.ctr at mail.mil < Caution-mailto:andrew.j.burns35.ctr at mail.mil > > >: This is because the Xdmf3 reader does not support the Hyperslab Timetype. One Time item per grid is the preferred method. Andrew Burns Software Engineer | SAIC Phone: 410-306-0409 < tel:410-306-0409 > < tel:410-306-0409 < tel:410-306-0409 > > ARL DSRC andrew.j.burns35.ctr at mail.mil < Caution-mailto:andrew.j.burns35.ctr at mail.mil > < Caution-Caution-mailto:andrew.j.burns35.ctr at mail.mil < Caution-mailto:andrew.j.burns35.ctr at mail.mil > > -----Original Message----- From: ParaView [Caution-Caution-mailto:paraview-bounces at paraview.org < Caution-mailto:paraview-bounces at paraview.org > < Caution-Caution-mailto:paraview-bounces at paraview.org < Caution-mailto:paraview-bounces at paraview.org > > ] On Behalf Of Daniel Frisch Sent: Wednesday, January 25, 2017 8:25 AM To: paraview at paraview.org < Caution-mailto:paraview at paraview.org > < Caution-Caution-mailto:paraview at paraview.org < Caution-mailto:paraview at paraview.org > > Subject: [Non-DoD Source] [Paraview] XDMF crash All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. ________________________________ I generated the following XDMF file and tried to open it in ParaView. When I open it, I get a dialog with three readers to choose: - XDMF reader - XDMF3 reader - XDMF3 reader (Top Level Partition) I can open the file with "XDMF reader", but when I open it with the other two readers, ParaView (5.1.0 64-bit Mac) crashes. Application Specific Information: terminating with uncaught exception of type XdmfError: 'Value' not in itemProperties in XdmfTime::populateItem abort() called But I generated the file according to this recommendation < Caution-Caution-Caution-http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview < Caution-http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview > < Caution-Caution-http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview < Caution-http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview > > > and according to the XDMF3 < Caution-Caution-Caution-http://www.xdmf.org/index.php/XDMF_Model_and_Format < Caution-http://www.xdmf.org/index.php/XDMF_Model_and_Format > < Caution-Caution-http://www.xdmf.org/index.php/XDMF_Model_and_Format < Caution-http://www.xdmf.org/index.php/XDMF_Model_and_Format > > > standard. When I try to open this public example < Caution-Caution-Caution-http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview < Caution-http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview > < Caution-Caution-http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview < Caution-http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview > > > with XDMF3 in ParaView, it crashes, too. Now this is the content of my XDMF file: 2 5 1 2 6 5 2 7 6 2 3 7 8 7 3 4 8 3 1 5 4 8 4 5 -1 1 2 0 0 0 1 0 0 1 1 0 0 1 0 0 0 1 1 0 1 1 1 .2 0 1 .2 0 1 2 3 4 5 6 7 8 8 7 6 5 4 3 2 1 0 From chris.marsh at usask.ca Wed Jan 25 15:39:39 2017 From: chris.marsh at usask.ca (Chris Marsh) Date: Wed, 25 Jan 2017 14:39:39 -0600 Subject: [Paraview] Windows plugin compatibility with Paraview In-Reply-To: <20170125183937.GA4230@megas.kitware.com> References: <20170125183937.GA4230@megas.kitware.com> Message-ID: Hi Ben, Thanks for the detailed reply. This is exactly what I was looking for. Thanks very much. Cheers Chris On 25 January 2017 at 12:39, Ben Boeckel wrote: > On Wed, Jan 25, 2017 at 11:08:00 -0600, Chris Marsh wrote: > > I would like to build and make available a pre-compiled windows binary > for > > a filter I have developed. I would like to avoid the (windows) user > having > > to compile the filter as well as paraview. Therefore I am wondering what > > compiler is used to produce the official Paraview builds so-as to avoid > ABI > > issues with my pre-compiled .dll. Is there anything else I need to be > aware > > of? > > We use Visual Studio 2013 Community to build the binaries from the > superbuild: > > https://gitlab.kitware.com/paraview/paraview-superbuild > > If you want to be compatible with the paraview.org downloads, there are > two packages built, one with MPI and one without. You can see the > command lines used to build the superbuild here: > > https://open.cdash.org/viewConfigure.php?buildid=4740356 (no MPI) > https://open.cdash.org/viewConfigure.php?buildid=4740247 (with MPI) > > Only MSMPI is supported (but cannot be redistributed, so we rely on it > being available on the target machine already). > > If you want to build your own package with the plugin pre-packaged, you > can use the documentation here: > > https://gitlab.kitware.com/paraview/paraview-superbuild/# > external-plugins > > to support building your plugin and then extract it from the install/ > tree and distribute it to your users. We currently do not ship an SDK > for Windows, so it is easiest to build 5.2.0 locally and then > redistribute your plugin (though building your own package is also > easy). Note that your plugin is built as part of ParaView in this > configuration, so there is no need to do a `find_package(ParaView)`. You > can see how the PointSpritePlugin deals with this here: > > https://gitlab.kitware.com/paraview/paraview/blob/ > 4897676d1cdc764f933a9fac22149dadf6dd5cb2/Plugins/ > PointSprite/CMakeLists.txt#L14 > > --Ben > -------------- next part -------------- An HTML attachment was scrubbed... URL: From foss at grueninger.de Thu Jan 26 08:09:18 2017 From: foss at grueninger.de (=?UTF-8?Q?Christoph_Gr=C3=BCninger?=) Date: Thu, 26 Jan 2017 14:09:18 +0100 (CET) Subject: [Paraview] Gradient between cell data Message-ID: <1089006118.352109.1485436158604@com4.strato.de> Dear ParaView! I have a simulation computed with a finite volume method which outputs pressure as cell data. The pressure gradient is related to the velocity (Darcy's law). Is it possible to calculate the gradient as a finite difference between the cell centers of adjacent cells? The result would be located between the cells, not sure whether this works at all. Converting cell data to point data and using the gradient filter is not what I want. Bye Christoph From rodneicouto at gmail.com Thu Jan 26 09:21:52 2017 From: rodneicouto at gmail.com (Rodnei Couto) Date: Thu, 26 Jan 2017 12:21:52 -0200 Subject: [Paraview] ParaView Web - dynamic dataDir parameter Message-ID: Hi, I set up my environment as indicated in http://kitware.github.io/paraviewweb/docs/ubuntu_14_04.html Is there a way to pass a dynamic data dir to python launcher from visualizer client? I would like to enter in the browser http://myaddres/visualizer?dataDir=[my_data_dir] and pvw-visualizer.py be started by launcher with [my_data_dir] in data parameter value. If it is not possible to do as I said, is there any other way that I can dynamically configure the data dir? cheers, -- Rodnei Couto | (55 21) 98749-9885 -------------- next part -------------- An HTML attachment was scrubbed... URL: From nabil.ghodbane at gmail.com Thu Jan 26 09:36:56 2017 From: nabil.ghodbane at gmail.com (Nabil Ghodbane) Date: Thu, 26 Jan 2017 15:36:56 +0100 Subject: [Paraview] Compile Paraview 5.0.1 with gcc 4.1 Message-ID: dear experts, I need to compile the Paraview 5.01 for CentOS 5.11/ gcc 4.1.2 (x64). Unfortunately the CMake claims that GCC 4.2 or greater is required. I can of course edit the CMake files and release this constraint. But before going further, I am wondering whether someone on this mailing list did already manage to compile Paraview with gcc 4.1. My final goal being to compile h5py+Paraview.... In advance, thanks for your valuable help. Nabil Ghodbane (Ph. D. Habil*.*) Phone: +33 6 34 42 33 43 Mailto: nabil.ghodbane at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon.kohlhase at tum.de Thu Jan 26 09:53:17 2017 From: simon.kohlhase at tum.de (Kohlhase, Simon) Date: Thu, 26 Jan 2017 14:53:17 +0000 Subject: [Paraview] Paraview Live Visualisation C++ Pipeline Message-ID: Hi, for a University Project we're trying to run Paraview Live Simulation on the local cluster-network. Unfortunately the network only has a Paraview version without python-binding installed, therefore we would like to run the LiveSimulation with a C++-coded Pipeline Skript. As far as we understood, to make it work we have to rewrite the following lines from the PythonPipeline Script to C++, which turns out to be quite challenging: coprocessor.UpdateProducers(datadescription) # Write output data, if appropriate. coprocessor.WriteData(datadescription); # Live Visualization, if enabled. coprocessor.DoLiveVisualization(datadescription, "localhost", 22222) We tried the following: //INITIALIZE vtkNew link; vtkSMProxyManager* proxyManager; vtkSMSessionProxyManager* sessionProxyManager; link -> SetInsituPort(22222); link -> SetHostname("localhost"); proxyManager = vtkSMProxyManager::GetProxyManager(); sessionProxyManager = proxyManager->GetActiveSessionProxyManager(); link -> Initialize(sessionProxyManager); // Initialize returns 1, therefore connection established properly //Then we tried to coprocess with the following code: vtkNew writer; writer->SetInputConnection(producer->GetOutputPort()); vtkSMProxy* proxy = sessionProxyManager->NewProxy("insitu_writer_parameters","XMLPImageDataWriter"); vtkSMInputProperty* property = (vtkSMInputProperty*) proxy -> GetProperty("Input"); //set input of proxy to our writer or datadescription - DOESN'T WORK while(true){ link->InsituUpdate(dataDescription->GetTime(), dataDescription->GetTimeStep()); //update pipeline link->InsituPostProcess(dataDescription->GetTime(), dataDescription->GetTimeStep()); if(link->GetSimulationPaused()){ if(link->WaitForLiveChange()){ break; } } else{ break; } } So how are we supposed to get the data from our simulation into the Proxy? We have been trying and searching the documentation for the right functions, but we can't figure out how to do it. We would really appreciate some help ;-) Best regards, Simon Kohlhase -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Thu Jan 26 10:22:03 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Thu, 26 Jan 2017 10:22:03 -0500 Subject: [Paraview] Paraview Live Visualisation C++ Pipeline In-Reply-To: References: Message-ID: Hi, Currently the Live functionality only works when ParaView is built with Python bindings. My suggestion would be to build ParaView yourself. That should be much easier than trying to put in a C++ pipeline that can deal with the Live functionality properly. As for building ParaView, you may want to look into using the ParaView Superbuild (https://gitlab.kitware.com/paraview/paraview-superbuild/) which will also build all needed dependencies. The dependencies are probably all there though since you've said that ParaView is already installed there. I'm not sure the set up you're looking for but if you want to run with the simulation+Catalyst linking to a parallel pvserver on the cluster which then connects to a client, you may want to use ParaView master. The reason for this is that there was a bug that had all of the simulation+Catalyst nodes only being able to communicate with a single pvserver node (multiple pvserver processes though). If you only want to connect the simulation+Catalyst to the GUI client or pvserver processes on a single node then 5.2 should work fine for you. Best, Andy On Thu, Jan 26, 2017 at 9:53 AM, Kohlhase, Simon wrote: > Hi, > > > > for a University Project we?re trying to run Paraview Live Simulation on > the local cluster-network. Unfortunately the network only has a Paraview > version without python-binding installed, therefore we would like to run > the LiveSimulation with a C++-coded Pipeline Skript. > > > > As far as we understood, to make it work we have to rewrite the following > lines from the PythonPipeline Script to C++, which turns out to be quite > challenging: > > > > coprocessor.UpdateProducers(datadescription) > > # Write output data, if appropriate. > > coprocessor.WriteData(datadescription); > > # Live Visualization, if enabled. > > coprocessor.DoLiveVisualization(datadescription, "localhost", 22222) > > > > We tried the following: > > > > //INITIALIZE > > vtkNew link; > > vtkSMProxyManager* proxyManager; > > vtkSMSessionProxyManager* sessionProxyManager; > > link -> SetInsituPort(22222); > > link -> SetHostname("localhost"); > > proxyManager = vtkSMProxyManager::GetProxyManager(); > > sessionProxyManager = proxyManager->GetActiveSessionProxyManager(); > > link -> Initialize(sessionProxyManager); > > > > // Initialize returns 1, therefore connection established properly > > > > //Then we tried to coprocess with the following code: > > vtkNew writer; > > writer->SetInputConnection(producer->GetOutputPort()); > > vtkSMProxy* proxy = sessionProxyManager->NewProxy( > "insitu_writer_parameters","XMLPImageDataWriter"); > > vtkSMInputProperty* property = (vtkSMInputProperty*) proxy -> > GetProperty("Input"); > > > > //set input of proxy to our writer or datadescription ? DOESN?T WORK > > while(true){ > > link->InsituUpdate(dataDescription->GetTime(), > dataDescription->GetTimeStep()); > > //update pipeline > > link->InsituPostProcess(dataDescription->GetTime(), > dataDescription->GetTimeStep()); > > if(link->GetSimulationPaused()){ > > if(link->WaitForLiveChange()){ > > break; > > } > > } else{ > > break; > > } > > } > > > > So how are we supposed to get the data from our simulation into the Proxy? > > We have been trying and searching the documentation for the right > functions, but we can?t figure out how to do it. > > > > We would really appreciate some help ;-) > > > > Best regards, > > Simon Kohlhase > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Thu Jan 26 10:24:05 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Thu, 26 Jan 2017 15:24:05 +0000 Subject: [Paraview] Gradient between cell data Message-ID: Christoph, To my knowledge, there is no direct way to do this. If your data are in an ImageData or some other type of structured grid, it should be fairly straightforward to use a programmable filter to build a new grid with one fewer point in each dimension and then copy the cell data of this original mesh to the point data of the new mesh. You can then do finite differences on the points of the new mesh and get the result you are looking for. -Ken -----Original Message----- From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Christoph Gr?ninger Sent: Thursday, January 26, 2017 6:09 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Gradient between cell data Dear ParaView! I have a simulation computed with a finite volume method which outputs pressure as cell data. The pressure gradient is related to the velocity (Darcy's law). Is it possible to calculate the gradient as a finite difference between the cell centers of adjacent cells? The result would be located between the cells, not sure whether this works at all. Converting cell data to point data and using the gradient filter is not what I want. Bye Christoph _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview From sebastien.jourdain at kitware.com Thu Jan 26 10:26:46 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Thu, 26 Jan 2017 08:26:46 -0700 Subject: [Paraview] ParaView Web - dynamic dataDir parameter In-Reply-To: References: Message-ID: This documentation ( http://kitware.github.io/paraviewweb/docs/windows_10.html) explain how to do it for Windows, but the logic remain the same. On Thu, Jan 26, 2017 at 7:21 AM, Rodnei Couto wrote: > Hi, > > I set up my environment as indicated in http://kitware.github.io/ > paraviewweb/docs/ubuntu_14_04.html > > Is there a way to pass a dynamic data dir to python launcher from > visualizer client? > > I would like to enter in the browser http://myaddres/visualizer? > dataDir=[my_data_dir] and pvw-visualizer.py be started by launcher with > [my_data_dir] in data parameter value. > > If it is not possible to do as I said, is there any other way that I can > dynamically configure the data dir? > > cheers, > > -- > Rodnei Couto | (55 21) 98749-9885 > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Thu Jan 26 10:26:50 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Thu, 26 Jan 2017 10:26:50 -0500 Subject: [Paraview] Gradient between cell data In-Reply-To: <1089006118.352109.1485436158604@com4.strato.de> References: <1089006118.352109.1485436158604@com4.strato.de> Message-ID: Hi, The gradient of unstructured data sets will work on cell data. Have you tried that? Note though that ParaView/VTK only allows fields to be associated with either points or cells, not interfaces between cells (e.g. faces in 3D and edges in 2D). On Thu, Jan 26, 2017 at 8:09 AM, Christoph Gr?ninger wrote: > Dear ParaView! > > I have a simulation computed with a finite volume method which outputs > pressure as cell data. The pressure gradient is related to the velocity > (Darcy's law). Is it possible to calculate the gradient as a finite > difference between the cell centers of adjacent cells? > The result would be located between the cells, not sure whether this > works at all. > > Converting cell data to point data and using the gradient filter is not > what I want. > > Bye > Christoph > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Thu Jan 26 10:30:02 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Thu, 26 Jan 2017 08:30:02 -0700 Subject: [Paraview] ParaView Web - dynamic dataDir parameter In-Reply-To: References: Message-ID: Also you can follow that gist https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57 On Thu, Jan 26, 2017 at 8:26 AM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > This documentation (http://kitware.github.io/paraviewweb/docs/windows_10. > html) explain how to do it for Windows, but the logic remain the same. > > On Thu, Jan 26, 2017 at 7:21 AM, Rodnei Couto > wrote: > >> Hi, >> >> I set up my environment as indicated in http://kitware.github.io/parav >> iewweb/docs/ubuntu_14_04.html >> >> Is there a way to pass a dynamic data dir to python launcher from >> visualizer client? >> >> I would like to enter in the browser http://myaddres/visualizer?dat >> aDir=[my_data_dir] and pvw-visualizer.py be started by launcher with >> [my_data_dir] in data parameter value. >> >> If it is not possible to do as I said, is there any other way that I can >> dynamically configure the data dir? >> >> cheers, >> >> -- >> Rodnei Couto | (55 21) 98749-9885 >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From foss at grueninger.de Thu Jan 26 11:21:36 2017 From: foss at grueninger.de (=?UTF-8?Q?Christoph_Gr=C3=BCninger?=) Date: Thu, 26 Jan 2017 17:21:36 +0100 (CET) Subject: [Paraview] Gradient between cell data In-Reply-To: References: <1089006118.352109.1485436158604@com4.strato.de> Message-ID: <1617521985.361681.1485447697164@com4.strato.de> Hi Any, I did not try to apply the gradient of unstructured data to a set of structured data. Thank you for the hint, this was exactly the filter I was looking for! Bye Christoph > Andy Bauer hat am 26. Januar 2017 um 16:26 geschrieben: > > Hi, > > The gradient of unstructured data sets will work on cell data. Have you > tried that? > > Note though that ParaView/VTK only allows fields to be associated with > either points or cells, not interfaces between cells (e.g. faces in 3D and > edges in 2D). From samuelkey at bresnan.net Thu Jan 26 11:29:25 2017 From: samuelkey at bresnan.net (Samuel Key) Date: Thu, 26 Jan 2017 09:29:25 -0700 Subject: [Paraview] Gradient between cell data In-Reply-To: <1089006118.352109.1485436158604@com4.strato.de> References: <1089006118.352109.1485436158604@com4.strato.de> Message-ID: <834f9dfc-a02b-2271-6c79-e375b3e0d9dc@bresnan.net> Christoph, Do you want the pressure gradient? Do you want the velocity gradient? Do you want the energy flux through a cell facet(face)? What is the geometry of your mesh cells? Maybe I can help if I had the information like the above. Sam Key On 1/26/2017 6:09 AM, Christoph Gr?ninger wrote: > Dear ParaView! > > I have a simulation computed with a finite volume method which outputs > pressure as cell data. The pressure gradient is related to the velocity > (Darcy's law). Is it possible to calculate the gradient as a finite > difference between the cell centers of adjacent cells? > The result would be located between the cells, not sure whether this > works at all. > > Converting cell data to point data and using the gradient filter is not > what I want. > > Bye > Christoph > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From chuck.atkins at kitware.com Thu Jan 26 11:48:28 2017 From: chuck.atkins at kitware.com (Chuck Atkins) Date: Thu, 26 Jan 2017 11:48:28 -0500 Subject: [Paraview] Compile Paraview 5.0.1 with gcc 4.1 In-Reply-To: References: Message-ID: Nabil, Can you use gcc 4.4? It should be available on EL5 as a technology preview by installing the gcc44{,-c++,-gfortran} packages. You'll then need to set your CC and CXX env vars to /usr/bin/gcc44 and /usr/bin/g++44 respectively. ---------- Chuck Atkins Staff R&D Engineer, Scientific Computing Kitware, Inc. On Thu, Jan 26, 2017 at 9:36 AM, Nabil Ghodbane wrote: > dear experts, > I need to compile the Paraview 5.01 for CentOS 5.11/ gcc 4.1.2 (x64). > Unfortunately the CMake claims that GCC 4.2 or greater is required. I can > of course edit the CMake files and release this constraint. > But before going further, I am wondering whether someone on this mailing > list did already manage to compile Paraview with gcc 4.1. > My final goal being to compile h5py+Paraview.... > In advance, thanks for your valuable help. > > > Nabil Ghodbane (Ph. D. Habil*.*) > Phone: +33 6 34 42 33 43 <+33%206%2034%2042%2033%2043> > Mailto: nabil.ghodbane at gmail.com > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rodneicouto at gmail.com Thu Jan 26 12:06:46 2017 From: rodneicouto at gmail.com (Rodnei Couto) Date: Thu, 26 Jan 2017 15:06:46 -0200 Subject: [Paraview] ParaView Web - dynamic dataDir parameter In-Reply-To: References: Message-ID: Many thanks. It works. Cheers, -- Rodnei Couto | (55 21) 98749-9885 On Thu, Jan 26, 2017 at 1:30 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > Also you can follow that gist https://gist.github.com/clavicule/ > 7b8b3963ceb17302cff725f8dc36bc57 > > On Thu, Jan 26, 2017 at 8:26 AM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> This documentation (http://kitware.github.io/para >> viewweb/docs/windows_10.html) explain how to do it for Windows, but the >> logic remain the same. >> >> On Thu, Jan 26, 2017 at 7:21 AM, Rodnei Couto >> wrote: >> >>> Hi, >>> >>> I set up my environment as indicated in http://kitware.github.io/parav >>> iewweb/docs/ubuntu_14_04.html >>> >>> Is there a way to pass a dynamic data dir to python launcher from >>> visualizer client? >>> >>> I would like to enter in the browser http://myaddres/visualizer?dat >>> aDir=[my_data_dir] and pvw-visualizer.py be started by launcher with >>> [my_data_dir] in data parameter value. >>> >>> If it is not possible to do as I said, is there any other way that I can >>> dynamically configure the data dir? >>> >>> cheers, >>> >>> -- >>> Rodnei Couto | (55 21) 98749-9885 >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Thu Jan 26 12:58:15 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Thu, 26 Jan 2017 17:58:15 +0000 Subject: [Paraview] Gradient between cell data Message-ID: Be aware that the gradient of unstructured data will internally run the cell data to point data filter if you take the gradient of cell data. You said in your first email that you didn't want to convert the cell data to point data, so this might not give you the result you want. -Ken -----Original Message----- From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Christoph Gr?ninger Sent: Thursday, January 26, 2017 9:22 AM To: paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview] Gradient between cell data Hi Any, I did not try to apply the gradient of unstructured data to a set of structured data. Thank you for the hint, this was exactly the filter I was looking for! Bye Christoph > Andy Bauer hat am 26. Januar 2017 um 16:26 geschrieben: > > Hi, > > The gradient of unstructured data sets will work on cell data. Have > you tried that? > > Note though that ParaView/VTK only allows fields to be associated with > either points or cells, not interfaces between cells (e.g. faces in 3D > and edges in 2D). _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview From yzhou at math.colostate.edu Thu Jan 26 14:17:25 2017 From: yzhou at math.colostate.edu (Yongcheng Zhou) Date: Thu, 26 Jan 2017 12:17:25 -0700 (MST) Subject: [Paraview] color unstructed surface mesh using a field on structured grid Message-ID: Dear all, I am wondering whether it is possible to color a unstructured triangulated 3D surface using the scalar field stored in another file with structured 3D grid. I can manually interpolate the data on surface mesh from the 3D structured grid but thought that paraview might have some proper filters for this purpose. Thank you! -yc From sujin.philip at kitware.com Thu Jan 26 14:52:09 2017 From: sujin.philip at kitware.com (Sujin Philip) Date: Thu, 26 Jan 2017 14:52:09 -0500 Subject: [Paraview] color unstructed surface mesh using a field on structured grid In-Reply-To: References: Message-ID: Hi, You can try the Resample With Dataset filter for this: https://blog.kitware.com/dataset-resampling-filters/ Thanks Sujin On Thu, Jan 26, 2017 at 2:17 PM, Yongcheng Zhou wrote: > > Dear all, > > I am wondering whether it is possible to color a unstructured triangulated > 3D surface using the scalar field stored in another > file with structured 3D grid. I can manually interpolate the > data on surface mesh from the 3D structured grid but thought that > paraview might have some proper filters for this purpose. > > Thank you! > > -yc > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Thu Jan 26 15:10:51 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Thu, 26 Jan 2017 20:10:51 +0000 Subject: [Paraview] How to extract a free-body-diagram type force and moment summary for a subset of model Message-ID: All, Sometimes it is helpful to take a subset of a real world problem and create a lab specimen of that subset and subject it to realistic loadings in order to replicate the real world problem. Many times we have tried to cut an internal chunk out of a solid mechanics FEA model and determine an appropriate loading to be applied to it in the test lab. What general procedures would be used in Paraview in order to get these type of (time-varying) loads on the external surfaces of an extracted subset? I hope I'm not too obscure for anyone to know what I'm asking. Thanks for any ideas. Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From hermann.fuerntratt at joanneum.at Fri Jan 27 12:14:57 2017 From: hermann.fuerntratt at joanneum.at (Fuerntratt, Hermann) Date: Fri, 27 Jan 2017 17:14:57 +0000 Subject: [Paraview] ParaView 5.2: Custom Camera Button on GUI Message-ID: <86b1720656c045f6a9bcfa843ecdb357@RZJMBX1.jr1.local> Hi, I would like to add the "1" button from the "Adjust Camera" dialog to the main GUI toolbar. At the end it would allow to reset the camera view with a single click to my favourite viewpoint. Is this possible? If yes, how? If not, what would be a simple workaround to get such a behaviour? Thanks, Hermann -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Fri Jan 27 13:10:45 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 27 Jan 2017 18:10:45 +0000 Subject: [Paraview] [EXTERNAL] ParaView 5.2: Custom Camera Button on GUI In-Reply-To: <86b1720656c045f6a9bcfa843ecdb357@RZJMBX1.jr1.local> References: <86b1720656c045f6a9bcfa843ecdb357@RZJMBX1.jr1.local> Message-ID: <5c59dd349f284d208562c6ff0947577e@ES01AMSNLNT.srn.sandia.gov> Hermann, Good idea. I wrote up a feature request here: https://gitlab.kitware.com/paraview/paraview/issues/17138 It's on the pile to get done by next summer. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Fuerntratt, Hermann Sent: Friday, January 27, 2017 10:15 AM To: 'paraview at paraview.org' Subject: [EXTERNAL] [Paraview] ParaView 5.2: Custom Camera Button on GUI Hi, I would like to add the "1" button from the "Adjust Camera" dialog to the main GUI toolbar. At the end it would allow to reset the camera view with a single click to my favourite viewpoint. Is this possible? If yes, how? If not, what would be a simple workaround to get such a behaviour? Thanks, Hermann -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Fri Jan 27 15:19:36 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 27 Jan 2017 20:19:36 +0000 Subject: [Paraview] Ply files as time history dataset Message-ID: I have a series of ply files, each representing a slice of time. Can ParaView read in this dataset as time slices? Thanks, Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri Jan 27 15:22:12 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 27 Jan 2017 15:22:12 -0500 Subject: [Paraview] Ply files as time history dataset In-Reply-To: References: Message-ID: Not currently, no. But it should be an easy fix to make it support a temporal fileseries. On Fri, Jan 27, 2017 at 3:19 PM, Scott, W Alan wrote: > I have a series of ply files, each representing a slice of time. Can > ParaView read in this dataset as time slices? > > > > Thanks, > > > > Alan > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From wascott at sandia.gov Fri Jan 27 15:50:26 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 27 Jan 2017 20:50:26 +0000 Subject: [Paraview] [EXTERNAL] Ply files as time history dataset In-Reply-To: References: Message-ID: <6bb0917375434f1d818425357feea535@ES01AMSNLNT.srn.sandia.gov> To reply to the list, this functionality does not exist. Kitware has implemented it (thanks Utkarsh!), and it will be available in the next release. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Scott, W Alan Sent: Friday, January 27, 2017 1:20 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Ply files as time history dataset I have a series of ply files, each representing a slice of time. Can ParaView read in this dataset as time slices? Thanks, Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From a_ferhat_h at yahoo.fr Sun Jan 29 10:33:39 2017 From: a_ferhat_h at yahoo.fr (FERHAT HAMIDA Abdelhak) Date: Sun, 29 Jan 2017 15:33:39 +0000 (UTC) Subject: [Paraview] "Plot Data" filter has problem with negative values References: <1634417592.25736612.1485704019750.ref@mail.yahoo.com> Message-ID: <1634417592.25736612.1485704019750@mail.yahoo.com> I want to plot a tabulated fonction (say F=cos(t)) using paraview which reads the values of t and F from a csv file then the plot F-t is generated by the "Plot Data" filter. t takes values in the [-1,+1] range.The problem is: - "Left Range Axis Maximum" can hold negative and positive values. - "Left Range Axis Minimum" can not hold only negative values or zero. Thi results in: negative values of the function are not plotted.The only solution I found is to get a plot of the reverse function (-F) by setting "Left Range Axis Maximum" to a (-1) and "Left Range Axis Minimum" to (+1) which is very strange (Maximum < Minimum). The csv data and the plot are in the attached files.? So please is there a solution to this problem or is this a bug in paraview?Nota: I get this with paraview 4.4.0 and 5.2 versions on Centos 7. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: myfile.csv Type: text/csv Size: 281 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: myPlot.jpg Type: image/jpeg Size: 21690 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Sun Jan 29 11:35:49 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Sun, 29 Jan 2017 11:35:49 -0500 Subject: [Paraview] "Plot Data" filter has problem with negative values In-Reply-To: <1634417592.25736612.1485704019750@mail.yahoo.com> References: <1634417592.25736612.1485704019750.ref@mail.yahoo.com> <1634417592.25736612.1485704019750@mail.yahoo.com> Message-ID: I am not able to reproduce the problem. Attached is a state file and screenshot generated using ParaView 5.2. On Sun, Jan 29, 2017 at 10:33 AM, FERHAT HAMIDA Abdelhak via ParaView wrote: > I want to plot a tabulated fonction (say F=cos(t)) using paraview which > reads the values of t and F from a csv file then the plot F-t is generated > by the "Plot Data" filter. t takes values in the [-1,+1] range. > The problem is: > > "Left Range Axis Maximum" can hold negative and positive values. > "Left Range Axis Minimum" can not hold only negative values or zero. > > Thi results in: negative values of the function are not plotted. > The only solution I found is to get a plot of the reverse function (-F) by > setting "Left Range Axis Maximum" to a (-1) and "Left Range Axis Minimum" to > (+1) which is very strange (Maximum < Minimum). The csv data and the plot > are in the attached files. > So please is there a solution to this problem or is this a bug in paraview? > Nota: I get this with paraview 4.4.0 and 5.2 versions on Centos 7. > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- A non-text attachment was scrubbed... Name: ParaView 5.2.0 64-bit_108.png Type: image/png Size: 104070 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: state.pvsm Type: application/octet-stream Size: 59408 bytes Desc: not available URL: From a_ferhat_h at yahoo.fr Sun Jan 29 14:34:38 2017 From: a_ferhat_h at yahoo.fr (FERHAT HAMIDA Abdelhak) Date: Sun, 29 Jan 2017 19:34:38 +0000 (UTC) Subject: [Paraview] "Plot Data" filter has problem with negative values In-Reply-To: References: <1634417592.25736612.1485704019750.ref@mail.yahoo.com> <1634417592.25736612.1485704019750@mail.yahoo.com> Message-ID: <1911152809.26063070.1485718478325@mail.yahoo.com> Thank you Utkarsh AyachitAfter your reply, I found the origin of my problem.In a previous run, I used a semilog plot by enabling "Left Axis Log Scale" and saved the setting as default one. Paraview saves the setting in the file : $HOME/.config/ParaView/ParaView-UserSettings.json In the following runs, "Left Axis Log Scale" is enabled by default and ParaView do not accept negative values for "Left Axis Range Minimum" even if I disable? "Left Axis Log Scale". To solve the problem, I disable "Left Axis Log Scale", save the settings and restart ParaView. (If I do not restart, I still in the same situation until next run). The changes do not take effect in the current session. So, I this is not a normal behaviour, it can be a bug. Best regards. ? Le Dimanche 29 janvier 2017 17h35, Utkarsh Ayachit a ?crit : I am not able to reproduce the problem. Attached is a state file and screenshot generated using ParaView 5.2. On Sun, Jan 29, 2017 at 10:33 AM, FERHAT HAMIDA Abdelhak via ParaView wrote: > I want to plot a tabulated fonction (say F=cos(t)) using paraview which > reads the values of t and F from a csv file then the plot F-t is generated > by the "Plot Data" filter. t takes values in the [-1,+1] range. > The problem is: > > "Left Range Axis Maximum" can hold negative and positive values. > "Left Range Axis Minimum" can not hold only negative values or zero. > > Thi results in: negative values of the function are not plotted. > The only solution I found is to get a plot of the reverse function (-F) by > setting "Left Range Axis Maximum" to a (-1) and "Left Range Axis Minimum" to > (+1) which is very strange (Maximum < Minimum). The csv data and the plot > are in the attached files. > So please is there a solution to this problem or is this a bug in paraview? > Nota: I get this with paraview 4.4.0 and 5.2 versions on Centos 7. > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andi3173 at gmail.com Sun Jan 29 20:30:22 2017 From: andi3173 at gmail.com (Andi Hartarto) Date: Mon, 30 Jan 2017 12:30:22 +1100 Subject: [Paraview] How to read exodus files Message-ID: Dear paraview users, please help I would like to know what is in my exodus file but i don't understand how. I have read http://johntfoster.github.io/posts/extracting-exodus-information-with-netcdf-python.html but i don't seem to comprehend it. The main goal is that I add node sets and side sets to the exodus file smalledited.e The file 2blocks_mesh.e has side sets and node sets which can be seen in paraview. https://drive.google.com/open?id=0BzmZiSDoM7l3SnFucDJsQ1NGR1U Please help. Thank you, Andi -------------- next part -------------- An HTML attachment was scrubbed... URL: From andi3173 at gmail.com Sun Jan 29 20:31:09 2017 From: andi3173 at gmail.com (Andi Hartarto) Date: Mon, 30 Jan 2017 12:31:09 +1100 Subject: [Paraview] Adding side sets and node sets to exo or vtr file Message-ID: Dear paraview users, I have a problem. The main goal is that I need to add node sets and side sets to the exodus file smalledited.e The file 2blocks_mesh.e has side sets and node sets which can be seen in paraview. https://drive.google.com/open?id=0BzmZiSDoM7l3SnFucDJsQ1NGR1U Please help. Thank you, Andi -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Sun Jan 29 20:36:00 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Sun, 29 Jan 2017 20:36:00 -0500 Subject: [Paraview] "Plot Data" filter has problem with negative values In-Reply-To: <1911152809.26063070.1485718478325@mail.yahoo.com> References: <1634417592.25736612.1485704019750.ref@mail.yahoo.com> <1634417592.25736612.1485704019750@mail.yahoo.com> <1911152809.26063070.1485718478325@mail.yahoo.com> Message-ID: Ah! Yes, we have been discussing offline that the "saving property values to settings", which is nifty feature, can sometimes cause confusion since it's not clear what has been modified from default and it's easy to forget. Something to mull over. We probably need to think about finer control over what gets saved to settings and then indication in the UI of what is affected by local settings -- or something along those lines. Utkarsh On Sun, Jan 29, 2017 at 2:34 PM, FERHAT HAMIDA Abdelhak wrote: > Thank you Utkarsh Ayachit > After your reply, I found the origin of my problem. > In a previous run, I used a semilog plot by enabling "Left Axis Log Scale" > and saved the setting as default one. Paraview saves the setting in the file > : $HOME/.config/ParaView/ParaView-UserSettings.json > > In the following runs, "Left Axis Log Scale" is enabled by default and > ParaView do not accept negative values for "Left Axis Range Minimum" even if > I disable "Left Axis Log Scale". > > To solve the problem, I disable "Left Axis Log Scale", save the settings and > restart ParaView. (If I do not restart, I still in the same situation until > next run). The changes do not take effect in the current session. > > So, I this is not a normal behaviour, it can be a bug. > > Best regards. > > > > > > > > > Le Dimanche 29 janvier 2017 17h35, Utkarsh Ayachit > a ?crit : > > > I am not able to reproduce the problem. Attached is a state file and > screenshot generated using ParaView 5.2. > > On Sun, Jan 29, 2017 at 10:33 AM, FERHAT HAMIDA Abdelhak via ParaView > wrote: >> I want to plot a tabulated fonction (say F=cos(t)) using paraview which >> reads the values of t and F from a csv file then the plot F-t is generated >> by the "Plot Data" filter. t takes values in the [-1,+1] range. >> The problem is: >> >> "Left Range Axis Maximum" can hold negative and positive values. >> "Left Range Axis Minimum" can not hold only negative values or zero. >> >> Thi results in: negative values of the function are not plotted. >> The only solution I found is to get a plot of the reverse function (-F) by >> setting "Left Range Axis Maximum" to a (-1) and "Left Range Axis Minimum" >> to >> (+1) which is very strange (Maximum < Minimum). The csv data and the plot >> are in the attached files. >> So please is there a solution to this problem or is this a bug in >> paraview? >> Nota: I get this with paraview 4.4.0 and 5.2 versions on Centos 7. >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > > From a_ferhat_h at yahoo.fr Mon Jan 30 04:00:36 2017 From: a_ferhat_h at yahoo.fr (FERHAT HAMIDA Abdelhak) Date: Mon, 30 Jan 2017 09:00:36 +0000 (UTC) Subject: [Paraview] "Plot Data" filter has problem with negative values In-Reply-To: References: <1634417592.25736612.1485704019750.ref@mail.yahoo.com> <1634417592.25736612.1485704019750@mail.yahoo.com> <1911152809.26063070.1485718478325@mail.yahoo.com> Message-ID: <1163581955.6203303.1485766836707@mail.yahoo.com> I see that restarting the application to make the new settings taking effect is disturbing since this does not happen in all cases. In what I have tested, this only happen when the saved setting view have LeftAxisRangeMinimum strictly positive? (not zero) with LeftAxisLogScale enabled. Now, if I have to give suggestions:??? - This case has be explored, perhaps patched. ??? - Give to the user the possibility to save the settings in his his workspace, in different names, not as default. In this manner, one can try severall settings on the same plot and do not alter other projects. Abdelhak Le Lundi 30 janvier 2017 2h36, Utkarsh Ayachit a ?crit : Ah! Yes, we have? been discussing offline that the "saving property values to settings", which is nifty feature, can sometimes cause confusion since it's not clear what has been modified from default and it's easy to forget. Something to mull over. We probably need to think about finer control over what gets saved to settings and then indication in the UI of what is affected by local settings -- or something along those lines. Utkarsh On Sun, Jan 29, 2017 at 2:34 PM, FERHAT HAMIDA Abdelhak wrote: > Thank you Utkarsh Ayachit > After your reply, I found the origin of my problem. > In a previous run, I used a semilog plot by enabling "Left Axis Log Scale" > and saved the setting as default one. Paraview saves the setting in the file > : $HOME/.config/ParaView/ParaView-UserSettings.json > > In the following runs, "Left Axis Log Scale" is enabled by default and > ParaView do not accept negative values for "Left Axis Range Minimum" even if > I disable? "Left Axis Log Scale". > > To solve the problem, I disable "Left Axis Log Scale", save the settings and > restart ParaView. (If I do not restart, I still in the same situation until > next run). The changes do not take effect in the current session. > > So, I this is not a normal behaviour, it can be a bug. > > Best regards. > > > > > > > > > Le Dimanche 29 janvier 2017 17h35, Utkarsh Ayachit > a ?crit : > > > I am not able to reproduce the problem. Attached is a state file and > screenshot generated using ParaView 5.2. > > On Sun, Jan 29, 2017 at 10:33 AM, FERHAT HAMIDA Abdelhak via ParaView > wrote: >> I want to plot a tabulated fonction (say F=cos(t)) using paraview which >> reads the values of t and F from a csv file then the plot F-t is generated >> by the "Plot Data" filter. t takes values in the [-1,+1] range. >> The problem is: >> >> "Left Range Axis Maximum" can hold negative and positive values. >> "Left Range Axis Minimum" can not hold only negative values or zero. >> >> Thi results in: negative values of the function are not plotted. >> The only solution I found is to get a plot of the reverse function (-F) by >> setting "Left Range Axis Maximum" to a (-1) and "Left Range Axis Minimum" >> to >> (+1) which is very strange (Maximum < Minimum). The csv data and the plot >> are in the attached files. >> So please is there a solution to this problem or is this a bug in >> paraview? >> Nota: I get this with paraview 4.4.0 and 5.2 versions on Centos 7. >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexandrov88 at gmail.com Mon Jan 30 05:00:00 2017 From: alexandrov88 at gmail.com (Sergey Alexandrov) Date: Mon, 30 Jan 2017 11:00:00 +0100 Subject: [Paraview] Writer plugin with selection of data arrays to output Message-ID: Hi, I am trying to implement a sink algorithm (writer) to output point clouds in my custom format. The points may have multiple data arrays, and the writer should provide the user with an option to select which of these arrays are to be output. Unfortunately, I am not able to find any wiki pages or articles that explain how to implement such a writer. Also, I do not find any existing writers with this functionality. The most similar things I found are: 1) AMR base particles reader . It provides a facility to select which data arrays are to be read from a file. Basically, when the user sets the filename, the reader loads the meta-information about available arrays from the file, and then these are displayed in ParaView properties panel. The user can tick the arrays he wants and press "Apply" to read. I can not figure out how to apply this in my writer, because the only extension point for writers is the WriteData() function. It is called after the user has pressed the "Save" button, which is too late. In fact, I want to "inject" some code between the moment the user chose the output filename (and hence the writer to use), and the moment a dialog window with the properties of the writer is shown. 2) Wiki page on writing readers . There is an example how make a drop-down list to select which input array to process. Perhaps I could add this to the writer, however it does seem to support only a single array choice, whereas I need multiple. I would be very grateful for suggestions on how to implement the functionality I need. Examples of existing readers would be great. Or if there is definitely no "official" clean way to implement this, please also let me know. Cheers, Sergey -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Mon Jan 30 10:18:44 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 30 Jan 2017 10:18:44 -0500 Subject: [Paraview] Writer plugin with selection of data arrays to output In-Reply-To: References: Message-ID: Hi Sergey, I'm not aware of another writer that has the behavior you describe of saving out specified data arrays. As a result, there isn't any existing code to select the data arrays to be saved. There are a number of readers that do support which arrays to load, but it's not really possible to reuse that infrastructure without some additional ParaView development work to support selecting arrays to be written. A workaround would be to use a Pass Data Arrays filter to select the data arrays, then save the Pass Data Arrays output to your custom writer. Hope that helps, Cory On Mon, Jan 30, 2017 at 5:00 AM, Sergey Alexandrov wrote: > Hi, > > I am trying to implement a sink algorithm (writer) to output point clouds in > my custom format. The points may have multiple data > arrays, and the writer should provide the user with an option to select > which of these arrays are to be output. > > Unfortunately, I am not able to find any wiki pages or articles that explain > how to implement such a writer. Also, I do not find any > existing writers with this functionality. The most similar things I found > are: > > 1) AMR base particles reader. It provides a facility to select which data > arrays are to be read from a file. Basically, when the user > sets the filename, the reader loads the meta-information about available > arrays from the file, and then these are displayed in > ParaView properties panel. The user can tick the arrays he wants and press > "Apply" to read. I can not figure out how to apply this > in my writer, because the only extension point for writers is the > WriteData() function. It is called after the user has pressed the > "Save" button, which is too late. In fact, I want to "inject" some code > between the moment the user chose the output filename (and > hence the writer to use), and the moment a dialog window with the properties > of the writer is shown. > > 2) Wiki page on writing readers. There is an example how make a drop-down > list to select which input array to process. Perhaps > I could add this to the writer, however it does seem to support only a > single array choice, whereas I need multiple. > > I would be very grateful for suggestions on how to implement the > functionality I need. Examples of existing readers would be > great. Or if there is definitely no "official" clean way to implement this, > please also let me know. > > Cheers, > Sergey > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From alexandrov88 at gmail.com Mon Jan 30 13:08:39 2017 From: alexandrov88 at gmail.com (Sergey Alexandrov) Date: Mon, 30 Jan 2017 19:08:39 +0100 Subject: [Paraview] Writer plugin with selection of data arrays to output In-Reply-To: References: Message-ID: Hi Cory, Thanks for the answer and the workaround, will go this way. Cheers, Sergey On Mon, Jan 30, 2017 at 4:18 PM, Cory Quammen wrote: > Hi Sergey, > > I'm not aware of another writer that has the behavior you describe of > saving out specified data arrays. As a result, there isn't any > existing code to select the data arrays to be saved. There are a > number of readers that do support which arrays to load, but it's not > really possible to reuse that infrastructure without some additional > ParaView development work to support selecting arrays to be written. > > A workaround would be to use a Pass Data Arrays filter to select the > data arrays, then save the Pass Data Arrays output to your custom > writer. > > Hope that helps, > Cory > > On Mon, Jan 30, 2017 at 5:00 AM, Sergey Alexandrov > wrote: > > Hi, > > > > I am trying to implement a sink algorithm (writer) to output point > clouds in > > my custom format. The points may have multiple data > > arrays, and the writer should provide the user with an option to select > > which of these arrays are to be output. > > > > Unfortunately, I am not able to find any wiki pages or articles that > explain > > how to implement such a writer. Also, I do not find any > > existing writers with this functionality. The most similar things I found > > are: > > > > 1) AMR base particles reader. It provides a facility to select which data > > arrays are to be read from a file. Basically, when the user > > sets the filename, the reader loads the meta-information about available > > arrays from the file, and then these are displayed in > > ParaView properties panel. The user can tick the arrays he wants and > press > > "Apply" to read. I can not figure out how to apply this > > in my writer, because the only extension point for writers is the > > WriteData() function. It is called after the user has pressed the > > "Save" button, which is too late. In fact, I want to "inject" some code > > between the moment the user chose the output filename (and > > hence the writer to use), and the moment a dialog window with the > properties > > of the writer is shown. > > > > 2) Wiki page on writing readers. There is an example how make a drop-down > > list to select which input array to process. Perhaps > > I could add this to the writer, however it does seem to support only a > > single array choice, whereas I need multiple. > > > > I would be very grateful for suggestions on how to implement the > > functionality I need. Examples of existing readers would be > > great. Or if there is definitely no "official" clean way to implement > this, > > please also let me know. > > > > Cheers, > > Sergey > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the ParaView Wiki at: > > http://paraview.org/Wiki/ParaView > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.imphead at gmail.com Mon Jan 30 13:53:53 2017 From: s.imphead at gmail.com (Sudden Imphead) Date: Mon, 30 Jan 2017 13:53:53 -0500 Subject: [Paraview] How to make "Export Scene" output block colors in X3D ? Message-ID: Hi, I'm rather new to Paraview. I'm inspecting the output of x3D from a scene that contains a couple of blocks, colored according to vtkBlockColors. But as I inspect the output, I see > normalPerVertex="true" coordIndex=" > 0 1 2 -1 > 3 4 1 -1 > 3 1 0 -1 > blah, blah All "-1" --- and no colors are described!!! Are there any workarounds?? Would exporting to another format work.? I'm trying to just embed a 3D object in an html page (after a little paraview pipeline slicing and dicing) -- X3DOM seemed the easiest way to go. The object is a grouped one -- composed of individual meshes. using 5.1.2, thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Mon Jan 30 14:31:18 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Mon, 30 Jan 2017 19:31:18 +0000 Subject: [Paraview] Writer plugin with selection of data arrays to output Message-ID: Sergey, You could combine the PassArrays filter and your custom writer into a Custom Filter and then Expose the properties of Cell Data Arrays and Point Data Arrays from the PassArray filter within your Custom Filter. This would allow your users to select which arrays to pass and write them out - I think this would do exactly what you want, but you should test it. Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Mon Jan 30 16:55:56 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Mon, 30 Jan 2017 21:55:56 +0000 Subject: [Paraview] [EXTERNAL] Re: [Paraview-developers] Scripting image compression parameters In-Reply-To: References: Message-ID: My best guess would be to try to trace the save screenshot functionality, and see what is set. Sorry, that?s the best I have... Alan From: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] On Behalf Of Faiz Abidi Sent: Monday, January 30, 2017 2:14 PM To: paraview-developers at paraview.org; paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview-developers] Scripting image compression parameters Not having heard back from anyone, I am guessing no one has done this kind of scripting before? Anyone? On Wed, Jan 25, 2017 at 9:43 AM, Faiz Abidi > wrote: Hello ParaView community, ParaView provides various image compression configuration options. I was wondering how to go about scripting this so that I can test setting various parameters in a script. I did check some of ParaView modules but couldn't find anything helpful. Any pointers from anyone would be helpful. Best, -- Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com | +1-540-998-6636 -- Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com | +1-540-998-6636 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Mon Jan 30 17:19:07 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Mon, 30 Jan 2017 22:19:07 +0000 Subject: [Paraview] Point cloud to structured mesh Message-ID: Is it possible to convert a point cloud to a structured mesh or an image stack in ParaView? Thanks, Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Mon Jan 30 17:43:56 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 30 Jan 2017 17:43:56 -0500 Subject: [Paraview] Point cloud to structured mesh In-Reply-To: References: Message-ID: Alan, As you might imagine, there are a number of ways to do this. Probably the easiest way is to apply the Point Volume Interpolator filter to the point source. You can change the interpolator Kernel to change how the points are sampled onto the image grid. Please let me know if you have any questions. - Cory On Mon, Jan 30, 2017 at 5:19 PM, Scott, W Alan wrote: > Is it possible to convert a point cloud to a structured mesh or an image > stack in ParaView? > > > > Thanks, > > > > Alan > > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From s.imphead at gmail.com Mon Jan 30 20:11:55 2017 From: s.imphead at gmail.com (Sudden Imphead) Date: Mon, 30 Jan 2017 20:11:55 -0500 Subject: [Paraview] How to make "Export Scene" output block colors in X3D ? Message-ID: Found a solution! It turns out that "Group Datasets" defines a family of partial inverses called "Extract Block". ("block" = "dataset"???). Each processed dataset that emerges from the pipeline operating on the group can be recovered by such an inverse. The normals are lost in the process, but "Generate Surface Normals" on the output of each inverse fixes that. And in this step, the display color can be defined as a "Solid Color" per block/dataset. The exported 3D output now displays correctly within a browser using the tag of . -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniel.frisch.kit at gmail.com Tue Jan 31 02:20:39 2017 From: daniel.frisch.kit at gmail.com (Daniel Frisch) Date: Tue, 31 Jan 2017 08:20:39 +0100 Subject: [Paraview] Generate IDs Message-ID: Hello, I want to - open an unstructured grid, - view a sub-volume using the Threshold filter that selects a certain material - apply some Clip filters to remove unwanted parts - select everything I am seeing now - and create an "Extract Selection" filter that can be used for other vtk files containing the same unstructured grid but other data arrays. But the "GenerateIDs" filter removes the material array from the dataset so I can't apply the Threshold filter anymore. I see the "Extract Selection" works only with the current IDs anyway that are different from the original cell IDs due to the Clip filters. How can I have a filter that extracts a certain set of cells that I define and apply it to other .vtk files? Thank you very much in advance, Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexandrov88 at gmail.com Tue Jan 31 04:49:15 2017 From: alexandrov88 at gmail.com (Sergey Alexandrov) Date: Tue, 31 Jan 2017 10:49:15 +0100 Subject: [Paraview] Writer plugin with selection of data arrays to output In-Reply-To: References: Message-ID: Hi Dennis, Thanks for the suggestion! Honestly, at first I was skeptical about your advice because it looked very similar to my first solution that I outlined in the beginning of this thread. However, as soon as I examined the XML code for the PassArrays filter, I realized that this is exactly what I need. It uses some built-in ParaView magic to fill the list with data array names, so there is no need for me to "inject" my custom code to populate it. Neat! Thanks again! Cheers, Sergey On Mon, Jan 30, 2017 at 8:31 PM, Dennis Conklin wrote: > Sergey, > > > > You could combine the PassArrays filter and your custom writer into a > Custom Filter and then Expose the properties of Cell Data Arrays and Point > Data Arrays from the PassArray filter within your Custom Filter. > > > > This would allow your users to select which arrays to pass and write them > out ? I think this would do exactly what you want, but you should test it. > > > > Dennis > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From semprecelta at gmail.com Tue Jan 31 05:15:05 2017 From: semprecelta at gmail.com (=?UTF-8?Q?Anxo_Mart=C3=ADnez_Dom=C3=ADnguez?=) Date: Tue, 31 Jan 2017 11:15:05 +0100 Subject: [Paraview] Ansys to ParaView Message-ID: Anybody knows how to export the model and the results from ANSYS to ParaView? Thank you in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sinan_shabib at yahoo.com Tue Jan 31 07:52:35 2017 From: sinan_shabib at yahoo.com (sinan shabib) Date: Tue, 31 Jan 2017 12:52:35 +0000 (UTC) Subject: [Paraview] data are read but not displayed References: <1648389365.8104248.1485867155556.ref@mail.yahoo.com> Message-ID: <1648389365.8104248.1485867155556@mail.yahoo.com> Hi all, I?m using: Paraview 5.2.0-RC1 , 64 bit. All fields data are being read but not displayed, that is, fields displayed in only one color.When I use find data function, I can see the data.This happens only with: velocity & pressure. Is it a bug or VTK has been corrupted or something else ? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Tue Jan 31 08:22:23 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Tue, 31 Jan 2017 13:22:23 +0000 Subject: [Paraview] Generate IDs Message-ID: Daniel, As you have discovered, trying to ?connect? data sets in this way after the clip filter is applied is problematic because it changes the locations of points and the structure of cells. It makes the grids no longer isomorphic or sub-isomorphic. I would suggest one of two approaches. The first approach would be to combine all the data arrays into one data set before doing any of the extractions, thresholds, or clips. If all your arrays are on data sets with the exact same grid structure, then you can use the append attributes filter to combine the arrays of all these data sets into a single data set. Then the arrays will simply be available from the output of the clip. If that approach will not work for some reason, a second approach is to use the resample with dataset filter. You can use this to sample the other data sets onto the clipped data set, which I think in the end gives you the effect you are looking for. -Ken From: ParaView on behalf of Daniel Frisch Date: Tuesday, January 31, 2017 at 1:20 AM To: "paraview at paraview.org" Subject: [EXTERNAL] [Paraview] Generate IDs Hello, I want to - open an unstructured grid, - view a sub-volume using the Threshold filter that selects a certain material - apply some Clip filters to remove unwanted parts - select everything I am seeing now - and create an "Extract Selection" filter that can be used for other vtk files containing the same unstructured grid but other data arrays. But the "GenerateIDs" filter removes the material array from the dataset so I can't apply the Threshold filter anymore. I see the "Extract Selection" works only with the current IDs anyway that are different from the original cell IDs due to the Clip filters. How can I have a filter that extracts a certain set of cells that I define and apply it to other .vtk files? Thank you very much in advance, Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Tue Jan 31 08:41:14 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Tue, 31 Jan 2017 13:41:14 +0000 Subject: [Paraview] Point cloud to structured mesh Message-ID: <352B26B1-CEE4-4D47-8A8B-A71C978FAB52@sandia.gov> The most direct approach is probably to use the Gaussian Resampling filter. Another approach is to run the Delaunay 3D filter and then run the resample to image filter. -Ken From: ParaView on behalf of Walter Scott Date: Monday, January 30, 2017 at 4:19 PM To: "paraview at paraview.org" Subject: [EXTERNAL] [Paraview] Point cloud to structured mesh Is it possible to convert a point cloud to a structured mesh or an image stack in ParaView? Thanks, Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Tue Jan 31 09:35:08 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Tue, 31 Jan 2017 09:35:08 -0500 Subject: [Paraview] data are read but not displayed In-Reply-To: <1648389365.8104248.1485867155556@mail.yahoo.com> References: <1648389365.8104248.1485867155556.ref@mail.yahoo.com> <1648389365.8104248.1485867155556@mail.yahoo.com> Message-ID: Can you share your data set? It will be difficult to diagnose without that information. Also, I'd strongly suggest upgrading to ParaView 5.2 instead of just the release candidate. On Tue, Jan 31, 2017 at 7:52 AM, sinan shabib via ParaView < paraview at paraview.org> wrote: > Hi all, > > I?m using: *Paraview 5.2.0-RC1 , 64 bit.* > > All fields data are being read but not displayed, that is, fields > displayed in only one color. > When I use find data function, I can see the data. > This happens only with: velocity & pressure. > > Is it a bug or VTK has been corrupted or something else ? > > Thanks in advance. > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisneal at snumerics.com Tue Jan 31 10:48:58 2017 From: chrisneal at snumerics.com (Christopher Neal) Date: Tue, 31 Jan 2017 10:48:58 -0500 Subject: [Paraview] Ansys to ParaView In-Reply-To: References: Message-ID: Hi Anxo, I believe that Ansys supports the export of the solution(geometry and results) to the EnSight format. Paraview can read the EnSight Gold format. You may want to try to get ANSYS to export to EnSight and see if it works. Christopher Neal Research Engineer Streamline Numerics, Inc. On Tue, Jan 31, 2017 at 5:15 AM, Anxo Mart?nez Dom?nguez < semprecelta at gmail.com> wrote: > Anybody knows how to export the model and the results from ANSYS to > ParaView? > > Thank you in advance. > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Tue Jan 31 13:02:11 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Tue, 31 Jan 2017 13:02:11 -0500 Subject: [Paraview] Paraview Live Visualisation C++ Pipeline In-Reply-To: References: Message-ID: Hi, Please keep the discussion on the mailing list so that anyone can participate (also, stuff gets lost in my Inbox too). The ParaView Catalyst Users Guide at http://www.paraview.org/files/catalyst/docs/ParaViewCatalystUsersGuide_v2.pdf has information on how to use the Live functionality. It's in Section 2.3. Best, Andy On Thu, Jan 26, 2017 at 12:29 PM, Kohlhase, Simon wrote: > Hi, > > > > thanks a lot for the quick respons. > > At least now we know that there?s no point to keep on trying. > > > > I?ll try to build and install it myself then. > > > > Is there any previous thread where I can find out more about the > simulation + catalyst linking to a parallel server? > > > > Best regards, > > Simon > > > > *From:* Andy Bauer [mailto:andy.bauer at kitware.com] > *Sent:* Donnerstag, 26. Januar 2017 16:22 > *To:* Kohlhase, Simon > *Cc:* paraview at paraview.org; felix.hennerkes at gmail.com; Damerow, David < > david.damerow at tum.de> > *Subject:* Re: [Paraview] Paraview Live Visualisation C++ Pipeline > > > > Hi, > > Currently the Live functionality only works when ParaView is built with > Python bindings. My suggestion would be to build ParaView yourself. That > should be much easier than trying to put in a C++ pipeline that can deal > with the Live functionality properly. > > As for building ParaView, you may want to look into using the ParaView > Superbuild (https://gitlab.kitware.com/paraview/paraview-superbuild/) > which will also build all needed dependencies. The dependencies are > probably all there though since you've said that ParaView is already > installed there. > > I'm not sure the set up you're looking for but if you want to run with the > simulation+Catalyst linking to a parallel pvserver on the cluster which > then connects to a client, you may want to use ParaView master. The reason > for this is that there was a bug that had all of the simulation+Catalyst > nodes only being able to communicate with a single pvserver node (multiple > pvserver processes though). If you only want to connect the > simulation+Catalyst to the GUI client or pvserver processes on a single > node then 5.2 should work fine for you. > > Best, > > Andy > > > > On Thu, Jan 26, 2017 at 9:53 AM, Kohlhase, Simon > wrote: > > Hi, > > > > for a University Project we?re trying to run Paraview Live Simulation on > the local cluster-network. Unfortunately the network only has a Paraview > version without python-binding installed, therefore we would like to run > the LiveSimulation with a C++-coded Pipeline Skript. > > > > As far as we understood, to make it work we have to rewrite the following > lines from the PythonPipeline Script to C++, which turns out to be quite > challenging: > > > > coprocessor.UpdateProducers(datadescription) > > # Write output data, if appropriate. > > coprocessor.WriteData(datadescription); > > # Live Visualization, if enabled. > > coprocessor.DoLiveVisualization(datadescription, "localhost", 22222) > > > > We tried the following: > > > > //INITIALIZE > > vtkNew link; > > vtkSMProxyManager* proxyManager; > > vtkSMSessionProxyManager* sessionProxyManager; > > link -> SetInsituPort(22222); > > link -> SetHostname("localhost"); > > proxyManager = vtkSMProxyManager::GetProxyManager(); > > sessionProxyManager = proxyManager->GetActiveSessionProxyManager(); > > link -> Initialize(sessionProxyManager); > > > > // Initialize returns 1, therefore connection established properly > > > > //Then we tried to coprocess with the following code: > > vtkNew writer; > > writer->SetInputConnection(producer->GetOutputPort()); > > vtkSMProxy* proxy = sessionProxyManager->NewProxy( > "insitu_writer_parameters","XMLPImageDataWriter"); > > vtkSMInputProperty* property = (vtkSMInputProperty*) proxy -> > GetProperty("Input"); > > > > //set input of proxy to our writer or datadescription ? DOESN?T WORK > > while(true){ > > link->InsituUpdate(dataDescription->GetTime(), > dataDescription->GetTimeStep()); > > //update pipeline > > link->InsituPostProcess(dataDescription->GetTime(), > dataDescription->GetTimeStep()); > > if(link->GetSimulationPaused()){ > > if(link->WaitForLiveChange()){ > > break; > > } > > } else{ > > break; > > } > > } > > > > So how are we supposed to get the data from our simulation into the Proxy? > > We have been trying and searching the documentation for the right > functions, but we can?t figure out how to do it. > > > > We would really appreciate some help ;-) > > > > Best regards, > > Simon Kohlhase > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From David.Benn at csiro.au Tue Jan 31 21:30:01 2017 From: David.Benn at csiro.au (David.Benn at csiro.au) Date: Wed, 1 Feb 2017 02:30:01 +0000 Subject: [Paraview] [EXTERNAL] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? In-Reply-To: References: <5e518246b98c4d90a39855ea3bf421ca@exch4-cdc.nexus.csiro.au> <20e07684d33f48b4b6049d5612e46c15@exch4-cdc.nexus.csiro.au> Message-ID: <23cf530946c14c94b726de5c20e6b347@exch4-cdc.nexus.csiro.au> Thanks Alan. Joachim Pouderoux replied shortly before you did, asking if I was willing to create a merge request and also noting that since this is a VTK related issue, it should be reported to the VTK tracker instead. I'm happy to create a merge request (I'm assuming we're talking about a GitHub/Bitbucket style git pull request), but should we instead be doing this via the VTK gitlab rather than Paraview as Joachim mentions? Alan, Joachim: please feel free to let me know what procedure to follow and I'll go with that. Thanks. David From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Thursday, 26 January 2017 4:31 AM To: Benn, David (IM&T, Waite Campus) ; paraview at paraview.org Subject: RE: [EXTERNAL] [Paraview] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? Thanks! You definitely did a good job with that bug report! Alan From: David.Benn at csiro.au [mailto:David.Benn at csiro.au] Sent: Wednesday, January 25, 2017 12:32 AM To: Scott, W Alan >; paraview at paraview.org Cc: David.Benn at csiro.au Subject: RE: [EXTERNAL] [Paraview] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? I have submitted an issue for this: https://gitlab.kitware.com/paraview/paraview/issues/17135 David From: Benn, David (IM&T, Waite Campus) Sent: Tuesday, 24 January 2017 5:25 PM To: 'Scott, W Alan' >; paraview at paraview.org Cc: Benn, David (IM&T, Waite Campus) > Subject: RE: [EXTERNAL] [Paraview] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? Hi Alan Sure, will do. I have also tested a solution. David From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Tuesday, 24 January 2017 8:23 AM To: Benn, David (IM&T, Waite Campus) >; paraview at paraview.org Subject: RE: [EXTERNAL] [Paraview] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? Looks like a bug. Mind writing it up? If you can give the developers a way to replicate the bug, it will significantly increase the chance it will be looked at... https://gitlab.kitware.com/paraview/paraview/issues Thanks, Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of David.Benn at csiro.au Sent: Friday, January 20, 2017 12:02 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Paraview 5.2.0: max time limit of 4095 for annotated .vtu file? Upon loading an annotated .vtu file with TimeStep annotations such as this into Paraview 5.2.0 (under 64 bit SUSE Linux): I see the following: [cid:image001.png at 01D27C8B.17384DF0] such that a maximum of 4095 time steps are available, as opposed to the expected 10,560 time steps. When the non-annotated .vtu file is loaded, the expected number of frames are visible. Is there some inherent limitation within Paraview that prevents more than 4095 time steps from being loaded/visualised? Thanks. David -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 10819 bytes Desc: image001.png URL: