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


General utility class for building edge lists for geometry.  




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

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_edge_list_builder_acf52bd519947f6f8305df1bec3247dd2}{Edge\+List\+Builder}} ()
\item 
void \mbox{\hyperlink{class_ogre_1_1_edge_list_builder_ae4af3550dfe4948680078a087377bfbf}{add\+Index\+Data}} (const \mbox{\hyperlink{class_ogre_1_1_index_data}{Index\+Data}} $\ast$index\+Data, size\+\_\+t vertex\+Set=0, \mbox{\hyperlink{class_ogre_1_1_render_operation_a7a272218dae54048c87f31176c19e10d}{Render\+Operation\+::\+Operation\+Type}} op\+Type=\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_edge_list_builder_a9845e2f91660819164a627c661f5d107}{add\+Vertex\+Data}} (const \mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_edge_data}{Edge\+Data}} $\ast$ \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_edge_list_builder_a66aa1d48de5385be8233c8733af99186}{log}} (\mbox{\hyperlink{class_ogre_1_1_log}{Log}} $\ast$l)
\begin{DoxyCompactList}\small\item\em Debugging method. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{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}


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



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_edge_list_builder_a9845e2f91660819164a627c661f5d107}\label{class_ogre_1_1_edge_list_builder_a9845e2f91660819164a627c661f5d107}} 
\index{Ogre::EdgeListBuilder@{Ogre::EdgeListBuilder}!addVertexData@{addVertexData}}
\index{addVertexData@{addVertexData}!Ogre::EdgeListBuilder@{Ogre::EdgeListBuilder}}
\doxysubsubsection{\texorpdfstring{addVertexData()}{addVertexData()}}
{\footnotesize\ttfamily void Ogre\+::\+Edge\+List\+Builder\+::add\+Vertex\+Data (\begin{DoxyParamCaption}\item[{const \mbox{\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::EdgeListBuilder@{Ogre::EdgeListBuilder}!addIndexData@{addIndexData}}
\index{addIndexData@{addIndexData}!Ogre::EdgeListBuilder@{Ogre::EdgeListBuilder}}
\doxysubsubsection{\texorpdfstring{addIndexData()}{addIndexData()}}
{\footnotesize\ttfamily void Ogre\+::\+Edge\+List\+Builder\+::add\+Index\+Data (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_index_data}{Index\+Data}} $\ast$}]{index\+Data,  }\item[{size\+\_\+t}]{vertex\+Set = {\ttfamily 0},  }\item[{\mbox{\hyperlink{class_ogre_1_1_render_operation_a7a272218dae54048c87f31176c19e10d}{Render\+Operation\+::\+Operation\+Type}}}]{op\+Type = {\ttfamily \mbox{\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::EdgeListBuilder@{Ogre::EdgeListBuilder}!build@{build}}
\index{build@{build}!Ogre::EdgeListBuilder@{Ogre::EdgeListBuilder}}
\doxysubsubsection{\texorpdfstring{build()}{build()}}
{\footnotesize\ttfamily \mbox{\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::EdgeListBuilder@{Ogre::EdgeListBuilder}!log@{log}}
\index{log@{log}!Ogre::EdgeListBuilder@{Ogre::EdgeListBuilder}}
\doxysubsubsection{\texorpdfstring{log()}{log()}}
{\footnotesize\ttfamily void Ogre\+::\+Edge\+List\+Builder\+::log (\begin{DoxyParamCaption}\item[{\mbox{\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 
\mbox{\hyperlink{_ogre_edge_list_builder_8h}{Ogre\+Edge\+List\+Builder.\+h}}\end{DoxyCompactItemize}
