Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Shape.cpp

Go to the documentation of this file.
00001 #include "Shape.h"
00002 
00003 using namespace X3DTK;
00004 
00005 Shape::Shape()
00006 : X3DShapeNode(), X3DBoundedObject()
00007 { 
00008   defineTagName("Shape", "Shape");
00009 }
00010 
00011 Shape::Shape(const X3DGeometryNode *geometry,  const X3DAppearanceNode *appearance,  const SFVec3f &bboxCenter,  const SFVec3f &bboxSize)
00012 : X3DShapeNode(geometry, appearance), X3DBoundedObject(bboxCenter, bboxSize)
00013 {
00014   defineTagName("Shape", "Shape");
00015 }
00016 
00017 Shape::Shape(const Shape &S)
00018 : X3DShapeNode(S), X3DBoundedObject(S)
00019 {
00020   defineTagName("Shape", "Shape");
00021 }
00022 
00023 SFNode Shape::clone() const
00024 {
00025   return new Shape(*this);
00026 }
00027 
00028 Shape::~Shape()
00029 {
00030 }
00031 
00032 void Shape::loadAttributes(const X3DFileElement *element)
00033 {
00034   X3DBoundedObject::loadAttributes(element);
00035 }
00036 
00037 SFString Shape::writeAttributes() const
00038 {
00039   return X3DBoundedObject::writeAttributes();
00040 }

Generated on Wed May 14 10:03:11 2003 for X3DToolKit by doxygen1.3