Fixed \ccVariables support

This commit is contained in:
Laurent Saboret 2008-02-20 11:46:17 +00:00
parent 0721125636
commit 70a58205c3
3 changed files with 54 additions and 28 deletions

View File

@ -187,6 +187,20 @@ Clockwise circulator over the vertices incident to a vertex. Model of the Bidire
%END-AUTO(\ccTypes)
\ccHeading{Variables}
% The section below is automatically generated. Do not edit!
%START-AUTO(\ccHeading{Variables})
\ccVariable{Adaptor& m_mesh_adaptor;}
{
The decorated mesh.
}
\ccGlue
%END-AUTO(\ccHeading{Variables})
\ccCreation
\ccCreationVariable{mesh} %% define variable name used by \ccMethod below
@ -215,9 +229,11 @@ non-mutable counterpart methods, i.e. \ccc{const}, returning a \ccc{const_handle
\ccMethod{Adaptor& get_decorated_mesh();}
{
Get the decorated mesh.
}
\ccGlue
\begin{description}
\item[Returns:]the decorated mesh. \end{description}
\ccGlue
\ccMethod{const Adaptor& get_decorated_mesh() const;}
{
}
@ -275,9 +291,16 @@ Get iterator over past-the-end vertex of mesh's main border (aka {\em seam}).
\ccGlue
\ccMethod{std::list<Vertex_handle> get_border(Vertex_handle seed_vertex);}
{
Return the border containing \ccc{seed_vertex}. Return an empty list if not found.
}
\ccGlue
\begin{description}
\item[Returns:]the border containing \ccc{seed_vertex} (or an empty list if not found). \end{description}
\begin{description}
\item[Parameters:]
\begin{description}
\item[\ccc{seed_vertex}]a border vertex. \end{description}
\end{description}
\ccGlue
\ccMethod{Facet_iterator mesh_facets_begin();}
{
Get iterator over first facet of mesh.

View File

@ -77,107 +77,107 @@ class \ccc{Parameterizer_traits_3};
Export \ccc{ParameterizationMesh_3} template parameter.
}
\ccGlue
\ccVariable{typedef Adaptor::NT NT;}
\ccNestedType{NT}
{
[protected] \\
}
\ccGlue
\ccVariable{typedef Adaptor::Point_2 Point_2;}
\ccNestedType{Point_2}
{
[protected] \\
}
\ccGlue
\ccVariable{typedef Adaptor::Point_3 Point_3;}
\ccNestedType{Point_3}
{
[protected] \\
}
\ccGlue
\ccVariable{typedef Adaptor::Vector_2 Vector_2;}
\ccNestedType{Vector_2}
{
[protected] \\
}
\ccGlue
\ccVariable{typedef Adaptor::Vector_3 Vector_3;}
\ccNestedType{Vector_3}
{
[protected] \\
}
\ccGlue
\ccVariable{typedef Adaptor::Facet Facet;}
\ccNestedType{Facet}
{
[protected] \\
}
\ccGlue
\ccVariable{typedef Adaptor::Facet_handle Facet_handle;}
\ccNestedType{Facet_handle}
{
[protected] \\
}
\ccGlue
\ccVariable{typedef Adaptor::Facet_const_handle Facet_const_handle;}
\ccNestedType{Facet_const_handle}
{
[protected] \\
}
\ccGlue
\ccVariable{typedef Adaptor::Facet_iterator Facet_iterator;}
\ccNestedType{Facet_iterator}
{
[protected] \\
}
\ccGlue
\ccVariable{typedef Adaptor::Facet_const_iterator Facet_const_iterator;}
\ccNestedType{Facet_const_iterator}
{
[protected] \\
}
\ccGlue
\ccVariable{typedef Adaptor::Vertex Vertex;}
\ccNestedType{Vertex}
{
[protected] \\
}
\ccGlue
\ccVariable{typedef Adaptor::Vertex_handle Vertex_handle;}
\ccNestedType{Vertex_handle}
{
[protected] \\
}
\ccGlue
\ccVariable{typedef Adaptor::Vertex_const_handle Vertex_const_handle;}
\ccNestedType{Vertex_const_handle}
{
[protected] \\
}
\ccGlue
\ccVariable{typedef Adaptor::Vertex_iterator Vertex_iterator;}
\ccNestedType{Vertex_iterator}
{
[protected] \\
}
\ccGlue
\ccVariable{typedef Adaptor::Vertex_const_iterator Vertex_const_iterator;}
\ccNestedType{Vertex_const_iterator}
{
[protected] \\
}
\ccGlue
\ccVariable{typedef Adaptor::Border_vertex_iterator Border_vertex_iterator;}
\ccNestedType{Border_vertex_iterator}
{
[protected] \\
}
\ccGlue
\ccVariable{typedef Adaptor::Border_vertex_const_iterator Border_vertex_const_iterator;}
\ccNestedType{Border_vertex_const_iterator}
{
[protected] \\
}
\ccGlue
\ccVariable{typedef Adaptor::Vertex_around_facet_circulator Vertex_around_facet_circulator;}
\ccNestedType{Vertex_around_facet_circulator}
{
[protected] \\
}
\ccGlue
\ccVariable{typedef Adaptor::Vertex_around_facet_const_circulator Vertex_around_facet_const_circulator;}
\ccNestedType{Vertex_around_facet_const_circulator}
{
[protected] \\
}
\ccGlue
\ccVariable{typedef Adaptor::Vertex_around_vertex_circulator Vertex_around_vertex_circulator;}
\ccNestedType{Vertex_around_vertex_circulator}
{
[protected] \\
}
\ccGlue
\ccVariable{typedef Adaptor::Vertex_around_vertex_const_circulator Vertex_around_vertex_const_circulator;}
\ccNestedType{Vertex_around_vertex_const_circulator}
{
[protected] \\
}

View File

@ -264,7 +264,7 @@ public:
#endif
}
/// Get the decorated mesh.
/// @return the decorated mesh.
Adaptor& get_decorated_mesh() { return *m_mesh_adaptor; }
const Adaptor& get_decorated_mesh() const { return *m_mesh_adaptor; }
@ -345,8 +345,8 @@ public:
return mesh_vertices_end();
}
/// Return the border containing seed_vertex.
/// Return an empty list if not found.
/// @return the border containing seed_vertex (or an empty list if not found).
/// @param seed_vertex a border vertex.
std::list<Vertex_handle> get_border(Vertex_handle seed_vertex)
{
std::list<Vertex_handle> border; // returned list
@ -1028,12 +1028,15 @@ private:
}
}
// Fields
private:
// Public fields
public:
/// The decorated mesh.
Adaptor& m_mesh_adaptor;
// Private fields
private:
/// List of all exported vertices.
/// Order is: inner vertices, then seam/main border ones.
Param_mesh_patch_vertex_list<Adaptor> m_inner_and_border_vertices;