mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 11:09:37 -06:00
Add documentation to Ephemeris classes
Remove unused "Reference" specification from mod files Add osirisrex files to gitgnore Make Ephemeris values into properties
This commit is contained in:
@@ -25,28 +25,25 @@
|
||||
#ifndef __EPHEMERIS_H__
|
||||
#define __EPHEMERIS_H__
|
||||
|
||||
#include <openspace/util/powerscaledcoordinate.h>
|
||||
#include <ghoul/misc/dictionary.h>
|
||||
#include <openspace/util/updatestructures.h>
|
||||
#include <openspace/properties/propertyowner.h>
|
||||
|
||||
#include <openspace/documentation/documentation.h>
|
||||
#include <openspace/util/updatestructures.h>
|
||||
|
||||
#include <ghoul/misc/dictionary.h>
|
||||
|
||||
namespace openspace {
|
||||
|
||||
class Ephemeris {
|
||||
class Ephemeris : public properties::PropertyOwner {
|
||||
public:
|
||||
static Ephemeris* createFromDictionary(const ghoul::Dictionary& dictionary);
|
||||
|
||||
Ephemeris(const ghoul::Dictionary& dictionary);
|
||||
virtual ~Ephemeris();
|
||||
virtual bool initialize();
|
||||
virtual const glm::dvec3& position() const = 0;
|
||||
virtual glm::dvec3 position() const = 0;
|
||||
virtual void update(const UpdateData& data);
|
||||
|
||||
static openspace::Documentation Documentation();
|
||||
|
||||
protected:
|
||||
Ephemeris();
|
||||
};
|
||||
|
||||
} // namespace openspace
|
||||
|
||||
@@ -25,11 +25,12 @@
|
||||
#ifndef __SCALE_H__
|
||||
#define __SCALE_H__
|
||||
|
||||
#include <ghoul/misc/dictionary.h>
|
||||
#include <openspace/util/updatestructures.h>
|
||||
#include <openspace/properties/propertyowner.h>
|
||||
|
||||
#include <openspace/documentation/documentation.h>
|
||||
#include <openspace/util/updatestructures.h>
|
||||
|
||||
#include <ghoul/misc/dictionary.h>
|
||||
|
||||
namespace openspace {
|
||||
|
||||
@@ -37,16 +38,12 @@ class Scale : public properties::PropertyOwner {
|
||||
public:
|
||||
static Scale* createFromDictionary(const ghoul::Dictionary& dictionary);
|
||||
|
||||
Scale(const ghoul::Dictionary& dictionary);
|
||||
virtual ~Scale();
|
||||
virtual bool initialize();
|
||||
virtual double scaleValue() const = 0;
|
||||
virtual void update(const UpdateData& data);
|
||||
|
||||
static openspace::Documentation Documentation();
|
||||
|
||||
protected:
|
||||
Scale();
|
||||
};
|
||||
|
||||
} // namespace openspace
|
||||
|
||||
Reference in New Issue
Block a user