Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information:

Commit 7880f0c2 authored by Christian Schulte zu Berge's avatar Christian Schulte zu Berge
Browse files

Added more data type descriptions to DataContainerTreeWidget

parent 30777980
......@@ -135,7 +135,7 @@ namespace campvis {
_dctWidget = new DataContainerTreeWidget(this);
_mainLayout->addWidget(_dctWidget, 0, 0);
_btnLoadFile = new QPushButton(tr("Load File"), _infoWidget);
......@@ -33,11 +33,17 @@
#include "core/datastructures/abstractdata.h"
#include "core/datastructures/facegeometry.h"
#include "core/datastructures/meshgeometry.h"
#include "core/datastructures/indexedmeshgeometry.h"
#include "core/datastructures/multiindexedgeometry.h"
#include "core/datastructures/imagerepresentationdisk.h"
#include "core/datastructures/imagerepresentationlocal.h"
#include "core/datastructures/imagerepresentationgl.h"
#include "core/datastructures/renderdata.h"
#include "modules/columbia/datastructures/fiberdata.h"
#include <QHeaderView>
#include <QStringList>
......@@ -88,15 +94,33 @@ namespace campvis {
else if (column == COLUMN_TYPE) {
const AbstractData* data = _dataHandle.getData();
tgtAssert(data != 0, "WTF - QtDataHandle with empty data?");
if (const ImageData* tester = dynamic_cast<const ImageData*>(data)) {
return QVariant(QString("Image Data"));
else if (const FiberData* tester = dynamic_cast<const FiberData*>(data)) {
return QVariant(QString("Fiber Geometry"));
else if (const IndexedMeshGeometry* tester = dynamic_cast<const IndexedMeshGeometry*>(data)) {
return QVariant(QString("Indexed Geometry"));
else if (const MultiIndexedGeometry* tester = dynamic_cast<const MultiIndexedGeometry*>(data)) {
return QVariant(QString("Multi Indexed Geometry"));
else if (const FaceGeometry* tester = dynamic_cast<const FaceGeometry*>(data)) {
return QVariant(QString("Face Geometry"));
else if (const MeshGeometry* tester = dynamic_cast<const MeshGeometry*>(data)) {
return QVariant(QString("Mesh Geometry"));
else if (const GeometryData* tester = dynamic_cast<const GeometryData*>(data)) {
return QVariant(QString("Geometry"));
else if (const RenderData* tester = dynamic_cast<const RenderData*>(data)) {
return QVariant(QString("Render Data"));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment