\hypertarget{class_ogre_1_1_edge_list_builder}{}\section{Ogre\+:\+:Edge\+List\+Builder Class Reference}
\label{class_ogre_1_1_edge_list_builder}\index{Ogre\+::\+Edge\+List\+Builder@{Ogre\+::\+Edge\+List\+Builder}}


General utility class for building edge lists for geometry.  




{\ttfamily \#include $<$Ogre\+Edge\+List\+Builder.\+h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_edge_list_builder_acf52bd519947f6f8305df1bec3247dd2}{Edge\+List\+Builder} ()
\item 
void \hyperlink{class_ogre_1_1_edge_list_builder_ae4af3550dfe4948680078a087377bfbf}{add\+Index\+Data} (const \hyperlink{class_ogre_1_1_index_data}{Index\+Data} $\ast$index\+Data, size\+\_\+t vertex\+Set=0, \hyperlink{class_ogre_1_1_render_operation_a7a272218dae54048c87f31176c19e10d}{Render\+Operation\+::\+Operation\+Type} op\+Type=\hyperlink{class_ogre_1_1_render_operation_a7a272218dae54048c87f31176c19e10da8c00ee152b44fe8000c2fd675437c087}{Render\+Operation\+::\+O\+T\+\_\+\+T\+R\+I\+A\+N\+G\+L\+E\+\_\+\+L\+I\+ST})
\begin{DoxyCompactList}\small\item\em Add a set of index geometry data to the edge builder. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_edge_list_builder_a9845e2f91660819164a627c661f5d107}{add\+Vertex\+Data} (const \hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data} $\ast$vertex\+Data)
\begin{DoxyCompactList}\small\item\em Add a set of vertex geometry data to the edge builder. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_edge_data}{Edge\+Data} $\ast$ \hyperlink{class_ogre_1_1_edge_list_builder_a7233d617fe953b3b6c74035636f1d9f0}{build} (void)
\begin{DoxyCompactList}\small\item\em Builds the edge information based on the information built up so far. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_edge_list_builder_a66aa1d48de5385be8233c8733af99186}{log} (\hyperlink{class_ogre_1_1_log}{Log} $\ast$l)
\begin{DoxyCompactList}\small\item\em Debugging method. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
General utility class for building edge lists for geometry. 

\begin{DoxyRemark}{Remarks}
You can add multiple sets of vertex and index data to build and edge list. Edges will be built between the various sets as well as within sets; this allows you to use a model which is built from multiple Sub\+Meshes each using separate index and (optionally) vertex data and still get the same connectivity information. It\textquotesingle{}s important to note that the indexes for the edge will be constrained to a single vertex buffer though (this is required in order to render the edge). 
\end{DoxyRemark}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_edge_list_builder_acf52bd519947f6f8305df1bec3247dd2}\label{class_ogre_1_1_edge_list_builder_acf52bd519947f6f8305df1bec3247dd2}} 
\index{Ogre\+::\+Edge\+List\+Builder@{Ogre\+::\+Edge\+List\+Builder}!Edge\+List\+Builder@{Edge\+List\+Builder}}
\index{Edge\+List\+Builder@{Edge\+List\+Builder}!Ogre\+::\+Edge\+List\+Builder@{Ogre\+::\+Edge\+List\+Builder}}
\subsubsection{\texorpdfstring{Edge\+List\+Builder()}{EdgeListBuilder()}}
{\footnotesize\ttfamily Ogre\+::\+Edge\+List\+Builder\+::\+Edge\+List\+Builder (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_edge_list_builder_a9845e2f91660819164a627c661f5d107}\label{class_ogre_1_1_edge_list_builder_a9845e2f91660819164a627c661f5d107}} 
\index{Ogre\+::\+Edge\+List\+Builder@{Ogre\+::\+Edge\+List\+Builder}!add\+Vertex\+Data@{add\+Vertex\+Data}}
\index{add\+Vertex\+Data@{add\+Vertex\+Data}!Ogre\+::\+Edge\+List\+Builder@{Ogre\+::\+Edge\+List\+Builder}}
\subsubsection{\texorpdfstring{add\+Vertex\+Data()}{addVertexData()}}
{\footnotesize\ttfamily void Ogre\+::\+Edge\+List\+Builder\+::add\+Vertex\+Data (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data} $\ast$}]{vertex\+Data }\end{DoxyParamCaption})}



Add a set of vertex geometry data to the edge builder. 

\begin{DoxyRemark}{Remarks}
You must add at least one set of vertex data to the builder before invoking the build method. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_edge_list_builder_ae4af3550dfe4948680078a087377bfbf}\label{class_ogre_1_1_edge_list_builder_ae4af3550dfe4948680078a087377bfbf}} 
\index{Ogre\+::\+Edge\+List\+Builder@{Ogre\+::\+Edge\+List\+Builder}!add\+Index\+Data@{add\+Index\+Data}}
\index{add\+Index\+Data@{add\+Index\+Data}!Ogre\+::\+Edge\+List\+Builder@{Ogre\+::\+Edge\+List\+Builder}}
\subsubsection{\texorpdfstring{add\+Index\+Data()}{addIndexData()}}
{\footnotesize\ttfamily void Ogre\+::\+Edge\+List\+Builder\+::add\+Index\+Data (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_index_data}{Index\+Data} $\ast$}]{index\+Data,  }\item[{size\+\_\+t}]{vertex\+Set = {\ttfamily 0},  }\item[{\hyperlink{class_ogre_1_1_render_operation_a7a272218dae54048c87f31176c19e10d}{Render\+Operation\+::\+Operation\+Type}}]{op\+Type = {\ttfamily \hyperlink{class_ogre_1_1_render_operation_a7a272218dae54048c87f31176c19e10da8c00ee152b44fe8000c2fd675437c087}{Render\+Operation\+::\+O\+T\+\_\+\+T\+R\+I\+A\+N\+G\+L\+E\+\_\+\+L\+I\+ST}} }\end{DoxyParamCaption})}



Add a set of index geometry data to the edge builder. 

\begin{DoxyRemark}{Remarks}
You must add at least one set of index data to the builder before invoking the build method. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em index\+Data} & The index information which describes the triangles. \\
\hline
{\em vertex\+Set} & The vertex data set this index data refers to; you only need to alter this if you have added multiple sets of vertices \\
\hline
{\em op\+Type} & The operation type used to render these indexes. Only triangle types are supported (no point or line types) \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_edge_list_builder_a7233d617fe953b3b6c74035636f1d9f0}\label{class_ogre_1_1_edge_list_builder_a7233d617fe953b3b6c74035636f1d9f0}} 
\index{Ogre\+::\+Edge\+List\+Builder@{Ogre\+::\+Edge\+List\+Builder}!build@{build}}
\index{build@{build}!Ogre\+::\+Edge\+List\+Builder@{Ogre\+::\+Edge\+List\+Builder}}
\subsubsection{\texorpdfstring{build()}{build()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_edge_data}{Edge\+Data}$\ast$ Ogre\+::\+Edge\+List\+Builder\+::build (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Builds the edge information based on the information built up so far. 

\begin{DoxyRemark}{Remarks}
The caller takes responsibility for deleting the returned structure. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_edge_list_builder_a66aa1d48de5385be8233c8733af99186}\label{class_ogre_1_1_edge_list_builder_a66aa1d48de5385be8233c8733af99186}} 
\index{Ogre\+::\+Edge\+List\+Builder@{Ogre\+::\+Edge\+List\+Builder}!log@{log}}
\index{log@{log}!Ogre\+::\+Edge\+List\+Builder@{Ogre\+::\+Edge\+List\+Builder}}
\subsubsection{\texorpdfstring{log()}{log()}}
{\footnotesize\ttfamily void Ogre\+::\+Edge\+List\+Builder\+::log (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_log}{Log} $\ast$}]{l }\end{DoxyParamCaption})}



Debugging method. 



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_edge_list_builder_8h}{Ogre\+Edge\+List\+Builder.\+h}\end{DoxyCompactItemize}
