[vtkusers] Filter to identify boundary regions

Renato N. Elias rnelias at nacad.ufrj.br
Mon Apr 21 15:01:25 EDT 2008


Hi folks,

attached follows a vtk filter, and PV plugin as well, to identify 
boundary regions. It just assigns different region numbers for front 
(region 0), back (region 1), left (region 2), right (region 3), top 
(region 4), bottom (region 5) and body (region 6) faces which can be 
used, associated to the threshold filter, to extract such regions. The 
algorithm is quite simple and employs the normal filter and geometry 
bounds to classify regions. In the other hand, this algorithm can be 
applied only for regular and cubic domains.

As a short description, I posted the following pictures showing a model 
before and after the filter has been applied.

http://www.nacad.ufrj.br/~rnelias/paraview/BoundaryRegions/Before.png

http://www.nacad.ufrj.br/~rnelias/paraview/BoundaryRegions/After.png

Regards

Renato N. Elias
===================================
Researcher - http://www.nacad.ufrj.br/~rnelias
High Performance Computing Center (NACAD)
Federal University of Rio de Janeiro (UFRJ)
Rio de Janeiro, Brazil.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeLists.txt
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080421/0fa5e754/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vtkBoundaryRegionsFilter.cxx
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080421/0fa5e754/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vtkBoundaryRegionsFilter.h
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080421/0fa5e754/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BoundaryRegionsFilter.xml
Type: text/xml
Size: 959 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080421/0fa5e754/attachment.bin>


More information about the vtkusers mailing list