1 /*! ========================================================================
3 ** Template Header File
4 ** $Id: region.h,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $
6 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
8 ** This software and associated documentation
9 ** are CONFIDENTIAL and PROPRIETARY property of
10 ** the above-mentioned copyright holder.
12 ** You may not copy, print, publish, or in any
13 ** other way distribute this software without
14 ** a prior written agreement with
15 ** the copyright holder.
17 ** === N O T E S ===========================================================
19 ** ========================================================================= */
21 /* === S T A R T =========================================================== */
23 #ifndef __SINFG_REGION_H
24 #define __SINFG_REGION_H
26 /* === H E A D E R S ======================================================= */
28 #include <sinfg/layer_polygon.h>
31 #include <sinfg/value.h>
33 /* === M A C R O S ========================================================= */
35 /* === T Y P E D E F S ===================================================== */
37 /* === C L A S S E S & S T R U C T S ======================================= */
39 namespace sinfg { class Segment; }
41 using namespace sinfg;
45 class Region : protected sinfg::Layer_Polygon//Shape
47 SINFG_LAYER_MODULE_EXT
49 sinfg::ValueBase bline;
50 std::vector<sinfg::Segment> segment_list;
54 //! Updates the polygon data to match the parameters.
57 virtual bool set_param(const String & param, const sinfg::ValueBase &value);
59 virtual ValueBase get_param(const String & param)const;
61 virtual Vocab get_param_vocab()const;
62 virtual void set_time(Context context, Time time)const;
63 virtual void set_time(Context context, Time time, Vector pos)const;
67 /* === E N D =============================================================== */