*/
#include "imageInfoUR.h"
-ImageInfoUR::ImageInfoUR()
-{
+ImageInfoUR::ImageInfoUR() {
this->m_Image = NULL;
}
-ImageInfoUR::~ImageInfoUR()
-{
- this->removeImageFromMemory();
+ImageInfoUR::~ImageInfoUR() {
+ this->RemoveImageFromMemory();
}
-void ImageInfoUR::setImageName(const std::string &imgName)
-{
+void ImageInfoUR::SetImageName(const std::string &imgName) {
this->m_ImageName = imgName;
}
-void ImageInfoUR::setRegion(const RegionStructUR ®ion)
-{
+void ImageInfoUR::SetRegion(const RegionStructUR ®ion) {
this->m_Region = region;
}
-void ImageInfoUR::setStatus(const bool& onMemory)
-{
+void ImageInfoUR::SetStatus(const bool& onMemory) {
this->m_OnMemory = onMemory;
}
-void ImageInfoUR::setImage(vtkImageData* img)
-{
+void ImageInfoUR::SetImage(vtkImageData* img) {
this->m_Image = img;
- this->setStatus(true);
+ this->SetStatus(true);
}
-std::string ImageInfoUR::getImageName()
-{
- return( this->m_ImageName );
+std::string ImageInfoUR::GetImageName() {
+ return (this->m_ImageName);
}
-RegionStructUR ImageInfoUR::getRegion()
-{
- return( this->m_Region );
+RegionStructUR ImageInfoUR::GetRegion() {
+ return (this->m_Region);
}
-bool ImageInfoUR::getStatus()
-{
- return( this->m_OnMemory );
+bool ImageInfoUR::GetStatus() {
+ return (this->m_OnMemory);
}
-void ImageInfoUR::removeImageFromMemory()
-{
+void ImageInfoUR::RemoveImageFromMemory() {
this->m_Image->Delete();
- this->setStatus(false);
+ this->SetStatus(false);
}