[vtkusers] question about IsTypeOf
Lederer, Maitland
mlederer at foster-miller.com
Tue Oct 12 16:55:15 EDT 2004
Hey everyone-
I'm using a vtkPropPicker, and I'd like to use IsTypeOf to determine
whether the picked prop is of type vtkProp3D. Well, I was using the Tcl
interactor to determine what all was in my PropCollection and typed in
the following:
> sliceAct10 IsTypeOf "vtkProp"
To which I got the response 0. I found this rather odd, as
vtkPropPicker seems to be picking this vtkOpenGLImageActor just fine.
So I tried a few other things, only to discover that
> sliceAct10 IsTypeOf "vtkObject"
Also yields 0, and the only thing that sliceAct10 (or anything else in
my world) seems to be is a vtkObjectBase. Has anybody else had this
problem? Am I doing something wrong here?
Thanks,
-M
**************************
M. Maitland Lederer
Staff Engineer
Foster-Miller, Inc.
(781)684-4618
More information about the vtkusers
mailing list