...
 
Commits (42)
......@@ -39,13 +39,6 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision: 13489 $ *
* $LastChangedBy: kremer $ *
* $Date: 2012-01-25 12:30:09 +0100 (Wed, 25 Jan 2012) $ *
* *
\*===========================================================================*/
/**
* \file HexahedralMesh/HexahedralMesh.hh
......@@ -70,6 +63,9 @@ typedef OpenVolumeMesh::GeometryKernel<ACG::Vec3d, OpenVolumeMesh::HexahedralMes
/// Typedef for a mesh object containing a polyhedral mesh
typedef VolumeMeshObject<HexahedralMesh> HexahedralMeshObject;
extern template class VolumeMeshObject<HexahedralMesh>;
extern template class ACG::SceneGraph::VolumeMeshNodeT<HexahedralMesh>;
#include <ObjectTypes/HexahedralMesh/PluginFunctionsHexahedralMesh.hh>
//=============================================================================
......
......@@ -39,15 +39,9 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision: 13489 $ *
* $LastChangedBy: kremer $ *
* $Date: 2012-01-25 12:30:09 +0100 (Wed, 25 Jan 2012) $ *
* *
\*===========================================================================*/
#include <OpenFlipper/common/Types.hh>
#include <OpenFlipper/BasePlugin/PluginFunctions.hh>
#include <ObjectTypes/HexahedralMesh/PluginFunctionsHexahedralMesh.hh>
......
......@@ -39,13 +39,6 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision: 13489 $ *
* $LastChangedBy: kremer $ *
* $Date: 2012-01-25 12:30:09 +0100 (Wed, 25 Jan 2012) $ *
* *
\*===========================================================================*/
/**
* \file PluginFunctionsHexahedralMesh.hh
......
/*===========================================================================*\
* *
* OpenFlipper *
* Copyright (C) 2001-2014 by Computer Graphics Group, RWTH Aachen *
* www.openflipper.org *
* *
*--------------------------------------------------------------------------- *
* This file is part of OpenFlipper. *
* *
* OpenFlipper is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of *
* the License, or (at your option) any later version with the *
* following exceptions: *
* *
* If other files instantiate templates or use macros *
* or inline functions from this file, or you compile this file and *
* link it with other files to produce an executable, this file does *
* not by itself cause the resulting executable to be covered by the *
* GNU Lesser General Public License. This exception does not however *
* invalidate any other reasons why the executable file might be *
* covered by the GNU Lesser General Public License. *
* *
* OpenFlipper is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU LesserGeneral Public *
* License along with OpenFlipper. If not, *
* see <http://www.gnu.org/licenses/>. *
* *
\*===========================================================================*/
#include "HexahedralMesh.hh"
#include <ObjectTypes/VolumeMeshObject/VolumeMeshObjectT_impl.hh>
#include <ObjectTypes/VolumeMeshObject/VolumeMeshNodeT_impl.hh>
#include <ObjectTypes/VolumeMeshObject/VolumeMeshNodeGLCompatT_impl.hh>
#include <OpenFlipper/common/ObjectTypeDLLDefines.hh>
template class OBJECTTYPEDLLEXPORT VolumeMeshObject<HexahedralMesh>;
template class OBJECTTYPEDLLEXPORT ACG::SceneGraph::VolumeMeshNodeT<HexahedralMesh>;
/*===========================================================================*\
* *
* OpenFlipper *
* *
* OpenFlipper *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* Department of Computer Graphics and Multimedia *
* All rights reserved. *
......@@ -36,18 +36,13 @@
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision: 13489 $ *
* $LastChangedBy: kremer $ *
* $Date: 2012-01-25 12:30:09 +0100 (Mi, 25 Jan 2012) $ *
* *
\*===========================================================================*/
#include <OpenFlipper/common/Types.hh>
#include <OpenFlipper/BasePlugin/PluginFunctions.hh>
#include <ObjectTypes/PolyhedralMesh/PluginFunctionsPolyhedralMesh.hh>
......
/*===========================================================================*\
* *
* OpenFlipper *
* *
* OpenFlipper *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* Department of Computer Graphics and Multimedia *
* All rights reserved. *
......@@ -36,16 +36,9 @@
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision: 13489 $ *
* $LastChangedBy: kremer $ *
* $Date: 2012-01-25 12:30:09 +0100 (Mi, 25 Jan 2012) $ *
* *
\*===========================================================================*/
/**
* \file PluginFunctionsPolyhedralMesh.hh
......
/*===========================================================================*\
* *
* OpenFlipper *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* Department of Computer Graphics and Multimedia *
* All rights reserved. *
* www.openflipper.org *
* *
*---------------------------------------------------------------------------*
* This file is part of OpenFlipper. *
*---------------------------------------------------------------------------*
* *
* Redistribution and use in source and binary forms, with or without *
* modification, are permitted provided that the following conditions *
* are met: *
* *
* 1. Redistributions of source code must retain the above copyright notice, *
* this list of conditions and the following disclaimer. *
* *
* 2. Redistributions in binary form must reproduce the above copyright *
* notice, this list of conditions and the following disclaimer in the *
* documentation and/or other materials provided with the distribution. *
* *
* 3. Neither the name of the copyright holder nor the names of its *
* contributors may be used to endorse or promote products derived from *
* this software without specific prior written permission. *
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS *
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED *
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A *
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER *
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, *
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, *
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR *
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF *
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
#include "PolyhedralMesh.hh"
#include <ObjectTypes/VolumeMeshObject/VolumeMeshObjectT_impl.hh>
#include <ObjectTypes/VolumeMeshObject/VolumeMeshNodeT_impl.hh>
#include <ObjectTypes/VolumeMeshObject/VolumeMeshNodeGLCompatT_impl.hh>
#include <OpenFlipper/common/ObjectTypeDLLDefines.hh>
template class OBJECTTYPEDLLEXPORT VolumeMeshObject<PolyhedralMesh>;
template class OBJECTTYPEDLLEXPORT ACG::SceneGraph::VolumeMeshNodeT<PolyhedralMesh>;
/*===========================================================================*\
* *
* OpenFlipper *
* *
* OpenFlipper *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* Department of Computer Graphics and Multimedia *
* All rights reserved. *
......@@ -36,15 +36,7 @@
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision: 13620 $ *
* $LastChangedBy: moebius $ *
* $Date: 2012-02-01 14:51:25 +0100 (Mi, 01 Feb 2012) $ *
* *
* *
\*===========================================================================*/
/**
......@@ -52,8 +44,7 @@
* This file contains all required includes for using polyhedral meshes
*/
#ifndef POLYHEDRAL_MESH_INCLUDE_HH
#define POLYHEDRAL_MESH_INCLUDE_HH
#pragma once
//== INCLUDES =================================================================
......@@ -70,9 +61,8 @@ typedef OpenVolumeMesh::GeometryKernel<ACG::Vec3d, OpenVolumeMesh::TopologyKerne
/// Typedef for a mesh object containing a polyhedral mesh
typedef VolumeMeshObject<PolyhedralMesh> PolyhedralMeshObject;
#include <ObjectTypes/PolyhedralMesh/PluginFunctionsPolyhedralMesh.hh>
extern template class VolumeMeshObject<PolyhedralMesh>;
extern template class ACG::SceneGraph::VolumeMeshNodeT<PolyhedralMesh>;
//=============================================================================
#endif // POLYHEDRAL_MESH_INCLUDE_HH defined
//=============================================================================
#include <ObjectTypes/PolyhedralMesh/PluginFunctionsPolyhedralMesh.hh>
/*===========================================================================*\
* *
* OpenFlipper *
* Copyright (C) 2001-2014 by Computer Graphics Group, RWTH Aachen *
* www.openflipper.org *
* *
*--------------------------------------------------------------------------- *
* This file is part of OpenFlipper. *
* *
* OpenFlipper is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of *
* the License, or (at your option) any later version with the *
* following exceptions: *
* *
* If other files instantiate templates or use macros *
* or inline functions from this file, or you compile this file and *
* link it with other files to produce an executable, this file does *
* not by itself cause the resulting executable to be covered by the *
* GNU Lesser General Public License. This exception does not however *
* invalidate any other reasons why the executable file might be *
* covered by the GNU Lesser General Public License. *
* *
* OpenFlipper is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU LesserGeneral Public *
* License along with OpenFlipper. If not, *
* see <http://www.gnu.org/licenses/>. *
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $Date$ *
* $LastChangedBy$ *
* OpenFlipper *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* Department of Computer Graphics and Multimedia *
* All rights reserved. *
* www.openflipper.org *
* *
*---------------------------------------------------------------------------*
* This file is part of OpenFlipper. *
*---------------------------------------------------------------------------*
* *
* Redistribution and use in source and binary forms, with or without *
* modification, are permitted provided that the following conditions *
* are met: *
* *
* 1. Redistributions of source code must retain the above copyright notice, *
* this list of conditions and the following disclaimer. *
* *
* 2. Redistributions in binary form must reproduce the above copyright *
* notice, this list of conditions and the following disclaimer in the *
* documentation and/or other materials provided with the distribution. *
* *
* 3. Neither the name of the copyright holder nor the names of its *
* contributors may be used to endorse or promote products derived from *
* this software without specific prior written permission. *
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS *
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED *
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A *
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER *
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, *
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, *
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR *
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF *
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
#include <OpenFlipper/common/Types.hh>
#include <ObjectTypes/TetrahedralMesh/PluginFunctionsTetrahedralMesh.hh>
......
/*===========================================================================*\
* *
* OpenFlipper *
* Copyright (C) 2001-2014 by Computer Graphics Group, RWTH Aachen *
* www.openflipper.org *
* *
*--------------------------------------------------------------------------- *
* This file is part of OpenFlipper. *
* *
* OpenFlipper is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of *
* the License, or (at your option) any later version with the *
* following exceptions: *
* *
* If other files instantiate templates or use macros *
* or inline functions from this file, or you compile this file and *
* link it with other files to produce an executable, this file does *
* not by itself cause the resulting executable to be covered by the *
* GNU Lesser General Public License. This exception does not however *
* invalidate any other reasons why the executable file might be *
* covered by the GNU Lesser General Public License. *
* *
* OpenFlipper is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU LesserGeneral Public *
* License along with OpenFlipper. If not, *
* see <http://www.gnu.org/licenses/>. *
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $Date$ *
* $LastChangedBy$ *
* OpenFlipper *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* Department of Computer Graphics and Multimedia *
* All rights reserved. *
* www.openflipper.org *
* *
*---------------------------------------------------------------------------*
* This file is part of OpenFlipper. *
*---------------------------------------------------------------------------*
* *
* Redistribution and use in source and binary forms, with or without *
* modification, are permitted provided that the following conditions *
* are met: *
* *
* 1. Redistributions of source code must retain the above copyright notice, *
* this list of conditions and the following disclaimer. *
* *
* 2. Redistributions in binary form must reproduce the above copyright *
* notice, this list of conditions and the following disclaimer in the *
* documentation and/or other materials provided with the distribution. *
* *
* 3. Neither the name of the copyright holder nor the names of its *
* contributors may be used to endorse or promote products derived from *
* this software without specific prior written permission. *
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS *
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED *
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A *
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER *
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, *
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, *
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR *
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF *
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
/**
* \file PluginFunctionsTetrahedralMesh.hh
* This file contains functions which can be used by plugins to access
......
/*===========================================================================*\
* *
* OpenFlipper *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* Department of Computer Graphics and Multimedia *
* All rights reserved. *
* www.openflipper.org *
* *
*---------------------------------------------------------------------------*
* This file is part of OpenFlipper. *
*---------------------------------------------------------------------------*
* *
* Redistribution and use in source and binary forms, with or without *
* modification, are permitted provided that the following conditions *
* are met: *
* *
* 1. Redistributions of source code must retain the above copyright notice, *
* this list of conditions and the following disclaimer. *
* *
* 2. Redistributions in binary form must reproduce the above copyright *
* notice, this list of conditions and the following disclaimer in the *
* documentation and/or other materials provided with the distribution. *
* *
* 3. Neither the name of the copyright holder nor the names of its *
* contributors may be used to endorse or promote products derived from *
* this software without specific prior written permission. *
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS *
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED *
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A *
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER *
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, *
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, *
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR *
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF *
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
#include "TetrahedralMesh.hh"
#include <ObjectTypes/VolumeMeshObject/VolumeMeshObjectT_impl.hh>
#include <ObjectTypes/VolumeMeshObject/VolumeMeshNodeT_impl.hh>
#include <ObjectTypes/VolumeMeshObject/VolumeMeshNodeGLCompatT_impl.hh>
#include <OpenFlipper/common/ObjectTypeDLLDefines.hh>
template class OBJECTTYPEDLLEXPORT VolumeMeshObject<TetrahedralMesh>;
template class OBJECTTYPEDLLEXPORT ACG::SceneGraph::VolumeMeshNodeT<TetrahedralMesh>;
/*===========================================================================*\
* *
* OpenFlipper *
* Copyright (C) 2001-2014 by Computer Graphics Group, RWTH Aachen *
* www.openflipper.org *
* *
*--------------------------------------------------------------------------- *
* This file is part of OpenFlipper. *
* *
* OpenFlipper is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of *
* the License, or (at your option) any later version with the *
* following exceptions: *
* *
* If other files instantiate templates or use macros *
* or inline functions from this file, or you compile this file and *
* link it with other files to produce an executable, this file does *
* not by itself cause the resulting executable to be covered by the *
* GNU Lesser General Public License. This exception does not however *
* invalidate any other reasons why the executable file might be *
* covered by the GNU Lesser General Public License. *
* *
* OpenFlipper is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU LesserGeneral Public *
* License along with OpenFlipper. If not, *
* see <http://www.gnu.org/licenses/>. *
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $Date$ *
* $LastChangedBy$ *
* OpenFlipper *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* Department of Computer Graphics and Multimedia *
* All rights reserved. *
* www.openflipper.org *
* *
*---------------------------------------------------------------------------*
* This file is part of OpenFlipper. *
*---------------------------------------------------------------------------*
* *
* Redistribution and use in source and binary forms, with or without *
* modification, are permitted provided that the following conditions *
* are met: *
* *
* 1. Redistributions of source code must retain the above copyright notice, *
* this list of conditions and the following disclaimer. *
* *
* 2. Redistributions in binary form must reproduce the above copyright *
* notice, this list of conditions and the following disclaimer in the *
* documentation and/or other materials provided with the distribution. *
* *
* 3. Neither the name of the copyright holder nor the names of its *
* contributors may be used to endorse or promote products derived from *
* this software without specific prior written permission. *
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS *
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED *
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A *
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER *
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, *
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, *
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR *
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF *
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
/**
* \file TetrahedralMesh/TetrahedralMesh.hh
* This file contains all required includes for using tetrahedral meshes
*/
#ifndef TETRAHEDRAL_MESH_INCLUDE_HH
#define TETRAHEDRAL_MESH_INCLUDE_HH
#pragma once
//== INCLUDES =================================================================
......@@ -65,8 +63,8 @@ typedef OpenVolumeMesh::TetrahedralGeometryKernel<ACG::Vec3d, OpenVolumeMesh::Te
/// Typedef for a mesh object containing a polyhedral mesh
typedef VolumeMeshObject<TetrahedralMesh> TetrahedralMeshObject;
extern template class VolumeMeshObject<TetrahedralMesh>;
extern template class ACG::SceneGraph::VolumeMeshNodeT<TetrahedralMesh>;
#include <ObjectTypes/TetrahedralMesh/PluginFunctionsTetrahedralMesh.hh>
//=============================================================================
#endif // TETRAHEDRAL_MESH_INCLUDE_HH defined
//=============================================================================
/*===========================================================================*\
* *
* OpenFlipper *
* *
* OpenFlipper *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* Department of Computer Graphics and Multimedia *
* All rights reserved. *
......@@ -36,19 +36,10 @@
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
* *
\*===========================================================================*/
#ifndef VOLUME_MESH_BUFFER_MANAGER_HH
#define VOLUME_MESH_BUFFER_MANAGER_HH
#pragma once
#include <ACG/GL/GLState.hh>
#include <ACG/Scenegraph/DrawModes.hh>
......@@ -61,6 +52,7 @@
#include <OpenVolumeMesh/Attribs/NormalAttrib.hh>
#include <OpenVolumeMesh/Attribs/ColorAttrib.hh>
#include <OpenVolumeMesh/Attribs/TexCoordAttrib.hh>
#include <ACG/Geometry/Types/PlaneType.hh>
/*! \class VolumeMeshBufferManager
* \brief This class creates buffers that can be used to render open volume meshs.
......@@ -81,6 +73,8 @@ class VolumeMeshBufferManager
typedef OpenVolumeMesh::OpenVolumeMeshFace Face;
typedef OpenVolumeMesh::OpenVolumeMeshCell Cell;
using Plane = ACG::Geometry::Plane;
public:
enum PrimitiveMode
......@@ -125,22 +119,6 @@ public:
TCM_SINGLE_2D
};
class Plane {
public:
Plane(const ACG::Vec3d& _p, const ACG::Vec3d& _n, const ACG::Vec3d& _x, const ACG::Vec3d& _y) :
position(_p), normal(_n), xdirection(_x), ydirection(_y) {
}
// position
ACG::Vec3d position;
// normal
ACG::Vec3d normal;
// xdirection scaled by 1.0/width -> [0,1] is inrange
ACG::Vec3d xdirection;
// ydirection scaled by 1.0/height -> [0,1] is inrange
ACG::Vec3d ydirection;
};
VolumeMeshBufferManager(const VolumeMesh &mesh_, OpenVolumeMesh::StatusAttrib& statusAttrib_,
OpenVolumeMesh::ColorAttrib<ACG::Vec4f>& colorAttrib_,
OpenVolumeMesh::NormalAttrib<VolumeMesh>& normalAttrib_,
......@@ -304,7 +282,7 @@ public:
void clearCutPlanes();
/// Adds a cut plane
void addCutPlane(const typename VolumeMeshBufferManager<VolumeMesh>::Plane& _p);
void addCutPlane(const ACG::Geometry::Plane& _p);
/// Adds a cut plane
void addCutPlane(const ACG::Vec3d& _p, const ACG::Vec3d& _n, const ACG::Vec3d& _xsize, const ACG::Vec3d& _ysize);
......@@ -338,6 +316,13 @@ private:
/// Calculates for all cells whether they are inside w.r.t. all cut planes
void calculateCellInsideness();
bool should_render(const VertexHandle& _vh);
bool should_render(const HalfEdgeHandle& _heh);
bool should_render(const EdgeHandle& _eh);
bool should_render(const HalfFaceHandle& _hfh);
bool should_render(const FaceHandle& _fh);
bool should_render(const CellHandle& _ch);
/// Tests whether the options were changed since the last time building the buffer
bool optionsChanged();
......@@ -485,7 +470,7 @@ private:
unsigned char mCurrentNormalOffset;
unsigned char mCurrentColorOffset;
std::vector<Plane> cut_planes_;
std::vector<ACG::Geometry::Plane> cut_planes_;
std::vector<ACG::Vec3d> mCogs;
bool mCogsValid;
......@@ -501,8 +486,6 @@ private:
//=============================================================================
#if defined(INCLUDE_TEMPLATES) && !defined(VOLUMEMESHBUFFERMANAGERT_CC)
#include "VolumeMeshBufferManagerT.cc"
#include "VolumeMeshBufferManagerT_impl.hh"
#endif
//=============================================================================
#endif // VOLUME_MESH_BUFFER_MANAGER_HH
/*===========================================================================*\
* *
* OpenFlipper *
* *
* OpenFlipper *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* Department of Computer Graphics and Multimedia *
* All rights reserved. *
......@@ -36,19 +36,10 @@
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
* *
\*===========================================================================*/
#ifndef VOLUMEMESHDRAWMODESCONTAINER_HH
#define VOLUMEMESHDRAWMODESCONTAINER_HH
#pragma once
#include <ACG/Scenegraph/DrawModes.hh>
......@@ -251,5 +242,3 @@ public:
};
#endif // VOLUMEMESHDRAWMODESCONTAINER_HH
/*===========================================================================*\
* *
* OpenFlipper *
* *
* OpenFlipper *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* Department of Computer Graphics and Multimedia *
* All rights reserved. *
......@@ -36,19 +36,10 @@
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
* *
\*===========================================================================*/
#ifndef VOLUMEMESHNODE_HH
#define VOLUMEMESHNODE_HH
#pragma once
//== INCLUDES =================================================================
......@@ -56,6 +47,7 @@
#include <ACG/Scenegraph/BaseNode.hh>
#include <ACG/Scenegraph/MaterialNode.hh>
#include <ACG/Scenegraph/DrawModes.hh>
#include <ACG/Geometry/Types/PlaneType.hh>
#include <OpenVolumeMesh/Core/OpenVolumeMeshHandle.hh>
#include <OpenVolumeMesh/Core/BaseEntities.hh>
#include <OpenVolumeMesh/Attribs/StatusAttrib.hh>
......@@ -101,7 +93,7 @@ public:
typedef OpenVolumeMesh::OpenVolumeMeshFace Face;
typedef OpenVolumeMesh::OpenVolumeMeshCell Cell;
typedef typename VolumeMeshBufferManager<VolumeMeshT>::Plane Plane;
using Plane = ACG::Geometry::Plane;
/// Constructor
......@@ -120,21 +112,21 @@ public:
ACG_CLASSNAME(VolumeMeshNodeT)
/// return available draw modes
DrawModes::DrawMode availableDrawModes() const;
DrawModes::DrawMode availableDrawModes() const override;
/// update bounding box
void boundingBox(Vec3d& _bbMin, Vec3d& _bbMax);
void boundingBox(Vec3d& _bbMin, Vec3d& _bbMax) override;
/// draw lines and normals
void draw(GLState& _state, const DrawModes::DrawMode& _drawMode);
void draw(GLState& _state, const DrawModes::DrawMode& _drawMode) override;
/** \brief Draws the object deferred
*
*/
void getRenderObjects(IRenderer* _renderer, GLState& _state, const DrawModes::DrawMode& _drawMode, const Material* _mat);
void getRenderObjects(IRenderer* _renderer, GLState& _state, const DrawModes::DrawMode& _drawMode, const Material* _mat) override;
/// picking
void pick(GLState& _state, PickTarget _target);
void pick(GLState& _state, PickTarget _target) override;
// clear all cutplanes
void clear_cut_planes();
......@@ -292,11 +284,4 @@ private:
} // namespace SceneGraph
} // namespace ACG
//=============================================================================
#if defined(INCLUDE_TEMPLATES) && !defined(VOLUMEMESHNODET_CC)
#include "VolumeMeshNodeT.cc"
#include "VolumeMeshNodeGLCompatT.cc"
#endif
//=============================================================================
#endif // VOLUMEMESHNODE_HH
//=============================================================================
/*===========================================================================*\
* *
* OpenFlipper *
* *
* OpenFlipper *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* Department of Computer Graphics and Multimedia *
* All rights reserved. *
......@@ -36,8 +36,8 @@
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
* *
\*===========================================================================*/
#include "VolumeMeshNode.hh"
......
/*===========================================================================*\
* *
* OpenFlipper *
* *
* OpenFlipper *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* Department of Computer Graphics and Multimedia *
* All rights reserved. *
......@@ -36,16 +36,9 @@
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
#define VOLUMEMESHNODET_CC
......@@ -63,6 +56,7 @@
#include <ACG/GL/IRenderer.hh>
#include <ACG/ShaderUtils/GLSLShader.hh>
#include <ACG/GL/ShaderCache.hh>
#include <ACG/Geometry/Types/PlaneType.hh>
#include <OpenVolumeMesh/Mesh/HexahedralMesh.hh>
......@@ -763,7 +757,7 @@ void VolumeMeshNodeT<VolumeMeshT>::getCellRenderObjects(IRenderer* _renderer, GL
ro.shaderDesc.clearTextures();
ro.shaderDesc.shadeMode = SG_SHADE_GOURAUD;
ro.shaderDesc.shadeMode = SG_SHADE_UNLIT;
ro.depthRange = Vec2f(0.01f, 1.0f);
......@@ -771,8 +765,7 @@ void VolumeMeshNodeT<VolumeMeshT>::getCellRenderObjects(IRenderer* _renderer, GL
{
ro.shaderDesc.vertexColors = true;
ro.shaderDesc.numLights = -1;
ro.shaderDesc.shadeMode = SG_SHADE_GOURAUD;
ro.shaderDesc.shadeMode = SG_SHADE_UNLIT;
}
else if (_drawMode & drawModes_.cellsSmoothShaded)
{
......@@ -844,7 +837,7 @@ void VolumeMeshNodeT<VolumeMeshT>::getFaceRenderObjects(IRenderer* _renderer, GL
if (_drawMode & (drawModes_.hiddenLineBackgroundFaces))
{
ro.shaderDesc.numLights = -1;
ro.shaderDesc.shadeMode = SG_SHADE_FLAT;
ro.shaderDesc.shadeMode = SG_SHADE_UNLIT;
ro.shaderDesc.vertexColors = false;
......@@ -1454,7 +1447,7 @@ template<class VolumeMeshT>
void VolumeMeshNodeT<VolumeMeshT>::add_cut_plane(const Vec3d& _p, const Vec3d& _n, const Vec3d& _xsize,
const Vec3d& _ysize) {
add_cut_plane(VolumeMeshBufferManager<VolumeMeshT>::Plane(_p, _n, _xsize, _ysize));
add_cut_plane(Plane(_p, _n, _xsize, _ysize));
}
template<class VolumeMeshT>
......
/*===========================================================================*\
* *
* OpenFlipper *
* *
* OpenFlipper *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* Department of Computer Graphics and Multimedia *
* All rights reserved. *
......@@ -36,19 +36,10 @@
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
* *
\*===========================================================================*/
#ifndef VOLUME_MESH_OBJECT_HH
#define VOLUME_MESH_OBJECT_HH
#pragma once
// Includes
#include <ACG/Utils/SmartPointer.hh>
......@@ -251,9 +242,3 @@ public:
};
//=============================================================================
#if defined(INCLUDE_TEMPLATES) && !defined(VOLUMEMESHOBJECTT_CC)
#define VOLUMEMESHOBJECT_TEMPLATES
#include "VolumeMeshObjectT.cc"
#endif
#endif
/*===========================================================================*\
* *
* OpenFlipper *
* *
* OpenFlipper *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* Department of Computer Graphics and Multimedia *
* All rights reserved. *
......@@ -36,16 +36,9 @@
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
//=============================================================================
//
......@@ -66,6 +59,8 @@
#include "VolumeMeshDrawModesContainer.hh"
#include <ACG/Scenegraph/BoundingBoxNode.hh>
//== TYPEDEFS =================================================================
//== CLASS DEFINITION =========================================================
......
......@@ -37,19 +37,16 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision: 11279 $ *
* $LastChangedBy: kremer $ *
* $Date: 2011-04-11 17:35:27 +0200 (Mon, 11 Apr 2011) $ *
* *
\*===========================================================================*/
#include "TypeHexahedralMesh.hh"
#include <ObjectTypes/Plane/Plane.hh>
#include <OpenFlipper/common/GlobalOptions.hh>
#include <OpenFlipper/BasePlugin/PluginFunctions.hh>
#include <QInputDialog>
#include <QMenu>
TypeHexahedralMeshPlugin::TypeHexahedralMeshPlugin() :
render_switch_(0),
......@@ -198,7 +195,6 @@ void TypeHexahedralMeshPlugin::slotUpdateContextMenu(int _objectId) {
void TypeHexahedralMeshPlugin::slot_update_planes_in_scenegraph_node(int _deletedObject) {
typedef ACG::SceneGraph::VolumeMeshNodeT<HexahedralMesh>::Plane Plane;
std::vector<Plane> planes;
// collect planes
......
......@@ -37,18 +37,10 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision: 11279 $ *
* $LastChangedBy: kremer $ *
* $Date: 2011-04-11 17:35:27 +0200 (Mon, 11 Apr 2011) $ *
* *
\*===========================================================================*/
#ifndef TYPEHEXAHEDRALMESH_HH
#define TYPEHEXAHEDRALMESH_HH
#pragma once
#include <QObject>
......@@ -149,4 +141,3 @@ private:
};
#endif //TYPEHEXAHEDRALMESH_HH
......@@ -37,19 +37,18 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision: 13576 $ *
* $LastChangedBy: kremer $ *
* $Date: 2012-01-30 11:22:27 +0100 (Mo, 30 Jan 2012) $ *
* *
\*===========================================================================*/
#include "TypePolyhedralMesh.hh"
#include <ObjectTypes/Plane/Plane.hh>
#include <OpenFlipper/common/GlobalOptions.hh>
#include <OpenFlipper/BasePlugin/PluginFunctions.hh>
#include <QMenu>
#include <QInputDialog>
#include <QFormLayout>
#include <QLabel>
TypePolyhedralMeshPlugin::TypePolyhedralMeshPlugin() :
render_switch_(NULL),
......@@ -248,7 +247,6 @@ void TypePolyhedralMeshPlugin::setTranslucencyFactor() {
void TypePolyhedralMeshPlugin::slot_update_planes_in_scenegraph_node(int _deletedObject) {
typedef ACG::SceneGraph::VolumeMeshNodeT<PolyhedralMesh>::Plane Plane;
std::vector<Plane> planes;
// collect planes
......
......@@ -37,20 +37,13 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision: 13492 $ *
* $LastChangedBy: kremer $ *
* $Date: 2012-01-25 12:32:02 +0100 (Mi, 25 Jan 2012) $ *
* *
\*===========================================================================*/
#ifndef TYPEPOLYHEDRALMESH_HH
#define TYPEPOLYHEDRALMESH_HH
#pragma once
#include <QObject>
#include <QDoubleSpinBox>
#include <QCheckBox>
#include <ObjectTypes/PolyhedralMesh/PolyhedralMesh.hh>
#include <OpenFlipper/common/Types.hh>
......@@ -159,4 +152,3 @@ private: // Options
const QString renderBoundarySettingName_;
};
#endif //TYPEPOLYHEDRALMESH_HH
/*===========================================================================*\
* *
* OpenFlipper *
* Copyright (C) 2001-2014 by Computer Graphics Group, RWTH Aachen *
* www.openflipper.org *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* Department of Computer Graphics and Multimedia *
* All rights reserved. *
* www.openflipper.org *
* *
*---------------------------------------------------------------------------*
* This file is part of OpenFlipper. *
* This file is part of OpenFlipper. *
*---------------------------------------------------------------------------*
* *
* OpenFlipper is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of *
* the License, or (at your option) any later version with the *
* following exceptions: *
* Redistribution and use in source and binary forms, with or without *
* modification, are permitted provided that the following conditions *
* are met: *
* *
* If other files instantiate templates or use macros *
* or inline functions from this file, or you compile this file and *
* link it with other files to produce an executable, this file does *
* not by itself cause the resulting executable to be covered by the *
* GNU Lesser General Public License. This exception does not however *
* invalidate any other reasons why the executable file might be *
* covered by the GNU Lesser General Public License. *
* 1. Redistributions of source code must retain the above copyright notice, *
* this list of conditions and the following disclaimer. *
* *
* OpenFlipper is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* 2. Redistributions in binary form must reproduce the above copyright *
* notice, this list of conditions and the following disclaimer in the *
* documentation and/or other materials provided with the distribution. *
* *
* You should have received a copy of the GNU LesserGeneral Public *
* License along with OpenFlipper. If not, *
* see <http://www.gnu.org/licenses/>. *
* 3. Neither the name of the copyright holder nor the names of its *
* contributors may be used to endorse or promote products derived from *
* this software without specific prior written permission. *
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS *
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED *
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A *
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER *
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, *
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, *
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR *
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF *
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
#include "TypeTetrahedralMesh.hh"
......@@ -45,6 +44,9 @@
#include <OpenFlipper/common/GlobalOptions.hh>
#include <ObjectTypes/Plane/Plane.hh>
#include <QInputDialog>
#include <QMenu>
TypeTetrahedralMeshPlugin::TypeTetrahedralMeshPlugin() :
render_switch_(0),
translucency_factor_action_(0)
......@@ -185,7 +187,6 @@ void TypeTetrahedralMeshPlugin::slotUpdateContextMenu(int _objectId) {
void TypeTetrahedralMeshPlugin::slot_update_planes_in_scenegraph_node(int _deletedObject) {
typedef ACG::SceneGraph::VolumeMeshNodeT<TetrahedralMesh>::Plane Plane;
std::vector<Plane> planes;
// collect planes
......
/*===========================================================================*\
* *
* OpenFlipper *
* Copyright (C) 2001-2014 by Computer Graphics Group, RWTH Aachen *
* www.openflipper.org *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* Department of Computer Graphics and Multimedia *
* All rights reserved. *
* www.openflipper.org *
* *
*---------------------------------------------------------------------------*
* This file is part of OpenFlipper. *
* This file is part of OpenFlipper. *
*---------------------------------------------------------------------------*
* *
* OpenFlipper is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of *
* the License, or (at your option) any later version with the *
* following exceptions: *
* Redistribution and use in source and binary forms, with or without *
* modification, are permitted provided that the following conditions *
* are met: *
* *
* If other files instantiate templates or use macros *
* or inline functions from this file, or you compile this file and *
* link it with other files to produce an executable, this file does *
* not by itself cause the resulting executable to be covered by the *
* GNU Lesser General Public License. This exception does not however *
* invalidate any other reasons why the executable file might be *
* covered by the GNU Lesser General Public License. *
* 1. Redistributions of source code must retain the above copyright notice, *
* this list of conditions and the following disclaimer. *
* *
* OpenFlipper is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* 2. Redistributions in binary form must reproduce the above copyright *
* notice, this list of conditions and the following disclaimer in the *
* documentation and/or other materials provided with the distribution. *
* *
* You should have received a copy of the GNU LesserGeneral Public *
* License along with OpenFlipper. If not, *
* see <http://www.gnu.org/licenses/>. *
* 3. Neither the name of the copyright holder nor the names of its *
* contributors may be used to endorse or promote products derived from *
* this software without specific prior written permission. *
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS *
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED *
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A *
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER *
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, *
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, *
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR *
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF *
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
#ifndef TYPETETRAHEDRALMESH_HH
#define TYPETETRAHEDRALMESH_HH
#pragma once
#include <QObject>
......@@ -142,4 +140,3 @@ private:
};
#endif //TYPETETRAHEDRALMESH_HH
Subproject commit f62a576820b082f1aedca78184299f2439a19be5
Subproject commit 38009a60d5f428f5c3781746d4f90ef2ef4cba13