Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • CityDoctor2 CityDoctor2
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CityDoctor
  • CityDoctor2CityDoctor2
  • Merge requests
  • !30

Visitor rework

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Riegel requested to merge dev_visitor_rework into dev May 05, 2025
  • Overview 0
  • Commits 53
  • Pipelines 1
  • Changes 162

What does this MR do?

Reworked AbstractCheck to allow usage of the CheckEngine for implementation of non-validating utility "checks" (Visitors), with the goal of decoupling and simplifying functions that require datamodel traversal.

  • Added the CityObjectCollector, a Visitor which creates a Set of a CityObject and all child-objects in its datastructure.
  • Reworked the implementations of unsetGmlGeometries(), recreateGmlGeometries(), containsError(), containsAnyError(), prepareForChecking(), clearMetaInformation(), collectCheckErrors() and clearCheckResults() with Visitors.
  • Generalized the FeatureTab-TreeView nodes
  • Generalized and simplified the rendering-setup of CityObjects and CityDoctorModel
  • Simplified the calculation of PhongMaterial. CityObjects now contain their respective render-color information.

Reimplemented parsing of TINReliefs.

Deleted deprecated classes CopyHandler and Copyable. Reworked Copy.copy() to allow copying of any Serializable object.

Fixes

  • Fixed some CityObjects having incomplete implementations of unsetting and recreating CityGml4J geometries.
  • Added Tunnel features to the BBox calculation and error collection.
  • Fixed typos causing Intersection and AuxTrafficSpaces to be ignored by the parser.

Related issues

Checklist

  • Commits squashed, following the message-template and containing changelog-trailers
  • MR title and description are up to date, accurate, and descriptive.
  • MR targeting the appropriate branch.
  • Latest Merge Result pipeline is green.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dev_visitor_rework

Dies ist die Gitlab-Instanz des Transferportals der Hochschule für Technik Stuttgart. Hier geht es zurück zum Portal