[vtkusers] Problem vtkTriangleFilter not working with vtk-5.3.x

Dominik Szczerba dominik at itis.ethz.ch
Wed Nov 5 15:23:40 EST 2008


You need to get the filter's output first, in tcl I believe it would 
something like

[[geom GetOutput] GetNumberOfCells]

Dominik

Elvis Dowson wrote:
> hi Dominik,
>                         I just took a look at the documentation for 
> vtkGeometryFilter but was unable to find a method that would return the 
> total number of cells.
> 
> Could you tell me how I can inspect the contents of the object?
> 
> On a general note, I tried setting DebugOn() and invoking the Print() 
> method for a vtkObject, to display its contents, but it doesn't display 
> anything on the console output.
> 
> Best regards,
> 
> Elvis Dowson
> 
> On Nov 5, 2008, at 11:54 PM, Dominik Szczerba wrote:
> 
>> I would inspect the output from vtkGeometryFilter. At least check the 
>> number of cells, perhaps it is empty.
>>
>> Dominik
>>
> 

-- 
Dominik Szczerba, PhD
Computational Physics Group
IT'IS Foundation for Research
http://www.itis.ethz.ch



More information about the vtkusers mailing list