Cleanup of mostly asset files

- Fixes for all files
 - constexpr cleanup
 - Cosmetic changes
 - Remove punctuation from the end of messages
This commit is contained in:
Alexander Bock
2022-07-28 17:21:59 +02:00
parent 0494343a58
commit 163ac4dcef
928 changed files with 2834 additions and 2858 deletions
+1 -1
View File
@@ -409,7 +409,7 @@ void HorizonsFile::displayErrorMessage(const HorizonsResultCode code) const {
case HorizonsResultCode::ErrorNoData:
LERROR(
"There is not enough data to compute the state of the target in "
"relation to the observer for the selected time range."
"relation to the observer for the selected time range"
);
break;
case HorizonsResultCode::MultipleObserverStations: {
@@ -47,7 +47,7 @@ namespace {
"File",
"Vertex File Path",
"The file pointed to with this value contains the vertex locations of the "
"constellations."
"constellations"
};
constexpr openspace::properties::Property::PropertyInfo ConstellationInfo = {
@@ -55,14 +55,14 @@ namespace {
"Constellation File Path",
"Specifies the file that contains the mapping between constellation "
"abbreviations and full name of the constellation. If this value is empty, the "
"abbreviations are used as the full names."
"abbreviations are used as the full names"
};
constexpr openspace::properties::Property::PropertyInfo ColorInfo = {
"Color",
"Color of constellation lines",
"Specifies the color of the constellation lines. The lines are always drawn at "
"full opacity."
"full opacity"
};
constexpr openspace::properties::Property::PropertyInfo LineWidthInfo = {
@@ -74,7 +74,7 @@ namespace {
constexpr openspace::properties::Property::PropertyInfo SelectionInfo = {
"ConstellationSelection",
"Constellation Selection",
"The constellations that are selected are displayed on the celestial sphere."
"The constellations that are selected are displayed on the celestial sphere"
};
struct [[codegen::Dictionary(RenderableConstellationBounds)]] Parameters {
+51 -23
View File
@@ -64,155 +64,183 @@ namespace {
"GOES Energy",
"Select which energy bin you want to show. GOES = Geostationary Operational "
"Environmental Satellites. Emin01 is values > 10 MeV, "
"Default is Emin03 where values > 100 MeV."
"Default is Emin03 where values > 100 MeV"
};
constexpr openspace::properties::Property::PropertyInfo ColorModeInfo = {
"ColorMode",
"Color Mode",
"Color lines uniformly or using color tables based on specific values on nodes, "
"for examples flux values."
"for examples flux values"
};
constexpr openspace::properties::Property::PropertyInfo ColorTablePathInfo = {
"ColorTablePath",
"Path to Color Table",
"Color Table/Transfer Function to use for 'By Flux Value' coloring."
"Color Table/Transfer Function to use for 'By Flux Value' coloring"
};
constexpr openspace::properties::Property::PropertyInfo StreamColorInfo = {
"Color",
"Color",
"Color of particles."
"Color of particles"
};
constexpr openspace::properties::Property::PropertyInfo NodeSizeInfo = {
"NodeSize",
"Size of nodes",
"Change the size of the rendered points of the nodes"
};
constexpr openspace::properties::Property::PropertyInfo ThresholdFluxInfo = {
"ThresholdFlux",
"Threshold flux value",
"This value specifies the threshold that will be changed with the flux value."
"This value specifies the threshold that will be changed with the flux value"
};
constexpr openspace::properties::Property::PropertyInfo FilteringInfo = {
"FilterLower",
"Filtering Lower Value in AU",
"Use filtering to show nodes within a given range."
"Use filtering to show nodes within a given range"
};
constexpr openspace::properties::Property::PropertyInfo FilteringUpperInfo = {
"FilterUpper",
"Filtering Upper Value in AU",
"Use filtering to show nodes within a given range."
"Use filtering to show nodes within a given range"
};
constexpr openspace::properties::Property::PropertyInfo AmountofNodesInfo = {
"AmountOfNodes",
"Every nth node to render in",
"Show only every nth node"
};
constexpr openspace::properties::Property::PropertyInfo DefaultNodeSkipInfo = {
"NodeSkip",
"Every nth node to render default",
"Show only every nth node outside of skippingmethod"
};
constexpr openspace::properties::Property::PropertyInfo EarthNodeSkipInfo = {
"NodeSkipEarth",
"Every nth node to render close to Earth",
"Show only every nth node outside of skippingmethod"
};
constexpr openspace::properties::Property::PropertyInfo ScalingmethodInfo = {
"ScalingFlux",
"Scale the flux value with color table",
"Use scaling to color nodes with a given method."
"Use scaling to color nodes with a given method"
};
constexpr openspace::properties::Property::PropertyInfo NodeskipMethodInfo = {
"SkippingNodes",
"How to select nodes to skip",
"Methods to select nodes to skip."
"Methods to select nodes to skip"
};
constexpr openspace::properties::Property::PropertyInfo colorTableRangeInfo = {
"ColorTableRange",
"Color Table Range",
"Valid range for the color table as the exponent, with base 10, of flux values. "
"[Min, Max]"
};
constexpr openspace::properties::Property::PropertyInfo DomainZInfo = {
"ZLimit",
"Z-limits",
"Valid range along the Z-axis. [Min, Max]"
};
constexpr openspace::properties::Property::PropertyInfo FluxColorAlphaInfo = {
"FluxColorAlpha",
"Flux Color Alpha",
"The value of alpha for the flux color mode."
"The value of alpha for the flux color mode"
};
constexpr openspace::properties::Property::PropertyInfo FluxNodeskipThresholdInfo = {
"SkippingNodesByFlux",
"Skipping Nodes By Flux",
"Select nodes to skip depending on flux value."
"Select nodes to skip depending on flux value"
};
constexpr openspace::properties::Property::PropertyInfo
RadiusNodeSkipThresholdInfo = {
"SkippingNodesByRadius",
"Skipping Nodes By Radius",
"Select nodes to skip depending on Radius."
"Select nodes to skip depending on Radius"
};
constexpr openspace::properties::Property::PropertyInfo DistanceThresholdInfo = {
"DistancePlanetThreshold",
"Threshold for distance between planet",
"Changes threshold distance for highlighting nodes close to earth."
"Changes threshold distance for highlighting nodes close to earth"
};
constexpr openspace::properties::Property::PropertyInfo ProximityNodesSizeInfo = {
"ProximityNodesSize",
"Earths Proximity Nodes Size",
"Changes size of nodes only close to earth."
"Changes size of nodes only close to earth"
};
constexpr openspace::properties::Property::PropertyInfo MaxNodeDistanceSizeInfo = {
"MaxNodeDistanceSize",
"Max Node Distance Size",
"The maximum size of the nodes at a certin distance."
"The maximum size of the nodes at a certin distance"
};
constexpr openspace::properties::Property::PropertyInfo
CameraPerspectiveEnabledInfo = {
"CameraPerspectiveEnabled",
"Use Camera perspective",
"Camera perspective changes the size of the nodes dependent on the "
"distance from camera."
"distance from camera"
};
constexpr openspace::properties::Property::PropertyInfo DrawingCirclesInfo = {
"RenderingCircles",
"Render as circles",
"Using fragment shader to draw nodes as circles instead of squares."
"Using fragment shader to draw nodes as circles instead of squares"
};
constexpr openspace::properties::Property::PropertyInfo DrawingHollowInfo = {
"RenderingHollowCircles",
"Render as hollow circles",
"Using fragment shader to draw nodes as hollow circles."
"Using fragment shader to draw nodes as hollow circles"
};
constexpr openspace::properties::Property::PropertyInfo GaussiandAlphaFilterInfo = {
"RenderingGaussianAlphaFilter",
"Alpha by Gaussian",
"Using fragment shader to draw nodes with Gaussian filter for alpha value."
"Using fragment shader to draw nodes with Gaussian filter for alpha value"
};
constexpr openspace::properties::Property::PropertyInfo
PerspectiveDistanceFactorInfo = {
"PerspectiveDistanceFactor",
"Perspective Distance factor",
"This value decides how far away the camera must be to start "
"impacting the node size."
"impacting the node size"
};
constexpr openspace::properties::Property::PropertyInfo MinMaxNodeSizeInfo = {
"MinMaxNodeSize",
"Min & Max node size",
"The minimum and maximum node size."
"The minimum and maximum node size"
};
constexpr openspace::properties::Property::PropertyInfo pulseEnabledInfo = {
"PulseEnabled",
"Nodes close to Earth pulsate",
"Toggles the pulse for nodes close to Earth."
"Toggles the pulse for nodes close to Earth"
};
constexpr openspace::properties::Property::PropertyInfo gaussianPulseEnabledInfo = {
"GaussianPulseEnabled",
"Nodes close to Earth pulsate with alpha by gaussian",
"Toggles the pulse with alpha by gaussian for nodes close to Earth."
"Toggles the pulse with alpha by gaussian for nodes close to Earth"
};
struct [[codegen::Dictionary(RenderableFluxNodes)]] Parameters {
@@ -49,21 +49,21 @@ namespace {
"EffectiveTemperature",
"Effective Temperature",
"The effective temperature of the corresponding star, in Kelvin. "
"Used to compute the width and size of the disc."
"Used to compute the width and size of the disc"
};
constexpr openspace::properties::Property::PropertyInfo LuminosityInfo = {
"Luminosity",
"Luminosity",
"The luminosity of the corresponding star, in units of solar luminosities. "
"Used to compute the width and size of the disc."
"Used to compute the width and size of the disc"
};
constexpr openspace::properties::Property::PropertyInfo OptimisticInfo = {
"Optimistic",
"Optimistic" ,
"If true, the habitable zone disc is rendered with the optimistic boundaries "
"rather than the conservative ones."
"rather than the conservative ones"
};
constexpr openspace::properties::Property::PropertyInfo KopparapuTeffIntervalInfo = {
@@ -72,7 +72,7 @@ namespace {
"The effective temperature interval for which Kopparapu's formula is used for "
"the habitable zone computation. For stars with temperatures outside the range, "
"a simpler method by Tom E. Harris is used. This method only uses the star "
"luminosity and does not include computation of the optimistic boundaries."
"luminosity and does not include computation of the optimistic boundaries"
};
struct [[codegen::Dictionary(RenderableHabitableZone)]] Parameters {
@@ -178,7 +178,7 @@ namespace {
"A segment quality value for the orbital trail. A value from 1 (lowest) to "
"10 (highest) that controls the number of line segments in the rendering of the "
"orbital trail. This does not control the direct number of segments because "
"these automatically increase according to the eccentricity of the orbit."
"these automatically increase according to the eccentricity of the orbit"
};
constexpr openspace::properties::Property::PropertyInfo LineWidthInfo = {
@@ -186,13 +186,13 @@ namespace {
"Line Width",
"This value specifies the line width of the trail if the selected rendering "
"method includes lines. If the rendering mode is set to Points, this value is "
"ignored."
"ignored"
};
constexpr openspace::properties::Property::PropertyInfo LineColorInfo = {
"Color",
"Color",
"This value determines the RGB main color for the lines and points of the trail."
"This value determines the RGB main color for the lines and points of the trail"
};
constexpr openspace::properties::Property::PropertyInfo TrailFadeInfo = {
@@ -205,7 +205,7 @@ namespace {
"StartRenderIdx",
"Contiguous Starting Index of Render",
"Index of object in renderable group to start rendering (all prior objects will "
"be ignored)."
"be ignored)"
};
constexpr openspace::properties::Property::PropertyInfo RenderSizeInfo = {
+5 -5
View File
@@ -48,13 +48,13 @@ namespace {
"Texture",
"Texture",
"This value is the path to a texture on disk that contains a one-dimensional "
"texture which is used for these rings."
"texture which is used for these rings"
};
constexpr openspace::properties::Property::PropertyInfo SizeInfo = {
"Size",
"Size",
"This value specifies the radius of the rings in meter."
"This value specifies the radius of the rings in meter"
};
constexpr openspace::properties::Property::PropertyInfo OffsetInfo = {
@@ -63,7 +63,7 @@ namespace {
"This value is used to limit the width of the rings. Each of the two values is "
"a value between 0 and 1, where 0 is the center of the ring and 1 is the "
"maximum extent at the radius. For example, if the value is {0.5, 1.0}, the "
"ring is only shown between radius/2 and radius. It defaults to {0.0, 1.0}."
"ring is only shown between radius/2 and radius. It defaults to {0.0, 1.0}"
};
constexpr openspace::properties::Property::PropertyInfo NightFactorInfo = {
@@ -71,14 +71,14 @@ namespace {
"Night Factor",
"This value is a multiplicative factor that is applied to the side of the rings "
"that is facing away from the Sun. If this value is equal to '1', no darkening "
"of the night side occurs."
"of the night side occurs"
};
constexpr openspace::properties::Property::PropertyInfo ColorFilterInfo = {
"ColorFilter",
"Color Filter",
"This value affects the filtering out of part of the rings depending on the "
"color values of the texture. The higher value, the more rings are filtered out."
"color values of the texture. The higher value, the more rings are filtered out"
};
struct [[codegen::Dictionary(RenderableRings)]] Parameters {
@@ -55,7 +55,7 @@ namespace {
"If enabled, then the contiguous set of objects starting from StartRenderIdx "
"of size RenderSize will be rendered. If disabled, then the number of objects "
"defined by UpperLimit will rendered from an evenly dispersed sample of the "
"full length of the data file."
"full length of the data file"
};
constexpr openspace::properties::Property::PropertyInfo UpperLimitInfo = {
@@ -63,7 +63,7 @@ namespace {
"Upper Limit",
"Upper limit on the number of objects for this renderable, regardless of "
"how many objects are contained in the data file. Produces an evenly-distributed"
"sample from the data file."
"sample from the data file"
};
double importAngleValue(const std::string& angle) {
@@ -167,7 +167,7 @@ RenderableSmallBody::RenderableSmallBody(const ghoul::Dictionary& dictionary)
void RenderableSmallBody::readDataFile(const std::string& filename) {
if (!std::filesystem::is_regular_file(filename)) {
throw ghoul::RuntimeError(fmt::format(
"JPL SBDB file {} does not exist.", filename
"JPL SBDB file {} does not exist", filename
));
}
@@ -251,7 +251,7 @@ void RenderableSmallBody::readDataFile(const std::string& filename) {
catch (std::invalid_argument&) {
constexpr std::string_view errMsg = "Unable to convert field {} to "
"double value (invalid_argument exception). Ignoring line {}/{} "
"of {}.";
"of {}";
LINFO(fmt::format(
errMsg,
fieldCount, csvLine + 1, numberOfLines, filename
@@ -260,7 +260,7 @@ void RenderableSmallBody::readDataFile(const std::string& filename) {
catch (std::out_of_range&) {
constexpr std::string_view errMsg = "Unable to convert field {} to "
"double value (out_of_range exception). Ignoring line {}/{} of "
"{}.";
"{}";
LINFO(fmt::format(
errMsg,
fieldCount, csvLine + 1, numberOfLines, filename
@@ -274,7 +274,7 @@ void RenderableSmallBody::readDataFile(const std::string& filename) {
_data.clear();
_sbNames.clear();
LERROR(fmt::format(
"Abandoning data file {} (too many sequential line errors).",
"Abandoning data file {} (too many sequential line errors)",
filename
));
break;
+34 -27
View File
@@ -120,14 +120,14 @@ namespace {
constexpr openspace::properties::Property::PropertyInfo SpeckFileInfo = {
"SpeckFile",
"Speck File",
"The speck file that is loaded to get the data for rendering these stars."
"The speck file that is loaded to get the data for rendering these stars"
};
constexpr openspace::properties::Property::PropertyInfo ColorTextureInfo = {
"ColorMap",
"ColorBV Texture",
"The path to the texture that is used to convert from the B-V value of the star "
"to its color. The texture is used as a one dimensional lookup function."
"to its color. The texture is used as a one dimensional lookup function"
};
constexpr openspace::properties::Property::PropertyInfo MappingBvInfo = {
@@ -189,7 +189,7 @@ namespace {
"ColorOption",
"Color Option",
"This value determines which quantity is used for determining the color of the "
"stars."
"stars"
};
constexpr openspace::properties::Property::PropertyInfo OtherDataOptionInfo = {
@@ -202,13 +202,13 @@ namespace {
"OtherDataValueRange",
"Range of the other data values",
"This value is the min/max value range that is used to normalize the other data "
"values so they can be used by the specified color map."
"values so they can be used by the specified color map"
};
constexpr openspace::properties::Property::PropertyInfo FixedColorInfo = {
"FixedColorValue",
"Color used for fixed star colors",
"The color that should be used if the 'Fixed Color' value is used."
"The color that should be used if the 'Fixed Color' value is used"
};
constexpr openspace::properties::Property::PropertyInfo OtherDataColorMapInfo = {
@@ -229,13 +229,13 @@ namespace {
"Texture",
"Point Spread Function Texture",
"The path to the texture that should be used as a point spread function for the "
"stars."
"stars"
};
//constexpr openspace::properties::Property::PropertyInfo ShapeTextureInfo = {
// "ShapeTexture",
// "Shape Texture to be convolved",
// "The path to the texture that should be used as the base shape for the stars."
// "The path to the texture that should be used as the base shape for the stars"
//};
// PSF
@@ -244,30 +244,33 @@ namespace {
"Magnitude Exponent",
"Adjust star magnitude by 10^MagnitudeExponent. "
"Stars closer than this distance are given full opacity. "
"Farther away, stars dim proportionally to the logarithm of their distance."
"Farther away, stars dim proportionally to the logarithm of their distance"
};
constexpr openspace::properties::Property::PropertyInfo RenderMethodOptionInfo = {
"RenderMethod",
"Render Method",
"Render method for the stars."
"Render method for the stars"
};
openspace::properties::PropertyOwner::PropertyOwnerInfo
UserProvidedTextureOptionInfo =
const openspace::properties::PropertyOwner::PropertyOwnerInfo
UserProvidedTextureOptionInfo =
{
"UserProvidedTexture",
"User Provided Texture",
""
};
openspace::properties::PropertyOwner::PropertyOwnerInfo ParametersOwnerOptionInfo = {
const openspace::properties::PropertyOwner::PropertyOwnerInfo
ParametersOwnerOptionInfo =
{
"ParametersOwner",
"Parameters Options",
""
};
openspace::properties::PropertyOwner::PropertyOwnerInfo MoffatMethodOptionInfo = {
const openspace::properties::PropertyOwner::PropertyOwnerInfo MoffatMethodOptionInfo =
{
"MoffatMethodOption",
"Moffat Method",
""
@@ -276,34 +279,36 @@ namespace {
constexpr openspace::properties::Property::PropertyInfo PSFMethodOptionInfo = {
"PSFMethodOptionInfo",
"PSF Method Option",
"Debug option for PSF main function: Spencer or Moffat."
"Debug option for PSF main function: Spencer or Moffat"
};
constexpr openspace::properties::Property::PropertyInfo SizeCompositionOptionInfo = {
"SizeComposition",
"Size Composition Option",
"Base multiplyer for the final stars' sizes."
"Base multiplyer for the final stars' sizes"
};
constexpr openspace::properties::Property::PropertyInfo LumPercentInfo = {
"LumPercent",
"Luminosity Contribution",
"Luminosity Contribution."
"Luminosity Contribution"
};
constexpr openspace::properties::Property::PropertyInfo RadiusPercentInfo = {
"RadiusPercent",
"Radius Contribution",
"Radius Contribution."
"Radius Contribution"
};
constexpr openspace::properties::Property::PropertyInfo BrightnessPercentInfo = {
"BrightnessPercen",
"App Brightness Contribution",
"App Brightness Contribution."
"App Brightness Contribution"
};
openspace::properties::PropertyOwner::PropertyOwnerInfo SpencerPSFParamOwnerInfo = {
const openspace::properties::PropertyOwner::PropertyOwnerInfo
SpencerPSFParamOwnerInfo =
{
"SpencerPSFParamOwner",
"Spencer PSF Paramameters",
"PSF parameters for Spencer"
@@ -312,28 +317,30 @@ namespace {
constexpr openspace::properties::Property::PropertyInfo P0ParamInfo = {
"P0Param",
"P0",
"P0 parameter contribution."
"P0 parameter contribution"
};
constexpr openspace::properties::Property::PropertyInfo P1ParamInfo = {
"P1Param",
"P1",
"P1 parameter contribution."
"P1 parameter contribution"
};
constexpr openspace::properties::Property::PropertyInfo P2ParamInfo = {
"P2Param",
"P2",
"P2 parameter contribution."
"P2 parameter contribution"
};
constexpr openspace::properties::Property::PropertyInfo AlphaConstInfo = {
"AlphaConst",
"Alpha",
"Empirical Alpha Constant."
"Empirical Alpha Constant"
};
openspace::properties::PropertyOwner::PropertyOwnerInfo MoffatPSFParamOwnerInfo = {
const openspace::properties::PropertyOwner::PropertyOwnerInfo
MoffatPSFParamOwnerInfo =
{
"MoffatPSFParam",
"Moffat PSF Parameters",
"PSF parameters for Moffat"
@@ -348,7 +355,7 @@ namespace {
constexpr openspace::properties::Property::PropertyInfo BetaInfo = {
"Beta",
"Beta",
"Moffat's Beta Constant."
"Moffat's Beta Constant"
};
constexpr openspace::properties::Property::PropertyInfo FadeInDistancesInfo = {
@@ -356,13 +363,13 @@ namespace {
"Fade-In Start and End Distances",
"These values determine the initial and final distances from the center of "
"our galaxy from which the astronomical object will start and end "
"fading-in."
"fading-in"
};
constexpr openspace::properties::Property::PropertyInfo DisableFadeInInfo = {
"DisableFadeIn",
"Disable Fade-in effect",
"Enables/Disables the Fade-in effect."
"Enables/Disables the Fade-in effect"
};
struct [[codegen::Dictionary(RenderableStars)]] Parameters {
@@ -42,7 +42,7 @@ namespace {
constexpr openspace::properties::Property::PropertyInfo SpeedInfo = {
"TravelSpeed",
"Speed of travel",
"The speed of light is the default value."
"The speed of light is the default value"
};
constexpr openspace::properties::Property::PropertyInfo TargetInfo = {
@@ -54,26 +54,26 @@ namespace {
constexpr openspace::properties::Property::PropertyInfo LineColorInfo = {
"Color",
"Color",
"This value determines the RGB color for the line."
"This value determines the RGB color for the line"
};
constexpr openspace::properties::Property::PropertyInfo LineWidthInfo = {
"LineWidth",
"Line Width",
"This value specifies the line width."
"This value specifies the line width"
};
constexpr openspace::properties::Property::PropertyInfo IndicatorLengthInfo = {
"IndicatorLength",
"Indicator Length",
"This value specifies the length of the light indicator set in light seconds."
"This value specifies the length of the light indicator set in light seconds"
};
constexpr openspace::properties::Property::PropertyInfo FadeLengthInfo = {
"FadeLength",
"Fade Length",
"This value specifies the length of the faded tail of the light indicator "
"set in light seconds."
"set in light seconds"
};
struct [[codegen::Dictionary(RenderableLightTravel)]] Parameters {
+4 -4
View File
@@ -36,27 +36,27 @@ namespace {
"SourceFrame",
"Source",
"This value specifies the source frame that is used as the basis for the "
"coordinate transformation. This has to be a valid SPICE name."
"coordinate transformation. This has to be a valid SPICE name"
};
constexpr openspace::properties::Property::PropertyInfo DestinationInfo = {
"DestinationFrame",
"Destination",
"This value specifies the destination frame that is used for the coordinate "
"transformation. This has to be a valid SPICE name."
"transformation. This has to be a valid SPICE name"
};
constexpr openspace::properties::Property::PropertyInfo TimeFrameInfo = {
"TimeFrame",
"Time Frame",
"The time frame in which the spice kernels are valid."
"The time frame in which the spice kernels are valid"
};
constexpr openspace::properties::Property::PropertyInfo FixedDateInfo = {
"FixedDate",
"Fixed Date",
"A time to lock the rotation to. Setting this to an empty string will "
"unlock the time and return to rotation based on current simulation time."
"unlock the time and return to rotation based on current simulation time"
};
struct [[codegen::Dictionary(SpiceRotation)]] Parameters {
+1 -1
View File
@@ -54,7 +54,7 @@ namespace {
"ShowExceptions",
"Show Exceptions",
"If enabled, errors from SPICE will be thrown and show up in the log. If "
"disabled, the errors will be ignored silently."
"disabled, the errors will be ignored silently"
};
} // namespace
@@ -47,7 +47,7 @@ namespace {
"HorizonsTextFile",
"Horizons Text File",
"This value is the path to the file or files generated by Horizons with "
"either a Vector table or an Observer table with the correct settings (see wiki)."
"either a Vector table or an Observer table with the correct settings (see wiki)"
};
struct [[codegen::Dictionary(HorizonsTranslation)]] Parameters {
@@ -51,7 +51,7 @@ namespace {
"Eccentricity",
"This value determines the eccentricity, that is the deviation from a perfect "
"sphere, for this orbit. Currently, hyperbolic orbits using Keplerian elements "
"are not supported."
"are not supported"
};
constexpr openspace::properties::Property::PropertyInfo SemiMajorAxisInfo = {
@@ -59,7 +59,7 @@ namespace {
"Semi-major axis",
"This value determines the semi-major axis, that is the distance of the object "
"from the central body in kilometers (semi-major axis = average of periapsis and "
"apoapsis)."
"apoapsis)"
};
constexpr openspace::properties::Property::PropertyInfo InclinationInfo = {
@@ -67,7 +67,7 @@ namespace {
"Inclination",
"This value determines the degrees of inclination, or the angle of the orbital "
"plane, relative to the reference plane, on which the object orbits around the "
"central body."
"central body"
};
constexpr openspace::properties::Property::PropertyInfo AscendingNodeInfo = {
@@ -75,34 +75,34 @@ namespace {
"Right ascension of ascending Node",
"This value determines the right ascension of the ascending node in degrees, "
"that is the location of position along the orbit where the inclined plane and "
"the horizonal reference plane intersect."
"the horizonal reference plane intersect"
};
constexpr openspace::properties::Property::PropertyInfo ArgumentOfPeriapsisInfo = {
"ArgumentOfPeriapsis",
"Argument of Periapsis",
"This value determines the argument of periapsis in degrees, that is the "
"position on the orbit that is closest to the orbiting body."
"position on the orbit that is closest to the orbiting body"
};
constexpr openspace::properties::Property::PropertyInfo MeanAnomalyAtEpochInfo = {
"MeanAnomaly",
"Mean anomaly at epoch",
"This value determines the mean anomaly at the epoch in degrees, which "
"determines the initial location of the object along the orbit at epoch."
"determines the initial location of the object along the orbit at epoch"
};
constexpr openspace::properties::Property::PropertyInfo EpochInfo = {
"Epoch",
"Epoch",
"This value determines the epoch for which the initial location is defined in "
"the form of YYYY MM DD HH:mm:ss."
"the form of YYYY MM DD HH:mm:ss"
};
constexpr openspace::properties::Property::PropertyInfo PeriodInfo = {
"Period",
"Orbit period",
"Specifies the orbital period (in seconds)."
"Specifies the orbital period (in seconds)"
};
struct [[codegen::Dictionary(KeplerTranslation)]] Parameters {
@@ -42,7 +42,7 @@ namespace {
"Target",
"This is the SPICE NAIF name for the body whose translation is to be computed by "
"the SpiceTranslation. It can either be a fully qualified name (such as 'EARTH') "
"or a NAIF integer id code (such as '399')."
"or a NAIF integer id code (such as '399')"
};
constexpr openspace::properties::Property::PropertyInfo ObserverInfo = {
@@ -50,21 +50,21 @@ namespace {
"Observer",
"This is the SPICE NAIF name for the parent of the body whose translation is to "
"be computed by the SpiceTranslation. It can either be a fully qualified name "
"(such as 'SOLAR SYSTEM BARYCENTER') or a NAIF integer id code (such as '0')."
"(such as 'SOLAR SYSTEM BARYCENTER') or a NAIF integer id code (such as '0')"
};
constexpr openspace::properties::Property::PropertyInfo FrameInfo = {
"Frame",
"Reference Frame",
"This is the SPICE NAIF name for the reference frame in which the position "
"should be retrieved. The default value is GALACTIC."
"should be retrieved. The default value is GALACTIC"
};
constexpr openspace::properties::Property::PropertyInfo FixedDateInfo = {
"FixedDate",
"Fixed Date",
"A time to lock the position to. Setting this to an empty string will "
"unlock the time and return to position based on current simulation time."
"unlock the time and return to position based on current simulation time"
};
struct [[codegen::Dictionary(SpiceTranslation)]] Parameters {