\section{Save\+Rectangle Class Reference}
\label{class_save_rectangle}\index{Save\+Rectangle@{Save\+Rectangle}}


Saves all the rectangles information in the text file.  




{\ttfamily \#include $<$saverectangle.\+h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Save\+Rectangle} ({\bf Image\+Graphics\+Scene} $\ast$scene\+\_\+1)
\begin{DoxyCompactList}\small\item\em The constructor of the \doxyref{Save\+Rectangle}{p.}{class_save_rectangle} class. \end{DoxyCompactList}\item 
virtual void {\bf set\+Scene} ({\bf Image\+Graphics\+Scene} $\ast$graphics\+\_\+scene)
\begin{DoxyCompactList}\small\item\em Sets the application scene. \end{DoxyCompactList}\item 
virtual void {\bf save\+Changes} ()
\begin{DoxyCompactList}\small\item\em Saves all the changes made by the user. \end{DoxyCompactList}\item 
virtual void {\bf save\+As} ({\bf Create\+File\+Abstraction} $\ast$cfa, {\bf File\+Writer} $\ast$fw)\label{class_save_rectangle_a0cc4e4837da93ec97100f7238a1fe0fd}

\begin{DoxyCompactList}\small\item\em Bug. Do not use it. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Saves all the rectangles information in the text file. 

When the user presses the \char`\"{}\+Save\char`\"{} button, this class will save all the information in the related text file.

\begin{DoxyNote}{Note}
The following information is saved\+: ID,Top-\/left x coordinate,Top-\/\+Left y coordinate,Width,Height,Annotation ,Word number,Line number.
\end{DoxyNote}
\begin{DoxyAuthor}{Author}

\end{DoxyAuthor}
\begin{DoxyParagraph}{Author}
David Carmona-\/\+Moreno 
\end{DoxyParagraph}


\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Revision}
1.\+0 
\end{DoxyParagraph}


\begin{DoxyDate}{Date}

\end{DoxyDate}
\begin{DoxyParagraph}{Date}
2016/01/11 14\+:00\+:00 
\end{DoxyParagraph}
\begin{DoxyRefDesc}{Bug}
\item[{\bf Bug}]Not known bugs.\end{DoxyRefDesc}


Contacts\+: {\tt nikolaos.\+arvanitopoulos@epfl.\+ch} and {\tt david.\+carmona-\/moreno@epfl.\+ch}

Created on\+: Mon Jan 12 14\+:00\+:00 2016 

\subsection{Constructor \& Destructor Documentation}
\index{Save\+Rectangle@{Save\+Rectangle}!Save\+Rectangle@{Save\+Rectangle}}
\index{Save\+Rectangle@{Save\+Rectangle}!Save\+Rectangle@{Save\+Rectangle}}
\subsubsection[{Save\+Rectangle(\+Image\+Graphics\+Scene $\ast$scene\+\_\+1)}]{\setlength{\rightskip}{0pt plus 5cm}Save\+Rectangle\+::\+Save\+Rectangle (
\begin{DoxyParamCaption}
\item[{{\bf Image\+Graphics\+Scene} $\ast$}]{scene\+\_\+1}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{class_save_rectangle_a8726d702d5ca7f0f4d3d02042ab8b32f}


The constructor of the \doxyref{Save\+Rectangle}{p.}{class_save_rectangle} class. 


\begin{DoxyParams}{Parameters}
{\em scene\+\_\+1} & The application scene \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\index{Save\+Rectangle@{Save\+Rectangle}!save\+Changes@{save\+Changes}}
\index{save\+Changes@{save\+Changes}!Save\+Rectangle@{Save\+Rectangle}}
\subsubsection[{save\+Changes()}]{\setlength{\rightskip}{0pt plus 5cm}void Save\+Rectangle\+::save\+Changes (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{class_save_rectangle_af017eae53bfebf86afbd39d9ef03aeae}


Saves all the changes made by the user. 

\begin{DoxyReturn}{Returns}
void 
\end{DoxyReturn}
\index{Save\+Rectangle@{Save\+Rectangle}!set\+Scene@{set\+Scene}}
\index{set\+Scene@{set\+Scene}!Save\+Rectangle@{Save\+Rectangle}}
\subsubsection[{set\+Scene(\+Image\+Graphics\+Scene $\ast$graphics\+\_\+scene)}]{\setlength{\rightskip}{0pt plus 5cm}void Save\+Rectangle\+::set\+Scene (
\begin{DoxyParamCaption}
\item[{{\bf Image\+Graphics\+Scene} $\ast$}]{graphics\+\_\+scene}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{class_save_rectangle_a8531f8a294110b9d0dcab8d4ee86cfc3}


Sets the application scene. 


\begin{DoxyParams}{Parameters}
{\em graphics\+\_\+scene} & The application scene \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
void 
\end{DoxyReturn}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
/media/david/4\+A52443\+C52442\+F4\+F/\+Users/\+David/\+Desktop/\+Projet E\+P\+F\+L/\+Ground\+\_\+\+Truthing\+\_\+20\+\_\+10\+\_\+2015/saverectangle.\+h\item 
/media/david/4\+A52443\+C52442\+F4\+F/\+Users/\+David/\+Desktop/\+Projet E\+P\+F\+L/\+Ground\+\_\+\+Truthing\+\_\+20\+\_\+10\+\_\+2015/saverectangle.\+cpp\end{DoxyCompactItemize}
