\hypertarget{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo}{\section{Set\-Field\-Data\-Algo Class Reference}
\label{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo}\index{Set\-Field\-Data\-Algo@{Set\-Field\-Data\-Algo}}
}


{\ttfamily \#include $<$Set\-Field\-Data.\-h$>$}

Inheritance diagram for Set\-Field\-Data\-Algo\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=5.000000cm]{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_a176803ffb5ca193bec77a339845cdb03}{Set\-Field\-Data\-Algo} ()
\item 
\hyperlink{namespace_s_c_i_run_ae62efffc02ce1c5a899048c76e4411bd}{Field\-Handle} \hyperlink{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_adec9685428d51adb839a19aa9cbb29b5}{run} (\hyperlink{namespace_s_c_i_run_ae62efffc02ce1c5a899048c76e4411bd}{Field\-Handle} input\-\_\-field, \hyperlink{namespace_s_c_i_run_1_1_core_1_1_datatypes_aa8a28fd7db3f72bf1d932025a4d900cc}{Datatypes\-::\-Dense\-Matrix\-Handle} input\-\_\-matrix) const 
\item 
bool \hyperlink{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_a8b64070baa23801f5c8b43b9ecb97d17}{verify\-\_\-input\-\_\-data} (\hyperlink{namespace_s_c_i_run_ae62efffc02ce1c5a899048c76e4411bd}{Field\-Handle} \&input\-\_\-field, \hyperlink{namespace_s_c_i_run_1_1_core_1_1_datatypes_aa8a28fd7db3f72bf1d932025a4d900cc}{Datatypes\-::\-Dense\-Matrix\-Handle} \&data, \hyperlink{namespace_s_c_i_run_aa710666634ca42a6ab6344c62a5c784f}{size\-\_\-type} \&numvals, \hyperlink{class_s_c_i_run_1_1_field_information}{Field\-Information} \&fi) const 
\item 
bool \hyperlink{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_a858923cf693dc17b9b96f6416ba49daa}{setscalardata} (\hyperlink{class_s_c_i_run_1_1_v_field}{V\-Field} $\ast$ofield, \hyperlink{namespace_s_c_i_run_1_1_core_1_1_datatypes_aa8a28fd7db3f72bf1d932025a4d900cc}{Datatypes\-::\-Dense\-Matrix\-Handle} \&data, \hyperlink{namespace_s_c_i_run_aa710666634ca42a6ab6344c62a5c784f}{size\-\_\-type} numvals, \hyperlink{namespace_s_c_i_run_aa710666634ca42a6ab6344c62a5c784f}{size\-\_\-type} nrows, \hyperlink{namespace_s_c_i_run_aa710666634ca42a6ab6344c62a5c784f}{size\-\_\-type} ncols, \hyperlink{namespace_s_c_i_run_aa710666634ca42a6ab6344c62a5c784f}{size\-\_\-type} numnvals, \hyperlink{namespace_s_c_i_run_aa710666634ca42a6ab6344c62a5c784f}{size\-\_\-type} numevals) const 
\item 
bool \hyperlink{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_a99905c54e7dea071de04a642d0e1459d}{setvectordata} (\hyperlink{class_s_c_i_run_1_1_v_field}{V\-Field} $\ast$ofield, \hyperlink{namespace_s_c_i_run_1_1_core_1_1_datatypes_aa8a28fd7db3f72bf1d932025a4d900cc}{Datatypes\-::\-Dense\-Matrix\-Handle} \&data, \hyperlink{namespace_s_c_i_run_aa710666634ca42a6ab6344c62a5c784f}{size\-\_\-type} numvals, \hyperlink{namespace_s_c_i_run_aa710666634ca42a6ab6344c62a5c784f}{size\-\_\-type} nrows, \hyperlink{namespace_s_c_i_run_aa710666634ca42a6ab6344c62a5c784f}{size\-\_\-type} ncols, \hyperlink{namespace_s_c_i_run_aa710666634ca42a6ab6344c62a5c784f}{size\-\_\-type} numnvals, \hyperlink{namespace_s_c_i_run_aa710666634ca42a6ab6344c62a5c784f}{size\-\_\-type} numevals) const 
\item 
bool \hyperlink{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_aa24bf95070d9d7358a3cfbc79bd17498}{settensordata} (\hyperlink{class_s_c_i_run_1_1_v_field}{V\-Field} $\ast$ofield, \hyperlink{namespace_s_c_i_run_1_1_core_1_1_datatypes_aa8a28fd7db3f72bf1d932025a4d900cc}{Datatypes\-::\-Dense\-Matrix\-Handle} \&data, \hyperlink{namespace_s_c_i_run_aa710666634ca42a6ab6344c62a5c784f}{size\-\_\-type} numvals, \hyperlink{namespace_s_c_i_run_aa710666634ca42a6ab6344c62a5c784f}{size\-\_\-type} nrows, \hyperlink{namespace_s_c_i_run_aa710666634ca42a6ab6344c62a5c784f}{size\-\_\-type} ncols, \hyperlink{namespace_s_c_i_run_aa710666634ca42a6ab6344c62a5c784f}{size\-\_\-type} numnvals, \hyperlink{namespace_s_c_i_run_aa710666634ca42a6ab6344c62a5c784f}{size\-\_\-type} numevals) const 
\item 
virtual \hyperlink{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_algorithm_output}{Algorithm\-Output} \hyperlink{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_ae2dbf4ad18790ed52b6ba5f2ce34561c}{run\-\_\-generic} (const \hyperlink{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_algorithm_input}{Algorithm\-Input} \&input) const 
\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{namespace_s_c_i_run_1_1_core_1_1_algorithms_afa778302fa68d5cfe014b01cf572f195}{Algorithm\-Parameter\-Name} \hyperlink{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_ab79cb848e49a1d330c5bbf0f2480927b}{keep\-Type\-Check\-Box}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_a176803ffb5ca193bec77a339845cdb03}{\index{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo@{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo}!Set\-Field\-Data\-Algo@{Set\-Field\-Data\-Algo}}
\index{Set\-Field\-Data\-Algo@{Set\-Field\-Data\-Algo}!SCIRun::Core::Algorithms::Fields::SetFieldDataAlgo@{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo}}
\subsubsection[{Set\-Field\-Data\-Algo}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Set\-Field\-Data\-Algo} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_a176803ffb5ca193bec77a339845cdb03}


\subsection{Member Function Documentation}
\hypertarget{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_adec9685428d51adb839a19aa9cbb29b5}{\index{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo@{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo}!run@{run}}
\index{run@{run}!SCIRun::Core::Algorithms::Fields::SetFieldDataAlgo@{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo}}
\subsubsection[{run}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Field\-Handle} run (
\begin{DoxyParamCaption}
\item[{{\bf Field\-Handle}}]{input\-\_\-field, }
\item[{{\bf Datatypes\-::\-Dense\-Matrix\-Handle}}]{input\-\_\-matrix}
\end{DoxyParamCaption}
) const}}\label{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_adec9685428d51adb839a19aa9cbb29b5}
\hypertarget{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_ae2dbf4ad18790ed52b6ba5f2ce34561c}{\index{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo@{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo}!run\-\_\-generic@{run\-\_\-generic}}
\index{run\-\_\-generic@{run\-\_\-generic}!SCIRun::Core::Algorithms::Fields::SetFieldDataAlgo@{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo}}
\subsubsection[{run\-\_\-generic}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Algorithm\-Output} run\-\_\-generic (
\begin{DoxyParamCaption}
\item[{const {\bf Algorithm\-Input} \&}]{input}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_ae2dbf4ad18790ed52b6ba5f2ce34561c}


Implements \hyperlink{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_algorithm_interface_abf1160cbc2d53c212909224c08e98c08}{Algorithm\-Interface}.

\hypertarget{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_a858923cf693dc17b9b96f6416ba49daa}{\index{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo@{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo}!setscalardata@{setscalardata}}
\index{setscalardata@{setscalardata}!SCIRun::Core::Algorithms::Fields::SetFieldDataAlgo@{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo}}
\subsubsection[{setscalardata}]{\setlength{\rightskip}{0pt plus 5cm}bool setscalardata (
\begin{DoxyParamCaption}
\item[{{\bf V\-Field} $\ast$}]{ofield, }
\item[{{\bf Datatypes\-::\-Dense\-Matrix\-Handle} \&}]{data, }
\item[{{\bf size\-\_\-type}}]{numvals, }
\item[{{\bf size\-\_\-type}}]{nrows, }
\item[{{\bf size\-\_\-type}}]{ncols, }
\item[{{\bf size\-\_\-type}}]{numnvals, }
\item[{{\bf size\-\_\-type}}]{numevals}
\end{DoxyParamCaption}
) const}}\label{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_a858923cf693dc17b9b96f6416ba49daa}
\hypertarget{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_aa24bf95070d9d7358a3cfbc79bd17498}{\index{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo@{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo}!settensordata@{settensordata}}
\index{settensordata@{settensordata}!SCIRun::Core::Algorithms::Fields::SetFieldDataAlgo@{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo}}
\subsubsection[{settensordata}]{\setlength{\rightskip}{0pt plus 5cm}bool settensordata (
\begin{DoxyParamCaption}
\item[{{\bf V\-Field} $\ast$}]{ofield, }
\item[{{\bf Datatypes\-::\-Dense\-Matrix\-Handle} \&}]{data, }
\item[{{\bf size\-\_\-type}}]{numvals, }
\item[{{\bf size\-\_\-type}}]{nrows, }
\item[{{\bf size\-\_\-type}}]{ncols, }
\item[{{\bf size\-\_\-type}}]{numnvals, }
\item[{{\bf size\-\_\-type}}]{numevals}
\end{DoxyParamCaption}
) const}}\label{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_aa24bf95070d9d7358a3cfbc79bd17498}
Fill field with Tensor values Handle 6 by n data

Handle 9 by n data \hypertarget{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_a99905c54e7dea071de04a642d0e1459d}{\index{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo@{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo}!setvectordata@{setvectordata}}
\index{setvectordata@{setvectordata}!SCIRun::Core::Algorithms::Fields::SetFieldDataAlgo@{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo}}
\subsubsection[{setvectordata}]{\setlength{\rightskip}{0pt plus 5cm}bool setvectordata (
\begin{DoxyParamCaption}
\item[{{\bf V\-Field} $\ast$}]{ofield, }
\item[{{\bf Datatypes\-::\-Dense\-Matrix\-Handle} \&}]{data, }
\item[{{\bf size\-\_\-type}}]{numvals, }
\item[{{\bf size\-\_\-type}}]{nrows, }
\item[{{\bf size\-\_\-type}}]{ncols, }
\item[{{\bf size\-\_\-type}}]{numnvals, }
\item[{{\bf size\-\_\-type}}]{numevals}
\end{DoxyParamCaption}
) const}}\label{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_a99905c54e7dea071de04a642d0e1459d}
Handle Vector values \hypertarget{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_a8b64070baa23801f5c8b43b9ecb97d17}{\index{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo@{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo}!verify\-\_\-input\-\_\-data@{verify\-\_\-input\-\_\-data}}
\index{verify\-\_\-input\-\_\-data@{verify\-\_\-input\-\_\-data}!SCIRun::Core::Algorithms::Fields::SetFieldDataAlgo@{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo}}
\subsubsection[{verify\-\_\-input\-\_\-data}]{\setlength{\rightskip}{0pt plus 5cm}bool verify\-\_\-input\-\_\-data (
\begin{DoxyParamCaption}
\item[{{\bf Field\-Handle} \&}]{input\-\_\-field, }
\item[{{\bf Datatypes\-::\-Dense\-Matrix\-Handle} \&}]{data, }
\item[{{\bf size\-\_\-type} \&}]{numvals, }
\item[{{\bf Field\-Information} \&}]{fi}
\end{DoxyParamCaption}
) const}}\label{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_a8b64070baa23801f5c8b43b9ecb97d17}
try to see whether the matrix dimensions fit the field size

do we have a scalar, vector, or tensor

do we have a scalar, vector, or tensor ?

Do we have a constant that has to be fitted in every field position ? 

\subsection{Member Data Documentation}
\hypertarget{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_ab79cb848e49a1d330c5bbf0f2480927b}{\index{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo@{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo}!keep\-Type\-Check\-Box@{keep\-Type\-Check\-Box}}
\index{keep\-Type\-Check\-Box@{keep\-Type\-Check\-Box}!SCIRun::Core::Algorithms::Fields::SetFieldDataAlgo@{S\-C\-I\-Run\-::\-Core\-::\-Algorithms\-::\-Fields\-::\-Set\-Field\-Data\-Algo}}
\subsubsection[{keep\-Type\-Check\-Box}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Algorithm\-Parameter\-Name} keep\-Type\-Check\-Box\hspace{0.3cm}{\ttfamily [static]}}}\label{class_s_c_i_run_1_1_core_1_1_algorithms_1_1_fields_1_1_set_field_data_algo_ab79cb848e49a1d330c5bbf0f2480927b}


The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Core/\-Algorithms/\-Legacy/\-Fields/\-Field\-Data/\hyperlink{_core_2_algorithms_2_legacy_2_fields_2_field_data_2_set_field_data_8h}{Set\-Field\-Data.\-h}\item 
Core/\-Algorithms/\-Legacy/\-Fields/\-Field\-Data/\hyperlink{_core_2_algorithms_2_legacy_2_fields_2_field_data_2_set_field_data_8cc}{Set\-Field\-Data.\-cc}\end{DoxyCompactItemize}
