diff --git a/modules/base/rendering/renderablemodel.cpp b/modules/base/rendering/renderablemodel.cpp index 16fcddda97..434e02d217 100644 --- a/modules/base/rendering/renderablemodel.cpp +++ b/modules/base/rendering/renderablemodel.cpp @@ -62,12 +62,6 @@ namespace { { "Color Adding", ColorAddingBlending } }; - constexpr openspace::properties::Property::PropertyInfo EnableAnimationInfo = { - "EnableAnimation", - "Enable Animation", - "Enable or disable the animation for the model if it has any" - }; - constexpr std::array UniformNames = { "opacity", "nLightSources", "lightDirectionsViewSpace", "lightIntensities", "modelViewTransform", "normalTransform", "projectionTransform", @@ -75,6 +69,12 @@ namespace { "specularIntensity", "opacityBlending" }; + constexpr openspace::properties::Property::PropertyInfo EnableAnimationInfo = { + "EnableAnimation", + "Enable Animation", + "Enable or disable the animation for the model if it has any" + }; + constexpr openspace::properties::Property::PropertyInfo AmbientIntensityInfo = { "AmbientIntensity", "Ambient Intensity", diff --git a/modules/base/rendering/renderablenodeline.cpp b/modules/base/rendering/renderablenodeline.cpp index 982b53a82a..4a86ec7d79 100644 --- a/modules/base/rendering/renderablenodeline.cpp +++ b/modules/base/rendering/renderablenodeline.cpp @@ -42,15 +42,15 @@ namespace { constexpr openspace::properties::Property::PropertyInfo StartNodeInfo = { "StartNode", "Start Node", - "The identifier of the node the line starts from. " - "Defaults to 'Root' if not specified. " + "The identifier of the node the line starts from. Defaults to 'Root' if not " + "specified." }; constexpr openspace::properties::Property::PropertyInfo EndNodeInfo = { "EndNode", "End Node", - "The identifier of the node the line ends at. " - "Defaults to 'Root' if not specified. " + "The identifier of the node the line ends at. Defaults to 'Root' if not " + "specified." }; constexpr openspace::properties::Property::PropertyInfo LineColorInfo = { diff --git a/modules/base/rendering/renderableplane.cpp b/modules/base/rendering/renderableplane.cpp index 120a3b4d95..9eff195a2e 100644 --- a/modules/base/rendering/renderableplane.cpp +++ b/modules/base/rendering/renderableplane.cpp @@ -79,8 +79,8 @@ namespace { constexpr openspace::properties::Property::PropertyInfo MultiplyColorInfo = { "MultiplyColor", "Multiply Color", - "If set, the plane's texture is multiplied with this color. " - "Useful for applying a color grayscale images" + "If set, the plane's texture is multiplied with this color. Useful for applying " + "a color grayscale images" }; struct [[codegen::Dictionary(RenderablePlane)]] Parameters { diff --git a/modules/base/rendering/renderableprism.cpp b/modules/base/rendering/renderableprism.cpp index 564cb69681..4ec8fa306f 100644 --- a/modules/base/rendering/renderableprism.cpp +++ b/modules/base/rendering/renderableprism.cpp @@ -49,9 +49,8 @@ namespace { constexpr openspace::properties::Property::PropertyInfo LinesInfo = { "NumLines", "Number of Lines", - "The number of lines connecting the two shapes of the prism. " - "They will be evenly distributed around the bounding circle that makes " - "up the shape of the prism" + "The number of lines connecting the two shapes of the prism. They will be evenly " + "distributed around the bounding circle that makes up the shape of the prism" }; constexpr openspace::properties::Property::PropertyInfo RadiusInfo = { @@ -63,8 +62,8 @@ namespace { constexpr openspace::properties::Property::PropertyInfo BaseRadiusInfo = { "BaseRadius", "Base Radius", - "The radius of the base of the prism's shape, in meters. By default it is " - "given the same radius as the outer shape" + "The radius of the base of the prism's shape, in meters. By default it is given " + "the same radius as the outer shape" }; constexpr openspace::properties::Property::PropertyInfo LineWidthInfo = { diff --git a/modules/base/rendering/renderabletrail.cpp b/modules/base/rendering/renderabletrail.cpp index b84ed5157e..608709fb9c 100644 --- a/modules/base/rendering/renderabletrail.cpp +++ b/modules/base/rendering/renderabletrail.cpp @@ -117,7 +117,7 @@ namespace { constexpr openspace::properties::Property::PropertyInfo RenderingModeInfo = { "Rendering", "Rendering Mode", - "Determines how the trail should be rendered to the screen.If 'Lines' is " + "Determines how the trail should be rendered to the screen. If 'Lines' is " "selected, only the line part is visible, if 'Points' is selected, only the " "corresponding points (and subpoints) are shown. 'Lines+Points' shows both parts" }; diff --git a/modules/base/timeframe/timeframeunion.cpp b/modules/base/timeframe/timeframeunion.cpp index bb2f1315be..1e7c12b301 100644 --- a/modules/base/timeframe/timeframeunion.cpp +++ b/modules/base/timeframe/timeframeunion.cpp @@ -34,9 +34,8 @@ namespace { constexpr openspace::properties::Property::PropertyInfo TimeFramesInfo = { "TimeFrames", "Time Frames", - "A vector of time frames to combine into one. " - "The time frame is active when any of the contained time frames are, " - "but not in gaps between contained time frames" + "A vector of time frames to combine into one. The time frame is active when any " + "of the contained time frames are, but not in gaps between contained time frames" }; struct [[codegen::Dictionary(TimeFrameUnion)]] Parameters { diff --git a/modules/digitaluniverse/rendering/renderablebillboardscloud.cpp b/modules/digitaluniverse/rendering/renderablebillboardscloud.cpp index 57e61eac44..8918d2f34e 100644 --- a/modules/digitaluniverse/rendering/renderablebillboardscloud.cpp +++ b/modules/digitaluniverse/rendering/renderablebillboardscloud.cpp @@ -135,15 +135,15 @@ namespace { constexpr openspace::properties::Property::PropertyInfo SizeOptionInfo = { "SizeOption", "Size Option Variable", - "This value determines which paramenter (datavar) is used for scaling " - "of the astronomical objects" + "This value determines which paramenter (datavar) is used for scaling of the " + "astronomical objects" }; constexpr openspace::properties::Property::PropertyInfo RenderOptionInfo = { "RenderOption", "Render Option", - "Option wether the billboards should face the camera or not. Used for " - "non-linear display envierments such as fisheye." + "Option wether the billboards should face the camera or not. Used for non-linear " + "display envierments such as fisheye." }; constexpr openspace::properties::Property::PropertyInfo FadeInDistancesInfo = { diff --git a/modules/exoplanets/exoplanetsmodule.cpp b/modules/exoplanets/exoplanetsmodule.cpp index 5e8adff39d..b98810431d 100644 --- a/modules/exoplanets/exoplanetsmodule.cpp +++ b/modules/exoplanets/exoplanetsmodule.cpp @@ -113,8 +113,8 @@ namespace { constexpr openspace::properties::Property::PropertyInfo ShowHabitableZoneInfo = { "ShowHabitableZone", "Show Habitable Zone", - "If true, the habitable zone disc is enabled per default when an " - "exoplanet system is created" + "If true, the habitable zone disc is enabled per default when an exoplanet " + "system is created" }; constexpr openspace::properties::Property::PropertyInfo UseOptimisticZoneInfo = { diff --git a/modules/exoplanets/rendering/renderableorbitdisc.cpp b/modules/exoplanets/rendering/renderableorbitdisc.cpp index b96a3f0aa6..e26be37267 100644 --- a/modules/exoplanets/rendering/renderableorbitdisc.cpp +++ b/modules/exoplanets/rendering/renderableorbitdisc.cpp @@ -77,8 +77,8 @@ namespace { constexpr openspace::properties::Property::PropertyInfo MultiplyColorInfo = { "MultiplyColor", "Multiply Color", - "If set, the disc's texture is multiplied with this color. " - "Useful for applying a color grayscale images" + "If set, the disc's texture is multiplied with this color. Useful for applying a " + "color grayscale images" }; struct [[codegen::Dictionary(RenderableOrbitDisc)]] Parameters { diff --git a/modules/gaia/rendering/renderablegaiastars.cpp b/modules/gaia/rendering/renderablegaiastars.cpp index 7957e28979..ccea1a00bf 100644 --- a/modules/gaia/rendering/renderablegaiastars.cpp +++ b/modules/gaia/rendering/renderablegaiastars.cpp @@ -116,9 +116,9 @@ namespace { constexpr openspace::properties::Property::PropertyInfo CutOffThresholdInfo = { "CutOffThreshold", "Cut Off Threshold", - "Set threshold for when to cut off star rendering. " - "Stars closer than this threshold are given full opacity. " - "Farther away, stars dim proportionally to the 4-logarithm of their distance" + "Set threshold for when to cut off star rendering. Stars closer than this " + "threshold are given full opacity. Farther away, stars dim proportionally to the " + "4-logarithm of their distance" }; constexpr openspace::properties::Property::PropertyInfo SharpnessInfo = { @@ -136,8 +136,8 @@ namespace { constexpr openspace::properties::Property::PropertyInfo CloseUpBoostDistInfo = { "CloseUpBoostDist", "Close-Up Boost Distance [pc]", - "Set the distance where stars starts to increase in size. Unit is Parsec" - "[Works only with billboards]" + "Set the distance where stars starts to increase in size. Unit is Parsec [Works " + "only with billboards]" }; constexpr openspace::properties::Property::PropertyInfo TmPointFilterSizeInfo = { @@ -182,8 +182,8 @@ namespace { constexpr openspace::properties::Property::PropertyInfo FirstRowInfo = { "FirstRow", "First Row to Read", - "Defines the first row that will be read from the specified FITS file" - "No need to define if data already has been processed. [Works only with " + "Defines the first row that will be read from the specified FITS file No need to " + "define if data already has been processed. [Works only with " "FileReaderOption::Fits]" }; @@ -198,9 +198,9 @@ namespace { constexpr openspace::properties::Property::PropertyInfo ColumnNamesInfo = { "ColumnNames", "Column Names", - "A list of strings with the names of all the columns that are to be " - "read from the specified FITS file. No need to define if data already " - "has been processed. [Works only with FileReaderOption::Fits]" + "A list of strings with the names of all the columns that are to be read from " + "the specified FITS file. No need to define if data already has been processed. " + "[Works only with FileReaderOption::Fits]" }; constexpr openspace::properties::Property::PropertyInfo NumRenderedStarsInfo = { @@ -212,8 +212,7 @@ namespace { constexpr openspace::properties::Property::PropertyInfo CpuRamBudgetInfo = { "CpuRamBudget", "CPU RAM Budget", - "Current remaining budget (bytes) on the CPU RAM for loading more node data " - "files" + "Current remaining budget (bytes) on the CPU RAM for loading more node data files" }; constexpr openspace::properties::Property::PropertyInfo GpuStreamBudgetInfo = { @@ -246,51 +245,50 @@ namespace { constexpr openspace::properties::Property::PropertyInfo FilterPosXInfo = { "FilterPosX", "PosX Threshold", - "If defined then only stars with Position X values between [min, max] " - "will be rendered (if min is set to 0.0 it is read as -Inf, " - "if max is set to 0.0 it is read as +Inf). Measured in kiloParsec" + "If defined then only stars with Position X values between [min, max] will be " + "rendered (if min is set to 0.0 it is read as -Inf, if max is set to 0.0 it is " + "read as +Inf). Measured in kiloParsec" }; constexpr openspace::properties::Property::PropertyInfo FilterPosYInfo = { "FilterPosY", "PosY Threshold", - "If defined then only stars with Position Y values between [min, max] " - "will be rendered (if min is set to 0.0 it is read as -Inf, " - "if max is set to 0.0 it is read as +Inf). Measured in kiloParsec" + "If defined then only stars with Position Y values between [min, max] will be " + "rendered (if min is set to 0.0 it is read as -Inf, if max is set to 0.0 it is " + "read as +Inf). Measured in kiloParsec" }; constexpr openspace::properties::Property::PropertyInfo FilterPosZInfo = { "FilterPosZ", "PosZ Threshold", - "If defined then only stars with Position Z values between [min, max] " - "will be rendered (if min is set to 0.0 it is read as -Inf, " - "if max is set to 0.0 it is read as +Inf). Measured in kiloParsec" + "If defined then only stars with Position Z values between [min, max] will be " + "rendered (if min is set to 0.0 it is read as -Inf, if max is set to 0.0 it is " + "read as +Inf). Measured in kiloParsec" }; constexpr openspace::properties::Property::PropertyInfo FilterGMagInfo = { "FilterGMag", "GMag Threshold", - "If defined then only stars with G mean magnitude values between [min, max] " - "will be rendered (if min is set to 20.0 it is read as -Inf, " - "if max is set to 20.0 it is read as +Inf). If min = max then all values " - "equal min|max will be filtered away" + "If defined then only stars with G mean magnitude values between [min, max] will " + "be rendered (if min is set to 20.0 it is read as -Inf, if max is set to 20.0 it " + "is read as +Inf). If min = max then all values equal min|max will be filtered " + "away" }; constexpr openspace::properties::Property::PropertyInfo FilterBpRpInfo = { "FilterBpRp", "Bp-Rp Threshold", - "If defined then only stars with Bp-Rp color values between [min, max] " - "will be rendered (if min is set to 0.0 it is read as -Inf, " - "if max is set to 0.0 it is read as +Inf). If min = max then all values " - "equal min|max will be filtered away" + "If defined then only stars with Bp-Rp color values between [min, max] will be " + "rendered (if min is set to 0.0 it is read as -Inf, if max is set to 0.0 it is " + "read as +Inf). If min = max then all values equal min|max will be filtered away" }; constexpr openspace::properties::Property::PropertyInfo FilterDistInfo = { "FilterDist", "Dist Threshold", - "If defined then only stars with Distances values between [min, max] " - "will be rendered (if min is set to 0.0 it is read as -Inf, " - "if max is set to 0.0 it is read as +Inf). Measured in kParsec" + "If defined then only stars with Distances values between [min, max] will be " + "rendered (if min is set to 0.0 it is read as -Inf, if max is set to 0.0 it is " + "read as +Inf). Measured in kParsec" }; constexpr openspace::properties::Property::PropertyInfo ReportGlErrorsInfo = { diff --git a/modules/globebrowsing/globebrowsingmodule.cpp b/modules/globebrowsing/globebrowsingmodule.cpp index 11be3f2ae7..f632897ef1 100644 --- a/modules/globebrowsing/globebrowsingmodule.cpp +++ b/modules/globebrowsing/globebrowsingmodule.cpp @@ -128,7 +128,6 @@ namespace { "The maximum size of the MemoryAwareTileCache, on the CPU and GPU" }; - openspace::GlobeBrowsingModule::Capabilities parseSubDatasets(char** subDatasets, int nSubdatasets) { diff --git a/modules/globebrowsing/src/globetranslation.cpp b/modules/globebrowsing/src/globetranslation.cpp index eec25236ca..ded1ec46aa 100644 --- a/modules/globebrowsing/src/globetranslation.cpp +++ b/modules/globebrowsing/src/globetranslation.cpp @@ -61,10 +61,9 @@ namespace { constexpr openspace::properties::Property::PropertyInfo AltitudeInfo = { "Altitude", "Altitude", - "The altitude in meters. " - "If the 'UseHeightmap' property is 'true', this is an offset from the actual " - "surface of the globe. If not, this is an offset from the reference ellipsoid." - "The default value is 0.0" + "The altitude in meters. If the 'UseHeightmap' property is 'true', this is an " + "offset from the actual surface of the globe. If not, this is an offset from the " + "reference ellipsoid. The default value is 0.0" }; constexpr openspace::properties::Property::PropertyInfo UseHeightmapInfo = { diff --git a/modules/globebrowsing/src/renderableglobe.cpp b/modules/globebrowsing/src/renderableglobe.cpp index 1713b94505..43b52e579d 100644 --- a/modules/globebrowsing/src/renderableglobe.cpp +++ b/modules/globebrowsing/src/renderableglobe.cpp @@ -190,15 +190,15 @@ namespace { constexpr openspace::properties::Property::PropertyInfo ZFightingPercentageInfo = { "ZFightingPercentage", "Z-Fighting Percentage", - "The percentage of the correct distance to the surface being shadowed. " - "Possible values: [0.0, 1.0]" + "The percentage of the correct distance to the surface being shadowed. Possible " + "values: [0.0, 1.0]" }; constexpr openspace::properties::Property::PropertyInfo NumberShadowSamplesInfo = { "NumberShadowSamples", "Number of Shadow Samples", - "The number of samples used during shadow mapping calculation " - "(Percentage Closer Filtering)" + "The number of samples used during shadow mapping calculation (Percentage Closer " + "Filtering)" }; constexpr openspace::properties::Property::PropertyInfo TargetLodScaleFactorInfo = { diff --git a/modules/iswa/rendering/datacygnet.cpp b/modules/iswa/rendering/datacygnet.cpp index 3f061e5c57..d645c0b665 100644 --- a/modules/iswa/rendering/datacygnet.cpp +++ b/modules/iswa/rendering/datacygnet.cpp @@ -80,7 +80,6 @@ namespace { "Transfer Functions", "" // @TODO Missing documentation }; - } // namespace namespace openspace { diff --git a/modules/iswa/rendering/iswabasegroup.cpp b/modules/iswa/rendering/iswabasegroup.cpp index 6f03de65f8..7897a4edc7 100644 --- a/modules/iswa/rendering/iswabasegroup.cpp +++ b/modules/iswa/rendering/iswabasegroup.cpp @@ -48,7 +48,6 @@ namespace { "Delete", "" // @TODO Missing documentation }; - } // namespace namespace openspace { diff --git a/modules/iswa/rendering/iswadatagroup.cpp b/modules/iswa/rendering/iswadatagroup.cpp index dd4ea00d58..3d87cf7f98 100644 --- a/modules/iswa/rendering/iswadatagroup.cpp +++ b/modules/iswa/rendering/iswadatagroup.cpp @@ -79,7 +79,6 @@ namespace { "Data Options", "" // @TODO Missing documentation }; - } // namespace namespace openspace{ diff --git a/modules/server/src/serverinterface.cpp b/modules/server/src/serverinterface.cpp index f4913ce9fc..7e6db61faa 100644 --- a/modules/server/src/serverinterface.cpp +++ b/modules/server/src/serverinterface.cpp @@ -64,20 +64,20 @@ namespace { constexpr openspace::properties::Property::PropertyInfo AllowAddressesInfo = { "AllowAddresses", "Allow Addresses", - "Ip addresses or domains that should always be allowed access to this interface" + "IP addresses or domains that should always be allowed access to this interface" }; constexpr openspace::properties::Property::PropertyInfo RequirePasswordAddressesInfo = { "RequirePasswordAddresses", "Require Password Addresses", - "Ip addresses or domains that should be allowed access if they provide a password" + "IP addresses or domains that should be allowed access if they provide a password" }; constexpr openspace::properties::Property::PropertyInfo DenyAddressesInfo = { "DenyAddresses", "Deny Addresses", - "Ip addresses or domains that should never be allowed access to this interface" + "IP addresses or domains that should never be allowed access to this interface" }; constexpr openspace::properties::Property::PropertyInfo PasswordInfo = { @@ -85,7 +85,7 @@ namespace { "Password", "Password for connecting to this interface" }; -} +} // namespace namespace openspace { diff --git a/modules/skybrowser/src/renderableskytarget.cpp b/modules/skybrowser/src/renderableskytarget.cpp index a4c891db5e..dec6890321 100644 --- a/modules/skybrowser/src/renderableskytarget.cpp +++ b/modules/skybrowser/src/renderableskytarget.cpp @@ -58,7 +58,7 @@ namespace { constexpr openspace::properties::Property::PropertyInfo RectangleThresholdInfo = { "RectangleThreshold", "Rectangle Threshold", - "When the field of view is larger than the rectangle threshold, a rectangle will" + "When the field of view is larger than the rectangle threshold, a rectangle will " "be rendered in the target" }; diff --git a/modules/space/labelscomponent.cpp b/modules/space/labelscomponent.cpp index 521fd42a9c..973c575ba3 100644 --- a/modules/space/labelscomponent.cpp +++ b/modules/space/labelscomponent.cpp @@ -85,9 +85,8 @@ namespace { constexpr openspace::properties::Property::PropertyInfo FaceCameraInfo = { "FaceCamera", "Face Camera", - "If enabled, the labels will be rotated to face the camera. " - "For non-linear display rendering (for example fisheye) this should be set to " - "false." + "If enabled, the labels will be rotated to face the camera. For non-linear " + "display rendering (for example fisheye) this should be set to false." }; struct [[codegen::Dictionary(LabelsComponent)]] Parameters { diff --git a/modules/space/rendering/renderableconstellationlines.cpp b/modules/space/rendering/renderableconstellationlines.cpp index 9ee55c0f04..2efe096ab1 100644 --- a/modules/space/rendering/renderableconstellationlines.cpp +++ b/modules/space/rendering/renderableconstellationlines.cpp @@ -68,8 +68,8 @@ namespace { constexpr openspace::properties::Property::PropertyInfo ColorsInfo = { "Colors", "Constellation Colors", - "The defined colors for the constellations to be rendered. " - "There can be several groups of constellaitons that can have distinct colors." + "The defined colors for the constellations to be rendered. There can be several " + "groups of constellaitons that can have distinct colors." }; struct [[codegen::Dictionary(RenderableConstellationLines)]] Parameters { diff --git a/modules/space/rendering/renderableconstellationsbase.cpp b/modules/space/rendering/renderableconstellationsbase.cpp index 5dee713578..f782b8f3df 100644 --- a/modules/space/rendering/renderableconstellationsbase.cpp +++ b/modules/space/rendering/renderableconstellationsbase.cpp @@ -63,8 +63,7 @@ namespace { "The constellations that are selected are displayed on the celestial sphere" }; - static const openspace::properties::PropertyOwner::PropertyOwnerInfo LabelsInfo = - { + const static openspace::properties::PropertyOwner::PropertyOwnerInfo LabelsInfo = { "Labels", "Labels", "The labels for the constellations" diff --git a/modules/space/rendering/renderablefluxnodes.cpp b/modules/space/rendering/renderablefluxnodes.cpp index 61593dafa9..e63f5c4dd4 100644 --- a/modules/space/rendering/renderablefluxnodes.cpp +++ b/modules/space/rendering/renderablefluxnodes.cpp @@ -63,8 +63,8 @@ namespace { "GoesEnergy", "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" + "Environmental Satellites. Emin01 is values > 10 MeV, Default is Emin03 where " + "values > 100 MeV" }; constexpr openspace::properties::Property::PropertyInfo ColorModeInfo = { @@ -194,8 +194,8 @@ namespace { CameraPerspectiveEnabledInfo = { "CameraPerspectiveEnabled", "Use Camera perspective", - "Camera perspective changes the size of the nodes dependent on the " - "distance from camera" + "Camera perspective changes the size of the nodes dependent on the distance from " + "camera" }; constexpr openspace::properties::Property::PropertyInfo DrawingCirclesInfo = { @@ -214,15 +214,14 @@ namespace { "RenderingGaussianAlphaFilter", "Alpha by Gaussian", "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" + "This value decides how far away the camera must be to start impacting the node " + "size" }; constexpr openspace::properties::Property::PropertyInfo MinMaxNodeSizeInfo = { diff --git a/modules/space/rendering/renderablehabitablezone.cpp b/modules/space/rendering/renderablehabitablezone.cpp index 2afcc70da1..62f4e5046a 100644 --- a/modules/space/rendering/renderablehabitablezone.cpp +++ b/modules/space/rendering/renderablehabitablezone.cpp @@ -68,7 +68,7 @@ namespace { constexpr openspace::properties::Property::PropertyInfo KopparapuTeffIntervalInfo = { "KopparapuTeffInterval", - "Kopparapu TEFF" , + "Kopparapu TEFF", "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 " diff --git a/modules/space/rendering/renderableorbitalkepler.cpp b/modules/space/rendering/renderableorbitalkepler.cpp index 167e46f3ef..6bde01ef0e 100644 --- a/modules/space/rendering/renderableorbitalkepler.cpp +++ b/modules/space/rendering/renderableorbitalkepler.cpp @@ -77,7 +77,7 @@ namespace { constexpr openspace::properties::Property::PropertyInfo TrailFadeInfo = { "TrailFade", "Trail Fade", - "This value determines how fast the trail fades and is an appearance property. " + "This value determines how fast the trail fades and is an appearance property." }; constexpr openspace::properties::Property::PropertyInfo StartRenderIdxInfo = { diff --git a/modules/space/rendering/renderablestars.cpp b/modules/space/rendering/renderablestars.cpp index b473af5707..c9cc9b316a 100644 --- a/modules/space/rendering/renderablestars.cpp +++ b/modules/space/rendering/renderablestars.cpp @@ -242,9 +242,9 @@ namespace { constexpr openspace::properties::Property::PropertyInfo MagnitudeExponentInfo = { "MagnitudeExponent", "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" + "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" }; constexpr openspace::properties::Property::PropertyInfo RenderMethodOptionInfo = { diff --git a/modules/touch/src/touchinteraction.cpp b/modules/touch/src/touchinteraction.cpp index 226e276c35..6e52698b15 100644 --- a/modules/touch/src/touchinteraction.cpp +++ b/modules/touch/src/touchinteraction.cpp @@ -243,7 +243,7 @@ namespace { "Zoom In Limit", "The minimum distance from the anchor that you are allowed to navigate to. " "Its purpose is to limit zooming in on a node. If this value is not set it " - "defaults to the surface of the current anchor. " + "defaults to the surface of the current anchor." }; // Compute coefficient of decay based on current frametime; if frametime has been diff --git a/modules/touch/src/touchmarker.cpp b/modules/touch/src/touchmarker.cpp index 48f3af0155..e6401232e2 100644 --- a/modules/touch/src/touchmarker.cpp +++ b/modules/touch/src/touchmarker.cpp @@ -62,7 +62,6 @@ namespace { constexpr openspace::properties::Property::PropertyInfo ColorInfo = { "MarkerColor", "Marker color", "" // @TODO Missing documentation }; - } // namespace namespace openspace { diff --git a/modules/touch/touchmodule.cpp b/modules/touch/touchmodule.cpp index 3ee6653058..5a2cc816aa 100644 --- a/modules/touch/touchmodule.cpp +++ b/modules/touch/touchmodule.cpp @@ -39,7 +39,7 @@ namespace { "TouchActive", "True if we want to use touch input as 3d navigation", "Use this if we want to turn on or off Touch input navigation. " - "Disabling this will reset all current touch inputs to the navigation. " + "Disabling this will reset all current touch inputs to the navigation." }; } namespace openspace { diff --git a/modules/vislab/rendering/renderabledistancelabel.cpp b/modules/vislab/rendering/renderabledistancelabel.cpp index edd60ce4cd..071039b17d 100644 --- a/modules/vislab/rendering/renderabledistancelabel.cpp +++ b/modules/vislab/rendering/renderabledistancelabel.cpp @@ -47,7 +47,7 @@ namespace { constexpr openspace::properties::Property::PropertyInfo DistanceUnitInfo = { "DistanceUnit", "Distance Unit", - "Property to define the unit in which the distance should be displayed" + "Property to define the unit in which the distance should be displayed. " "Defaults to 'km' if not specified" }; diff --git a/modules/volume/transferfunctionhandler.cpp b/modules/volume/transferfunctionhandler.cpp index 0a1f7f981d..0e39e9de22 100644 --- a/modules/volume/transferfunctionhandler.cpp +++ b/modules/volume/transferfunctionhandler.cpp @@ -58,7 +58,7 @@ namespace { "Save Transfer Function", "Save your transfer function" }; -} +} // namespace namespace openspace::volume { diff --git a/src/interaction/sessionrecording.cpp b/src/interaction/sessionrecording.cpp index c38db60768..bad86629f6 100644 --- a/src/interaction/sessionrecording.cpp +++ b/src/interaction/sessionrecording.cpp @@ -66,8 +66,8 @@ namespace { constexpr openspace::properties::Property::PropertyInfo RenderPlaybackInfo = { "RenderInfo", "Render Playback Information", - "If enabled, information about a currently played back session " - "recording is rendering to screen" + "If enabled, information about a currently played back session recording is " + "rendering to screen" }; constexpr openspace::properties::Property::PropertyInfo IgnoreRecordedScaleInfo = { diff --git a/src/navigation/orbitalnavigator.cpp b/src/navigation/orbitalnavigator.cpp index 4ebbd0bed0..5d189d5c93 100644 --- a/src/navigation/orbitalnavigator.cpp +++ b/src/navigation/orbitalnavigator.cpp @@ -50,16 +50,15 @@ namespace { "Anchor", "Anchor", "The name of the scene graph node that is the origin of the camera interaction. " - "The camera follows, orbits and dollies towards this node. " - "Any scene graph node can be the anchor node" + "The camera follows, orbits and dollies towards this node. Any scene graph node " + "can be the anchor node" }; constexpr openspace::properties::Property::PropertyInfo AimInfo = { "Aim", "Aim", - "The name of the scene graph node that is the aim of the camera. " - "The camera direction is relative to the vector from the camera position " - "to this node" + "The name of the scene graph node that is the aim of the camera. The camera " + "direction is relative to the vector from the camera position to this node" }; constexpr openspace::properties::Property::PropertyInfo RetargetAnchorInfo = { @@ -158,8 +157,8 @@ namespace { { "StereoInterpolationTime", "Stereo Interpolation Time", - "The time to interpolate to a new stereoscopic depth " - "when the anchor node is changed, in seconds" + "The time to interpolate to a new stereoscopic depth when the anchor node is " + "changed, in seconds" }; constexpr openspace::properties::Property::PropertyInfo @@ -167,8 +166,8 @@ namespace { { "RetargetAnchorInterpolationTime", "Retarget Interpolation Time", - "The time to interpolate the camera rotation " - "when the anchor or aim node is changed, in seconds" + "The time to interpolate the camera rotation when the anchor or aim node is " + "changed, in seconds" }; constexpr openspace::properties::Property::PropertyInfo FollowRotationInterpTimeInfo = @@ -201,8 +200,8 @@ namespace { { "StaticViewScaleExponent", "Static View Scale Exponent", - "Statically scale the world by 10^StaticViewScaleExponent. " - "Only used if UseAdaptiveStereoscopicDepthInfo is set to false" + "Statically scale the world by 10^StaticViewScaleExponent. Only used if " + "UseAdaptiveStereoscopicDepthInfo is set to false" }; constexpr openspace::properties::Property::PropertyInfo @@ -210,9 +209,9 @@ namespace { { "StereoscopicDepthOfFocusSurface", "Stereoscopic Depth of the Surface in Focus", - "Set the stereoscopically perceived distance (in meters) to the closest " - "point out of the surface of the anchor and the center of the aim node. " - "Only used if UseAdaptiveStereoscopicDepthInfo is set to true" + "Set the stereoscopically perceived distance (in meters) to the closest point " + "out of the surface of the anchor and the center of the aim node. Only used if " + "UseAdaptiveStereoscopicDepthInfo is set to true" }; constexpr openspace::properties::Property::PropertyInfo ApplyIdleBehaviorInfo = { @@ -234,8 +233,8 @@ namespace { { "ShouldTriggerWhenIdle", "Should Trigger When Idle", - "If true, the chosen idle behavior will trigger automatically after " - "a certain time (see 'IdleWaitTime' property)" + "If true, the chosen idle behavior will trigger automatically after a certain " + "time (see 'IdleWaitTime' property)" }; constexpr openspace::properties::Property::PropertyInfo IdleWaitTimeInfo = { diff --git a/src/rendering/dashboarditem.cpp b/src/rendering/dashboarditem.cpp index ad9f2aee07..801e045516 100644 --- a/src/rendering/dashboarditem.cpp +++ b/src/rendering/dashboarditem.cpp @@ -40,25 +40,11 @@ namespace { "If this value is set to 'true' this dashboard item is shown in the dashboard" }; - constexpr openspace::properties::Property::PropertyInfo IdentifierInfo = { - "Identifier", - "Identifier", - "" - }; - - constexpr openspace::properties::Property::PropertyInfo GuiNameInfo = { - "GuiName", - "Gui Name", - "" - }; - struct [[codegen::Dictionary(DashboardItem)]] Parameters { std::string type; - // [[codegen::verbatim(IdentifierInfo.description)]] std::string identifier; - // [[codegen::verbatim(GuiNameInfo.description)]] std::optional guiName; }; #include "dashboarditem_codegen.cpp" diff --git a/src/rendering/renderengine.cpp b/src/rendering/renderengine.cpp index dd5d486229..0ddea37906 100644 --- a/src/rendering/renderengine.cpp +++ b/src/rendering/renderengine.cpp @@ -111,7 +111,7 @@ namespace { constexpr openspace::properties::Property::PropertyInfo ShowCameraInfo = { "ShowCamera", "Shows information about the current camera state, such as friction", - "This value determines whether the information about the current camrea state is " + "This value determines whether the information about the current camera state is " "shown on the screen" }; @@ -174,31 +174,31 @@ namespace { constexpr openspace::properties::Property::PropertyInfo ScreenSpaceRotationInfo = { "ScreenSpaceRotation", "Screen Space Rotation", - "Applies a rotation to all screen space renderables. " - "Defined using pitch, yaw, roll in radians" + "Applies a rotation to all screen space renderables. Defined using pitch, yaw, " + "roll in radians" }; constexpr openspace::properties::Property::PropertyInfo MasterRotationInfo = { "MasterRotation", "Master Rotation", - "Applies a view rotation for only the master node, defined using " - "pitch, yaw, roll in radians. This can be used to compensate the master view " - "direction for tilted display systems in clustered immersive environments" + "Applies a view rotation for only the master node, defined using pitch, yaw, " + "roll in radians.This can be used to compensate the master view direction for " + "tilted display systems in clustered immersive environments" }; constexpr openspace::properties::Property::PropertyInfo DisableHDRPipelineInfo = { "DisableHDRPipeline", "Disable HDR Rendering", - "If this value is enabled, the rendering will disable the HDR color handling " - "and the LDR color pipeline will be used. Be aware of possible over exposure " - "in the final colors" + "If this value is enabled, the rendering will disable the HDR color handling and " + "the LDR color pipeline will be used. Be aware of possible over exposure in the " + "final colors" }; constexpr openspace::properties::Property::PropertyInfo HDRExposureInfo = { "HDRExposure", "HDR Exposure", - "This value determines the amount of light per unit area reaching the " - "equivalent of an electronic image sensor" + "This value determines the amount of light per unit area reaching the equivalent " + "of an electronic image sensor" }; constexpr openspace::properties::Property::PropertyInfo GammaInfo = { diff --git a/src/rendering/screenspacerenderable.cpp b/src/rendering/screenspacerenderable.cpp index 323242cc02..d6607c9857 100644 --- a/src/rendering/screenspacerenderable.cpp +++ b/src/rendering/screenspacerenderable.cpp @@ -105,8 +105,8 @@ namespace { constexpr openspace::properties::Property::PropertyInfo MultiplyColorInfo = { "MultiplyColor", "Multiply Color", - "If set, the plane's texture is multiplied with this color. " - "Useful for applying a color grayscale images" + "If set, the plane's texture is multiplied with this color. Useful for applying " + "a color grayscale images" }; constexpr openspace::properties::Property::PropertyInfo BackgroundColorInfo = { diff --git a/src/scene/scenegraphnode.cpp b/src/scene/scenegraphnode.cpp index e30fc64ada..08c01a5fb8 100644 --- a/src/scene/scenegraphnode.cpp +++ b/src/scene/scenegraphnode.cpp @@ -81,8 +81,8 @@ namespace { constexpr openspace::properties::Property::PropertyInfo VisibilityDistanceInfo = { "VisibilityDistance", "VisibilityDistance", - "The distace in world coordinates between node and camera " - "at which the screenspace object will become visible", + "The distace in world coordinates between node and camera at which the " + "screenspace object will become visible", openspace::properties::Property::Visibility::Hidden }; @@ -101,10 +101,9 @@ namespace { "InteractionSphere", "Interaction Sphere", "The minimum radius that the camera is allowed to get close to this scene graph " - "node. This value is " - "only used as an override to the bounding sphere calculated by the Renderable, " - "if present. If this value is -1, the Renderable's computed interaction sphere " - "is used", + "node. This value is only used as an override to the bounding sphere calculated " + "by the Renderable, if present. If this value is -1, the Renderable's computed " + "interaction sphere is used", openspace::properties::Property::Visibility::Developer }; @@ -125,32 +124,31 @@ namespace { constexpr openspace::properties::Property::PropertyInfo GuiPathInfo = { "GuiPath", "Gui Path", - "This is the path for the scene graph node in the gui " - "example: /Solar System/Planets/Earth", + "This is the path for the scene graph node in the gui example: " + "/Solar System/Planets/Earth", openspace::properties::Property::Visibility::Hidden }; constexpr openspace::properties::Property::PropertyInfo GuiNameInfo = { "GuiName", "Gui Name", - "This is the name for the scene graph node in the gui " - "example: Earth", + "This is the name for the scene graph node in the gui. Example: Earth", openspace::properties::Property::Visibility::Hidden }; constexpr openspace::properties::Property::PropertyInfo GuiDescriptionInfo = { "GuiDescription", "Gui Description", - "This is the description for the scene graph node to be shown in the gui " - "example: Earth is a special place", + "This is the description for the scene graph node to be shown in the gui. " + "Example: Earth is a special place", openspace::properties::Property::Visibility::Hidden }; constexpr openspace::properties::Property::PropertyInfo GuiHiddenInfo = { "GuiHidden", "Gui Hidden", - "This represents if the scene graph node should be shown in the gui " - "example: false", + "This represents if the scene graph node should be shown in the gui. " + "Example: false", openspace::properties::Property::Visibility::Hidden };