Commit 843222c6 authored by Max Lyon's avatar Max Lyon
Browse files

fixed some documentation warnings in Plugin-FileVTK

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16431 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 70c216ec
......@@ -226,10 +226,10 @@ int FileVTKPlugin::addPyramidCellToOpenMesh(MeshT /*_mesh*/, std::vector<quint32
}
template <typename MeshT>
int FileVTKPlugin::addFaceToOpenMesh(MeshT*& _mesh, std::vector<quint32> indices)
int FileVTKPlugin::addFaceToOpenMesh(MeshT*& _mesh, std::vector<quint32> _indices)
{
std::vector<OpenMesh::VertexHandle> handles;
for (std::vector<quint32>::const_iterator it = indices.begin(); it != indices.end(); ++it)
for (std::vector<quint32>::const_iterator it = _indices.begin(); it != _indices.end(); ++it)
handles.push_back(_mesh->vertex_handle(*it));
OpenMesh::FaceHandle fh = _mesh->add_face(handles);
......@@ -459,20 +459,20 @@ bool FileVTKPlugin::writeASCIIDataOfOpenMesh(std::ostream& _out, MeshT& _mesh )
return true;
}
int FileVTKPlugin::addTetraCell(TriMesh*& _mesh, std::vector<quint32> indices) { return addTetraCellToOpenMesh(_mesh, indices); }
int FileVTKPlugin::addTetraCell(PolyMesh*& _mesh, std::vector<quint32> indices) { return addTetraCellToOpenMesh(_mesh, indices); }
int FileVTKPlugin::addTetraCell(TriMesh*& _mesh, std::vector<quint32> _indices) { return addTetraCellToOpenMesh(_mesh, _indices); }
int FileVTKPlugin::addTetraCell(PolyMesh*& _mesh, std::vector<quint32> _indices) { return addTetraCellToOpenMesh(_mesh, _indices); }
int FileVTKPlugin::addHexaCell(TriMesh*& _mesh, std::vector<quint32> indices) { return addHexaCellToOpenMesh(_mesh, indices); }
int FileVTKPlugin::addHexaCell(PolyMesh*& _mesh, std::vector<quint32> indices) { return addHexaCellToOpenMesh(_mesh, indices); }
int FileVTKPlugin::addHexaCell(TriMesh*& _mesh, std::vector<quint32> _indices) { return addHexaCellToOpenMesh(_mesh, _indices); }
int FileVTKPlugin::addHexaCell(PolyMesh*& _mesh, std::vector<quint32> _indices) { return addHexaCellToOpenMesh(_mesh, _indices); }
int FileVTKPlugin::addWedgeCell(TriMesh*& _mesh, std::vector<quint32> indices) { return addWedgeCellToOpenMesh(_mesh, indices); }
int FileVTKPlugin::addWedgeCell(PolyMesh*& _mesh, std::vector<quint32> indices) { return addWedgeCellToOpenMesh(_mesh, indices); }
int FileVTKPlugin::addWedgeCell(TriMesh*& _mesh, std::vector<quint32> _indices) { return addWedgeCellToOpenMesh(_mesh, _indices); }
int FileVTKPlugin::addWedgeCell(PolyMesh*& _mesh, std::vector<quint32> _indices) { return addWedgeCellToOpenMesh(_mesh, _indices); }
int FileVTKPlugin::addPyramidCell(TriMesh*& _mesh, std::vector<quint32> indices) { return addPyramidCellToOpenMesh(_mesh, indices); }
int FileVTKPlugin::addPyramidCell(PolyMesh*& _mesh, std::vector<quint32> indices) { return addPyramidCellToOpenMesh(_mesh, indices); }
int FileVTKPlugin::addPyramidCell(TriMesh*& _mesh, std::vector<quint32> _indices) { return addPyramidCellToOpenMesh(_mesh, _indices); }
int FileVTKPlugin::addPyramidCell(PolyMesh*& _mesh, std::vector<quint32> _indices) { return addPyramidCellToOpenMesh(_mesh, _indices); }
int FileVTKPlugin::addFace(TriMesh*& _mesh, std::vector<quint32> indices) { return addFaceToOpenMesh(_mesh, indices); }
int FileVTKPlugin::addFace(PolyMesh*& _mesh, std::vector<quint32> indices) { return addFaceToOpenMesh(_mesh, indices); }
int FileVTKPlugin::addFace(TriMesh*& _mesh, std::vector<quint32> _indices) { return addFaceToOpenMesh(_mesh, _indices); }
int FileVTKPlugin::addFace(PolyMesh*& _mesh, std::vector<quint32> _indices) { return addFaceToOpenMesh(_mesh, _indices); }
int FileVTKPlugin::addFace(TriMesh*& _mesh, quint32 _index1, quint32 _index2, quint32 _index3) { return addFaceToOpenMesh(_mesh, _index1, _index2, _index3); }
int FileVTKPlugin::addFace(PolyMesh*& _mesh, quint32 _index1, quint32 _index2, quint32 _index3) { return addFaceToOpenMesh(_mesh, _index1, _index2, _index3); }
......@@ -492,8 +492,8 @@ void FileVTKPlugin::addFaceNormal(PolyMesh*& _mesh, quint32 _index, OpenMesh::Ve
void FileVTKPlugin::setNormalsOfDuplicatedVertices(TriMesh*& _mesh) { setNormalsOfDuplicatedVerticesOfOpenMesh(_mesh); }
void FileVTKPlugin::setNormalsOfDuplicatedVertices(PolyMesh*& _mesh) { setNormalsOfDuplicatedVerticesOfOpenMesh(_mesh); }
bool FileVTKPlugin::writeASCIIData(std::ostream &_out, TriMesh &_mesh) { return writeASCIIDataOfOpenMesh(_out, _mesh); }
bool FileVTKPlugin::writeASCIIData(std::ostream &_out, PolyMesh &_mesh) { return writeASCIIDataOfOpenMesh(_out, _mesh); }
bool FileVTKPlugin::writeASCIIData(std::ostream &_out, TriMesh &_mesh) { return writeASCIIDataOfOpenMesh(_out, _mesh); }
bool FileVTKPlugin::writeASCIIData(std::ostream &_out, PolyMesh &_mesh) { return writeASCIIDataOfOpenMesh(_out, _mesh); }
#ifdef ENABLE_OPENVOLUMEMESH_SUPPORT
......
......@@ -277,7 +277,7 @@ class FileVTKPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
* @return index of the first added primitive
*/
template <typename MeshT>
int addFaceToOpenMesh(MeshT*& _mesh, std::vector<quint32> indices);
int addFaceToOpenMesh(MeshT*& _mesh, std::vector<quint32> _indices);
/** \brief Adds a face to the mesh.
*
......@@ -361,7 +361,7 @@ class FileVTKPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
*
* @return index of the first added primitive
*/
int addTetraCell(TriMesh*& _mesh, std::vector<quint32> indices);
int addTetraCell(TriMesh*& _mesh, std::vector<quint32> _indices);
/** \brief Adds a tetra cell to the mesh. (Does nothing, yet)
*
......@@ -371,7 +371,7 @@ class FileVTKPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
*
* @return index of the first added primitive
*/
int addTetraCell(PolyMesh*& _mesh, std::vector<quint32> indices);
int addTetraCell(PolyMesh*& _mesh, std::vector<quint32> _indices);
/** \brief Adds a hexa cell to the mesh. (Does nothing, yet)
*
......@@ -381,7 +381,7 @@ class FileVTKPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
*
* @return index of the first added primitive
*/
int addHexaCell(TriMesh*& _mesh, std::vector<quint32> indices);
int addHexaCell(TriMesh*& _mesh, std::vector<quint32> _indices);
/** \brief Adds a hexa cell to the mesh. (Does nothing, yet)
*
......@@ -391,7 +391,7 @@ class FileVTKPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
*
* @return index of the first added primitive
*/
int addHexaCell(PolyMesh*& _mesh, std::vector<quint32> indices);
int addHexaCell(PolyMesh*& _mesh, std::vector<quint32> _indices);
/** \brief Adds a wedge cell to the mesh. (Does nothing, yet)
*
......@@ -401,7 +401,7 @@ class FileVTKPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
*
* @return index of the first added primitive
*/
int addWedgeCell(TriMesh*& _mesh, std::vector<quint32> indices);
int addWedgeCell(TriMesh*& _mesh, std::vector<quint32> _indices);
/** \brief Adds a wedge cell to the mesh. (Does nothing, yet)
*
......@@ -411,7 +411,7 @@ class FileVTKPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
*
* @return index of the first added primitive
*/
int addWedgeCell(PolyMesh*& _mesh, std::vector<quint32> indices);
int addWedgeCell(PolyMesh*& _mesh, std::vector<quint32> _indices);
/** \brief Adds a pyramid cell to the mesh. (Does nothing, yet)
*
......@@ -421,7 +421,7 @@ class FileVTKPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
*
* @return index of the first added primitive
*/
int addPyramidCell(TriMesh*& _mesh, std::vector<quint32> indices);
int addPyramidCell(TriMesh*& _mesh, std::vector<quint32> _indices);
/** \brief Adds a pyramid cell to the mesh. (Does nothing, yet)
*
......@@ -431,7 +431,7 @@ class FileVTKPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
*
* @return index of the first added primitive
*/
int addPyramidCell(PolyMesh*& _mesh, std::vector<quint32> indices);
int addPyramidCell(PolyMesh*& _mesh, std::vector<quint32> _indices);
/** \brief Adds a face to the mesh.
*
......@@ -441,7 +441,7 @@ class FileVTKPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
*
* @return index of the first added primitive
*/
int addFace(TriMesh*& _mesh, std::vector<quint32> indices);
int addFace(TriMesh*& _mesh, std::vector<quint32> _indices);
/** \brief Adds a face to the mesh.
*
......@@ -451,7 +451,7 @@ class FileVTKPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
*
* @return index of the first added primitive
*/
int addFace(PolyMesh*& _mesh, std::vector<quint32> indices);
int addFace(PolyMesh*& _mesh, std::vector<quint32> _indices);
/** \brief Adds a face to the mesh.
*
......@@ -1001,6 +1001,7 @@ class FileVTKPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
* @param _spec Line containing the CELL header
* @param _in Textstream (after reading the CELL header)
* @param _mesh Mesh to work on
* @param _cells Cell descriptions
*/
template <typename MeshT>
bool loadMeshCells(QString _spec,QTextStream& _in,MeshT*& _mesh, std::vector<CellType>& _cells);
......@@ -1011,6 +1012,7 @@ class FileVTKPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
* @param _spec Line containing the NORMALS header
* @param _in Textstream (after reading the NORMALS header)
* @param _mesh Mesh to work on
* @param _cells Cell descriptions
* @param _pointNormal point or face normals?
* @param _count Number of primitives to read
*/
......
Supports Markdown
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