Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

shapeobject.h

Go to the documentation of this file.
00001 
00008 #ifndef _SHAPEOBJECT_H
00009 #define _SHAPEOBJECT_H
00010 
00011 #include "object.h"
00012 #include "shape.h"
00013 
00014 class ShapeObject : public Object {
00015 public:
00016     ShapeObject( Model *model, Shape shape, Vec3 position = Vec3( 0.0, 0.0, 0.0 ), dMatrix3 orientation = NULL, Vec3 scale = Vec3( 1.0, 1.0, 1.0 ), double mass = 1.0, bool on = false, bool stationary = true, bool movable = false, const bool rotatable[3] = NULL );
00017 
00018     virtual string get_type_str( ) const { return "shape"; }
00019     virtual string get_info( ) const
00020         { return "shape=\"" + to_string( _shape ) + "\" " + Object::get_info(); }
00021 private:
00022     Shape _shape;
00023 };
00024 
00025 #endif // header guard

Generated on Sat Mar 13 15:00:10 2004 by doxygen 1.3.5