Avogadro::Point Class Reference

Representation for a point in space. More...

#include <avogadro/point.h>

Inheritance diagram for Avogadro::Point:

Inheritance graph
[legend]

List of all members.

Signals

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.

Author:
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  ) 

Constructor

Parameters:
parent the object parent.


Member Function Documentation

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

Returns the position of the point.

Returns:
The position of the point.

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

Sets the position of the point.

Parameters:
vec Position of the point.

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

Returns:
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]

Returns:
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