[vtk-developers] RE: Wrapping GetBounds-like functions

Lorensen, William E (Research) lorensen at crd.ge.com
Mon Sep 9 15:58:32 EDT 2002


Look in Wrapping/hints


> -----Original Message-----
> From:	Volpe, Christopher R (Research) 
> Sent:	Monday, September 09, 2002 3:29 PM
> To:	Vtkdevelop (E-mail)
> Subject:	Wrapping GetBounds-like functions
> 
> Hi folks-
>   If you call the GetBounds method of a vtkActor from TCL, it works as expected. I.e., it returns
> six concatenated values as a string. I'm not sure whether it's the method that takes "float
> bounds[6]" as a parameter that's being wrapped, or if it's the one that takes void and returns
> "float *", or if the wrapper code simply handles vtkActor::GetBounds as an explicit special case.
> But anyway, I'm having a heck of a time trying to access
> vtkRenderer::ComputeVisiblePropBounds(float bounds[6]) from TCL. I figured maybe the wrapper
> generator handles methods named GetBounds specially, so I added a GetBounds method to invoke
> ComputeVisiblePropBounds, trying multiple different parameter approaches, and nothing seems to
> work. TCL keeps complaining that the method name is wrong or is being called with the incorrect
> number of arguments. Can anyone tell me what wrapper-god I have to pray to in order to get it to do
> what I want?
> 
> thanks much in advance,
> 
> Chris
> GE Global Research Center 
> ___________________________________________________________________________________________________
> _______________________________________________
> 
> Dr. Christopher R. Volpe, Ph.D.
> Computer Scientist
> Visualization and Computer Vision Lab 
> Imaging Technologies
> Bldg KW, Room C215
> P.O. Box 8, Schenectady, NY 12301
> 
> (518) 387-7766, Dial Comm: 8*833-7766, Fax: (518) 387-6981
> e-mail: volpecr at crd.ge.com    web: http://www.crd.ge.com/~volpecr
> 
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at public.kitware.com
> http://public.kitware.com/mailman/listinfo/vtk-developers



More information about the vtk-developers mailing list