Avogadro::Point Class Reference

Representation for a point in space. More...

#include <avogadro/point.h>

Inheritance diagram for Avogadro::Point:

Inheritance graph

List of all members.


void mousePressEvent (Point *point, QMouseEvent *event)
void mouseMoveEvent (Point *point, QMouseEvent *event)
void mouseReleaseEvent (Point *point, QMouseEvent *event)

Public Member Functions

 Point (QObject *parent=0)
const Eigen::Vector3d & pos () const
void setPos (const Eigen::Vector3d &vec)
double radius () const
void setRadius (double value)
const Colorcolor ()
void setColor (const Color &color)
void mousePressed (QMouseEvent *event)
void mouseMoved (QMouseEvent *event)
void mouseReleased (QMouseEvent *event)

Detailed Description

Representation for a point in space.

Tim Vandermeersch
The Point class is a Primitive subclass that provides a generic way of addressing points.

Constructor & Destructor Documentation

Avogadro::Point::Point ( QObject *  parent = 0  ) 


parent the object parent.

Member Function Documentation

const Eigen::Vector3d& Avogadro::Point::pos (  )  const [inline]

Returns the position of the point.

The position of the point.

void Avogadro::Point::setPos ( const Eigen::Vector3d &  vec  )  [inline]

Sets the position of the point.

vec Position of the point.

double Avogadro::Point::radius (  )  const [inline]

The radius of the point.

void Avogadro::Point::setRadius ( double  value  )  [inline]

Set the radius of the point to value.

const Color* Avogadro::Point::color (  )  [inline]

The color of the point.

void Avogadro::Point::setColor ( const Color color  )  [inline]

Set the color of the point to color.

The documentation for this class was generated from the following files:
Generated on Sat May 30 02:00:39 2009 for Avogadro by  doxygen 1.5.4