Change capitalization of property names

This commit is contained in:
Alexander Bock
2017-07-22 18:22:44 -04:00
parent 04bac9293b
commit 036b271d0d
72 changed files with 363 additions and 365 deletions
+4 -4
View File
@@ -95,10 +95,10 @@ documentation::Documentation RenderableModel::Documentation() {
RenderableModel::RenderableModel(const ghoul::Dictionary& dictionary)
: Renderable(dictionary)
, _geometry(nullptr)
, _colorTexturePath({ "colorTexture", "Color Texture", "" }) // @TODO Missing documentation
, _performFade({ "performFading", "Perform Fading", "" }, false) // @TODO Missing documentation
, _performShading({ "performShading", "Perform Shading", "" }, true) // @TODO Missing documentation
, _fading({ "fading", "Fade", "" }, 0) // @TODO Missing documentation
, _colorTexturePath({ "ColorTexture", "Color Texture", "" }) // @TODO Missing documentation
, _performFade({ "PerformFading", "Perform Fading", "" }, false) // @TODO Missing documentation
, _performShading({ "PerformShading", "Perform Shading", "" }, true) // @TODO Missing documentation
, _fading({ "Fading", "Fade", "" }, 0) // @TODO Missing documentation
, _programObject(nullptr)
, _texture(nullptr)
, _modelTransform(1.0)
+3 -3
View File
@@ -87,9 +87,9 @@ documentation::Documentation RenderablePlane::Documentation() {
RenderablePlane::RenderablePlane(const ghoul::Dictionary& dictionary)
: Renderable(dictionary)
, _texturePath({ "texture", "Texture", "" }) // @TODO Missing documentation
, _billboard({ "billboard", "Billboard", "" }, false) // @TODO Missing documentation
, _size({ "size", "Size", "" }, 10, 0, std::pow(10, 25)) // @TODO Missing documentation
, _texturePath({ "Texture", "Texture", "" }) // @TODO Missing documentation
, _billboard({ "Billboard", "Billboard", "" }, false) // @TODO Missing documentation
, _size({ "Size", "Size", "" }, 10, 0, std::pow(10, 25)) // @TODO Missing documentation
, _shader(nullptr)
, _texture(nullptr)
, _blendMode(BlendMode::Normal)
+5 -5
View File
@@ -92,11 +92,11 @@ documentation::Documentation RenderableSphere::Documentation() {
RenderableSphere::RenderableSphere(const ghoul::Dictionary& dictionary)
: Renderable(dictionary)
, _texturePath({ "texture", "Texture", "" }) // @TODO Missing documentation
, _orientation({ "orientation", "Orientation", "" }) // @TODO Missing documentation
, _size({ "size", "Size", "" }, 1.f, 0.f, std::pow(10.f, 45)) // @TODO Missing documentation
, _segments({ "segments", "Segments", "" }, 8, 4, 100) // @TODO Missing documentation
, _transparency({ "transparency", "Transparency", "" }, 1.f, 0.f, 1.f) // @TODO Missing documentation
, _texturePath({ "Texture", "Texture", "" }) // @TODO Missing documentation
, _orientation({ "Orientation", "Orientation", "" }) // @TODO Missing documentation
, _size({ "Size", "Size", "" }, 1.f, 0.f, std::pow(10.f, 45)) // @TODO Missing documentation
, _segments({ "Segments", "Segments", "" }, 8, 4, 100) // @TODO Missing documentation
, _transparency({ "Transparency", "Transparency", "" }, 1.f, 0.f, 1.f) // @TODO Missing documentation
, _shader(nullptr)
, _texture(nullptr)
, _sphere(nullptr)
+6 -6
View File
@@ -133,13 +133,13 @@ documentation::Documentation RenderableTrail::Documentation() {
RenderableTrail::RenderableTrail(const ghoul::Dictionary& dictionary)
: Renderable(dictionary)
, _lineColor({ "lineColor", "Color", "" }, glm::vec3(1.f), glm::vec3(0.f), glm::vec3(1.f)) // @TODO Missing documentation
, _useLineFade({ "useLineFade", "Use Line Fade", "" }, true) // @TODO Missing documentation
, _lineFade({ "lineFade", "Line Fade", "" }, 1.f, 0.f, 20.f) // @TODO Missing documentation
, _lineWidth({ "lineWidth", "Line Width", "" }, 2.f, 1.f, 20.f) // @TODO Missing documentation
, _pointSize({ "pointSize", "Point Size", "" }, 1, 1, 64) // @TODO Missing documentation
, _lineColor({ "LineColor", "Color", "" }, glm::vec3(1.f), glm::vec3(0.f), glm::vec3(1.f)) // @TODO Missing documentation
, _useLineFade({ "UseLineFade", "Use Line Fade", "" }, true) // @TODO Missing documentation
, _lineFade({ "LineFade", "Line Fade", "" }, 1.f, 0.f, 20.f) // @TODO Missing documentation
, _lineWidth({ "LineWidth", "Line Width", "" }, 2.f, 1.f, 20.f) // @TODO Missing documentation
, _pointSize({ "PointSize", "Point Size", "" }, 1, 1, 64) // @TODO Missing documentation
, _renderingModes(
{ "renderingMode", "Rendering Mode", "" }, // @TODO Missing documentation
{ "RenderingMode", "Rendering Mode", "" }, // @TODO Missing documentation
properties::OptionProperty::DisplayType::Dropdown
)
{
@@ -134,8 +134,8 @@ documentation::Documentation RenderableTrailOrbit::Documentation() {
RenderableTrailOrbit::RenderableTrailOrbit(const ghoul::Dictionary& dictionary)
: RenderableTrail(dictionary)
, _period({ "period", "Period in days", "" }, 0.0, 0.0, 1e9) // @TODO Missing documentation
, _resolution({ "resolution", "Number of Samples along Orbit", "" }, 10000, 1, 1000000) // @TODO Missing documentation
, _period({ "Period", "Period in days", "" }, 0.0, 0.0, 1e9) // @TODO Missing documentation
, _resolution({ "Resolution", "Number of Samples along Orbit", "" }, 10000, 1, 1000000) // @TODO Missing documentation
, _needsFullSweep(true)
, _indexBufferDirty(true)
, _previousTime(0)
@@ -125,14 +125,14 @@ documentation::Documentation RenderableTrailTrajectory::Documentation() {
RenderableTrailTrajectory::RenderableTrailTrajectory(const ghoul::Dictionary& dictionary)
: RenderableTrail(dictionary)
, _startTime({ "startTime", "Start Time", "" }) // @TODO Missing documentation
, _endTime({ "endTime", "End Time", "" }) // @TODO Missing documentation
, _sampleInterval({ "sampleInterval", "Sample Interval", "" }, 2.0, 2.0, 1e6) // @TODO Missing documentation
, _startTime({ "StartTime", "Start Time", "" }) // @TODO Missing documentation
, _endTime({ "EndTime", "End Time", "" }) // @TODO Missing documentation
, _sampleInterval({ "SampleInterval", "Sample Interval", "" }, 2.0, 2.0, 1e6) // @TODO Missing documentation
, _timeStampSubsamplingFactor(
{ "subSample", "Time Stamp Subsampling Factor", "" }, // @TODO Missing documentation
{ "SubSample", "Time Stamp Subsampling Factor", "" }, // @TODO Missing documentation
1, 1, 1000000000
)
, _renderFullTrail({ "renderFullTrail", "Render Full Trail", "" }, false) // @TODO Missing documentation
, _renderFullTrail({ "RenderFullTrail", "Render Full Trail", "" }, false) // @TODO Missing documentation
, _needsFullSweep(true)
, _subsamplingIsDirty(true)
{
@@ -48,7 +48,7 @@ documentation::Documentation ScreenSpaceFramebuffer::Documentation() {
ScreenSpaceFramebuffer::ScreenSpaceFramebuffer(const ghoul::Dictionary& dictionary)
: ScreenSpaceRenderable(dictionary)
, _size({ "size", "Size", "" }, glm::vec4(0), glm::vec4(0), glm::vec4(2000)) // @TODO Missing documentation
, _size({ "Size", "Size", "" }, glm::vec4(0), glm::vec4(0), glm::vec4(2000)) // @TODO Missing documentation
, _framebuffer(nullptr)
{
documentation::testSpecificationAndThrow(
+1 -1
View File
@@ -70,7 +70,7 @@ ScreenSpaceImage::ScreenSpaceImage(const ghoul::Dictionary& dictionary)
: ScreenSpaceRenderable(dictionary)
, _downloadImage(false)
, _textureIsDirty(false)
, _texturePath({ "texturePath", "Texture path", "" }) // @TODO Missing documentation
, _texturePath({ "TexturePath", "Texture path", "" }) // @TODO Missing documentation
{
documentation::testSpecificationAndThrow(
Documentation(),
+1 -1
View File
@@ -61,7 +61,7 @@ documentation::Documentation StaticRotation::Documentation() {
}
StaticRotation::StaticRotation()
: _rotationMatrix({ "rotation", "Rotation", "" }, glm::dmat3(1.0)) // @TODO Missing documentation
: _rotationMatrix({ "Rotation", "Rotation", "" }, glm::dmat3(1.0)) // @TODO Missing documentation
{}
StaticRotation::StaticRotation(const ghoul::Dictionary& dictionary)
+1 -1
View File
@@ -49,7 +49,7 @@ documentation::Documentation StaticScale::Documentation() {
}
StaticScale::StaticScale()
: _scaleValue({ "scale", "Scale", "" }, 1.0, 1.0, 1000.0) // @TODO Missing documentation
: _scaleValue({ "Scale", "Scale", "" }, 1.0, 1.0, 1000.0) // @TODO Missing documentation
{
addProperty(_scaleValue);
}
@@ -60,7 +60,7 @@ documentation::Documentation StaticTranslation::Documentation() {
StaticTranslation::StaticTranslation()
: _position(
{ "position", "Position", "" }, // @TODO Missing documentation
{ "Position", "Position", "" }, // @TODO Missing documentation
glm::dvec3(0.0),
glm::dvec3(-std::numeric_limits<double>::max()),
glm::dvec3(std::numeric_limits<double>::max())
@@ -47,9 +47,9 @@ namespace openspace {
RenderableDebugPlane::RenderableDebugPlane(const ghoul::Dictionary& dictionary)
: Renderable(dictionary)
, _texture({ "texture", "Texture", "" }, -1, -1, 255) // @TODO Missing documentation
, _billboard({ "billboard", "Billboard", "" }, false) // @TODO Missing documentation
, _size({ "size", "Size", "" }, 10.f, 0.f, std::pow(10.f, 25.f)) // @TODO Missing documentation
, _texture({ "Texture", "Texture", "" }, -1, -1, 255) // @TODO Missing documentation
, _billboard({ "Billboard", "Billboard", "" }, false) // @TODO Missing documentation
, _size({ "Size", "Size", "" }, 10.f, 0.f, std::pow(10.f, 25.f)) // @TODO Missing documentation
, _origin(Origin::Center)
, _shader(nullptr)
, _quad(0)
@@ -76,16 +76,16 @@ namespace openspace {
RenderableFieldlines::RenderableFieldlines(const ghoul::Dictionary& dictionary)
: Renderable(dictionary)
, _stepSize({ "stepSize", "Fieldline Step Size", "" }, defaultFieldlineStepSize, 0.f, 10.f) // @TODO Missing documentation
, _classification({ "classification", "Fieldline Classification", "" }, true) // @TODO Missing documentation
, _stepSize({ "StepSize", "Fieldline Step Size", "" }, defaultFieldlineStepSize, 0.f, 10.f) // @TODO Missing documentation
, _classification({ "Classification", "Fieldline Classification", "" }, true) // @TODO Missing documentation
, _fieldlineColor(
{ "fieldlineColor", "Fieldline Color", "" }, // @TODO Missing documentation
{ "FieldlineColor", "Fieldline Color", "" }, // @TODO Missing documentation
defaultFieldlineColor,
glm::vec4(0.f),
glm::vec4(1.f)
)
, _seedPointSource({ "source", "SeedPoint Source", "" }) // @TODO Missing documentation
, _seedPointSourceFile({ "sourceFile", "SeedPoint File", "" }) // @TODO Missing documentation
, _seedPointSource({ "Source", "SeedPoint Source", "" }) // @TODO Missing documentation
, _seedPointSourceFile({ "SourceFile", "SeedPoint File", "" }) // @TODO Missing documentation
, _program(nullptr)
, _seedPointsAreDirty(true)
, _fieldLinesAreDirty(true)
@@ -57,11 +57,11 @@ namespace openspace {
RenderableGalaxy::RenderableGalaxy(const ghoul::Dictionary& dictionary)
: Renderable(dictionary)
, _stepSize({ "stepSize", "Step Size", "" }, 0.012, 0.0005, 0.05) // @TODO Missing documentation
, _pointStepSize({ "pointStepSize", "Point Step Size", "" }, 0.01, 0.01, 0.1) // @TODO Missing documentation
, _translation({ "translation", "Translation", "" }, glm::vec3(0.0, 0.0, 0.0), glm::vec3(0.0), glm::vec3(10.0)) // @TODO Missing documentation
, _rotation({ "rotation", "Euler rotation", "" }, glm::vec3(0.0, 0.0, 0.0), glm::vec3(0), glm::vec3(6.28)) // @TODO Missing documentation
, _enabledPointsRatio({ "nEnabledPointsRatio", "Enabled points", "" }, 0.2, 0, 1) // @TODO Missing documentation
, _stepSize({ "StepSize", "Step Size", "" }, 0.012, 0.0005, 0.05) // @TODO Missing documentation
, _pointStepSize({ "PointStepSize", "Point Step Size", "" }, 0.01, 0.01, 0.1) // @TODO Missing documentation
, _translation({ "Translation", "Translation", "" }, glm::vec3(0.0, 0.0, 0.0), glm::vec3(0.0), glm::vec3(10.0)) // @TODO Missing documentation
, _rotation({ "Rotation", "Euler rotation", "" }, glm::vec3(0.0, 0.0, 0.0), glm::vec3(0), glm::vec3(6.28)) // @TODO Missing documentation
, _enabledPointsRatio({ "NEnabledPointsRatio", "Enabled points", "" }, 0.2, 0, 1) // @TODO Missing documentation
{
float stepSize;
glm::vec3 scaling, translation, rotation;
+6 -6
View File
@@ -45,26 +45,26 @@ MemoryAwareTileCache::MemoryAwareTileCache()
: PropertyOwner("TileCache")
, _numTextureBytesAllocatedOnCPU(0)
, _cpuAllocatedTileData(
{ "cpuAllocatedTileData", "CPU allocated tile data (MB)", "" }, // @TODO Missing documentation
{ "CpuAllocatedTileData", "CPU allocated tile data (MB)", "" }, // @TODO Missing documentation
1024, // Default
128, // Minimum
2048, // Maximum
1) // Step: One MB
, _gpuAllocatedTileData(
{ "gpuAllocatedTileData", "GPU allocated tile data (MB)", ""}, // @TODO Missing documentation
{ "GpuAllocatedTileData", "GPU allocated tile data (MB)", ""}, // @TODO Missing documentation
1024, // Default
128, // Minimum
2048, // Maximum
1) // Step: One MB
, _tileCacheSize(
{ "tileCacheSize", "Tile cache size", ""}, // @TODO Missing documentation
{ "TileCacheSize", "Tile cache size", ""}, // @TODO Missing documentation
1024, // Default
128, // Minimum
2048, // Maximum
1) // Step: One MB
, _applyTileCacheSize({ "applyTileCacheSize", "Apply tile cache size", "" }) // @TODO Missing documentation
, _clearTileCache({ "clearTileCache", "Clear tile cache", "" }) // @TODO Missing documentation
, _usePbo({ "usePbo", "Use PBO", "" }, false) // @TODO Missing documentation
, _applyTileCacheSize({ "ApplyTileCacheSize", "Apply tile cache size", "" }) // @TODO Missing documentation
, _clearTileCache({ "ClearTileCache", "Clear tile cache", "" }) // @TODO Missing documentation
, _usePbo({ "UsePbo", "Use PBO", "" }, false) // @TODO Missing documentation
{
createDefaultTextureContainers();
+2 -2
View File
@@ -38,11 +38,11 @@ namespace openspace::globebrowsing {
PointGlobe::PointGlobe(const RenderableGlobe& owner)
: _owner(owner)
, _intensityClamp(
{ "intensityClamp", "Intensity clamp", ""}, // @TODO Missing documentation
{ "IntensityClamp", "Intensity clamp", ""}, // @TODO Missing documentation
1, 0, 1
)
, _lightIntensity(
{ "lightIntensity", "Light intensity", ""}, // @TODO Missing documentation
{ "LightIntensity", "Light intensity", ""}, // @TODO Missing documentation
1, 0, 50
)
{
@@ -42,29 +42,29 @@ namespace openspace::globebrowsing {
RenderableGlobe::RenderableGlobe(const ghoul::Dictionary& dictionary)
: _debugProperties({
BoolProperty({ "saveOrThrowCamera", "save or throw camera", "" }, false), // @TODO Missing documentation
BoolProperty({ "showChunkEdges", "show chunk edges", "" }, false), // @TODO Missing documentation
BoolProperty({ "showChunkBounds", "show chunk bounds", "" }, false), // @TODO Missing documentation
BoolProperty({ "showChunkAABB", "show chunk AABB", "" }, false), // @TODO Missing documentation
BoolProperty({ "showHeightResolution", "show height resolution", "" }, false), // @TODO Missing documentation
BoolProperty({ "showHeightIntensities", "show height intensities", "" }, false), // @TODO Missing documentation
BoolProperty({ "performFrustumCulling", "perform frustum culling", "" }, true), // @TODO Missing documentation
BoolProperty({ "performHorizonCulling", "perform horizon culling", "" }, true), // @TODO Missing documentation
BoolProperty({ "levelByProjectedAreaElseDistance", "level by projected area (else distance)", "" }, true), // @TODO Missing documentation
BoolProperty({ "resetTileProviders", "reset tile providers", "" }, false), // @TODO Missing documentation
BoolProperty({ "toggleEnabledEveryFrame", "toggle enabled every frame", "" }, false), // @TODO Missing documentation
BoolProperty({ "collectStats", "collect stats", "" }, false), // @TODO Missing documentation
BoolProperty({ "limitLevelByAvailableData", "Limit level by available data", "" }, true), // @TODO Missing documentation
IntProperty({ "modelSpaceRenderingCutoffLevel", "Model Space Rendering Cutoff Level", "" }, 10, 1, 22) // @TODO Missing documentation
BoolProperty({ "SaveOrThrowCamera", "save or throw camera", "" }, false), // @TODO Missing documentation
BoolProperty({ "ShowChunkEdges", "show chunk edges", "" }, false), // @TODO Missing documentation
BoolProperty({ "ShowChunkBounds", "show chunk bounds", "" }, false), // @TODO Missing documentation
BoolProperty({ "ShowChunkAABB", "show chunk AABB", "" }, false), // @TODO Missing documentation
BoolProperty({ "ShowHeightResolution", "show height resolution", "" }, false), // @TODO Missing documentation
BoolProperty({ "ShowHeightIntensities", "show height intensities", "" }, false), // @TODO Missing documentation
BoolProperty({ "PerformFrustumCulling", "perform frustum culling", "" }, true), // @TODO Missing documentation
BoolProperty({ "PerformHorizonCulling", "perform horizon culling", "" }, true), // @TODO Missing documentation
BoolProperty({ "LevelByProjectedAreaElseDistance", "level by projected area (else distance)", "" }, true), // @TODO Missing documentation
BoolProperty({ "ResetTileProviders", "reset tile providers", "" }, false), // @TODO Missing documentation
BoolProperty({ "ToggleEnabledEveryFrame", "toggle enabled every frame", "" }, false), // @TODO Missing documentation
BoolProperty({ "CollectStats", "collect stats", "" }, false), // @TODO Missing documentation
BoolProperty({ "LimitLevelByAvailableData", "Limit level by available data", "" }, true), // @TODO Missing documentation
IntProperty({ "ModelSpaceRenderingCutoffLevel", "Model Space Rendering Cutoff Level", "" }, 10, 1, 22) // @TODO Missing documentation
})
, _generalProperties({
BoolProperty({ "enabled", "Enabled", "" }, true), // @TODO Missing documentation
BoolProperty({ "performShading", "perform shading", "" }, true), // @TODO Missing documentation
BoolProperty({ "atmosphere", "atmosphere", "" }, false), // @TODO Missing documentation
BoolProperty({ "useAccurateNormals", "useAccurateNormals", "" }, false), // @TODO Missing documentation
FloatProperty({ "lodScaleFactor", "lodScaleFactor", "" }, 10.0f, 1.0f, 50.0f), // @TODO Missing documentation
FloatProperty({ "cameraMinHeight", "cameraMinHeight", "" }, 100.0f, 0.0f, 1000.0f), // @TODO Missing documentation
FloatProperty({ "orenNayarRoughness", "orenNayarRoughness", "" }, 0.0f, 0.0f, 1.0f) // @TODO Missing documentation
BoolProperty({ "Enabled", "Enabled", "" }, true), // @TODO Missing documentation
BoolProperty({ "PerformShading", "perform shading", "" }, true), // @TODO Missing documentation
BoolProperty({ "Atmosphere", "atmosphere", "" }, false), // @TODO Missing documentation
BoolProperty({ "UseAccurateNormals", "useAccurateNormals", "" }, false), // @TODO Missing documentation
FloatProperty({ "LodScaleFactor", "lodScaleFactor", "" }, 10.0f, 1.0f, 50.0f), // @TODO Missing documentation
FloatProperty({ "CameraMinHeight", "cameraMinHeight", "" }, 100.0f, 0.0f, 1000.0f), // @TODO Missing documentation
FloatProperty({ "OrenNayarRoughness", "orenNayarRoughness", "" }, 0.0f, 0.0f, 1.0f) // @TODO Missing documentation
})
, _debugPropertyOwner("Debug")
{
@@ -42,19 +42,19 @@ namespace {
Layer::Layer(layergroupid::GroupID id, const ghoul::Dictionary& layerDict)
: properties::PropertyOwner(layerDict.value<std::string>(keyName))
, _typeOption(
{ "type", "Type", "" }, // @TODO Missing documentation
{ "Type", "Type", "" }, // @TODO Missing documentation
properties::OptionProperty::DisplayType::Dropdown
)
, _blendModeOption(
{ "blendMode", "Blend Mode", "" }, // @TODO Missing documentation
{ "BlendMode", "Blend Mode", "" }, // @TODO Missing documentation
properties::OptionProperty::DisplayType::Dropdown
)
, _enabled({ "enabled", "Enabled", "" }, false) // @TODO Missing documentation
, _reset({ "reset", "Reset", "" }) // @TODO Missing documentation
, _enabled({ "Enabled", "Enabled", "" }, false) // @TODO Missing documentation
, _reset({ "Reset", "Reset", "" }) // @TODO Missing documentation
, _tileProvider(nullptr)
, _otherTypesProperties{
properties::Vec3Property (
{ "color", "Color", "" }, // @TODO Missing documentation
{ "Color", "Color", "" }, // @TODO Missing documentation
glm::vec4(1.f, 1.f, 1.f, 1.f),
glm::vec4(0.f),
glm::vec4(1.f)
@@ -35,19 +35,19 @@ namespace openspace::globebrowsing {
LayerAdjustment::LayerAdjustment()
: properties::PropertyOwner("adjustment")
, chromaKeyColor(
{ "chromaKeyColor", "Chroma key color", "" }, // @TODO Missing documentation
{ "ChromaKeyColor", "Chroma key color", "" }, // @TODO Missing documentation
glm::vec3(0.f, 0.f, 0.f),
glm::vec3(0.f),
glm::vec3(1.f)
)
, chromaKeyTolerance(
{ "chromaKeyTolerance", "Chroma key tolerance", "" }, // @TODO Missing documentation
{ "ChromaKeyTolerance", "Chroma key tolerance", "" }, // @TODO Missing documentation
0,
0,
1
)
, _typeOption(
{ "type", "Type", "" }, // @TODO Missing documentation
{ "Type", "Type", "" }, // @TODO Missing documentation
properties::OptionProperty::DisplayType::Dropdown
)
, _onChangeCallback([](){})
@@ -35,7 +35,7 @@ namespace openspace::globebrowsing {
LayerGroup::LayerGroup(layergroupid::GroupID id)
: properties::PropertyOwner(std::move(layergroupid::LAYER_GROUP_NAMES[id]))
, _groupId(id)
, _levelBlendingEnabled({ "blendTileLevels", "blend tile levels", "" }, false) // @TODO Missing documentation
, _levelBlendingEnabled({ "BlendTileLevels", "blend tile levels", "" }, false) // @TODO Missing documentation
{
addProperty(_levelBlendingEnabled);
}
@@ -36,12 +36,12 @@ namespace openspace::globebrowsing {
LayerRenderSettings::LayerRenderSettings()
: properties::PropertyOwner("Settings")
, setDefault({ "setDefault", "Set Default", "" }) // @TODO Missing documentation
, opacity(properties::FloatProperty({ "opacity", "Opacity", "" }, 1.f, 0.f, 1.f)) // @TODO Missing documentation
, gamma(properties::FloatProperty({ "gamma", "Gamma", "" }, 1, 0, 5))// @TODO Missing documentation
, multiplier(properties::FloatProperty({ "multiplier", "Multiplier", "" }, 1.f, 0.f, 20.f))// @TODO Missing documentation
, offset(properties::FloatProperty({ "offset", "Offset", "" }, 0.f, -10000.f, 10000.f))// @TODO Missing documentation
, valueBlending(properties::FloatProperty({ "valueBlending", "Value Blending", "" }, // @TODO Missing documentation
, setDefault({ "SetDefault", "Set Default", "" }) // @TODO Missing documentation
, opacity(properties::FloatProperty({ "Opacity", "Opacity", "" }, 1.f, 0.f, 1.f)) // @TODO Missing documentation
, gamma(properties::FloatProperty({ "Gamma", "Gamma", "" }, 1, 0, 5))// @TODO Missing documentation
, multiplier(properties::FloatProperty({ "Multiplier", "Multiplier", "" }, 1.f, 0.f, 20.f))// @TODO Missing documentation
, offset(properties::FloatProperty({ "Offset", "Offset", "" }, 0.f, -10000.f, 10000.f))// @TODO Missing documentation
, valueBlending(properties::FloatProperty({ "ValueBlending", "Value Blending", "" }, // @TODO Missing documentation
1.f, 0.f, 1.f))
, useValueBlending(false)
{
@@ -88,9 +88,9 @@ bool GdalWrapper::logGdalErrors() const {
GdalWrapper::GdalWrapper(size_t maximumCacheSize,
size_t maximumMaximumCacheSize)
: PropertyOwner("GdalWrapper")
, _logGdalErrors({ "logGdalErrors", "Log GDAL errors", "" }, true) // @TODO Missing documentation
, _logGdalErrors({ "LogGdalErrors", "Log GDAL errors", "" }, true) // @TODO Missing documentation
, _gdalMaximumCacheSize (
{ "gdalMaximumCacheSize", "GDAL maximum cache size", "" }, // @TODO Missing documentation
{ "GdalMaximumCacheSize", "GDAL maximum cache size", "" }, // @TODO Missing documentation
maximumCacheSize / (1024 * 1024), // Default
0, // Minimum: No caching
maximumMaximumCacheSize / (1024 * 1024), // Maximum
@@ -55,8 +55,8 @@ namespace openspace::globebrowsing::tileprovider {
DefaultTileProvider::DefaultTileProvider(const ghoul::Dictionary& dictionary)
: TileProvider(dictionary)
, _filePath({ "filePath", "File Path", "" }, "") // @TODO Missing documentation
, _tilePixelSize({ "tilePixelSize", "Tile Pixel Size", "" }, 32, 32, 1024) // @TODO Missing documentation
, _filePath({ "FilePath", "File Path", "" }, "") // @TODO Missing documentation
, _tilePixelSize({ "TilePixelSize", "Tile Pixel Size", "" }, 32, 32, 1024) // @TODO Missing documentation
, _preCacheLevel(0)
{
_tileCache = OsEng.moduleEngine().module<GlobeBrowsingModule>()->tileCache();
@@ -36,7 +36,7 @@ namespace openspace::globebrowsing::tileprovider {
SingleImageProvider::SingleImageProvider(const ghoul::Dictionary& dictionary)
: _tile(nullptr, nullptr, Tile::Status::Unavailable)
, _filePath({ "filePath", "File Path", "" }) // @TODO Missing documentation
, _filePath({ "FilePath", "File Path", "" }) // @TODO Missing documentation
{
// Required input
std::string filePath;
@@ -50,7 +50,7 @@ SingleImageProvider::SingleImageProvider(const ghoul::Dictionary& dictionary)
SingleImageProvider::SingleImageProvider(const std::string& imagePath)
: _tile(nullptr, nullptr, Tile::Status::Unavailable)
, _filePath({ "filePath", "File Path", "" }, imagePath) // @TODO Missing documentation
, _filePath({ "FilePath", "File Path", "" }, imagePath) // @TODO Missing documentation
{
reset();
}
@@ -56,7 +56,7 @@ const char* TemporalTileProvider::TemporalXMLTags::TIME_FORMAT = "OpenSpaceTimeI
TemporalTileProvider::TemporalTileProvider(const ghoul::Dictionary& dictionary)
: _initDict(dictionary)
, _filePath({ "filePath", "File Path", "" }, "") // @TODO Missing documentation
, _filePath({ "FilePath", "File Path", "" }, "") // @TODO Missing documentation
, _successfulInitialization(false)
{
std::string filePath;
+7 -7
View File
@@ -41,13 +41,13 @@ namespace openspace {
DataCygnet::DataCygnet(const ghoul::Dictionary& dictionary)
: IswaCygnet(dictionary)
, _dataProcessor(nullptr)
, _dataOptions({ "dataOptions", "Data Options", "" }) // @TODO Missing documentation
, _useLog({ "useLog","Use Logarithm", "" }, false) // @TODO Missing documentation
, _useHistogram({ "useHistogram", "Auto Contrast", "" }, false) // @TODO Missing documentation
, _autoFilter({ "autoFilter", "Auto Filter", "" }, true) // @TODO Missing documentation
, _normValues({ "normValues", "Normalize Values", "" }, glm::vec2(1.0, 1.0), glm::vec2(0), glm::vec2(5.0)) // @TODO Missing documentation
, _backgroundValues({ "backgroundValues", "Background Values", "" }, glm::vec2(0.0), glm::vec2(0), glm::vec2(1.0)) // @TODO Missing documentation
, _transferFunctionsFile({ "transferfunctions", "Transfer Functions", "" }, "${SCENE}/iswa/tfs/default.tf") // @TODO Missing documentation
, _dataOptions({ "DataOptions", "Data Options", "" }) // @TODO Missing documentation
, _useLog({ "UseLog","Use Logarithm", "" }, false) // @TODO Missing documentation
, _useHistogram({ "UseHistogram", "Auto Contrast", "" }, false) // @TODO Missing documentation
, _autoFilter({ "AutoFilter", "Auto Filter", "" }, true) // @TODO Missing documentation
, _normValues({ "NormValues", "Normalize Values", "" }, glm::vec2(1.0, 1.0), glm::vec2(0), glm::vec2(5.0)) // @TODO Missing documentation
, _backgroundValues({ "BackgroundValues", "Background Values", "" }, glm::vec2(0.0), glm::vec2(0), glm::vec2(1.0)) // @TODO Missing documentation
, _transferFunctionsFile({ "Transferfunctions", "Transfer Functions", "" }, "${SCENE}/iswa/tfs/default.tf") // @TODO Missing documentation
//FOR TESTING
, _numOfBenchmarks(0)
, _avgBenchmarkTime(0.0f)
+3 -3
View File
@@ -44,9 +44,9 @@ namespace openspace {
IswaBaseGroup::IswaBaseGroup(std::string name, std::string type)
: properties::PropertyOwner(std::move(name))
, _enabled({ "enabled", "Enabled", "" }, true) // @TODO Missing documentation
, _alpha({ "alpha", "Alpha", "" }, 0.9f, 0.0f, 1.0f) // @TODO Missing documentation
, _delete({ "delete", "Delete", "" }) // @TODO Missing documentation
, _enabled({ "Enabled", "Enabled", "" }, true) // @TODO Missing documentation
, _alpha({ "Alpha", "Alpha", "" }, 0.9f, 0.0f, 1.0f) // @TODO Missing documentation
, _delete({ "Delete", "Delete", "" }) // @TODO Missing documentation
, _registered(false)
, _type(type)
, _dataProcessor(nullptr)
+2 -2
View File
@@ -41,8 +41,8 @@ namespace openspace {
IswaCygnet::IswaCygnet(const ghoul::Dictionary& dictionary)
: Renderable(dictionary)
, _delete({ "delete", "Delete", "" }) // @TODO Missing documentation
, _alpha({ "alpha", "Alpha", "" }, 0.9f, 0.0f, 1.0f) // @TODO Missing documentation
, _delete({ "Delete", "Delete", "" }) // @TODO Missing documentation
, _alpha({ "Alpha", "Alpha", "" }, 0.9f, 0.0f, 1.0f) // @TODO Missing documentation
, _shader(nullptr)
, _group(nullptr)
, _textureDirty(false)
+7 -7
View File
@@ -43,13 +43,13 @@ namespace {
namespace openspace{
IswaDataGroup::IswaDataGroup(std::string name, std::string type)
: IswaBaseGroup(name, type)
, _useLog({ "useLog","Use Logarithm", "" }, false) // @TODO Missing documentation
, _useHistogram({ "useHistogram", "Auto Contrast", "" }, false) // @TODO Missing documentation
, _autoFilter({ "autoFilter", "Auto Filter", "" }, true) // @TODO Missing documentation
, _normValues({ "normValues", "Normalize Values", "" }, glm::vec2(1.0, 1.0), glm::vec2(0), glm::vec2(5.0)) // @TODO Missing documentation
, _backgroundValues({ "backgroundValues", "Background Values", "" }, glm::vec2(0.0), glm::vec2(0), glm::vec2(1.0)) // @TODO Missing documentation
, _transferFunctionsFile({ "transferfunctions", "Transfer Functions", "" }, "${SCENE}/iswa/tfs/default.tf") // @TODO Missing documentation
, _dataOptions({ "dataOptions", "Data Options", "" }) // @TODO Missing documentation
, _useLog({ "UseLog","Use Logarithm", "" }, false) // @TODO Missing documentation
, _useHistogram({ "UseHistogram", "Auto Contrast", "" }, false) // @TODO Missing documentation
, _autoFilter({ "AutoFilter", "Auto Filter", "" }, true) // @TODO Missing documentation
, _normValues({ "NormValues", "Normalize Values", "" }, glm::vec2(1.0, 1.0), glm::vec2(0), glm::vec2(5.0)) // @TODO Missing documentation
, _backgroundValues({ "BackgroundValues", "Background Values", "" }, glm::vec2(0.0), glm::vec2(0), glm::vec2(1.0)) // @TODO Missing documentation
, _transferFunctionsFile({ "Transferfunctions", "Transfer Functions", "" }, "${SCENE}/iswa/tfs/default.tf") // @TODO Missing documentation
, _dataOptions({ "DataOptions", "Data Options", "" }) // @TODO Missing documentation
{
addProperty(_useLog);
addProperty(_useHistogram);
+2 -2
View File
@@ -43,8 +43,8 @@ namespace {
namespace openspace{
IswaKameleonGroup::IswaKameleonGroup(std::string name, std::string type)
: IswaDataGroup(name, type)
, _resolution({ "resolution", "Resolution%", "" }, 100.0f, 10.0f, 200.0f) // @TODO Missing documentation
, _fieldlines({ "fieldlineSeedsIndexFile", "Fieldline Seedpoints", "" }) // @TODO Missing documentation
, _resolution({ "Resolution", "Resolution%", "" }, 100.0f, 10.0f, 200.0f) // @TODO Missing documentation
, _fieldlines({ "FieldlineSeedsIndexFile", "Fieldline Seedpoints", "" }) // @TODO Missing documentation
, _fieldlineIndexFile("")
, _kameleonPath("")
{
+3 -3
View File
@@ -39,9 +39,9 @@ namespace openspace {
KameleonPlane::KameleonPlane(const ghoul::Dictionary& dictionary)
: DataCygnet(dictionary)
, _fieldlines({ "fieldlineSeedsIndexFile", "Fieldline Seedpoints", "" }) // @TODO Missing documentation
, _resolution({ "resolution", "Resolution%", "" }, 100.0f, 10.0f, 200.0f) // @TODO Missing documentation
, _slice({ "slice", "Slice", "" }, 0.0, 0.0, 1.0) // @TODO Missing documentation
, _fieldlines({ "FieldlineSeedsIndexFile", "Fieldline Seedpoints", "" }) // @TODO Missing documentation
, _resolution({ "Resolution", "Resolution%", "" }, 100.0f, 10.0f, 200.0f) // @TODO Missing documentation
, _slice({ "Slice", "Slice", "" }, 0.0, 0.0, 1.0) // @TODO Missing documentation
{
addProperty(_resolution);
addProperty(_slice);
@@ -64,24 +64,24 @@ namespace openspace {
RenderableKameleonVolume::RenderableKameleonVolume(const ghoul::Dictionary& dictionary)
: Renderable(dictionary)
, _dimensions({ "dimensions", "Dimensions", "" }) // @TODO Missing documentation
, _variable({ "variable", "Variable", "" }) // @TODO Missing documentation
, _lowerDomainBound({ "lowerDomainBound", "Lower Domain Bound", "" }) // @TODO Missing documentation
, _upperDomainBound({ "upperDomainBound", "Upper Domain Bound", "" }) // @TODO Missing documentation
, _domainScale({ "domainScale", "Domain scale", "" }) // @TODO Missing documentation
, _dimensions({ "Dimensions", "Dimensions", "" }) // @TODO Missing documentation
, _variable({ "Variable", "Variable", "" }) // @TODO Missing documentation
, _lowerDomainBound({ "LowerDomainBound", "Lower Domain Bound", "" }) // @TODO Missing documentation
, _upperDomainBound({ "UpperDomainBound", "Upper Domain Bound", "" }) // @TODO Missing documentation
, _domainScale({ "DomainScale", "Domain scale", "" }) // @TODO Missing documentation
, _autoDomainBounds(false)
, _lowerValueBound({ "lowerValueBound", "Lower Value Bound", "" }, 0.f, 0.f, 1.f) // @TODO Missing documentation
, _upperValueBound({ "upperValueBound", "Upper Value Bound", "" }, 1.f, 0.01f, 1.f) // @TODO Missing documentation
, _lowerValueBound({ "LowerValueBound", "Lower Value Bound", "" }, 0.f, 0.f, 1.f) // @TODO Missing documentation
, _upperValueBound({ "UpperValueBound", "Upper Value Bound", "" }, 1.f, 0.01f, 1.f) // @TODO Missing documentation
, _autoValueBounds(false)
, _gridType({ "gridType", "Grid Type", "" }, properties::OptionProperty::DisplayType::Dropdown) // @TODO Missing documentation
, _gridType({ "GridType", "Grid Type", "" }, properties::OptionProperty::DisplayType::Dropdown) // @TODO Missing documentation
, _autoGridType(false)
, _clipPlanes(nullptr)
, _stepSize({ "stepSize", "Step Size", "" }, 0.02f, 0.01f, 1.f) // @TODO Missing documentation
, _sourcePath({ "sourcePath", "Source Path", "" }) // @TODO Missing documentation
, _transferFunctionPath({ "transferFunctionPath", "Transfer Function Path", "" }) // @TODO Missing documentation
, _stepSize({ "StepSize", "Step Size", "" }, 0.02f, 0.01f, 1.f) // @TODO Missing documentation
, _sourcePath({ "SourcePath", "Source Path", "" }) // @TODO Missing documentation
, _transferFunctionPath({ "TransferFunctionPath", "Transfer Function Path", "" }) // @TODO Missing documentation
, _raycaster(nullptr)
, _transferFunction(nullptr)
, _cache({ "cache", "Cache", "" }) // @TODO Missing documentation
, _cache({ "Cache", "Cache", "" }) // @TODO Missing documentation
{
glm::vec3 dimensions;
@@ -95,20 +95,20 @@ RenderableMultiresVolume::RenderableMultiresVolume (const ghoul::Dictionary& dic
, _errorHistogramManager(nullptr)
, _histogramManager(nullptr)
, _localErrorHistogramManager(nullptr)
, _stepSizeCoefficient({ "stepSizeCoefficient", "Stepsize Coefficient", "" }, 1.f, 0.01f, 10.f) // @TODO Missing documentation
, _currentTime({ "currentTime", "Current Time", "" }, 0, 0, 0) // @TODO Missing documentation
, _memoryBudget({ "memoryBudget", "Memory Budget", "" }, 0, 0, 0) // @TODO Missing documentation
, _streamingBudget({ "streamingBudget", "Streaming Budget", "" }, 0, 0, 0) // @TODO Missing documentation
, _useGlobalTime({ "useGlobalTime", "Global Time", "" }, false) // @TODO Missing documentation
, _loop({ "loop", "Loop", "" }, false) // @TODO Missing documentation
, _selectorName({ "selector", "Brick Selector", "" }) // @TODO Missing documentation
, _stepSizeCoefficient({ "StepSizeCoefficient", "Stepsize Coefficient", "" }, 1.f, 0.01f, 10.f) // @TODO Missing documentation
, _currentTime({ "CurrentTime", "Current Time", "" }, 0, 0, 0) // @TODO Missing documentation
, _memoryBudget({ "MemoryBudget", "Memory Budget", "" }, 0, 0, 0) // @TODO Missing documentation
, _streamingBudget({ "StreamingBudget", "Streaming Budget", "" }, 0, 0, 0) // @TODO Missing documentation
, _useGlobalTime({ "UseGlobalTime", "Global Time", "" }, false) // @TODO Missing documentation
, _loop({ "Loop", "Loop", "" }, false) // @TODO Missing documentation
, _selectorName({ "Selector", "Brick Selector", "" }) // @TODO Missing documentation
, _gatheringStats(false)
, _statsToFile({ "printStats", "Print Stats", "" }, false) // @TODO Missing documentation
, _statsToFileName({ "printStatsFileName", "Stats Filename", "" }) // @TODO Missing documentation
, _scalingExponent({ "scalingExponent", "Scaling Exponent", "" }, 1, -10, 20) // @TODO Missing documentation
, _scaling({ "scaling", "Scaling", "" }, glm::vec3(1.f), glm::vec3(0.f), glm::vec3(10.f)) // @TODO Missing documentation
, _translation({ "translation", "Translation", "" }, glm::vec3(0.f), glm::vec3(0.f), glm::vec3(10.f)) // @TODO Missing documentation
, _rotation({ "rotation", "Euler rotation", "" }, glm::vec3(0.f, 0.f, 0.f), glm::vec3(0.f), glm::vec3(6.28f)) // @TODO Missing documentation
, _statsToFile({ "PrintStats", "Print Stats", "" }, false) // @TODO Missing documentation
, _statsToFileName({ "PrintStatsFileName", "Stats Filename", "" }) // @TODO Missing documentation
, _scalingExponent({ "ScalingExponent", "Scaling Exponent", "" }, 1, -10, 20) // @TODO Missing documentation
, _scaling({ "Scaling", "Scaling", "" }, glm::vec3(1.f), glm::vec3(0.f), glm::vec3(10.f)) // @TODO Missing documentation
, _translation({ "Translation", "Translation", "" }, glm::vec3(0.f), glm::vec3(0.f), glm::vec3(10.f)) // @TODO Missing documentation
, _rotation({ "Rotation", "Euler rotation", "" }, glm::vec3(0.f, 0.f, 0.f), glm::vec3(0.f), glm::vec3(6.28f)) // @TODO Missing documentation
{
std::string name;
//bool success = dictionary.getValue(constants::scenegraphnode::keyName, name);
+10 -10
View File
@@ -129,38 +129,38 @@ documentation::Documentation RenderableFov::Documentation() {
RenderableFov::RenderableFov(const ghoul::Dictionary& dictionary)
: Renderable(dictionary)
, _lineWidth({ "lineWidth", "Line Width", "" }, 1.f, 1.f, 20.f) // @TODO Missing documentation
, _drawSolid({ "solidDraw", "Draw as Quads", "" }, false) // @TODO Missing documentation
, _standOffDistance({ "standOffDistance", "Standoff Distance", "" }, 0.9999, 0.99, 1.0, 0.000001) // @TODO Missing documentation
, _lineWidth({ "LineWidth", "Line Width", "" }, 1.f, 1.f, 20.f) // @TODO Missing documentation
, _drawSolid({ "SolidDraw", "Draw as Quads", "" }, false) // @TODO Missing documentation
, _standOffDistance({ "StandOffDistance", "Standoff Distance", "" }, 0.9999, 0.99, 1.0, 0.000001) // @TODO Missing documentation
, _programObject(nullptr)
, _drawFOV(false)
, _colors({
{
{ "colors.defaultStart", "Start of default color", "" }, // @TODO Missing documentation
{ "Colors.DefaultStart", "Start of default color", "" }, // @TODO Missing documentation
glm::vec4(0.4f)
},
{
{ "colors.defaultEnd", "End of default color", "" }, // @TODO Missing documentation
{ "Colors.DefaultEnd", "End of default color", "" }, // @TODO Missing documentation
glm::vec4(0.85f, 0.85f, 0.85f, 1.f)
},
{
{ "colors.active", "Active Color", "" }, // @TODO Missing documentation
{ "Colors.Active", "Active Color", "" }, // @TODO Missing documentation
glm::vec4(0.f, 1.f, 0.f, 1.f)
},
{
{ "colors.targetInFieldOfView", "Target-in-field-of-view Color", "" }, // @TODO Missing documentation
{ "Colors.TargetInFieldOfView", "Target-in-field-of-view Color", "" }, // @TODO Missing documentation
glm::vec4(0.f, 0.5f, 0.7f, 1.f)
},
{
{ "colors.intersectionStart", "Start of the intersection", "" }, // @TODO Missing documentation
{ "Colors.IntersectionStart", "Start of the intersection", "" }, // @TODO Missing documentation
glm::vec4(1.f, 0.89f, 0.f, 1.f)
},
{
{ "colors.intersectionEnd", "End of the intersection", "" }, // @TODO Missing documentation
{ "Colors.IntersectionEnd", "End of the intersection", "" }, // @TODO Missing documentation
glm::vec4(1.f, 0.29f, 0.f, 1.f)
},
{
{ "colors.square", "Orthogonal Square", "" }, // @TODO Missing documentation
{ "Colors.Square", "Orthogonal Square", "" }, // @TODO Missing documentation
glm::vec4(0.85f, 0.85f, 0.85f, 1.f)
}
})
@@ -104,13 +104,13 @@ documentation::Documentation RenderableModelProjection::Documentation() {
RenderableModelProjection::RenderableModelProjection(const ghoul::Dictionary& dictionary)
: Renderable(dictionary)
, _colorTexturePath({ "colorTexture", "Color Texture", "" }) // @TODO Missing documentation
, _rotation({ "rotation", "Rotation", "" }, glm::vec3(0.f), glm::vec3(0.f), glm::vec3(360.f)) // @TODO Missing documentation
, _colorTexturePath({ "ColorTexture", "Color Texture", "" }) // @TODO Missing documentation
, _rotation({ "Rotation", "Rotation", "" }, glm::vec3(0.f), glm::vec3(0.f), glm::vec3(360.f)) // @TODO Missing documentation
, _programObject(nullptr)
, _fboProgramObject(nullptr)
, _baseTexture(nullptr)
, _geometry(nullptr)
, _performShading({ "performShading", "Perform Shading", "" }, true) // @TODO Missing documentation
, _performShading({ "PerformShading", "Perform Shading", "" }, true) // @TODO Missing documentation
{
documentation::testSpecificationAndThrow(
Documentation(),
@@ -121,16 +121,16 @@ documentation::Documentation RenderablePlanetProjection::Documentation() {
RenderablePlanetProjection::RenderablePlanetProjection(const ghoul::Dictionary& dictionary)
: Renderable(dictionary)
, _colorTexturePath({ "planetTexture", "RGB Texture", "" }) // @TODO Missing documentation
, _heightMapTexturePath({ "heightMap", "Heightmap Texture", "" }) // @TODO Missing documentation
, _rotation({ "rotation", "Rotation", "" }, 0, 0, 360) // @TODO Missing documentation
, _colorTexturePath({ "PlanetTexture", "RGB Texture", "" }) // @TODO Missing documentation
, _heightMapTexturePath({ "HeightMap", "Heightmap Texture", "" }) // @TODO Missing documentation
, _rotation({ "Rotation", "Rotation", "" }, 0, 0, 360) // @TODO Missing documentation
, _programObject(nullptr)
, _fboProgramObject(nullptr)
, _baseTexture(nullptr)
, _heightMapTexture(nullptr)
, _shiftMeridianBy180({ "shiftMeiridian", "Shift Meridian by 180 deg", "" }, false) // @TODO Missing documentation
, _heightExaggeration({ "heightExaggeration", "Height Exaggeration", "" }, 1.f, 0.f, 100.f) // @TODO Missing documentation
, _debugProjectionTextureRotation({ "debug.projectionTextureRotation", "Projection Texture Rotation", "" }, 0.f, 0.f, 360.f) // @TODO Missing documentation
, _shiftMeridianBy180({ "ShiftMeiridian", "Shift Meridian by 180 deg", "" }, false) // @TODO Missing documentation
, _heightExaggeration({ "HeightExaggeration", "Height Exaggeration", "" }, 1.f, 0.f, 100.f) // @TODO Missing documentation
, _debugProjectionTextureRotation({ "Debug.ProjectionTextureRotation", "Projection Texture Rotation", "" }, 0.f, 0.f, 360.f) // @TODO Missing documentation
, _capture(false)
{
documentation::testSpecificationAndThrow(
@@ -46,9 +46,9 @@ namespace openspace {
RenderableShadowCylinder::RenderableShadowCylinder(const ghoul::Dictionary& dictionary)
: Renderable(dictionary)
, _numberOfPoints({ "amountOfPoints", "Points", "" }, 190, 1, 300) // @TODO Missing documentation
, _shadowLength({ "shadowLength", "Shadow Length", "" }, 0.1f, 0.0f, 0.5f) // @TODO Missing documentation
, _shadowColor({ "shadowColor", "Shadow Color", "" }, // @TODO Missing documentation
, _numberOfPoints({ "AmountOfPoints", "Points", "" }, 190, 1, 300) // @TODO Missing documentation
, _shadowLength({ "ShadowLength", "Shadow Length", "" }, 0.1f, 0.0f, 0.5f) // @TODO Missing documentation
, _shadowColor({ "ShadowColor", "Shadow Color", "" }, // @TODO Missing documentation
glm::vec4(1.f, 1.f, 1.f, 0.25f), glm::vec4(0.f), glm::vec4(1.f))
, _shader(nullptr)
, _vao(0)
@@ -168,11 +168,11 @@ documentation::Documentation ProjectionComponent::Documentation() {
ProjectionComponent::ProjectionComponent()
: properties::PropertyOwner("ProjectionComponent")
, _performProjection({ "performProjection", "Perform Projections", "" }, true) // @TODO Missing documentation
, _clearAllProjections({ "clearAllProjections", "Clear Projections", "" }, false) // @TODO Missing documentation
, _projectionFading({ "projectionFading", "Projection Fading", "" }, 1.f, 0.f, 1.f) // @TODO Missing documentation
, _textureSize({ "textureSize", "Texture Size", "" }, ivec2(16), ivec2(16), ivec2(32768)) // @TODO Missing documentation
, _applyTextureSize({ "applyTextureSize", "Apply Texture Size", "" }) // @TODO Missing documentation
, _performProjection({ "PerformProjection", "Perform Projections", "" }, true) // @TODO Missing documentation
, _clearAllProjections({ "ClearAllProjections", "Clear Projections", "" }, false) // @TODO Missing documentation
, _projectionFading({ "ProjectionFading", "Projection Fading", "" }, 1.f, 0.f, 1.f) // @TODO Missing documentation
, _textureSize({ "TextureSize", "Texture Size", "" }, ivec2(16), ivec2(16), ivec2(32768)) // @TODO Missing documentation
, _applyTextureSize({ "ApplyTextureSize", "Apply Texture Size", "" }) // @TODO Missing documentation
, _textureSizeDirty(false)
, _projectionTexture(nullptr)
{
+1 -1
View File
@@ -28,7 +28,7 @@ namespace openspace::gui {
GuiComponent::GuiComponent(std::string name)
: properties::PropertyOwner(std::move(name))
, _isEnabled({ "enabled", "Is Enabled", "" }, false) // @TODO Missing documentation
, _isEnabled({ "Enabled", "Is Enabled", "" }, false) // @TODO Missing documentation
{
addProperty(_isEnabled);
}
@@ -55,10 +55,10 @@ namespace openspace::gui {
GuiPerformanceComponent::GuiPerformanceComponent()
: GuiComponent("PerformanceComponent")
, _sortingSelection({ "sortingSelection", "Sorting", "" }, -1, -1, 6) // @TODO Missing documentation
, _sceneGraphIsEnabled({ "showSceneGraph", "Show Scene Graph Measurements", "" }, false) // @TODO Missing documentation
, _functionsIsEnabled({ "showFunctions", "Show Function Measurements", "" }, false) // @TODO Missing documentation
, _outputLogs({ "outputLogs", "Output Logs", "" }, false) // @TODO Missing documentation
, _sortingSelection({ "SortingSelection", "Sorting", "" }, -1, -1, 6) // @TODO Missing documentation
, _sceneGraphIsEnabled({ "ShowSceneGraph", "Show Scene Graph Measurements", "" }, false) // @TODO Missing documentation
, _functionsIsEnabled({ "ShowFunctions", "Show Function Measurements", "" }, false) // @TODO Missing documentation
, _outputLogs({ "OutputLogs", "Output Logs", "" }, false) // @TODO Missing documentation
{
addProperty(_sortingSelection);
@@ -90,8 +90,8 @@ RenderableConstellationBounds::RenderableConstellationBounds(
: Renderable(dictionary)
, _vertexFilename("")
, _constellationFilename("")
, _distance({ "distance", "Distance to the celestial Sphere", "" }, 15.f, 0.f, 30.f) // @TODO Missing documentation
, _constellationSelection({ "constellationSelection", "Constellation Selection", "" }) // @TODO Missing documentation
, _distance({ "Distance", "Distance to the celestial Sphere", "" }, 15.f, 0.f, 30.f) // @TODO Missing documentation
, _constellationSelection({ "ConstellationSelection", "Constellation Selection", "" }) // @TODO Missing documentation
, _vao(0)
, _vbo(0)
{
+5 -5
View File
@@ -121,15 +121,15 @@ documentation::Documentation RenderablePlanet::Documentation() {
RenderablePlanet::RenderablePlanet(const ghoul::Dictionary& dictionary)
: Renderable(dictionary)
, _colorTexturePath({ "colorTexture", "Color Texture", "" }) // @TODO Missing documentation
, _nightTexturePath({ "nightTexture", "Night Texture", "" }) // @TODO Missing documentation
, _heightMapTexturePath({ "heightMap", "Heightmap Texture", "" }) // @TODO Missing documentation
, _colorTexturePath({ "ColorTexture", "Color Texture", "" }) // @TODO Missing documentation
, _nightTexturePath({ "NightTexture", "Night Texture", "" }) // @TODO Missing documentation
, _heightMapTexturePath({ "HeightMap", "Heightmap Texture", "" }) // @TODO Missing documentation
, _programObject(nullptr)
, _texture(nullptr)
, _nightTexture(nullptr)
, _heightExaggeration({ "heightExaggeration", "Height Exaggeration", "" }, 1.f, 0.f, 10.f) // @TODO Missing documentation
, _heightExaggeration({ "HeightExaggeration", "Height Exaggeration", "" }, 1.f, 0.f, 10.f) // @TODO Missing documentation
, _geometry(nullptr)
, _performShading({ "performShading", "Perform Shading", "" }, true) // @TODO Missing documentation
, _performShading({ "PerformShading", "Perform Shading", "" }, true) // @TODO Missing documentation
, _alpha(1.f)
, _planetRadius(0.f)
, _hasNightTexture(false)
+5 -5
View File
@@ -85,11 +85,11 @@ documentation::Documentation RenderableRings::Documentation() {
RenderableRings::RenderableRings(const ghoul::Dictionary& dictionary)
: Renderable(dictionary)
, _texturePath({ "texture", "Texture", "" }) // @TODO Missing documentation
, _size({ "size", "Size", "" }, 1.f, 0.f, std::pow(1.f, 25.f)) // @TODO Missing documentation
, _offset({ "offset", "Offset", "" }, glm::vec2(0, 1.f), glm::vec2(0.f), glm::vec2(1.f)) // @TODO Missing documentation
, _nightFactor({ "nightFactor", "Night Factor", "" }, 0.33f, 0.f, 1.f) // @TODO Missing documentation
, _transparency({ "transparency", "Transparency", "" }, 0.15f, 0.f, 1.f) // @TODO Missing documentation
, _texturePath({ "Texture", "Texture", "" }) // @TODO Missing documentation
, _size({ "Size", "Size", "" }, 1.f, 0.f, std::pow(1.f, 25.f)) // @TODO Missing documentation
, _offset({ "Offset", "Offset", "" }, glm::vec2(0, 1.f), glm::vec2(0.f), glm::vec2(1.f)) // @TODO Missing documentation
, _nightFactor({ "NightFactor", "Night Factor", "" }, 0.33f, 0.f, 1.f) // @TODO Missing documentation
, _transparency({ "Transparency", "Transparency", "" }, 0.15f, 0.f, 1.f) // @TODO Missing documentation
, _shader(nullptr)
, _texture(nullptr)
, _textureFile(nullptr)
+6 -6
View File
@@ -125,20 +125,20 @@ documentation::Documentation RenderableStars::Documentation() {
RenderableStars::RenderableStars(const ghoul::Dictionary& dictionary)
: Renderable(dictionary)
, _pointSpreadFunctionTexturePath({ "psfTexture", "Point Spread Function Texture", "" }) // @TODO Missing documentation
, _pointSpreadFunctionTexturePath({ "PsfTexture", "Point Spread Function Texture", "" }) // @TODO Missing documentation
, _pointSpreadFunctionTexture(nullptr)
, _pointSpreadFunctionTextureIsDirty(true)
, _colorTexturePath({ "colorTexture", "ColorBV Texture", "" }) // @TODO Missing documentation
, _colorTexturePath({ "ColorTexture", "ColorBV Texture", "" }) // @TODO Missing documentation
, _colorTexture(nullptr)
, _colorTextureIsDirty(true)
, _colorOption(
{ "colorOption", "Color Option", "" }, // @TODO Missing documentation
{ "ColorOption", "Color Option", "" }, // @TODO Missing documentation
properties::OptionProperty::DisplayType::Dropdown
)
, _dataIsDirty(true)
, _alphaValue({ "alphaValue", "Transparency", "" }, 1.f, 0.f, 1.f) // @TODO Missing documentation
, _scaleFactor({ "scaleFactor", "Scale Factor", "" }, 1.f, 0.f, 10.f) // @TODO Missing documentation
, _minBillboardSize({ "minBillboardSize", "Min Billboard Size", "" }, 1.f, 1.f, 100.f) // @TODO Missing documentation
, _alphaValue({ "AlphaValue", "Transparency", "" }, 1.f, 0.f, 1.f) // @TODO Missing documentation
, _scaleFactor({ "ScaleFactor", "Scale Factor", "" }, 1.f, 0.f, 10.f) // @TODO Missing documentation
, _minBillboardSize({ "MinBillboardSize", "Min Billboard Size", "" }, 1.f, 1.f, 100.f) // @TODO Missing documentation
, _program(nullptr)
, _speckFile("")
, _nValuesPerStar(0)
@@ -39,11 +39,11 @@ namespace openspace::planetgeometry {
SimpleSphereGeometry::SimpleSphereGeometry(const ghoul::Dictionary& dictionary)
: PlanetGeometry()
, _radius(
{ "radius", "Radius", "" }, // @TODO Missing documentation
{ "Radius", "Radius", "" }, // @TODO Missing documentation
glm::vec3(1.f, 1.f, 1.f),
glm::vec3(0.f, 0.f, 0.f),
glm::vec3(std::pow(10.f, 20.f), std::pow(10.f, 20.f), std::pow(10.f, 20.f)))
, _segments({ "segments", "Segments", "" }, 20, 1, 5000) // @TODO Missing documentation
, _segments({ "Segments", "Segments", "" }, 20, 1, 5000) // @TODO Missing documentation
, _sphere(nullptr)
{
float sphereRadius = 0.f;
+2 -2
View File
@@ -83,8 +83,8 @@ documentation::Documentation SpiceRotation::Documentation() {
}
SpiceRotation::SpiceRotation(const ghoul::Dictionary& dictionary)
: _sourceFrame({ "source", "Source", "" }) // @TODO Missing documentation
, _destinationFrame({ "destination", "Destination", "" }) // @TODO Missing documentation
: _sourceFrame({ "Source", "Source", "" }) // @TODO Missing documentation
, _destinationFrame({ "Destination", "Destination", "" }) // @TODO Missing documentation
{
documentation::testSpecificationAndThrow(
Documentation(),
@@ -142,24 +142,24 @@ documentation::Documentation KeplerTranslation::Documentation() {
KeplerTranslation::KeplerTranslation()
: Translation()
, _eccentricity({ "eccentricity", "Eccentricity", "" }, 0.0, 0.0, 1.0) // @TODO Missing documentation
, _semiMajorAxis({ "semimajorAxis", "Semi-major axis", "" }, 0.0, 0.0, 1e6) // @TODO Missing documentation
, _inclination({ "inclination", "Inclination", "" }, 0.0, 0.0, 360.0) // @TODO Missing documentation
, _eccentricity({ "Eccentricity", "Eccentricity", "" }, 0.0, 0.0, 1.0) // @TODO Missing documentation
, _semiMajorAxis({ "SemimajorAxis", "Semi-major axis", "" }, 0.0, 0.0, 1e6) // @TODO Missing documentation
, _inclination({ "Inclination", "Inclination", "" }, 0.0, 0.0, 360.0) // @TODO Missing documentation
, _ascendingNode(
{ "ascendingNode", "Right ascension of ascending Node", "" }, // @TODO Missing documentation
{ "AscendingNode", "Right ascension of ascending Node", "" }, // @TODO Missing documentation
0.0,
0.0,
360.0
)
, _argumentOfPeriapsis(
{ "argumentOfPeriapsis", "Argument of Periapsis", "" }, // @TODO Missing documentation
{ "ArgumentOfPeriapsis", "Argument of Periapsis", "" }, // @TODO Missing documentation
0.0,
0.0,
360.0
)
, _meanAnomalyAtEpoch({ "meanAnomalyAtEpoch", "Mean anomaly at epoch", "" }, 0.0, 0.0, 360.0) // @TODO Missing documentation
, _epoch({ "epoch", "Epoch", "" }, 0.0, 0.0, 1e9) // @TODO Missing documentation
, _period({ "period", "Orbit period", "" }, 0.0, 0.0, 1e6) // @TODO Missing documentation
, _meanAnomalyAtEpoch({ "MeanAnomalyAtEpoch", "Mean anomaly at epoch", "" }, 0.0, 0.0, 360.0) // @TODO Missing documentation
, _epoch({ "Epoch", "Epoch", "" }, 0.0, 0.0, 1e9) // @TODO Missing documentation
, _period({ "Period", "Orbit period", "" }, 0.0, 0.0, 1e6) // @TODO Missing documentation
, _orbitPlaneDirty(true)
{
auto update = [this]() {
@@ -99,9 +99,9 @@ documentation::Documentation SpiceTranslation::Documentation() {
}
SpiceTranslation::SpiceTranslation(const ghoul::Dictionary& dictionary)
: _target({ "target", "Target", "" }) // @TODO Missing documentation
, _origin({ "origin", "Origin", "" }) // @TODO Missing documentation
, _frame({ "frame", "Reference Frame", "" }, DefaultReferenceFrame) // @TODO Missing documentation
: _target({ "Target", "Target", "" }) // @TODO Missing documentation
, _origin({ "Origin", "Origin", "" }) // @TODO Missing documentation
, _frame({ "Frame", "Reference Frame", "" }, DefaultReferenceFrame) // @TODO Missing documentation
{
documentation::testSpecificationAndThrow(
Documentation(),
+1 -1
View File
@@ -74,7 +74,7 @@ namespace openspace {
TouchInteraction::TouchInteraction()
: properties::PropertyOwner("TouchInteraction")
, _origin({ "origin", "Origin", "" }) // @TODO Missing documentation
, _origin({ "Origin", "Origin", "" }) // @TODO Missing documentation
, _unitTest(
{ "Click to take a unit test", "Take a unit test saving the LM data into file", "" }, // @TODO Missing documentation
false
@@ -37,12 +37,12 @@ namespace openspace {
RenderableToyVolume::RenderableToyVolume(const ghoul::Dictionary& dictionary)
: Renderable(dictionary)
, _scalingExponent({ "scalingExponent", "Scaling Exponent", "" }, 1, -10, 20)
, _stepSize({ "stepSize", "Step Size", "" }, 0.02f, 0.01f, 1.f) // @TODO Missing documentation
, _scaling({ "scaling", "Scaling", "" }, glm::vec3(1.f, 1.f, 1.f), glm::vec3(0.f), glm::vec3(10.f)) // @TODO Missing documentation
, _translation({ "translation", "Translation", "" }, glm::vec3(0.f, 0.f, 0.f), glm::vec3(0.f), glm::vec3(10.f)) // @TODO Missing documentation
, _rotation({ "rotation", "Euler rotation", "" }, glm::vec3(0.f, 0.f, 0.f), glm::vec3(0), glm::vec3(6.28f)) // @TODO Missing documentation
, _color({ "color", "Color", "" }, glm::vec4(1.f, 0.f, 0.f, 0.1f), glm::vec4(0.f), glm::vec4(1.f)) // @TODO Missing documentation
, _scalingExponent({ "ScalingExponent", "Scaling Exponent", "" }, 1, -10, 20)
, _stepSize({ "StepSize", "Step Size", "" }, 0.02f, 0.01f, 1.f) // @TODO Missing documentation
, _scaling({ "Scaling", "Scaling", "" }, glm::vec3(1.f, 1.f, 1.f), glm::vec3(0.f), glm::vec3(10.f)) // @TODO Missing documentation
, _translation({ "Translation", "Translation", "" }, glm::vec3(0.f, 0.f, 0.f), glm::vec3(0.f), glm::vec3(10.f)) // @TODO Missing documentation
, _rotation({ "Rotation", "Euler rotation", "" }, glm::vec3(0.f, 0.f, 0.f), glm::vec3(0), glm::vec3(6.28f)) // @TODO Missing documentation
, _color({ "Color", "Color", "" }, glm::vec4(1.f, 0.f, 0.f, 0.1f), glm::vec4(0.f), glm::vec4(1.f)) // @TODO Missing documentation
{
float stepSize;
int scalingExponent;
+2 -2
View File
@@ -31,13 +31,13 @@ namespace openspace {
VolumeClipPlane::VolumeClipPlane(const ghoul::Dictionary& dictionary)
: _normal(
{ "normal", "Normal", "" }, // @TODO Missing documentation
{ "Normal", "Normal", "" }, // @TODO Missing documentation
glm::vec3(1.f, 0.f, 0.f),
glm::vec3(-1.f),
glm::vec3(1.f)
)
, _offsets(
{ "offsets", "Offsets", "" }, // @TODO Missing documentation
{ "Offsets", "Offsets", "" }, // @TODO Missing documentation
glm::vec2(-2.f, 0.f),
glm::vec2(-2.f, 0.f),
glm::vec2(2.f, 1.f)