mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-23 04:30:09 -05:00
Adapt the visibility settings for all properties
This commit is contained in:
@@ -39,19 +39,23 @@ namespace {
|
||||
constexpr openspace::properties::Property::PropertyInfo ColorInfo = {
|
||||
"Color",
|
||||
"Color",
|
||||
"This value determines the color of the grid lines that are rendered"
|
||||
"This value determines the color of the grid lines that are rendered",
|
||||
// @VISIBILITY(1.17)
|
||||
openspace::properties::Property::Visibility::NoviceUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo LineWidthInfo = {
|
||||
"LineWidth",
|
||||
"Line Width",
|
||||
"This value specifies the line width of the spherical grid"
|
||||
"This value specifies the line width of the spherical grid",
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo SizeInfo = {
|
||||
"Size",
|
||||
"Grid Size",
|
||||
"This value species the size of each dimensions of the box"
|
||||
"This value species the size of each dimensions of the box",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
static const openspace::properties::PropertyOwner::PropertyOwnerInfo LabelsInfo = {
|
||||
|
||||
@@ -39,20 +39,26 @@ namespace {
|
||||
constexpr openspace::properties::Property::PropertyInfo ColorInfo = {
|
||||
"Color",
|
||||
"Color",
|
||||
"This value determines the color of the grid lines that are rendered"
|
||||
"This value determines the color of the grid lines that are rendered",
|
||||
// @VISIBILITY(1.25)
|
||||
openspace::properties::Property::Visibility::NoviceUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo HighlightColorInfo = {
|
||||
"HighlightColor",
|
||||
"Highlight Color",
|
||||
"This value determines the color of the highlighted lines in the grid"
|
||||
"This value determines the color of the highlighted lines in the grid",
|
||||
// @VISIBILITY(1.25)
|
||||
openspace::properties::Property::Visibility::NoviceUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo SegmentsInfo = {
|
||||
"Segments",
|
||||
"Number of Segments",
|
||||
"This value specifies the number of segments that are used to render the "
|
||||
"grid in each direction"
|
||||
"grid in each direction",
|
||||
// @VISIBILITY(2.75)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo HighlightRateInfo = {
|
||||
@@ -60,25 +66,30 @@ namespace {
|
||||
"Highlight Rate",
|
||||
"The rate that the columns and rows are highlighted, counted with respect to the "
|
||||
"center of the grid. If the number of segments in the grid is odd, the "
|
||||
"highlighting might be offset from the center."
|
||||
"highlighting might be offset from the center.",
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo LineWidthInfo = {
|
||||
"LineWidth",
|
||||
"Line Width",
|
||||
"This value specifies the line width of the grid"
|
||||
"This value specifies the line width of the grid",
|
||||
// @VISIBILITY(1.5)
|
||||
openspace::properties::Property::Visibility::NoviceUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo HighlightLineWidthInfo = {
|
||||
"HighlightLineWidth",
|
||||
"Highlight Line Width",
|
||||
"This value specifies the line width of the highlighted lines in the grid"
|
||||
"This value specifies the line width of the highlighted lines in the grid",
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo SizeInfo = {
|
||||
"Size",
|
||||
"Grid Size",
|
||||
"This value species the size of each dimensions of the grid"
|
||||
"This value species the size of each dimensions of the grid",
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
static const openspace::properties::PropertyOwner::PropertyOwnerInfo LabelsInfo = {
|
||||
|
||||
@@ -40,27 +40,34 @@ namespace {
|
||||
constexpr openspace::properties::Property::PropertyInfo ColorInfo = {
|
||||
"Color",
|
||||
"Color",
|
||||
"This value determines the color of the grid lines that are rendered"
|
||||
"This value determines the color of the grid lines that are rendered",
|
||||
// @VISIBILITY(1.25)
|
||||
openspace::properties::Property::Visibility::NoviceUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo GridSegmentsInfo = {
|
||||
"GridSegments",
|
||||
"Number of Grid Segments",
|
||||
"Specifies the number of segments for the grid, in the radial and angular "
|
||||
"direction respectively"
|
||||
"direction respectively",
|
||||
// @VISIBILITY(2.5)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo CircleSegmentsInfo = {
|
||||
"CircleSegments",
|
||||
"Number of Circle Segments",
|
||||
"This value specifies the number of segments that is used to render each circle "
|
||||
"in the grid"
|
||||
"in the grid",
|
||||
// @VISIBILITY(2.5)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo LineWidthInfo = {
|
||||
"LineWidth",
|
||||
"Line Width",
|
||||
"This value specifies the line width of the spherical grid"
|
||||
"This value specifies the line width of the spherical grid",
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo RadiiInfo = {
|
||||
@@ -68,7 +75,9 @@ namespace {
|
||||
"Inner and Outer Radius",
|
||||
"The radii values that determine the size of the circular grid. The first value "
|
||||
"is the radius of the inmost ring and the second is the radius of the outmost "
|
||||
"ring"
|
||||
"ring",
|
||||
// @VISIBILITY(2.67)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
static const openspace::properties::PropertyOwner::PropertyOwnerInfo LabelsInfo = {
|
||||
|
||||
@@ -39,20 +39,26 @@ namespace {
|
||||
constexpr openspace::properties::Property::PropertyInfo ColorInfo = {
|
||||
"Color",
|
||||
"Color",
|
||||
"This value determines the color of the grid lines that are rendered"
|
||||
"This value determines the color of the grid lines that are rendered",
|
||||
// @VISIBILITY(1.25)
|
||||
openspace::properties::Property::Visibility::NoviceUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo SegmentsInfo = {
|
||||
"Segments",
|
||||
"Number of Segments",
|
||||
"This value specifies the number of segments that are used to render the "
|
||||
"surrounding sphere"
|
||||
"surrounding sphere",
|
||||
// @VISIBILITY(2.25)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo LineWidthInfo = {
|
||||
"LineWidth",
|
||||
"Line Width",
|
||||
"This value specifies the line width of the spherical grid"
|
||||
"This value specifies the line width of the spherical grid",
|
||||
// @VISIBILITY(1.67)
|
||||
openspace::properties::Property::Visibility::NoviceUser
|
||||
};
|
||||
|
||||
static const openspace::properties::PropertyOwner::PropertyOwnerInfo LabelsInfo = {
|
||||
|
||||
@@ -40,19 +40,25 @@ namespace {
|
||||
constexpr openspace::properties::Property::PropertyInfo XColorInfo = {
|
||||
"XColor",
|
||||
"X Color",
|
||||
"This value determines the color of the x axis"
|
||||
"This value determines the color of the x axis",
|
||||
// @VISIBILITY(1.5)
|
||||
openspace::properties::Property::Visibility::NoviceUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo YColorInfo = {
|
||||
"YColor",
|
||||
"Y Color",
|
||||
"This value determines the color of the y axis"
|
||||
"This value determines the color of the y axis",
|
||||
// @VISIBILITY(1.5)
|
||||
openspace::properties::Property::Visibility::NoviceUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo ZColorInfo = {
|
||||
"ZColor",
|
||||
"Z Color",
|
||||
"This value determines the color of the z axis"
|
||||
"This value determines the color of the z axis",
|
||||
// @VISIBILITY(1.5)
|
||||
openspace::properties::Property::Visibility::NoviceUser
|
||||
};
|
||||
|
||||
struct [[codegen::Dictionary(RenderableCartesianAxes)]] Parameters {
|
||||
|
||||
@@ -47,13 +47,17 @@ namespace {
|
||||
"Texture",
|
||||
"Texture",
|
||||
"This value is the path to a texture on disk that contains a one-dimensional "
|
||||
"texture to be used for the color"
|
||||
"texture to be used for the color",
|
||||
// @VISIBILITY(2.75)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo SizeInfo = {
|
||||
"Size",
|
||||
"Size",
|
||||
"This value specifies the outer radius of the disc in meter"
|
||||
"This value specifies the outer radius of the disc in meter",
|
||||
// @VISIBILITY(2.75)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo WidthInfo = {
|
||||
@@ -61,7 +65,8 @@ namespace {
|
||||
"Width",
|
||||
"This value is used to set the width of the disc. The actual width is set "
|
||||
"based on the given size and this value should be set between 0 and 1. A value "
|
||||
"of 1 results in a full circle and 0.5 a disc with an inner radius of 0.5*size"
|
||||
"of 1 results in a full circle and 0.5 a disc with an inner radius of 0.5*size",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
struct [[codegen::Dictionary(RenderableDisc)]] Parameters {
|
||||
|
||||
@@ -92,55 +92,71 @@ namespace {
|
||||
constexpr openspace::properties::Property::PropertyInfo BlendModeInfo = {
|
||||
"BlendMode",
|
||||
"Blending Mode",
|
||||
"This determines the blending mode that is applied to the renderable"
|
||||
"This determines the blending mode that is applied to the renderable",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo ColorInfo = {
|
||||
"Color",
|
||||
"Color",
|
||||
"The label text color"
|
||||
"The label text color",
|
||||
// @VISIBILITY(1.33)
|
||||
openspace::properties::Property::Visibility::NoviceUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo FontSizeInfo = {
|
||||
"FontSize",
|
||||
"Font Size",
|
||||
"The font size (in points) for the label"
|
||||
"The font size (in points) for the label",
|
||||
// @VISIBILITY(2.5)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo SizeInfo = {
|
||||
"Size",
|
||||
"Size",
|
||||
"This value affects the size scale of the label"
|
||||
"This value affects the size scale of the label",
|
||||
// @VISIBILITY(2.75)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo TextInfo = {
|
||||
"Text",
|
||||
"Text",
|
||||
"The text that will be displayed on screen"
|
||||
"The text that will be displayed on screen",
|
||||
// @VISIBILITY(1.8)
|
||||
openspace::properties::Property::Visibility::NoviceUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo MinMaxSizeInfo = {
|
||||
"MinMaxSize",
|
||||
"Min and Max Size",
|
||||
"The minimum and maximum size (in pixels) of the label"
|
||||
"The minimum and maximum size (in pixels) of the label",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo TransformationMatrixInfo = {
|
||||
"TransformationMatrix",
|
||||
"Transformation Matrix",
|
||||
"Transformation matrix to be applied to the label"
|
||||
"Transformation matrix to be applied to the label",
|
||||
// @VISIBILITY(3.6)
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo OrientationOptionInfo = {
|
||||
"OrientationOption",
|
||||
"Orientation Option",
|
||||
"Label orientation rendering mode"
|
||||
"Label orientation rendering mode",
|
||||
// @VISIBILITY(2.8)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo EnableFadingEffectInfo = {
|
||||
"EnableFading",
|
||||
"Enable/Disable Fade-in Effect",
|
||||
"Enable/Disable the Fade-in effect"
|
||||
"Enable/Disable the Fade-in effect",
|
||||
// @VISIBILITY(?)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo FadeWidthsInfo = {
|
||||
@@ -150,20 +166,23 @@ namespace {
|
||||
"The first value is the distance before the closest distance and the second "
|
||||
"the one after the furthest distance. For example, with the unit Parsec (pc), "
|
||||
"a value of {1, 2} will make the label being fully faded out 1 Parsec before "
|
||||
"the closest distance and 2 Parsec away from the furthest distance"
|
||||
"the closest distance and 2 Parsec away from the furthest distance",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo FadeDistancesInfo = {
|
||||
"FadeDistances",
|
||||
"Fade Distances",
|
||||
"The distance range in which the labels should be fully opaque, specified in "
|
||||
"the chosen unit. The distance from the position of the label to the camera"
|
||||
"the chosen unit. The distance from the position of the label to the camera",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo FadeUnitOptionInfo = {
|
||||
"FadeUnit",
|
||||
"Fade Distance Unit",
|
||||
"Distance unit for fade-in/-out distance calculations. Defaults to \"au\""
|
||||
"Distance unit for fade-in/-out distance calculations. Defaults to \"au\"",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
struct [[codegen::Dictionary(RenderableLabel)]] Parameters {
|
||||
|
||||
@@ -88,70 +88,85 @@ namespace {
|
||||
constexpr openspace::properties::Property::PropertyInfo EnableAnimationInfo = {
|
||||
"EnableAnimation",
|
||||
"Enable Animation",
|
||||
"Enable or disable the animation for the model if it has any"
|
||||
"Enable or disable the animation for the model if it has any",
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo AmbientIntensityInfo = {
|
||||
"AmbientIntensity",
|
||||
"Ambient Intensity",
|
||||
"A multiplier for ambient lighting"
|
||||
"A multiplier for ambient lighting",
|
||||
// @VISIBILITY(2.4)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo DiffuseIntensityInfo = {
|
||||
"DiffuseIntensity",
|
||||
"Diffuse Intensity",
|
||||
"A multiplier for diffuse lighting"
|
||||
"A multiplier for diffuse lighting",
|
||||
// @VISIBILITY(2.4)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo SpecularIntensityInfo = {
|
||||
"SpecularIntensity",
|
||||
"Specular Intensity",
|
||||
"A multiplier for specular lighting"
|
||||
"A multiplier for specular lighting",
|
||||
// @VISIBILITY(2.4)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo ShadingInfo = {
|
||||
"PerformShading",
|
||||
"Perform Shading",
|
||||
"This value determines whether this model should be shaded by using the position "
|
||||
"of the Sun"
|
||||
"of the Sun",
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo EnableFaceCullingInfo = {
|
||||
"EnableFaceCulling",
|
||||
"Enable Face Culling",
|
||||
"Enable OpenGL automatic face culling optimization"
|
||||
"Enable OpenGL automatic face culling optimization",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo ModelTransformInfo = {
|
||||
"ModelTransform",
|
||||
"Model Transform",
|
||||
"This value specifies the model transform that is applied to the model before "
|
||||
"all other transformations are applied"
|
||||
"all other transformations are applied",
|
||||
openspace::properties::Property::Visibility::Developer
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo RotationVecInfo = {
|
||||
"RotationVector",
|
||||
"Rotation Vector",
|
||||
"Rotation Vector using degrees"
|
||||
"Rotation Vector using degrees",
|
||||
// @VISIBILITY(3.75)
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo LightSourcesInfo = {
|
||||
"LightSources",
|
||||
"Light Sources",
|
||||
"A list of light sources that this model should accept light from"
|
||||
"A list of light sources that this model should accept light from",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo EnableDepthTestInfo = {
|
||||
"EnableDepthTest",
|
||||
"Enable Depth Test",
|
||||
"Enable Depth Testing for the Model"
|
||||
"Enable Depth Testing for the Model",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo BlendingOptionInfo = {
|
||||
"BlendingOption",
|
||||
"Blending Options",
|
||||
"Changes the blending function used to calculate the colors of the model with "
|
||||
"respect to the opacity"
|
||||
"respect to the opacity",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
struct [[codegen::Dictionary(RenderableModel)]] Parameters {
|
||||
|
||||
@@ -45,26 +45,31 @@ namespace {
|
||||
"StartNode",
|
||||
"Start Node",
|
||||
"The identifier of the node the line starts from. Defaults to 'Root' if not "
|
||||
"specified."
|
||||
"specified.",
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo EndNodeInfo = {
|
||||
"EndNode",
|
||||
"End Node",
|
||||
"The identifier of the node the line ends at. Defaults to 'Root' if not "
|
||||
"specified."
|
||||
"specified.",
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
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",
|
||||
openspace::properties::Property::Visibility::NoviceUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo LineWidthInfo = {
|
||||
"LineWidth",
|
||||
"Line Width",
|
||||
"This value specifies the line width"
|
||||
"This value specifies the line width",
|
||||
// @VISIBILITY(1.75)
|
||||
openspace::properties::Property::Visibility::NoviceUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo StartOffsetInfo = {
|
||||
|
||||
@@ -54,7 +54,8 @@ namespace {
|
||||
"Billboard mode",
|
||||
"This value specifies whether the plane is a billboard, which means that it is "
|
||||
"always facing the camera. If this is false, it can be oriented using other "
|
||||
"transformations"
|
||||
"transformations",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo MirrorBacksideInfo = {
|
||||
@@ -62,13 +63,16 @@ namespace {
|
||||
"Mirror backside of image plane",
|
||||
"If this value is set to false, the image plane will not be mirrored when "
|
||||
"looking from the backside. This is usually desirable when the image shows "
|
||||
"data at a specific location, but not if it is displaying text for example"
|
||||
"data at a specific location, but not if it is displaying text for example",
|
||||
// @VISIBILITY(2.67)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo SizeInfo = {
|
||||
"Size",
|
||||
"Size (in meters)",
|
||||
"This value specifies the size of the plane in meters"
|
||||
"This value specifies the size of the plane in meters",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo AutoScaleInfo = {
|
||||
@@ -81,14 +85,16 @@ namespace {
|
||||
constexpr openspace::properties::Property::PropertyInfo BlendModeInfo = {
|
||||
"BlendMode",
|
||||
"Blending Mode",
|
||||
"This determines the blending mode that is applied to this plane"
|
||||
"This determines the blending mode that is applied to this plane",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
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"
|
||||
"a color grayscale images",
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
struct [[codegen::Dictionary(RenderablePlane)]] Parameters {
|
||||
|
||||
@@ -42,7 +42,9 @@ namespace {
|
||||
"Texture",
|
||||
"Texture",
|
||||
"This value specifies an image that is loaded from disk and is used as a texture "
|
||||
"that is applied to this plane. This image has to be square"
|
||||
"that is applied to this plane. This image has to be square",
|
||||
// @VISIBILITY(2.25)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
struct [[codegen::Dictionary(RenderablePlaneImageLocal)]] Parameters {
|
||||
|
||||
@@ -39,7 +39,9 @@ namespace {
|
||||
"Image URL",
|
||||
"Sets the URL of the texture that is displayed on this screen space plane. If "
|
||||
"this value is changed, the image at the new path will automatically be loaded "
|
||||
"and displayed"
|
||||
"and displayed",
|
||||
// @VISIBILITY(2.25)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
struct [[codegen::Dictionary(RenderablePlaneImageOnline)]] Parameters {
|
||||
|
||||
@@ -45,14 +45,17 @@ namespace {
|
||||
"SourceFolder",
|
||||
"Source Folder",
|
||||
"This value specifies the image directory that is loaded from disk and "
|
||||
"is used as a texture that is applied to this plane"
|
||||
"is used as a texture that is applied to this plane",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo RenderTypeInfo = {
|
||||
"RenderType",
|
||||
"Render Type",
|
||||
"This value specifies if the plane should be rendered in the Background, "
|
||||
"Opaque, Transparent, or Overlay rendering step"
|
||||
"Opaque, Transparent, or Overlay rendering step",
|
||||
// @VISIBILITY(3.67)
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
struct [[codegen::Dictionary(RenderablePlaneTimeVaryingImage)]] Parameters {
|
||||
|
||||
@@ -43,45 +43,59 @@ namespace {
|
||||
constexpr openspace::properties::Property::PropertyInfo SegmentsInfo = {
|
||||
"Segments",
|
||||
"Segments",
|
||||
"The number of segments the shape of the prism should have"
|
||||
"The number of segments the shape of the prism should have",
|
||||
// @VISIBILITY(2.8)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
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"
|
||||
"distributed around the bounding circle that makes up the shape of the prism",
|
||||
// @VISIBILITY(2.8)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo RadiusInfo = {
|
||||
"Radius",
|
||||
"Radius",
|
||||
"The radius of the prism's shape in meters"
|
||||
"The radius of the prism's shape in meters",
|
||||
// @VISIBILITY(2.8)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
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 same radius as the outer shape",
|
||||
// @VISIBILITY(2.8)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo LineWidthInfo = {
|
||||
"LineWidth",
|
||||
"Line Width",
|
||||
"This value specifies the line width"
|
||||
"This value specifies the line width",
|
||||
// @VISIBILITY(2.0)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
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",
|
||||
// @VISIBILITY(1.2)
|
||||
openspace::properties::Property::Visibility::NoviceUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo LengthInfo = {
|
||||
"Length",
|
||||
"Length",
|
||||
"The length of the prism in meters"
|
||||
"The length of the prism in meters",
|
||||
// @VISIBILITY(2.8)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
// Generate vertices around the unit circle on the XY-plane
|
||||
|
||||
@@ -57,32 +57,39 @@ namespace {
|
||||
"Texture",
|
||||
"This value specifies an image that is loaded from disk and is used as a texture "
|
||||
"that is applied to this sphere. This image is expected to be an equirectangular "
|
||||
"projection"
|
||||
"projection",
|
||||
// @VISIBILITY(2.33)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo MirrorTextureInfo = {
|
||||
"MirrorTexture",
|
||||
"Mirror Texture",
|
||||
"Mirror the texture along the x-axis"
|
||||
"Mirror the texture along the x-axis",
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo OrientationInfo = {
|
||||
"Orientation",
|
||||
"Orientation",
|
||||
"Specifies whether the texture is applied to the inside of the sphere, the "
|
||||
"outside of the sphere, or both"
|
||||
"outside of the sphere, or both",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo SegmentsInfo = {
|
||||
"Segments",
|
||||
"Number of Segments",
|
||||
"This value specifies the number of segments that the sphere is separated in"
|
||||
"This value specifies the number of segments that the sphere is separated in",
|
||||
// @VISIBILITY(2.67)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo SizeInfo = {
|
||||
"Size",
|
||||
"Size (in meters)",
|
||||
"This value specifies the radius of the sphere in meters"
|
||||
"This value specifies the radius of the sphere in meters",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo FadeOutThresholdInfo = {
|
||||
@@ -90,7 +97,8 @@ namespace {
|
||||
"Fade-Out Threshold",
|
||||
"This value determines percentage of the sphere that is visible before starting "
|
||||
"to fade it out. A negative or zero value means no fading out will happen. This "
|
||||
"is also the default"
|
||||
"is also the default",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo FadeInThresholdInfo = {
|
||||
@@ -99,13 +107,15 @@ namespace {
|
||||
"This value determines the distance from center of MilkyWay from where the "
|
||||
"astronomical object starts to fade in, given as a percentage of the size of "
|
||||
"the object. A negative or zero value means no fading in will happen. This is "
|
||||
"also the default"
|
||||
"also the default",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo DisableFadeInOutInfo = {
|
||||
"DisableFadeInOut",
|
||||
"Disable Fade-In/Fade-Out effects",
|
||||
"Enables/Disables the fade in and out effects"
|
||||
"Enables/Disables the fade in and out effects",
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
struct [[codegen::Dictionary(RenderableSphere)]] Parameters {
|
||||
|
||||
@@ -59,52 +59,62 @@ namespace {
|
||||
"Texture Source",
|
||||
"This value specifies a directory of images that are loaded from disk and is "
|
||||
"used as a texture that is applied to this sphere. The images are expected to "
|
||||
"be an equirectangular projection"
|
||||
"be an equirectangular projection",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo MirrorTextureInfo = {
|
||||
"MirrorTexture",
|
||||
"Mirror Texture",
|
||||
"Mirror the texture along the x-axis"
|
||||
"Mirror the texture along the x-axis",
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo OrientationInfo = {
|
||||
"Orientation",
|
||||
"Orientation",
|
||||
"Specifies whether the texture is applied to the inside of the sphere, the "
|
||||
"outside of the sphere, or both"
|
||||
"outside of the sphere, or both",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo SegmentsInfo = {
|
||||
"Segments",
|
||||
"Number of Segments",
|
||||
"This value specifies the number of segments that the sphere is separated in"
|
||||
"This value specifies the number of segments that the sphere is separated in",
|
||||
// @VISIBILITY(2.67)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo SizeInfo = {
|
||||
"Size",
|
||||
"Size (in meters)",
|
||||
"This value specifies the radius of the sphere in meters"
|
||||
"This value specifies the radius of the sphere in meters",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo FadeOutThresholdInfo = {
|
||||
"FadeOutThreshold",
|
||||
"Fade-Out Threshold",
|
||||
"This value determines percentage of the sphere is visible before starting "
|
||||
"fading-out it"
|
||||
"fading-out it",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo FadeInThresholdInfo = {
|
||||
"FadeInThreshold",
|
||||
"Fade-In Threshold",
|
||||
"Distance from center of MilkyWay from where the astronomical object starts to "
|
||||
"fade in"
|
||||
"fade in",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo DisableFadeInOutInfo = {
|
||||
"DisableFadeInOut",
|
||||
"Disable Fade-In/Fade-Out effects",
|
||||
"Enables/Disables the Fade-In/Out effects"
|
||||
"Enables/Disables the Fade-In/Out effects",
|
||||
// @VISIBILITY(2.33)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
struct [[codegen::Dictionary(RenderableTimeVaryingSphere)]] Parameters {
|
||||
|
||||
@@ -71,7 +71,9 @@ namespace {
|
||||
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",
|
||||
// @VISIBILITY(1.2)
|
||||
openspace::properties::Property::Visibility::NoviceUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo EnableFadeInfo = {
|
||||
@@ -79,7 +81,9 @@ namespace {
|
||||
"Enable line fading of old points",
|
||||
"Toggles whether the trail should fade older points out. If this value is "
|
||||
"'true', the 'Fade' parameter determines the speed of fading. If this value is "
|
||||
"'false', the entire trail is rendered at full opacity and color"
|
||||
"'false', the entire trail is rendered at full opacity and color",
|
||||
// @VISIBILITY(1.25)
|
||||
openspace::properties::Property::Visibility::NoviceUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo FadeInfo = {
|
||||
@@ -87,7 +91,9 @@ namespace {
|
||||
"Line fade",
|
||||
"The fading factor that is applied to the trail if the 'EnableFade' value is "
|
||||
"'true'. If it is 'false', this setting has no effect. The higher the number, "
|
||||
"the less fading is applied"
|
||||
"the less fading is applied",
|
||||
// @VISIBILITY(2.5)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo LineWidthInfo = {
|
||||
@@ -95,7 +101,9 @@ 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",
|
||||
// @VISIBILITY(2.4)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo PointSizeInfo = {
|
||||
@@ -104,7 +112,9 @@ namespace {
|
||||
"This value specifies the base size of the points along the line if the selected "
|
||||
"rendering method includes points. If the rendering mode is set the Lines, this "
|
||||
"value is ignored. If a subsampling of the values is performed, the subsampled "
|
||||
"values are half this size"
|
||||
"values are half this size",
|
||||
// @VISIBILITY(2.4)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo RenderingModeInfo = {
|
||||
@@ -112,7 +122,8 @@ namespace {
|
||||
"Rendering Mode",
|
||||
"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"
|
||||
"corresponding points (and subpoints) are shown. 'Lines+Points' shows both parts",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
struct [[codegen::Dictionary(RenderableTrail)]] Parameters {
|
||||
|
||||
@@ -93,7 +93,8 @@ namespace {
|
||||
"The objects period, i.e. the length of its orbit around the parent object given "
|
||||
"in (Earth) days. In the case of Earth, this would be a sidereal year "
|
||||
"(=365.242 days). If this values is specified as multiples of the period, it is "
|
||||
"possible to show the effects of precession"
|
||||
"possible to show the effects of precession",
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo ResolutionInfo = {
|
||||
@@ -102,14 +103,17 @@ namespace {
|
||||
"The number of samples along the orbit. This determines the resolution of the "
|
||||
"trail; the tradeoff being that a higher resolution is able to resolve more "
|
||||
"detail, but will take more resources while rendering, too. The higher, the "
|
||||
"smoother the trail, but also more memory will be used"
|
||||
"smoother the trail, but also more memory will be used",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo RenderableTypeInfo = {
|
||||
"RenderableType",
|
||||
"RenderableType",
|
||||
"This value specifies if the orbit should be rendered in the Background,"
|
||||
"Opaque, Transparent, or Overlay rendering step. Default is Transparent"
|
||||
"Opaque, Transparent, or Overlay rendering step. Default is Transparent",
|
||||
// @VISIBILITY(3.25)
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
struct [[codegen::Dictionary(RenderableTrailOrbit)]] Parameters {
|
||||
|
||||
@@ -48,14 +48,16 @@ namespace {
|
||||
"StartTime",
|
||||
"Start Time",
|
||||
"The start time for the range of this trajectory. The date must be in ISO 8601 "
|
||||
"format: YYYY MM DD HH:mm:ss.xxx"
|
||||
"format: YYYY MM DD HH:mm:ss.xxx",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo EndTimeInfo = {
|
||||
"EndTime",
|
||||
"End Time",
|
||||
"The end time for the range of this trajectory. The date must be in ISO 8601 "
|
||||
"format: YYYY MM DD HH:mm:ss.xxx"
|
||||
"format: YYYY MM DD HH:mm:ss.xxx",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo SampleIntervalInfo = {
|
||||
@@ -64,7 +66,8 @@ namespace {
|
||||
"The interval between samples of the trajectory. This value (together with "
|
||||
"'TimeStampSubsampleFactor') determines how far apart (in time) the samples are "
|
||||
"spaced along the trajectory. The time interval between 'StartTime' and "
|
||||
"'EndTime' is split into 'SampleInterval' * 'TimeStampSubsampleFactor' segments"
|
||||
"'EndTime' is split into 'SampleInterval' * 'TimeStampSubsampleFactor' segments",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo TimeSubSampleInfo = {
|
||||
@@ -73,14 +76,17 @@ namespace {
|
||||
"The factor that is used to create subsamples along the trajectory. This value "
|
||||
"(together with 'SampleInterval') determines how far apart (in time) the samples "
|
||||
"are spaced along the trajectory. The time interval between 'StartTime' and "
|
||||
"'EndTime' is split into 'SampleInterval' * 'TimeStampSubsampleFactor' segments"
|
||||
"'EndTime' is split into 'SampleInterval' * 'TimeStampSubsampleFactor' segments",
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo RenderFullPathInfo = {
|
||||
"ShowFullTrail",
|
||||
"Render Full Trail",
|
||||
"If this value is set to 'true', the entire trail will be rendered; if it is "
|
||||
"'false', only the trail until the current time in the application will be shown"
|
||||
"'false', only the trail until the current time in the application will be shown",
|
||||
// @VISIBILITY(1.25)
|
||||
openspace::properties::Property::Visibility::NoviceUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo SweepChunkSizeInfo = {
|
||||
@@ -88,7 +94,9 @@ namespace {
|
||||
"Sweep Chunk Size",
|
||||
"The number of vertices that will be calculated each frame whenever the trail "
|
||||
"needs to be recalculated. "
|
||||
"A greater value will result in more calculations per frame."
|
||||
"A greater value will result in more calculations per frame.",
|
||||
// @VISIBILITY(?)
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
struct [[codegen::Dictionary(RenderableTrailTrajectory)]] Parameters {
|
||||
|
||||
@@ -41,7 +41,8 @@ namespace {
|
||||
"UseMainDashboard",
|
||||
"Use main dashboard",
|
||||
"If this value is set to 'true', this ScreenSpaceDashboard will use the "
|
||||
"main dashboard instead of creating an independent one"
|
||||
"main dashboard instead of creating an independent one",
|
||||
openspace::properties::Property::Visibility::Developer
|
||||
};
|
||||
|
||||
struct [[codegen::Dictionary(ScreenSpaceDashboard)]] Parameters {
|
||||
|
||||
@@ -36,7 +36,9 @@ namespace {
|
||||
constexpr openspace::properties::Property::PropertyInfo SizeInfo = {
|
||||
"Size",
|
||||
"Size",
|
||||
"This value explicitly specifies the size of the screen space plane"
|
||||
"This value explicitly specifies the size of the screen space plane",
|
||||
// @VISIBILITY(3.75)
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
} // namespace
|
||||
|
||||
|
||||
@@ -42,7 +42,9 @@ namespace {
|
||||
"Sets the path of the texture that is displayed on this screen space plane. If "
|
||||
"this value is changed, the image at the new path will automatically be loaded "
|
||||
"and displayed. The size of the image will also automatically set the default "
|
||||
"size of this plane"
|
||||
"size of this plane",
|
||||
// @VISIBILITY(2.4)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
struct [[codegen::Dictionary(ScreenSpaceImageLocal)]] Parameters {
|
||||
|
||||
@@ -42,7 +42,9 @@ namespace {
|
||||
"Sets the URL of the texture that is displayed on this screen space plane. If "
|
||||
"this value is changed, the image at the new path will automatically be loaded "
|
||||
"and displayed. The size of the image will also automatically set the default "
|
||||
"size of this plane"
|
||||
"size of this plane",
|
||||
// @VISIBILITY(2.4)
|
||||
openspace::properties::Property::Visibility::User
|
||||
};
|
||||
|
||||
struct [[codegen::Dictionary(ScreenSpaceImageOnline)]] Parameters {
|
||||
|
||||
Reference in New Issue
Block a user