[vtkusers] Create a grid?

Prashanth Udupa prashanth.udupa at gmail.com
Mon Feb 18 00:15:15 EST 2008


You can make use of vtkPlaneSource, vtkTriangleFilter,
vtkLinearSubdivisionFilter to get something like a grid.

Shown here (http://www.prashanthudupa.com/grids_in_vtk.jpg) is a
screenshot of the pipeline with its output. Or you can use
vtkCustomGridPolyDataSource from the VTK Designer 2 project. (Its
available in Source\components\VTKSystem\Wrappers\Custom directory).

/ Prashanth

On Feb 18, 2008 10:25 AM, Brian Gee Chacko <hebrev at gmail.com> wrote:
> Hi all,
>
> Could someone help me out in creating a simple rectangular grid. I
> tried to use an vtkImageData and a dataset mapper but failed in this
> pursuit.
>
> Regards
> Brian Gee Chacko
> _______________________________________________
> 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
>



-- 
Thanks and Warm Regards,
Prashanth N Udupa
     EMail:      prashanth.udupa at gmail.com
     Website: http://www.prashanthudupa.com
     LJ: http://prashanthudupa.livejournal.com/



More information about the vtkusers mailing list