source: src/Atom/TesselPoint.hpp@ 2d50a2

Last change on this file since 2d50a2 was b1c5ddb, checked in by Frederik Heber <heber@…>, 14 years ago

FIX: Made TesselPoint's dstor virtual.

  • this caused undefined reference to typeinfo for TesselPoint errors when trying to create a stub for the class.
  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[d74077]1/*
2 * TesselPoint.hpp
3 *
4 * Created on: Jul 30, 2010
5 * Author: heber
6 */
7
8#ifndef TESSELPOINT_HPP_
9#define TESSELPOINT_HPP_
10
[56f73b]11// include config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
16
[6f0841]17#include "Atom/atom_atominfo.hpp"
18#include "Atom/atom_particleinfo.hpp"
[d74077]19
20class TesselPoint;
21
22class TesselPoint : public virtual ParticleInfo, public virtual AtomInfo
23{
24public:
25 TesselPoint();
[b1c5ddb]26 virtual ~TesselPoint();
[d74077]27
[e2373df]28 /** Pushes back another step in all trajectory vectors.
29 *
30 * This allows to extend all trajectories contained in different classes
31 * consistently. This is implemented by the topmost class which calls the
32 * real functions, \sa AppendTrajectoryStep(), by all necessary subclasses.
33 *
34 * Note that this function is actually not sensible with TesselPoints
35 * as they should not have trajectories but is implemented as they can be
36 * used stand-alone.
37 *
38 */
39 virtual void UpdateSteps();
40
[ba5215]41 /** Getter for this.
42 *
43 * \note this is only present due to BoundaryPointSet, where TesselPoint is
44 * only embedded and PointCloud where we have to access this TesselPoint.
45 *
46 * @return reference to embedded TesselPoint \a node
47 */
48 TesselPoint *getTesselPoint();
49
[d74077]50 std::ostream & operator << (std::ostream &ost) const;
51};
52
53std::ostream & operator << (std::ostream &ost, const TesselPoint &t);
54
55#endif /* TESSELPOINT_HPP_ */
Note: See TracBrowser for help on using the repository browser.