Loading...
Searching...
No Matches
simpleBox.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: simpleBox.h,v 1.8.16.1 2007-03-25 21:26:11 oliver Exp $
//
#ifndef BALL_VIEW_PRIMITIV_SIMPLEBOX_H
#define BALL_VIEW_PRIMITIV_SIMPLEBOX_H
#ifndef BALL_VIEW_KERNEL_GEOMETRICOBJECT_H
# include <BALL/VIEW/KERNEL/geometricObject.h>
#endif
#ifndef BALL_MATHS_SIMPLEBOX3_H
# include <BALL/MATHS/simpleBox3.h>
#endif
namespace BALL
{
namespace VIEW
{
// Export doesn't work for some reason...
class BALL_VIEW_EXPORT SimpleBox
// class SimpleBox
: public SimpleBox3,
public GeometricObject
{
public:
BALL_CREATE(SimpleBox)
//@{
SimpleBox();
SimpleBox(const SimpleBox& box);
virtual ~SimpleBox();
virtual void clear();
void set(const SimpleBox& box);
const SimpleBox& operator = (const SimpleBox& box);
virtual bool isValid() const;
virtual void dump(std::ostream& s = std::cout, Size depth = 0) const;
// Method to get all vertices from a geometric object
virtual void getVertices(vector<Vector3>& vertices) const;
};
} // namespace VIEW
} // namespace BALL
#endif // BALL_VIEW_PRIMITIV_SIMPLEBOX_H
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition COMMON/global.h:52
BALL::VIEW::GeometricObject::GeometricObject
GeometricObject()
BALL::VIEW::SimpleBox::getVertices
virtual void getVertices(vector< Vector3 > &vertices) const
BALL::VIEW::SimpleBox::dump
virtual void dump(std::ostream &s=std::cout, Size depth=0) const
BALL::VIEW::SimpleBox::clear
virtual void clear()
BALL::VIEW::SimpleBox::isValid
virtual bool isValid() const
BALL::VIEW::SimpleBox::SimpleBox
SimpleBox()
BALL::VIEW::SimpleBox::set
void set(const SimpleBox &box)
BALL_CREATE
#define BALL_CREATE(name)
Definition create.h:62
geometricObject.h
BALL::SimpleBox3
TSimpleBox3< float > SimpleBox3
Definition simpleBox3.h:615
BALL::VIEW
Definition constraints.h:35
BALL
Definition constants.h:13
BALL::Size
BALL_SIZE_TYPE Size
Definition COMMON/global.h:114
BALL::Vector3
TVector3< float > Vector3
Definition vector3.h:1084
std
STL namespace.
simpleBox3.h