00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef PEEKABOT_CYLINDER_OBJECT_HH_INCLUDED
00024 #define PEEKABOT_CYLINDER_OBJECT_HH_INCLUDED
00025
00026
00027 #include "SceneObject.hh"
00028 #include "ScalableObject.hh"
00029 #include "HandlerInformer.hh"
00030
00031
00032 namespace peekabot
00033 {
00037 class CylinderObject : public SceneObject, public ScalableObject
00038 {
00039 public:
00040 CylinderObject();
00041
00042 CylinderObject(ScopedHandler *handler);
00043
00044 virtual void accept(ObjectVisitor* visitor) throw();
00045
00046 virtual ObjectType get_object_type() const;
00047
00048 protected:
00049 virtual PropMap &get_prop_adapters();
00050
00051 private:
00054 static void start_handler(
00055 const std::string & name,
00056 XMLHandler::AttributeMap &attributes,
00057 ScopedHandler *handler) throw();
00058
00059 private:
00060 static HandlerInformer ms_handler_informer;
00061 };
00062 }
00063
00064
00065 #endif // PEEKABOT_CYLINDER_OBJECT_HH_INCLUDED