[vtkusers] Glyphing with Field Data
Shari Rolnick
shari at loralee.net
Tue Sep 13 07:09:08 EDT 2005
Hi,
I am trying to use vtkGlyph3D with vtkFieldData. I can read my data
file in with no trouble, but I can't seem to create a useful
visualization of it. All I get are four glyphs - one at the tip of each
axis, and one at their intersection. I guess I am not getting good
point data, but I'm not sure why. Could someone give me a hint where
I'm going wrong or point me in the direction of an example where field
data is used with glyphs?
I've attached the file I've created that generates the visualization,
and here is the output:
vtkFieldDataToAttributeDataFilter: vtkFieldDataToAttributeDataFilter
(0x94ccf08)
Debug: Off
Modified Time: 462
Reference Count: 3
Registered Events: (none)
Number Of Required Inputs: 1
Input 0: (0x93bb300)
AbortExecute: Off
Progress: 1
Progress Text: (None)
ErrorCode: NoError
Output 0: (0x94cdc20)
Input Field: DataObjectField
Default Normalize: Off
Output Attribute Data: PointData
Glyph: vtkGlyph3D (0x94ba908)
Debug: Off
Modified Time: 703
Reference Count: 3
Registered Events: (none)
Number Of Required Inputs: 1
Input 0: (0x94cdc20)
Input 1: (0x94ce958)
AbortExecute: Off
Progress: 0
Progress Text: (None)
ErrorCode: NoError
Output 0: (0x94cf000)
Generate Point Ids Off
PointIdsName: InputPointIds
Color Mode: ColorByScale
Source: (0x94ce958)
Scaling: On
Scale Mode: Scale by scalar
Scale Factor: 0.1
Clamping: Off
Range: (0, 1)
Orient: On
Orient Mode: Orient by vector
Index Mode: Index by scalar value
InputScalarsSelection: (none)
InputVectorsSelection: (none)
InputNormalsSelection: (none)
Warning: In /home/shari/VTK/VTK/Graphics/vtkGlyph3D.cxx, line 173
vtkGlyph3D (0x94ba908): Turning indexing off: no data to index with
I would appreciate any help! Thanks.
--
Shari Rolnick <shari at loralee.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GenerateViz.py
Type: text/x-python
Size: 4244 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050913/41ba9cf5/attachment.py>
More information about the vtkusers
mailing list