MorphoGraphX  2.0-1-227
Public Member Functions | Public Attributes | Protected Attributes | List of all members
mgx::Image3D Struct Reference

#include <Image.hpp>

Public Member Functions

 Image3D ()
 
 Image3D (const Image3D &copy)
 
 Image3D (HVecUS &data, const Point3u &size, const Point3f &step=Point3f(1, 1, 1), bool labels=false)
 
 ~Image3D ()
 
void allocate (const Point3u &size)
 
void allocate ()
 
void setPlane (int i)
 
const ushortoperator[] (int i) const
 
ushortoperator[] (int i)
 

Public Attributes

HVecUSdata
 
Point3u size
 
Point3f step
 
Point3f origin
 
uint minc
 
uint maxc
 
float brightness
 
int plane
 To load a 2D image in a 3D stack. More...
 
bool labels
 If the image contains labels. More...
 

Protected Attributes

bool allocated
 

Detailed Description

Definition at line 31 of file Image.hpp.

Constructor & Destructor Documentation

◆ Image3D() [1/3]

mgx::Image3D::Image3D ( )

◆ Image3D() [2/3]

mgx::Image3D::Image3D ( const Image3D copy)

◆ Image3D() [3/3]

mgx::Image3D::Image3D ( HVecUS data,
const Point3u size,
const Point3f step = Point3f(1, 1, 1),
bool  labels = false 
)

◆ ~Image3D()

mgx::Image3D::~Image3D ( )

Member Function Documentation

◆ allocate() [1/2]

void mgx::Image3D::allocate ( )

◆ allocate() [2/2]

void mgx::Image3D::allocate ( const Point3u size)

◆ operator[]() [1/2]

ushort& mgx::Image3D::operator[] ( int  i)
inline

Definition at line 53 of file Image.hpp.

◆ operator[]() [2/2]

const ushort& mgx::Image3D::operator[] ( int  i) const
inline

Definition at line 49 of file Image.hpp.

◆ setPlane()

void mgx::Image3D::setPlane ( int  i)
inline

Definition at line 41 of file Image.hpp.

Member Data Documentation

◆ allocated

bool mgx::Image3D::allocated
protected

Definition at line 67 of file Image.hpp.

◆ brightness

float mgx::Image3D::brightness

Definition at line 62 of file Image.hpp.

◆ data

HVecUS* mgx::Image3D::data

Definition at line 57 of file Image.hpp.

◆ labels

bool mgx::Image3D::labels

If the image contains labels.

Definition at line 64 of file Image.hpp.

◆ maxc

uint mgx::Image3D::maxc

Definition at line 61 of file Image.hpp.

◆ minc

uint mgx::Image3D::minc

Definition at line 61 of file Image.hpp.

◆ origin

Point3f mgx::Image3D::origin

Definition at line 60 of file Image.hpp.

◆ plane

int mgx::Image3D::plane

To load a 2D image in a 3D stack.

Definition at line 63 of file Image.hpp.

◆ size

Point3u mgx::Image3D::size

Definition at line 58 of file Image.hpp.

◆ step

Point3f mgx::Image3D::step

Definition at line 59 of file Image.hpp.


The documentation for this struct was generated from the following file: