first complex.h files made self-sufficient
This commit is contained in:
parent
2e635647c4
commit
0b99eaa7b2
|
@ -23,9 +23,14 @@
|
|||
#ifndef __VCGLIB_TRIALLOCATOR
|
||||
#define __VCGLIB_TRIALLOCATOR
|
||||
|
||||
#ifndef __VCG_MESH
|
||||
#error "This file should not be included alone. It is automatically included by complex.h"
|
||||
#endif
|
||||
#include <vector>
|
||||
#include <set>
|
||||
|
||||
#include "used_types.h"
|
||||
|
||||
//#ifndef __VCG_MESH
|
||||
//#error "This file should not be included alone. It is automatically included by complex.h"
|
||||
//#endif
|
||||
|
||||
namespace vcg {
|
||||
namespace tri {
|
||||
|
|
|
@ -20,12 +20,17 @@
|
|||
* for more details. *
|
||||
* *
|
||||
****************************************************************************/
|
||||
#ifndef __VCG_MESH
|
||||
#error "This file should not be included alone. It is automatically included by complex.h"
|
||||
#endif
|
||||
//#ifndef __VCG_MESH
|
||||
//#error "This file should not be included alone. It is automatically included by complex.h"
|
||||
//#endif
|
||||
#ifndef __VCG_COMPLEX_BASE
|
||||
#define __VCG_COMPLEX_BASE
|
||||
|
||||
#include <typeindex>
|
||||
#include <vcg/container/simple_temporary_data.h>
|
||||
|
||||
#include "used_types.h"
|
||||
|
||||
namespace vcg {
|
||||
|
||||
class PointerToAttribute
|
||||
|
|
|
@ -23,6 +23,9 @@
|
|||
#ifndef __VCG_EXCEPTION_H
|
||||
#define __VCG_EXCEPTION_H
|
||||
|
||||
#include <stdexcept>
|
||||
#include <iostream>
|
||||
|
||||
namespace vcg
|
||||
{
|
||||
class MissingComponentException : public std::runtime_error
|
||||
|
|
|
@ -24,10 +24,11 @@
|
|||
#ifndef __VCGLIB_SIMPLE__
|
||||
#define __VCGLIB_SIMPLE__
|
||||
|
||||
#include <string.h>
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
#include <limits>
|
||||
#include <vector>
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
namespace vcg
|
||||
{
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
#ifndef __VCG_EDGE_POS
|
||||
#define __VCG_EDGE_POS
|
||||
|
||||
#include <cassert>
|
||||
|
||||
namespace vcg {
|
||||
namespace edge {
|
||||
|
||||
|
|
|
@ -24,6 +24,9 @@
|
|||
#ifndef _VCG_EDGE_TOPOLOGY
|
||||
#define _VCG_EDGE_TOPOLOGY
|
||||
|
||||
#include <vector>
|
||||
#include <vcg/complex/allocate.h>
|
||||
|
||||
namespace vcg {
|
||||
namespace edge {
|
||||
/** \addtogroup edge */
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#ifndef __VCG_FACE_POS
|
||||
#define __VCG_FACE_POS
|
||||
|
||||
#include <cassert>
|
||||
|
||||
namespace vcg {
|
||||
namespace face {
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#ifndef _VCG_FACE_TOPOLOGY
|
||||
#define _VCG_FACE_TOPOLOGY
|
||||
|
||||
#include <vcg/simplex/face/pos.h>
|
||||
#include <vcg/complex/allocate.h>
|
||||
|
||||
namespace vcg {
|
||||
namespace face {
|
||||
|
|
Loading…
Reference in New Issue