\hypertarget{a03369}{\section{Open\+Mesh\+:\+:Attributes Namespace Reference}
\label{a03369}\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}
}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{a01238}{Status\+Info}
\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{a03369_ab78a93560926cd2f9958cb028f7ea96d}{Attribute\+Bits} \{ \\*
\hyperlink{a03369_ab78a93560926cd2f9958cb028f7ea96dabf5f773fefa8a6aa2c4b56158de44b92}{None} = 0, 
\hyperlink{a03369_ab78a93560926cd2f9958cb028f7ea96da213616dd2e4d9744d863587001a77988}{Normal} = 1, 
\hyperlink{a03369_ab78a93560926cd2f9958cb028f7ea96dad51534b15e5d0f65569251f4cb3c0d0c}{Color} = 2, 
\hyperlink{a03369_ab78a93560926cd2f9958cb028f7ea96dafaaebe1808b5cce96ad4e19df471d58a}{Prev\+Halfedge} = 4, 
\\*
\hyperlink{a03369_ab78a93560926cd2f9958cb028f7ea96dad3e94e10c76894ebce6048b8bbb77a74}{Status} = 8, 
\hyperlink{a03369_ab78a93560926cd2f9958cb028f7ea96da361fe12954663bc16ce085e98fecce20}{Tex\+Coord1\+D} = 16, 
\hyperlink{a03369_ab78a93560926cd2f9958cb028f7ea96da358ce33062ef8be1f9928f9197c29ad1}{Tex\+Coord2\+D} = 32, 
\hyperlink{a03369_ab78a93560926cd2f9958cb028f7ea96da80d64ca7366a1bfa3c21dab475dc2f28}{Tex\+Coord3\+D} = 64, 
\\*
\hyperlink{a03369_ab78a93560926cd2f9958cb028f7ea96da0405f2e3d62fa43d7c912d6fb78e29cd}{Texture\+Index} = 128
 \}
\item 
enum \hyperlink{a03369_af600bbf2c3f55c90a2a64848f0547617}{Status\+Bits} \{ \\*
\hyperlink{a03369_af600bbf2c3f55c90a2a64848f0547617a7c61840f7e5e9b96c2a7b7ca7e0963d5}{D\+E\+L\+E\+T\+E\+D} = 1, 
\hyperlink{a03369_af600bbf2c3f55c90a2a64848f0547617a665a2fb27301203c9c817123a49f9215}{L\+O\+C\+K\+E\+D} = 2, 
\hyperlink{a03369_af600bbf2c3f55c90a2a64848f0547617aae27f7a232bfb6a7dae86efc75bd48aa}{S\+E\+L\+E\+C\+T\+E\+D} = 4, 
\hyperlink{a03369_af600bbf2c3f55c90a2a64848f0547617ae3c705ab0d4a6db6507b275fb7322023}{H\+I\+D\+D\+E\+N} = 8, 
\\*
\hyperlink{a03369_af600bbf2c3f55c90a2a64848f0547617af9b7e330ca8bb23dc9d1d82f5e16db82}{F\+E\+A\+T\+U\+R\+E} = 16, 
\hyperlink{a03369_af600bbf2c3f55c90a2a64848f0547617ae7e560c951fe9d11acb1f8de8af3f24a}{T\+A\+G\+G\+E\+D} = 32, 
\hyperlink{a03369_af600bbf2c3f55c90a2a64848f0547617a6315d4086063d9c27e5235e9890a701b}{T\+A\+G\+G\+E\+D2} = 64, 
\hyperlink{a03369_af600bbf2c3f55c90a2a64848f0547617a7ab3cc5eae1a983fe6815d01203d7047}{F\+I\+X\+E\+D\+N\+O\+N\+M\+A\+N\+I\+F\+O\+L\+D} = 128, 
\\*
\hyperlink{a03369_af600bbf2c3f55c90a2a64848f0547617ad4ba3270b74b3d36d9962cd69a972d3d}{U\+N\+U\+S\+E\+D} = 256
 \}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
This namespace holds per item attributes like normal/color. There are some macros provided for convenience, see \hyperlink{a01960}{Attributes.\+hh}. \begin{DoxySeeAlso}{See also}
\hyperlink{a01960}{Attributes.\+hh} 
\end{DoxySeeAlso}


\subsection{Enumeration Type Documentation}
\hypertarget{a03369_ab78a93560926cd2f9958cb028f7ea96d}{\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}!Attribute\+Bits@{Attribute\+Bits}}
\index{Attribute\+Bits@{Attribute\+Bits}!Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}
\subsubsection[{Attribute\+Bits}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Open\+Mesh\+::\+Attributes\+::\+Attribute\+Bits}}}\label{a03369_ab78a93560926cd2f9958cb028f7ea96d}
Attribute bits

Use the bits to define a standard property at compile time using traits.


\begin{DoxyCodeInclude}
\textcolor{keyword}{struct }\hyperlink{a00872}{MyTraits} : \textcolor{keyword}{public} \hyperlink{a00492}{OpenMesh::DefaultTraits} 
\{
  \hyperlink{a01975_a427ff443d5e47c76b9c45a29213e63db}{VertexAttributes}( \hyperlink{a03369_ab78a93560926cd2f9958cb028f7ea96da213616dd2e4d9744d863587001a77988}{OpenMesh::Attributes::Normal} |
                    \hyperlink{a03369_ab78a93560926cd2f9958cb028f7ea96dad51534b15e5d0f65569251f4cb3c0d0c}{OpenMesh::Attributes::Color} );

  \hyperlink{a01975_a75f0d731abf2489208086aac5147eefc}{FaceAttributes}( \hyperlink{a03369_ab78a93560926cd2f9958cb028f7ea96da213616dd2e4d9744d863587001a77988}{OpenMesh::Attributes::Normal} );
\};
\end{DoxyCodeInclude}


\begin{DoxySeeAlso}{See also}
\hyperlink{mesh_type}{Specifying your My\+Mesh} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{None@{None}!Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}!None@{None}}\item[{\em 
\hypertarget{a03369_ab78a93560926cd2f9958cb028f7ea96dabf5f773fefa8a6aa2c4b56158de44b92}{None}\label{a03369_ab78a93560926cd2f9958cb028f7ea96dabf5f773fefa8a6aa2c4b56158de44b92}
}]Clear all attribute bits. \index{Normal@{Normal}!Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}!Normal@{Normal}}\item[{\em 
\hypertarget{a03369_ab78a93560926cd2f9958cb028f7ea96da213616dd2e4d9744d863587001a77988}{Normal}\label{a03369_ab78a93560926cd2f9958cb028f7ea96da213616dd2e4d9744d863587001a77988}
}]Add normals to mesh item (vertices/faces) \index{Color@{Color}!Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}!Color@{Color}}\item[{\em 
\hypertarget{a03369_ab78a93560926cd2f9958cb028f7ea96dad51534b15e5d0f65569251f4cb3c0d0c}{Color}\label{a03369_ab78a93560926cd2f9958cb028f7ea96dad51534b15e5d0f65569251f4cb3c0d0c}
}]Add colors to mesh item (vertices/faces/edges) \index{Prev\+Halfedge@{Prev\+Halfedge}!Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}!Prev\+Halfedge@{Prev\+Halfedge}}\item[{\em 
\hypertarget{a03369_ab78a93560926cd2f9958cb028f7ea96dafaaebe1808b5cce96ad4e19df471d58a}{Prev\+Halfedge}\label{a03369_ab78a93560926cd2f9958cb028f7ea96dafaaebe1808b5cce96ad4e19df471d58a}
}]Add storage for previous halfedge (halfedges). The bit is set by default in the \hyperlink{a00492}{Default\+Traits}. \index{Status@{Status}!Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}!Status@{Status}}\item[{\em 
\hypertarget{a03369_ab78a93560926cd2f9958cb028f7ea96dad3e94e10c76894ebce6048b8bbb77a74}{Status}\label{a03369_ab78a93560926cd2f9958cb028f7ea96dad3e94e10c76894ebce6048b8bbb77a74}
}]Add status to mesh item (all items) \index{Tex\+Coord1\+D@{Tex\+Coord1\+D}!Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}!Tex\+Coord1\+D@{Tex\+Coord1\+D}}\item[{\em 
\hypertarget{a03369_ab78a93560926cd2f9958cb028f7ea96da361fe12954663bc16ce085e98fecce20}{Tex\+Coord1\+D}\label{a03369_ab78a93560926cd2f9958cb028f7ea96da361fe12954663bc16ce085e98fecce20}
}]Add 1\+D texture coordinates (vertices, halfedges) \index{Tex\+Coord2\+D@{Tex\+Coord2\+D}!Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}!Tex\+Coord2\+D@{Tex\+Coord2\+D}}\item[{\em 
\hypertarget{a03369_ab78a93560926cd2f9958cb028f7ea96da358ce33062ef8be1f9928f9197c29ad1}{Tex\+Coord2\+D}\label{a03369_ab78a93560926cd2f9958cb028f7ea96da358ce33062ef8be1f9928f9197c29ad1}
}]Add 2\+D texture coordinates (vertices, halfedges) \index{Tex\+Coord3\+D@{Tex\+Coord3\+D}!Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}!Tex\+Coord3\+D@{Tex\+Coord3\+D}}\item[{\em 
\hypertarget{a03369_ab78a93560926cd2f9958cb028f7ea96da80d64ca7366a1bfa3c21dab475dc2f28}{Tex\+Coord3\+D}\label{a03369_ab78a93560926cd2f9958cb028f7ea96da80d64ca7366a1bfa3c21dab475dc2f28}
}]Add 3\+D texture coordinates (vertices, halfedges) \index{Texture\+Index@{Texture\+Index}!Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}!Texture\+Index@{Texture\+Index}}\item[{\em 
\hypertarget{a03369_ab78a93560926cd2f9958cb028f7ea96da0405f2e3d62fa43d7c912d6fb78e29cd}{Texture\+Index}\label{a03369_ab78a93560926cd2f9958cb028f7ea96da0405f2e3d62fa43d7c912d6fb78e29cd}
}]Add texture index (faces) \end{description}
\end{Desc}


Definition at line 84 of file Attributes.\+hh.

\hypertarget{a03369_af600bbf2c3f55c90a2a64848f0547617}{\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}!Status\+Bits@{Status\+Bits}}
\index{Status\+Bits@{Status\+Bits}!Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}
\subsubsection[{Status\+Bits}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Open\+Mesh\+::\+Attributes\+::\+Status\+Bits}}}\label{a03369_af600bbf2c3f55c90a2a64848f0547617}
Status bits used by the Status class. \begin{DoxySeeAlso}{See also}
\hyperlink{a01238}{Open\+Mesh\+::\+Attributes\+::\+Status\+Info} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{D\+E\+L\+E\+T\+E\+D@{D\+E\+L\+E\+T\+E\+D}!Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}!D\+E\+L\+E\+T\+E\+D@{D\+E\+L\+E\+T\+E\+D}}\item[{\em 
\hypertarget{a03369_af600bbf2c3f55c90a2a64848f0547617a7c61840f7e5e9b96c2a7b7ca7e0963d5}{D\+E\+L\+E\+T\+E\+D}\label{a03369_af600bbf2c3f55c90a2a64848f0547617a7c61840f7e5e9b96c2a7b7ca7e0963d5}
}]Item has been deleted. \index{L\+O\+C\+K\+E\+D@{L\+O\+C\+K\+E\+D}!Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}!L\+O\+C\+K\+E\+D@{L\+O\+C\+K\+E\+D}}\item[{\em 
\hypertarget{a03369_af600bbf2c3f55c90a2a64848f0547617a665a2fb27301203c9c817123a49f9215}{L\+O\+C\+K\+E\+D}\label{a03369_af600bbf2c3f55c90a2a64848f0547617a665a2fb27301203c9c817123a49f9215}
}]Item is locked. \index{S\+E\+L\+E\+C\+T\+E\+D@{S\+E\+L\+E\+C\+T\+E\+D}!Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}!S\+E\+L\+E\+C\+T\+E\+D@{S\+E\+L\+E\+C\+T\+E\+D}}\item[{\em 
\hypertarget{a03369_af600bbf2c3f55c90a2a64848f0547617aae27f7a232bfb6a7dae86efc75bd48aa}{S\+E\+L\+E\+C\+T\+E\+D}\label{a03369_af600bbf2c3f55c90a2a64848f0547617aae27f7a232bfb6a7dae86efc75bd48aa}
}]Item is selected. \index{H\+I\+D\+D\+E\+N@{H\+I\+D\+D\+E\+N}!Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}!H\+I\+D\+D\+E\+N@{H\+I\+D\+D\+E\+N}}\item[{\em 
\hypertarget{a03369_af600bbf2c3f55c90a2a64848f0547617ae3c705ab0d4a6db6507b275fb7322023}{H\+I\+D\+D\+E\+N}\label{a03369_af600bbf2c3f55c90a2a64848f0547617ae3c705ab0d4a6db6507b275fb7322023}
}]Item is hidden. \index{F\+E\+A\+T\+U\+R\+E@{F\+E\+A\+T\+U\+R\+E}!Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}!F\+E\+A\+T\+U\+R\+E@{F\+E\+A\+T\+U\+R\+E}}\item[{\em 
\hypertarget{a03369_af600bbf2c3f55c90a2a64848f0547617af9b7e330ca8bb23dc9d1d82f5e16db82}{F\+E\+A\+T\+U\+R\+E}\label{a03369_af600bbf2c3f55c90a2a64848f0547617af9b7e330ca8bb23dc9d1d82f5e16db82}
}]Item is a feature or belongs to a feature. \index{T\+A\+G\+G\+E\+D@{T\+A\+G\+G\+E\+D}!Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}!T\+A\+G\+G\+E\+D@{T\+A\+G\+G\+E\+D}}\item[{\em 
\hypertarget{a03369_af600bbf2c3f55c90a2a64848f0547617ae7e560c951fe9d11acb1f8de8af3f24a}{T\+A\+G\+G\+E\+D}\label{a03369_af600bbf2c3f55c90a2a64848f0547617ae7e560c951fe9d11acb1f8de8af3f24a}
}]Item is tagged. \index{T\+A\+G\+G\+E\+D2@{T\+A\+G\+G\+E\+D2}!Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}!T\+A\+G\+G\+E\+D2@{T\+A\+G\+G\+E\+D2}}\item[{\em 
\hypertarget{a03369_af600bbf2c3f55c90a2a64848f0547617a6315d4086063d9c27e5235e9890a701b}{T\+A\+G\+G\+E\+D2}\label{a03369_af600bbf2c3f55c90a2a64848f0547617a6315d4086063d9c27e5235e9890a701b}
}]Alternate bit for tagging an item. \index{F\+I\+X\+E\+D\+N\+O\+N\+M\+A\+N\+I\+F\+O\+L\+D@{F\+I\+X\+E\+D\+N\+O\+N\+M\+A\+N\+I\+F\+O\+L\+D}!Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}!F\+I\+X\+E\+D\+N\+O\+N\+M\+A\+N\+I\+F\+O\+L\+D@{F\+I\+X\+E\+D\+N\+O\+N\+M\+A\+N\+I\+F\+O\+L\+D}}\item[{\em 
\hypertarget{a03369_af600bbf2c3f55c90a2a64848f0547617a7ab3cc5eae1a983fe6815d01203d7047}{F\+I\+X\+E\+D\+N\+O\+N\+M\+A\+N\+I\+F\+O\+L\+D}\label{a03369_af600bbf2c3f55c90a2a64848f0547617a7ab3cc5eae1a983fe6815d01203d7047}
}]Item was non-\/two-\/manifold and had to be fixed. \index{U\+N\+U\+S\+E\+D@{U\+N\+U\+S\+E\+D}!Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}}\index{Open\+Mesh\+::\+Attributes@{Open\+Mesh\+::\+Attributes}!U\+N\+U\+S\+E\+D@{U\+N\+U\+S\+E\+D}}\item[{\em 
\hypertarget{a03369_af600bbf2c3f55c90a2a64848f0547617ad4ba3270b74b3d36d9962cd69a972d3d}{U\+N\+U\+S\+E\+D}\label{a03369_af600bbf2c3f55c90a2a64848f0547617ad4ba3270b74b3d36d9962cd69a972d3d}
}]Unused. \end{description}
\end{Desc}


Definition at line 79 of file Status.\+hh.

