Commit ce556dac authored by Mike Kremer's avatar Mike Kremer

Added screenshots to documentation to outline user interface cvoncepts

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5409 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 0c5fc5c1
......@@ -63,7 +63,6 @@ class ScriptInterface {
* e.g. selectAllVertices( ObjectId )
*
* @param _functionName the called function
* @param _exists found or not
*/
virtual void scriptInfo( QString /*_functionName*/ ) {};
......
......@@ -153,7 +153,8 @@ EXCLUDE_SYMBOLS =
EXAMPLE_PATH = ./Doxygen/example/
EXAMPLE_PATTERNS = *
EXAMPLE_RECURSIVE = NO
IMAGE_PATH = ./Doxygen/pics/
IMAGE_PATH = ./Doxygen/pics/ \
./Doxygen/screenshots/
INPUT_FILTER =
FILTER_PATTERNS =
FILTER_SOURCE_FILES = NO
......
/** \page uiconcept "User Interface Concepts"
*
* This page describes the global OpenFlipper user interface concept.
* The OpenFlipper user interface is composed of 4 essential widgets
* each accessible and extendable by user plugins:
*
* -\ref viewport_widget
* -\ref plugin_widget
* -\ref logging_widget
* -\ref tool_bar
*
* \subsection viewport_widget The viewport widget
*
*
*
* \subsection plugin_widget The plugin widget
* \subsection logging_widget The logging widget
* \subsection tool_bar The tool bar
*/
......@@ -72,8 +72,8 @@ bool SmootherPlugin::initializeToolbox(QWidget*& _widget)
*/
void SmootherPlugin::simpleLaplace() {
for ( PluginFunctions::ObjectIterator o_it(PluginFunctions::TARGET_OBJECTS) ; o_it != PluginFunctions::objectsEnd(); ++o_it) {
for ( PluginFunctions::ObjectIterator o_it(PluginFunctions::TARGET_OBJECTS);
o_it != PluginFunctions::objectsEnd(); ++o_it) {
if ( o_it->dataType( DATA_TRIANGLE_MESH ) ) {
......@@ -88,7 +88,7 @@ void SmootherPlugin::simpleLaplace() {
for ( int i = 0 ; i < iterationsSpinbox_->value() ; ++i ) {
// Copy original positions to backup ( in Vertex property )
// Copy original positions to backup ( in vertex property )
TriMesh::VertexIter v_it, v_end=mesh->vertices_end();
for (v_it=mesh->vertices_begin(); v_it!=v_end; ++v_it) {
mesh->property( origPositions, v_it ) = mesh->point(v_it);
......@@ -102,10 +102,12 @@ void SmootherPlugin::simpleLaplace() {
// Flag, to skip boundary vertices
bool skip = false;
// ( .. for each Outoing halfedge .. )
// ( .. for each outgoing halfedge .. )
TriMesh::VertexOHalfedgeIter voh_it(*mesh,v_it);
for ( ; voh_it; ++voh_it ) {
// .. add the (original) position of the Neighbour ( end of the outgoing halfedge )
// .. add the (original) position of the neighbour ( end of the outgoing halfedge )
point += mesh->property( origPositions, mesh->to_vertex_handle(voh_it) );
// Check if the current Halfedge is a boundary halfedge
......@@ -114,7 +116,6 @@ void SmootherPlugin::simpleLaplace() {
skip = true;
break;
}
}
// Devide by the valence of the current vertex
......@@ -198,8 +199,9 @@ void SmootherPlugin::simpleLaplace() {
} else {
emit log(LOGERR, "DataType not supported.");
}
emit log(LOGERR, "Data type not supported.");
} // Switch data type
}
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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