Updated Documentation for halfedge normals and texcoords
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@513 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -308,6 +308,9 @@ public: // Standard Property Management
|
||||
const Normal& normal(VertexHandle _vh) const; ///< Get normal
|
||||
void set_normal(VertexHandle _vh, const Normal& _n); ///< Set normal
|
||||
|
||||
const Normal& normal(HalfedgeHandle _heh) const; ///< Get normal of the to vertex for the current face (per face per vertex normals)
|
||||
void set_normal(HalfedgeHandle _heh, const Normal& _n); ///< Set normal of the to vertex for the current face (per face per vertex normals)
|
||||
|
||||
const Color& color(VertexHandle _vh) const; ///< Get color
|
||||
void set_color(VertexHandle _vh, const Color& _c); ///< Set color
|
||||
|
||||
@@ -320,14 +323,14 @@ public: // Standard Property Management
|
||||
const TexCoord3D& texcoord3D(VertexHandle _vh) const; ///< Get texture coordinate.
|
||||
void set_texcoord3D(VertexHandle _vh, const TexCoord3D& _t); ///< Set texture coordinate.
|
||||
|
||||
const TexCoord1D& texcoord1D(HalfedgeHandle _hh) const; ///< Get texture coordinate.
|
||||
void set_texcoord1D(HalfedgeHandle _hh, const TexCoord1D& _t); ///< Set texture coordinate.
|
||||
const TexCoord1D& texcoord1D(HalfedgeHandle _hh) const; ///< Get texture coordinate of the to vertex for the current face (per face per vertex texcoords)
|
||||
void set_texcoord1D(HalfedgeHandle _hh, const TexCoord1D& _t); ///< Set texture coordinate of the to vertex for the current face (per face per vertex texcoords)
|
||||
|
||||
const TexCoord2D& texcoord2D(HalfedgeHandle _hh) const; ///< Get texture coordinate.
|
||||
void set_texcoord2D(HalfedgeHandle _hh, const TexCoord2D& _t); ///< Set texture coordinate.
|
||||
const TexCoord2D& texcoord2D(HalfedgeHandle _hh) const; ///< Get texture coordinate of the to vertex for the current face (per face per vertex texcoords)
|
||||
void set_texcoord2D(HalfedgeHandle _hh, const TexCoord2D& _t); ///< Set texture coordinate of the to vertex for the current face (per face per vertex texcoords)
|
||||
|
||||
const TexCoord3D& texcoord3D(HalfedgeHandle _hh) const; ///< Get texture coordinate.
|
||||
void set_texcoord3D(HalfedgeHandle _hh, const TexCoord3D& _t); ///< Set texture coordinate.
|
||||
const TexCoord3D& texcoord3D(HalfedgeHandle _hh) const; ///< Get texture coordinate of the to vertex for the current face (per face per vertex texcoords)
|
||||
void set_texcoord3D(HalfedgeHandle _hh, const TexCoord3D& _t); ///< Set texture coordinate of the to vertex for the current face (per face per vertex texcoords)
|
||||
|
||||
const StatusInfo& status(VertexHandle _vh) const; ///< Get status
|
||||
StatusInfo& status(VertexHandle _vh); ///< Get status
|
||||
@@ -363,6 +366,7 @@ public: // Standard Property Management
|
||||
void request_vertex_status();
|
||||
|
||||
void request_halfedge_status();
|
||||
void request_halfedge_normals();
|
||||
void request_halfedge_texcoords1D();
|
||||
void request_halfedge_texcoords2D();
|
||||
void request_halfedge_texcoords3D();
|
||||
@@ -387,6 +391,7 @@ public: // Standard Property Management
|
||||
void release_vertex_status();
|
||||
|
||||
void release_halfedge_status();
|
||||
void release_halfedge_normals();
|
||||
void release_halfedge_texcoords1D();
|
||||
void release_halfedge_texcoords2D();
|
||||
void release_halfedge_texcoords3D();
|
||||
@@ -411,6 +416,7 @@ public: // Standard Property Management
|
||||
bool has_vertex_status() const;
|
||||
|
||||
bool has_halfedge_status() const;
|
||||
bool has_halfedge_normals(); const;
|
||||
bool has_halfedge_texcoords1D() const;
|
||||
bool has_halfedge_texcoords2D() const;
|
||||
bool has_halfedge_texcoords3D() const;
|
||||
|
||||
@@ -34,7 +34,7 @@ entity for which it can be used.
|
||||
<td>X</td>
|
||||
<td>X</td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td>X</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Position <sup> (*) </sup> </td>
|
||||
@@ -55,7 +55,7 @@ entity for which it can be used.
|
||||
<td>X</td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td>X</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -114,6 +114,7 @@ are:
|
||||
<li>request_face_status()</li>
|
||||
<li>request_face_texture_index()</li>
|
||||
<li>request_halfedge_status()</li>
|
||||
<li>request_halfedge_normals()</li>
|
||||
<li>request_halfedge_texcoords1D()</li>
|
||||
<li>request_halfedge_texcoords2D()</li>
|
||||
<li>request_halfedge_texcoords3D()</li>
|
||||
@@ -135,6 +136,7 @@ Added properties can be released by the following functions:
|
||||
<li>release_face_status()</li>
|
||||
<li>release_face_texture_index()</li>
|
||||
<li>release_halfedge_status()</li>
|
||||
<li>release_halfedge_normals()</li>
|
||||
<li>release_halfedge_texcoords1D()</li>
|
||||
<li>release_halfedge_texcoords2D()</li>
|
||||
<li>release_halfedge_texcoords3D()</li>
|
||||
@@ -156,6 +158,7 @@ A property's existance can be tested with
|
||||
<li>has_face_status()</li>
|
||||
<li>has_face_texture_index()</li>
|
||||
<li>has_halfedge_status()</li>
|
||||
<li>has_halfedge_normals()</li>
|
||||
<li>has_halfedge_texcoords1D()</li>
|
||||
<li>has_halfedge_texcoords2D()</li>
|
||||
<li>has_halfedge_texcoords3D()</li>
|
||||
|
||||
Reference in New Issue
Block a user