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

Amy Squillacote ahs at cfdrc.com
Wed Nov 5 15:19:45 EST 2008


The method is not on vtkGeometryFilter but on its output. You should be 
able to do the following (in tcl).

geom Update
puts "num cells: [[geom GetOutput] GetNumberOfCells]"


- Amy

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
>>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: 
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>

-- 
Amy Squillacote                    Phone: (256) 726-4839
Computer Scientist                 Fax: (256) 726-4806
CFD Research Corporation           Web: http://www.cfdrc.com
215 Wynn Drive, Suite 501
Huntsville, AL  35805





More information about the vtkusers mailing list