That sounds like a bug to me. Utkarsh
On Thu, Oct 23, 2014 at 11:26 AM, Scott Wittenburg <[email protected]> wrote: > Hi all, > > Has anyone else noticed this recently? At the bottom of this email is an > example of some state I just saved, which seems to be missing the following > line: > > magnitudeDisplay.ScalarOpactiyFunction = splatterValuesPWF > > If this is a bug, I can enter a bug report. > > Cheers, > Scott > > <begin-saved-python-state> > > # get color transfer function/color map for 'SplatterValues' > splatterValuesLUT = GetColorTransferFunction('SplatterValues') > splatterValuesLUT.RGBPoints = [0.0, 0.0, 0.0, 1.0, > 1211.3642578125, 0.0, 0.12549019607843137, > 1.0, > 1338.4827880859375, 0.00392156862745098, 1.0, > 0.0, > 1450.6461181640625, 1.0, 0.1568627450980392, > 0.0, > 2205.8794212053426, 1.0, 0.0, 0.0] > splatterValuesLUT.ColorSpace = 'HSV' > splatterValuesLUT.NanColor = [0.498039, 0.498039, 0.498039] > splatterValuesLUT.ScalarRangeInitialized = 1.0 > > # get opacity transfer function/opacity map for 'SplatterValues' > splatterValuesPWF = GetOpacityTransferFunction('SplatterValues') > splatterValuesPWF.Points = [0.0, 0.0, 0.5, 0.0, > 0.0, 0.0, 0.5, 0.0, > 1001.99267578125, 0.0, 0.5, 0.0, > 1293.617431640625, 1.0, 0.5, 0.0, > 1674.9727783203125, 0.0, 0.5, 0.0, > 2205.87939453125, 0.0, 0.5, 0.0] > splatterValuesPWF.ScalarRangeInitialized = 1 > > # ---------------------------------------------------------------- > # setup the visualization in view 'renderView1' > # ---------------------------------------------------------------- > > # show data from magnitude > magnitudeDisplay = Show(magnitude, renderView1) > # trace defaults for the display properties. > magnitudeDisplay.Representation = 'Volume' > magnitudeDisplay.ColorArrayName = ['POINTS', 'SplatterValues'] > magnitudeDisplay.LookupTable = splatterValuesLUT > magnitudeDisplay.ScalarOpacityUnitDistance = 0.8868099940416558 > magnitudeDisplay.Slice = 127 > > <end-saved-python-state> > > _______________________________________________ > 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 > > 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 Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
