[vtkusers] RE:contouring selected cells using vtkContourFilter
Jose Luis Pina
jlpina at ivo.cps.unizar.es
Thu May 29 11:20:48 EDT 2003
Hello:
You can "cut" this cells before the isocontouring, something like this:
vtkStructuredGridReader energia
energia SetFileName "$nombre.e"
energia SetScalarsName "S1"
vtkPlanes cubo
cubo SetBounds $xi $xf $yi $yf $zi $zf
#Here you choose the piece to see.
vtkExtractGeometry energsint
energsint SetInput [energia GetOutput]
energsint SetImplicitFunction cubo
energsint ExtractInsideOn
vtkContourFilter contorno
contorno SetInput [energsint GetOutput]
contorno SetValue ......
I hope this help....
CPS.Universidad de Zaragoza. (Spain)
Jose Luis Pina Martinez
jlpina at ivo.cps.unizar.es
More information about the vtkusers
mailing list