[vtkusers] Obtaining cell id's lying on the edge of a cylinder
R K Shyamprakash
ramakrishna.prakash at quest-global.com
Fri Jun 6 01:52:21 EDT 2003
Hi,
I have a cylinder object with open ends. How can I identify the
cells which are lying on the edge of the cylinder. I find the edge in the
following manner.
vtkFeatureEdges edges = new vtkFeatureEdges();
edges.SetInput(cylinderData);
edges.BoundaryEdgesOn();
edges.ManifoldEdgesOff();
edges.NonManifoldEdgesOff();
edges.FeatureEdgesOff();
From the vtkFeatureEdges.GetOutput() I get all the point id's lying the
edge of the cylinder. But I also want to get the cell id's . The problem
here is, the output of feature edges will contain vtkLine cell type instead
of vtkTriangle cell type. Is there any method to get the cell id's of the
cylinder object which occupy the edge? Hope I am clear.
Thanks
Shyam
More information about the vtkusers
mailing list