[vtkusers] Re: SubId of a cell

Goodwin Lawlor goodwin.lawlor at ucd.ie
Mon Jan 16 12:33:19 EST 2006


Darshan Pai wrote:
> I have come across something called a subId of a cell. What does one 
> mean by a subId of a cell.
>  
> Darshan

Hi Darsan,

Some cells in VTK are "composite cells", ie, they are made up of simpler 
cells. So, for example, vtkPolyLine is made up of a collection of line 
cells. The subId is just an index to the simpler constituent cell. subId 
is set to 0 for non-composite cells (eg vtkTriangle, vtkLine etc).

hth

Goodwin




More information about the vtkusers mailing list