source: src/Atom/TesselPoint.hpp@ ac9dc8

Action_Thermostats Add_AtomRandomPerturbation Add_RotateAroundBondAction Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests AutomationFragmentation_failures Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator Docu_Python_wait EmpiricalPotential_contain_HomologyGraph_documentation Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph Fix_ChronosMutex Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion GeometryObjects Gui_displays_atomic_force_velocity IndependentFragmentGrids_IntegrationTest JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks RotateToPrincipalAxisSystem_UndoRedo StoppableMakroAction TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps Ubuntu_1604_changes
Last change on this file since ac9dc8 was 8cc22f, checked in by Frederik Heber <heber@…>, 10 years ago

Changed how trajectories are stored, not as vecor but as map.

  • Property mode set to 100644
File size: 1.7 KB
Line 
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
11// include config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
16
17#include "Atom/atom_atominfo.hpp"
18#include "Atom/atom_particleinfo.hpp"
19
20class TesselPoint;
21
22class TesselPoint : public virtual ParticleInfo, public virtual AtomInfo
23{
24public:
25 TesselPoint();
26 virtual ~TesselPoint();
27
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 UpdateStep(const unsigned int _step);
40
41 /** Pops the last step in all trajectory vectors.
42 *
43 * This allows to decrease all trajectories contained in different classes
44 * by one consistently. This is implemented by the topmost class which calls
45 * the real functions, \sa removeTrajectoryStep(), by all necessary subclasses.
46 */
47 virtual void removeStep(const unsigned int _step);
48
49 /** Getter for this.
50 *
51 * \note this is only present due to BoundaryPointSet, where TesselPoint is
52 * only embedded and PointCloud where we have to access this TesselPoint.
53 *
54 * @return reference to embedded TesselPoint \a node
55 */
56 TesselPoint *getTesselPoint();
57
58 std::ostream & operator << (std::ostream &ost) const;
59};
60
61std::ostream & operator << (std::ostream &ost, const TesselPoint &t);
62
63#endif /* TESSELPOINT_HPP_ */
Note: See TracBrowser for help on using the repository browser.