Classes | Namespaces | Typedefs | Enumerations | Functions
nanoply.hpp File Reference
#include <vector>
#include <unordered_map>
#include <tuple>
#include <cassert>
#include <algorithm>
#include <stdexcept>
#include <cstdio>
#include <cmath>
#include <limits>
#include <fstream>
#include <sstream>
#include <stdint.h>
#include <string>
Include dependency graph for nanoply.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nanoply::DataDescriptor< CointainerType, VectorSize, ScalarType >
class  nanoply::DescriptorInterface
class  nanoply::ElementDescriptor
class  nanoply::Info
class  nanoply::PlyElement
class  nanoply::PlyFile
class  nanoply::PlyProperty

Namespaces

namespace  nanoply

Typedefs

typedef enum nanoply::NNP_ERROR nanoply::ErrorCode
typedef std::vector
< ElementDescriptor * > 
nanoply::MeshDescriptor
typedef enum nanoply::NNP_ELEM nanoply::PlyElemEntity
typedef enum nanoply::NNP_ENTITY nanoply::PlyEntity
typedef enum nanoply::NNP_PLYTYPE nanoply::PlyType

Enumerations

enum  nanoply::NNP_ELEM { nanoply::NNP_UNKNOWN_ELEM = 0x0, nanoply::NNP_VERTEX_ELEM = 0x1, nanoply::NNP_EDGE_ELEM = 0x2, nanoply::NNP_FACE_ELEM = 0x4 }
enum  nanoply::NNP_ENTITY {
  nanoply::NNP_UNKNOWN_ENTITY = 0x00000000, nanoply::NNP_PX = 0x00000001, nanoply::NNP_PY = 0x00000002, nanoply::NNP_PZ = 0x00000004,
  nanoply::NNP_PXYZ = 0x00000007, nanoply::NNP_NX = 0x00000010, nanoply::NNP_NY = 0x00000020, nanoply::NNP_NZ = 0x00000040,
  nanoply::NNP_NXYZ = 0x00000070, nanoply::NNP_CR = 0x00000100, nanoply::NNP_CG = 0x00000200, nanoply::NNP_CB = 0x00000400,
  nanoply::NNP_CRGB = 0x00000700, nanoply::NNP_CA = 0x00000800, nanoply::NNP_CRGBA = 0x00000F00, nanoply::NNP_DENSITY = 0x00000008,
  nanoply::NNP_SCALE = 0x00000080, nanoply::NNP_TEXTUREU = 0x00001000, nanoply::NNP_TEXTUREV = 0x00002000, nanoply::NNP_TEXTURE2D = 0x00003000,
  nanoply::NNP_TEXTUREW = 0x00004000, nanoply::NNP_TEXTURE3D = 0x00007000, nanoply::NNP_TEXTUREINDEX = 0x00008000, nanoply::NNP_QUALITY = 0x00010000,
  nanoply::NNP_REFLECTANCE = 0x00020000, nanoply::NNP_BITFLAG = 0x00040000, nanoply::NNP_K1 = 0x00080000, nanoply::NNP_K2 = 0x00100000,
  nanoply::NNP_KG = 0x00200000, nanoply::NNP_KH = 0x00400000, nanoply::NNP_K1DIR = 0x00800000, nanoply::NNP_K2DIR = 0x01000000,
  nanoply::NNP_EDGE_V1 = 0x02000000, nanoply::NNP_EDGE_V2 = 0x04000000, nanoply::NNP_FACE_VERTEX_LIST = 0x08000000, nanoply::NNP_FACE_WEDGE_COLOR = 0x10000000,
  nanoply::NNP_FACE_WEDGE_NORMAL = 0x20000000, nanoply::NNP_FACE_WEDGE_TEX = 0x40000000
}
enum  nanoply::NNP_ERROR {
  nanoply::NNP_OK = 0x0000, nanoply::NNP_UNABLE_TO_OPEN = 0x0001, nanoply::NNP_MISSING_HEADER = 0x0002, nanoply::NNP_MISSING_FORMAT = 0x0004,
  nanoply::NNP_INVALID_ELEMENT = 0x0008, nanoply::NNP_INVALID_PROPERTY = 0x0010
}
enum  nanoply::NNP_PLYTYPE {
  nanoply::NNP_UNKNOWN_TYPE = 0x000000, nanoply::NNP_FLOAT32 = 0x000001, nanoply::NNP_FLOAT64 = 0x000002, nanoply::NNP_INT8 = 0x000004,
  nanoply::NNP_INT16 = 0x000008, nanoply::NNP_INT32 = 0x000010, nanoply::NNP_UINT8 = 0x000020, nanoply::NNP_UINT16 = 0x000040,
  nanoply::NNP_UINT32 = 0x000080, nanoply::NNP_LIST_UINT8_UINT32 = 0x000100, nanoply::NNP_LIST_INT8_UINT32 = 0x000200, nanoply::NNP_LIST_UINT8_INT32 = 0x000400,
  nanoply::NNP_LIST_INT8_INT32 = 0x000800, nanoply::NNP_LIST_UINT8_FLOAT32 = 0x001000, nanoply::NNP_LIST_INT8_FLOAT32 = 0x002000, nanoply::NNP_LIST_UINT8_FLOAT64 = 0x004000,
  nanoply::NNP_LIST_INT8_FLOAT64 = 0x008000, nanoply::NNP_LIST_UINT8_UINT8 = 0x010000, nanoply::NNP_LIST_INT8_UINT8 = 0x020000, nanoply::NNP_LIST_UINT8_INT8 = 0x040000,
  nanoply::NNP_LIST_INT8_INT8 = 0x080000, nanoply::NNP_LIST_UINT8_UINT16 = 0x100000, nanoply::NNP_LIST_INT8_UINT16 = 0x200000, nanoply::NNP_LIST_UINT8_INT16 = 0x400000,
  nanoply::NNP_LIST_INT8_INT16 = 0x800000
}

Functions

template<size_t ActionType>
bool nanoply::ElemProcessing (ElementDescriptor &elemDescr, PlyElement &elem, PlyFile &file, bool fixEndian)
bool nanoply::OpenModel (Info &info, MeshDescriptor &meshElements)
bool nanoply::SaveModel (std::string &filename, MeshDescriptor &meshElements, Info &info)


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:38:51