Commit d6c6f511 authored by Mike Kremer's avatar Mike Kremer
Browse files

Updated request functions once more.

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@187 fdac6126-5c0c-442c-9429-916003d36597
parent c63840bd
......@@ -331,16 +331,22 @@ public: // Standard Property Management
/// Request property
void request_vertex_normals();
void request_vertex_colors();
void request_vertex_texcoords();
void request_vertex_texcoords1D();
void request_vertex_texcoords2D();
void request_vertex_texcoords3D();
void request_vertex_status();
void request_halfedge_status();
void request_halfedge_texcoords1D();
void request_halfedge_texcoords2D();
void request_halfedge_texcoords3D();
void request_edge_status();
void request_face_normals();
void request_face_colors();
void request_face_status();
void request_face_texture_index();
//@}
/// \name Remove standard properties
......@@ -348,16 +354,22 @@ public: // Standard Property Management
/// Remove property
void release_vertex_normals();
void release_vertex_colors();
void release_vertex_texcoords();
void release_vertex_texcoords1D();
void release_vertex_texcoords2D();
void release_vertex_texcoords3D();
void release_vertex_status();
void release_halfedge_status();
void release_halfedge_texcoords1D();
void release_halfedge_texcoords2D();
void release_halfedge_texcoords3D();
void release_edge_status();
void release_face_normals();
void release_face_colors();
void release_face_status();
void release_face_texture_index();
//@}
/// \name Check availability of standard properties
......@@ -365,13 +377,22 @@ public: // Standard Property Management
/// Is property available?
bool has_vertex_normals() const;
bool has_vertex_colors() const;
bool has_vertex_texcoords() const;
bool has_vertex_texcoords1D() const;
bool has_vertex_texcoords2D() const;
bool has_vertex_texcoords3D() const;
bool has_vertex_status() const;
bool has_edge_status() const;
bool has_halfedge_status() const;
bool has_halfedge_texcoords1D() const;
bool has_halfedge_texcoords2D() const;
bool has_halfedge_texcoords3D() const;
bool has_edge_status() const;
bool has_face_normals() const;
bool has_face_colors() const;
bool has_face_status() const;
bool has_face_texture_index() const;
//@}
public: // Property Management
......
......@@ -111,11 +111,17 @@ are:
<li>request_face_colors()</li>
<li>request_face_normals()</li>
<li>request_face_status()</li>
<li>request_face_texture_index()</li>
<li>request_halfedge_status()</li>
<li>request_halfedge_texcoords1D()</li>
<li>request_halfedge_texcoords2D()</li>
<li>request_halfedge_texcoords3D()</li>
<li>request_vertex_colors()</li>
<li>request_vertex_normals()</li>
<li>request_vertex_status()</li>
<li>request_vertex_texcoords()</li>
<li>request_vertex_texcoords1D()</li>
<li>request_vertex_texcoords2D()</li>
<li>request_vertex_texcoords3D()</li>
</ul>
Added properties can be released by the following functions:
......@@ -125,11 +131,17 @@ Added properties can be released by the following functions:
<li>release_face_colors()</li>
<li>release_face_normals()</li>
<li>release_face_status()</li>
<li>release_face_texture_index()</li>
<li>release_halfedge_status()</li>
<li>release_halfedge_texcoords1D()</li>
<li>release_halfedge_texcoords2D()</li>
<li>release_halfedge_texcoords3D()</li>
<li>release_vertex_colors()</li>
<li>release_vertex_normals()</li>
<li>release_vertex_status()</li>
<li>release_vertex_texcoords()</li>
<li>release_vertex_texcoords1D()</li>
<li>release_vertex_texcoords2D()</li>
<li>release_vertex_texcoords3D()</li>
</ul>
A property's existance can be tested with
......@@ -139,11 +151,17 @@ A property's existance can be tested with
<li>has_face_colors()</li>
<li>has_face_normals()</li>
<li>has_face_status()</li>
<li>has_face_texture_index()</li>
<li>has_halfedge_status()</li>
<li>has_halfedge_texcoords1D()</li>
<li>has_halfedge_texcoords2D()</li>
<li>has_halfedge_texcoords3D()</li>
<li>has_vertex_colors()</li>
<li>has_vertex_normals()</li>
<li>has_vertex_status()</li>
<li>has_vertex_texcoords()</li>
<li>has_vertex_texcoords1D()</li>
<li>has_vertex_texcoords2D()</li>
<li>has_vertex_texcoords3D()</li>
</ul>
which return true if a property has been requested before and is available.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment