Is there a method cross reference? (fwd)

Tom G. Smith smitty at kcc.com
Thu Oct 7 16:13:05 EDT 1999


Thanks for the tip.  I couldn't get any output, however, when I put
"cells ListMethods" directly in my source, but rather had to enter
it on the command line in the interactor window.  Also, in what class
does the ListMethods method originate?  I expected to see ListMethods
listed in its own output.  When I didn't, I immediately assumed it
was in the highest level vtkObject class, but it's not listed on the
man page for vtkObject.

> 
> In this particular case, you could type in your Tcl shell (tclsh or
> wish):
> 
> vtkPolyVertex cells
> cells ListMethods
> 
> That will produce a list of all methods available for the given
> instance, grouped by class. I know it is not a true 'cross reference'
> but it does what you wanted: quick, plain and easy.
> 
> Succes, Marc
> 
> ir. Marc Schrijver
> Faculty of Electrical Engineering (S&S NT)
> University of Twente
> The Netherlands
> 
> > ----------
> > From: 	Tom G. Smith[SMTP:smitty at kcc.com]
> > Sent: 	Thursday, October 07, 1999 7:19 PM
> > To: 	vtkusers at gsao.med.ge.com
> > Subject: 	Re: Is there a method cross reference? (fwd)
> > 
> > I forgot to copy vtkusers on the original, sorry.
> > Forwarded message:
> > > From smitty Thu Oct  7 12:18:00 1999
> > > Subject: Re: Is there a method cross reference?
> > > To: washbourne at tomoseis.com (John Washbourne)
> > > Date: Thu, 7 Oct 1999 12:18:00 -0500 (CDT)
> > > Cc: vtkusers at gsao.med.ge.com (list vtk)
> > > In-Reply-To: <37FCD23C.F7E6D198 at tomoseis.com> from "John Washbourne"
> > at Oct 7, 99 12:02:52 pm
> > > Content-Type: text
> > > Content-Length: 1957      
> > > 
> > > The Tcl statement is the declaration of the object named cells,
> > > of type vtkPolyVertex, unless I'm completely misunderstanding.
> > > The backtracking you describe is exactly what I did, and would
> > prefer
> > > not to have to do again.  I was hoping there was perhaps at least a
> > > list somewhere in collating sequence by method name that would tell
> > > me that GetPointIds is a method of class vtkCells, that SetId is a
> > > method of class vtkObject, etc.
> > > 
> > > > 
> > > > This is a multi-part message in MIME format.
> > > > --------------0E01EDE145F983C90A7B4E18
> > > > Content-Type: text/plain; 
> > > >  charset=us-ascii
> > > > Content-Transfer-Encoding: 7bit
> > > > 
> > > > "Tom G. Smith" wrote:
> > > > 
> > > > > I'm learning vtk, and ran into this difficulty while reading
> > some of
> > > > > the sample code:
> > > > >
> > > > >         vtkPolyVertex cells
> > > > >         [cells GetPointIds] SetNumberOfIds $pointcount
> > > > >
> > > > 
> > > > Tom,
> > > > 
> > > > Could you have backtracked what type of Object "cells" is ?
> > Without seeing what
> > > > sample code you were looking at, it is difficult to say.
> > > > 
> > > > I'm assuming that "cells" is of type vtkCell, thus the method
> > "GetPointIDs"
> > > > belongs to vtkCell.
> > > > 
> > > > This doesn't explicitly answer the question RE cross reference,
> > but in the man
> > > > pages themselves you at least now about parents and there is a
> > resonable list in
> > > > "See Also".
> > > > 
> > > > regards,
> > > > 
> > > > john
> > > > 
> > > > 
> > > > --------------0E01EDE145F983C90A7B4E18
> > > > Content-Type: text/x-vcard; 
> > > >  charset=us-ascii; 
> > > >  name=washbourne.vcf
> > > > Content-Transfer-Encoding: 7bit
> > > > Content-Description: Card for John Washbourne
> > > > Content-Disposition: attachment; 
> > > >  filename=washbourne.vcf
> > > > 
> > > > begin:vcard 
> > > > n:Washbourne;John
> > > > tel;fax:(713) 461-4620
> > > > tel;work:(713) 461-4620
> > > > x-mozilla-html:FALSE
> > > > org:TomoSeis, Inc.
> > > > adr:;;1650 West Sam Houston Parkway, N.;Houston;TX;77043;
> > > > version:2.1
> > > > email;internet:washbourne at tomoseis.com
> > > > title:Chief Research Geophysicist
> > > > x-mozilla-cpt:;29312
> > > > fn:Washbourne, John
> > > > end:vcard
> > > > 
> > > > --------------0E01EDE145F983C90A7B4E18--
> > > > 
> > > 
> > > 
> > > -- 
> > > 
> > 
> > 
> > -- 
> > 
> > 
> > ----------------------------------------------------------------------
> > -------
> > This is the private VTK discussion list.  Please keep messages
> > on-topic.
> > Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
> > To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> > <majordomo at gsao.med.ge.com>.  For help, send message body containing
> > "info vtkusers" to the same address.     Live long and prosper.
> > ----------------------------------------------------------------------
> > -------
> > 
> 


-- 


-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------




More information about the vtkusers mailing list