Loading...
Searching...
No Matches
line.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: line.h,v 1.9.16.1 2007-03-25 21:26:09 oliver Exp $
//
#ifndef BALL_VIEW_PRIMITIVES_LINE_H
#define BALL_VIEW_PRIMITIVES_LINE_H
#ifndef BALL_VIEW_KERNEL_GEOMETRICOBJECT_H
# include <BALL/VIEW/KERNEL/geometricObject.h>
#endif
#ifndef BALL_VIEW_DATATYPE_VERTEX2_H
# include <BALL/VIEW/DATATYPE/vertex2.h>
#endif
namespace BALL
{
namespace VIEW
{
class BALL_VIEW_EXPORT Line
: public GeometricObject,
public Vertex2
{
public:
BALL_CREATE(Line)
//@{
Line();
Line(const Line& line);
virtual ~Line();
virtual void clear();
void set(const Line& line);
const Line& operator = (const Line& line);
void swap(Line& line);
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_PRIMITIVES_LINE_H
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition COMMON/global.h:52
BALL::VIEW::GeometricObject::GeometricObject
GeometricObject()
BALL::VIEW::Line::dump
virtual void dump(std::ostream &s=std::cout, Size depth=0) const
BALL::VIEW::Line::set
void set(const Line &line)
BALL::VIEW::Line::swap
void swap(Line &line)
BALL::VIEW::Line::isValid
virtual bool isValid() const
BALL::VIEW::Line::Line
Line()
BALL::VIEW::Line::getVertices
virtual void getVertices(vector< Vector3 > &vertices) const
BALL::VIEW::Line::clear
virtual void clear()
BALL::VIEW::Vertex2::Vertex2
Vertex2()
BALL_CREATE
#define BALL_CREATE(name)
Definition create.h:62
geometricObject.h
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.
vertex2.h