Skip to content

Commit

Permalink
Set Origin of created Image geometry to -1, -1, 0
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
  • Loading branch information
imikejackson committed Dec 9, 2022
1 parent cfb3347 commit f6df11f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ void VisualizeGBCDPoleFigure::dataCheck()
ImageGeom::Pointer image = ImageGeom::CreateGeometry(SIMPL::Geometry::ImageGeometry);
image->setDimensions({outDim, outDim, 1});
image->setSpacing({2.0f / outDim, 2.0f / outDim, 2.0f / outDim});
image->setOrigin(-1.0F, -1.0F, 0.0F);
m->setGeometry(image);

std::vector<size_t> tDims = {outDim, outDim, 1ULL};
Expand Down

0 comments on commit f6df11f

Please sign in to comment.