]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/imageInfoUR.cxx
DFCH: Manual Paint Changes (Undo/Redo) 80% :) :)
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / manualPaint / imageInfoUR.cxx
index f2275ea6e3ee7f5b144aa190e60255107c259321..d637125b0b887de61b346595e1034fab6449aa07 100644 (file)
@@ -6,47 +6,37 @@
  */
 #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 &region)
-{
+void ImageInfoUR::SetRegion(const RegionStructUR &region) {
        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);
 }