/// process lines array
void TSRGeometryContainer::ProcessLinesArrayDOM( const domMeshRef& _mesh )
{
    // there will be multiple line lists to process
    domLines_Array& lines_array = _mesh->getLines_array();

    unsigned int lineListsCount = ( unsigned int ) lines_array.getCount();

    // loop on each line list
    for ( unsigned int i = 0; i < lineListsCount; i++ )
    {
        TSRModelGeometryTriangleSet newSet;
        newSet.m_uiStartIndex = ( int ) m_pTwisterGeometry->GetIndexCount();
        newSet.m_uiMaterialIndex = 0;
        domLinesRef currLines = lines_array[ i ];
        xsNCName materialName = currLines->getMaterial();
        int materialIndex = m_pExporter->FindMaterialIndexByName( materialName );
        // material 0 is the default if no material was found...
        if ( materialIndex > -1 )
        {
            newSet.m_uiMaterialIndex = materialIndex + 1;
        }
        ProcessLinesDOM( currLines );
        newSet.m_uiIndexCount = ( int ) m_pTwisterGeometry->GetIndexCount()  - newSet.m_uiStartIndex;

        newSet.m_renderMode = TWISTER_RENDERMODE_LINELIST;
        m_pTwisterGeometry->m_TriangleSets.push_back( newSet );
    }
}