add voximage represetation and test

This commit is contained in:
AndreaRigoni
2026-03-19 16:39:05 +00:00
parent 80952cc706
commit 6234dffaa7
4 changed files with 155 additions and 4 deletions

View File

@@ -37,6 +37,7 @@
#include "Vtk/uLibVtkInterface.h"
class vtkImageData;
class vtkActor;
namespace uLib {
namespace Vtk {
@@ -62,6 +63,7 @@ public:
void ReadFromXMLFile(const char *fname);
void setShadingPreset(int blendType = 2);
void SetRepresentation(Representation mode);
void Update();
@@ -73,6 +75,7 @@ private:
vtkVolume *m_Actor;
vtkImageData *m_Image;
vtkCubeSource *m_Outline;
vtkActor *m_OutlineActor;
vtkXMLImageDataReader *m_Reader;
vtkXMLImageDataWriter *m_Writer;