In general, a multiresolution query is specified by two parameters:
The MT-manager provides just a general-purpose operation for multiresolution queries, called TIN extraction, which performs selective refinement on an MT, on the basis of given focus condition and LOD threshold. TIN extraction returns a TIN describing (a portion of) terrain according to user-defined criteria. The MT-manager supports two types of TIN extraction:
[ENRICO: QUI C'E' UN COMMENTO DI LEILA CHE NON CAPISCO]
A few examples of TIN extraction from global queries with different threshold
functions are depicted in Figure :
in (a), triangles inside the square box are required to be at the highest
possible resolution, while triangles outside it can be arbitrarily coarse;
in (b), triangles outside the wedge (view frustum) can be arbitrarily coarse,
while the resolution of triangles inside the wedge is highest at its apex
(view point), and decreasing with distance from it;
in (c), resolution is highest for triangles intersecting a given polyline,
while it is arbitrarily coarse elsewhere.
[C'E' UNA RIDONDANZA TRA TESTO E DIDASCALIA. FORSE TOGLIERE LA DESCRIZIONE DAL TESTO.]
![]() |
[FORSE SAREBBE BENE AVERE ANCHE ESEMPI DI QUERY LOCALE. NON BISOGNEREBBE ESSERE TROPPO RIPETITIVI. FORSE TENERE SOLO POLYLINE E WEDGE PER LA GLOBALE, FARE WINDOW E QUALCOS'ALTRO (BUFFERING CON DISTANZA DA UN PUNTO?) PER LA LOCALE. VEDERE ESEMPI DISPONIBILI DA TESI PAOLA]
Global queries are intended for applications that compute global information
(e.g., computation of visibility maps on a terrain).
Local queries are the basis for applications that run geometric
queries on a mesh
(e.g., evaluation of a field value or an attribute at a point,
or along a trajectory).
Query mechanisms provided by the kernel are generic with respect
to the parameters that describe the level of detail and the region of interest.
Many different query operations can be defined on top of TIN
extraction by varying its parameters.
The implementation of mechanisms for answering specific queries
is therefore left to modules of the outer layer (see Sections
and
).
Algorithms that implement TIN extraction reduce to traversing the DAG that describes an MT, in order to find a closed subset of updates which provides a TIN having the required properties. The MT-manager includes the following three algorithms, which are described in detail in [De Floriani et al.1998,Magillo1999]:
[LEILA: AGGIUNGERE QUALCOSA DI PIU' SUGLI ALGORITMI, DALLA VERSIONE VECCHIA]
[ENRICO: NELLA VERSIONE VECHIA NON C'E' MOLTO PIU' DI QUESTO, SPIEGARE I MECCANISMI DI ATTRAVERSAMENTO DEL DAG RISULTA OSCURO. LASCEREI COSI']
[ENRICO: FORSE CI STAREBBE UN COMMENTO SUL FATTO CHE E' POSSIBILE UTILIZZARE UN ALGORITMO GLOBALE E POI FILTRARE IL RISULTATO ATTRAVERSO UNA FOCUS CONDITION E CHE QUESTO PUO' ESSERE CONVENIENTE PER SFRUTTARE I VANTAGGI COMPUTAZIONALI DELL'ALGORITMO DINAMICO PER QUERY CHE PUR ESSENDO DI NATURA LOCALE DIFFERISCE DI POCO DA UNA PRECEDENTE (ES: VISUALIZZAZIONE, OPERAZIONI DI PAN SU UNA WINDOW)]
TOLTO PERCHE' SUPERFLUO Variants of these algorithms are also described in [Magillo1999], in which the condition on the output TIN of being formed by feasible triangles is relaxed, while a given bound on its number of triangles is imposed. In this case, each algorithm returns the TIN within the given bound that is as close as possible to the given error threshold function.
The TIN resulting from a query is returned either just as a list of triangles (each defined by its three vertices), or in a more complete format including also triangle-to-triangle adjacency relations. In the latter case, adjacency information is reconstructed on-the-fly during extraction. The first format is sufficient for simple applications such as visualization. The latter format is useful for applications performing TIN analysis.
SUPERFLUO