[vtkusers] Cut through FE-vtkUnstructuredGrid and show vectorarrows on cuttingplane
rempler at mechbau.uni-stuttgart.de
rempler at mechbau.uni-stuttgart.de
Sat Feb 28 06:32:54 EST 2004
hi list,
i want to visualize a cut through some FE-data using a
vtkUnstructuredGrid() to store the geometry and a vtkFloatArray() to
store vectors like displacement etc... and here's already my problem:
vtkCutter()/vtkClipPolyData() need polydata for input and vtkGlyph3D()
uses datasets...
right now i've got three pipelines producing three actors - two for the
cut/cuttingplane and the third one for the vectorarrows using vtkGlyph3D():
-------------------------------------------------------------------
first two pipelines:
vtkUnstructuredGrid()
-> vtkGeometryFilter()
-> vtkClipPolyData()
-> vtkPolyDataMapper()
-> vtkActor()
vtkUnstructuredGrid()
-> vtkCutter()
-> vtkPolyDataMapper()
-> vtkActor()
-------------------------------------------------------------------
third pipeline:
vtkUnstructuredGrid()
-> vtkAssignAttribute() - ('FIRST_VECTOR', 'VECTORS', 'POINT_DATA')
-> vtkGlyph3D()
-> vtkPolyDataMapper()
-> vtkActor()
is there a way to connect these three pipelines so that a glyphactor
would only show vectorarrows on the points left over by the cut - like
using the output produced by vtkClipPolyData() and vtkCutter() to
visualize the arrows on the cuttingplane/cut-through-grid with vtkGlyph3D()?
i managed to cut through the glyphactor with:
-------------------------------------------------------------------
vtkUnstructuredGrid()
-> vtkAssignAttribute() - ('FIRST_VECTOR', 'VECTORS', 'POINT_DATA')
-> vtkGlyph3D()
-> vtkClipPolyData()
-> vtkPolyDataMapper()
-> vtkActor()
but that's not really cool cause the arrows get also cut...
i'm grateful for any ideas
greetings
uwe
More information about the vtkusers
mailing list