Hello,
I'm running into another bug where I'm losing scalar arrays when using
a clip filter -- this time when clipping by a scalar (before it was on
clipping multi-block data, fixed by Utkarsh on May 6, 2009). It seems
to happen on both PV 3.6.1 binary and yesterday's CVS.
To reproduce:
Create Sphere Source
Elevation filter
Curvature filter
Clip by Scalar on Elevation = 0.5 (or on Gauss_Curvature = 4)
The Gauss_Curvature point data disappears.
I think no matter what, the last scalar added to the data disappears,
which is similar to what was happening when clipping multi-block before.
Has anyone else noticed this? (I'll attach a python trace to run in
case that makes it easier to test.)
Thanks,
-Eric
ParaView CVS 4 Nov 2009 (w/python, no MPI)
CMake 2.9.20091003
OS X 10.5.8
try: paraview.simple
except: from paraview.simple import *
Sphere2 = Sphere()
RenderView6 = GetRenderView()
DataRepresentation50 = Show()
DataRepresentation50.EdgeColor = [0.0, 0.0, 0.50000762951094835]
DataRepresentation50.SelectionCellLabelColor = [0.0, 1.0, 0.0]
DataRepresentation50.SelectionPointLabelJustification = 'Center'
DataRepresentation50.SelectionCellLabelJustification = 'Center'
DataRepresentation50.SelectionLineWidth = 2.0
DataRepresentation50.SelectionCellLabelFontSize = 24
DataRepresentation50.SelectionColor = [1.0, 0.0, 1.0]
DataRepresentation50.SelectionRepresentation = 'Wireframe'
RenderView6.CameraPosition = [0.0, 0.0, 3.2903743041222895]
RenderView6.CameraClippingRange = [2.2624705610810665, 4.592229918684124]
RenderView6.CameraParallelScale = 0.8516115354228021
Elevation11 = Elevation()
Elevation11.LowPoint = [-0.48746395111083984, -0.48746395111083984, -0.5]
Elevation11.HighPoint = [0.48746395111083984, 0.48746395111083984, 0.5]
a1_Elevation_PVLookupTable = CreateLookupTable( RGBPoints=[0.20674540102481842, 0.23000000000000001, 0.29899999999999999, 0.754, 0.79325461387634277, 0.70599999999999996, 0.016, 0.14999999999999999], VectorMode='Magnitude', ColorSpace='Diverging', ScalarRangeInitialized=1.0 )
a1_Elevation_PiecewiseFunction = CreatePiecewiseFunction()
DataRepresentation51 = Show()
DataRepresentation51.EdgeColor = [0.0, 0.0, 0.50000762951094835]
DataRepresentation51.SelectionCellLabelColor = [0.0, 1.0, 0.0]
DataRepresentation51.SelectionPointLabelJustification = 'Center'
DataRepresentation51.SelectionCellLabelJustification = 'Center'
DataRepresentation51.ColorAttributeType = 'POINT_DATA'
DataRepresentation51.ColorArrayName = 'Elevation'
DataRepresentation51.SelectionLineWidth = 2.0
DataRepresentation51.Texture = []
DataRepresentation51.SelectionCellLabelFontSize = 24
DataRepresentation51.SelectionColor = [1.0, 0.0, 1.0]
DataRepresentation51.SelectionRepresentation = 'Wireframe'
DataRepresentation51.LookupTable = a1_Elevation_PVLookupTable
DataRepresentation50.Visibility = 0
Curvature3 = Curvature()
a1_Gauss_Curvature_PVLookupTable = CreateLookupTable( RGBPoints=[3.6277458612577234, 0.23000000000000001, 0.29899999999999999, 0.754, 4.6489434814270645, 0.70599999999999996, 0.016, 0.14999999999999999], VectorMode='Magnitude', ColorSpace='Diverging', ScalarRangeInitialized=1.0 )
a1_Gauss_Curvature_PiecewiseFunction = CreatePiecewiseFunction()
DataRepresentation52 = Show()
DataRepresentation52.EdgeColor = [0.0, 0.0, 0.50000762951094835]
DataRepresentation52.SelectionCellLabelColor = [0.0, 1.0, 0.0]
DataRepresentation52.SelectionPointLabelJustification = 'Center'
DataRepresentation52.SelectionCellLabelJustification = 'Center'
DataRepresentation52.ColorAttributeType = 'POINT_DATA'
DataRepresentation52.ColorArrayName = 'Gauss_Curvature'
DataRepresentation52.SelectionLineWidth = 2.0
DataRepresentation52.Texture = []
DataRepresentation52.SelectionCellLabelFontSize = 24
DataRepresentation52.SelectionColor = [1.0, 0.0, 1.0]
DataRepresentation52.SelectionRepresentation = 'Wireframe'
DataRepresentation52.LookupTable = a1_Gauss_Curvature_PVLookupTable
DataRepresentation51.Visibility = 0
Clip13 = Clip( ClipType="Plane" )
Clip13.Scalars = ['POINTS', 'Gauss_Curvature']
Clip13.ClipType = "Plane"
Clip13.Scalars = ['POINTS', 'Elevation']
Clip13.ClipType = "Scalar"
Clip13.Value = 0.5
DataRepresentation53 = Show()
DataRepresentation53.EdgeColor = [0.0, 0.0, 0.50000762951094835]
DataRepresentation53.SelectionCellLabelColor = [0.0, 1.0, 0.0]
DataRepresentation53.SelectionPointLabelJustification = 'Center'
DataRepresentation53.SelectionCellLabelJustification = 'Center'
DataRepresentation53.SelectionLineWidth = 2.0
DataRepresentation53.Texture = []
DataRepresentation53.ScalarOpacityUnitDistance = 0.35799669078699603
DataRepresentation53.SelectionCellLabelFontSize = 24
DataRepresentation53.SelectionColor = [1.0, 0.0, 1.0]
DataRepresentation53.SelectionRepresentation = 'Wireframe'
DataRepresentation52.Visibility = 0
DataRepresentation53.ScalarOpacityFunction = a1_Elevation_PiecewiseFunction
DataRepresentation53.ColorArrayName = 'Elevation'
DataRepresentation53.LookupTable = a1_Elevation_PVLookupTable
DataRepresentation53.ColorAttributeType = 'POINT_DATA'
Render()
------------------------------------------------------
Eric E Monson
Duke Visualization Technology Group
_______________________________________________
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://www.paraview.org/mailman/listinfo/paraview