Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D dtk-visualization
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • dtkdtk
  • dtk-visualization
  • Merge requests
  • !33

Feature/decorators settings

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged NICLAUSSE Nicolas requested to merge feature/decorators_settings into develop Aug 20, 2019
  • Overview 8
  • Commits 9
  • Pipelines 0
  • Changes 21

this MR adds persitence for decorators; it uses a [canvas] group in the ini file of the application to store all the parameters of the decorators (visibility, color map, etc.)

ex with sw2d:


[canvas]
Cells_colormap=inferno
Cells_field_name=alphak
Scalar%20ColorMap_colormap=density
Scalar%20ColorMap_field_name=water_depth
Scalar%20ColorMap_show_scalarbar=true
Scalar%20ColorMap_visibility=true
Scalar%20Glyphs_colormap=inferno
Scalar%20Glyphs_field_name=surface_elevation
Scalar%20Glyphs_visibility=false
Scalar%20Isolines_colormap=inferno
Scalar%20Isolines_field_name=surface_elevation
Scalar%20Isolines_isolines_count=25
Scalar%20Isolines_visibility=false
Vector%20Streamlines%202D_colormap=PuBu
Vector%20Streamlines%202D_field_name=unit_vector_discharge
Vector%20Streamlines%202D_show_scalarbar=true
Vector%20Streamlines%202D_visibility=true
Edited Aug 22, 2019 by NICLAUSSE Nicolas
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/decorators_settings