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: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

Commit 3c1babb7 authored by schultezub's avatar schultezub
Browse files

minor changes to SliceExtractor

git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@498 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
parent c1597c93
......@@ -119,10 +119,10 @@ namespace campvis {
switch (p_sliceOrientation.getValue()) {
case XY_PLANE:
// keep texture coordinates for x,y, shift z coordinates to slice value
texCoordsMatrix.t00 = 1.f;
texCoordsMatrix.t11 = 1.f;
texCoordsMatrix.t22 = 1.f;
//texCoordsMatrix.t13 = 1.f;
texCoordsMatrix.t23 = sliceTexCoord.z;
sliceRatio =
(static_cast<float>(imgSize.x) * img.getImageData()->getMappingInformation().getVoxelSize().x)
......@@ -130,6 +130,7 @@ namespace campvis {
break;
case XZ_PLANE:
// permute y and z coordinates, shift y to slice
texCoordsMatrix.t00 = 1.f;
texCoordsMatrix.t12 = 1.f;
texCoordsMatrix.t21 = 1.f;
......@@ -141,10 +142,10 @@ namespace campvis {
break;
case YZ_PLANE:
// permute x,y and z coordinates, shift x to slice
texCoordsMatrix.t02 = 1.f;
texCoordsMatrix.t10 = 1.f;
texCoordsMatrix.t21 = 1.f;
//texCoordsMatrix.t13 = 0.f;
texCoordsMatrix.t33 = 1.f;
texCoordsMatrix.t03 = sliceTexCoord.x;
sliceRatio =
......@@ -174,6 +175,8 @@ namespace campvis {
QuadRdr.renderQuad();
// render slice markers
// for each slice render a bounding box (GL_LINE_LOOP) in slice color and horizontal/vertical
// lines (GL_LINE_STRIP) as reference for the other axis-aligned slices
glLineWidth(2.f);
_shader->setUniform("_useTexturing", false);
switch (p_sliceOrientation.getValue()) {
......
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