Recreating the past using Object Oriented Virtual Reality for Ayutthaya World Heritage Historical Park: A case study of Wat Ratchaburana
4. Geographical Information System
The second module is a geographical information system (GIS), which was applied to manipulate historical information such as history, creator, and age. These two modules can be worked in the Internet and linked together with hyperlinks and active server pages (ASP) in the WWW system.

Figure 3. Web and Database Servers
|

Figure 4. Information Provider
|
5. Object Oriented Model
An object oriented approach is based on entities or objects, which have a hidden state and operations on that state. The model is expressed in terms of services requested and provided by interacting objects. An object oriented approach has many advantages such as objects are independent and reusable.
5.1 Object (Class) Definition
An object is an entity, which has a state and a defined set of operations, which operate on that state. The state is represented as a set of object attributes. The operations associated with the object provide services to other objects, which request these services when some computation is required. Figure 5 shows the pagoda architecture. The constructions in a temple can be categorized into two objects (pagoda and church objects) as showed in Figure 6.

Figure 5. Chedi Architecture(Leksukum,1998)
|
| Pagoda |
Chedi Type
Basement
Body
Top
Scale
Area Coordination
Side
Period
Histry
----------
Draw
Locate
Rescale |
|
|
| Church |
Map Type
Scale
Area Coodination
Side
Period
History
Construction Type
---------------
Draw
Locate
Rescale
|
|
Figure 6. Object Classes of Chedi and Church
|

Figure 7. Object Class Relationship
5.2 Inheritance Object
In complicated environment, objects inherit the attributes and operations of their class. Object classes therefore are members of a super-class and inheritance networks can be established. Figures 8-11 show sub-classes, which are inherited from the super-class. For example, super-class namely Spire-topped prasat-type chedi inheritance object has four sub-classes, which indicate the period of estimate building year (1917, 1931, 2000, 2100 B.E.).