#include <nanoplyWrapper.hpp>
Classes | |
class | CustomAttributeDescriptor |
Public Types | |
enum | BitMask { IO_NONE = 0x00000000, IO_VERTCOORD = 0x00000001, IO_VERTFLAGS = 0x00000002, IO_VERTCOLOR = 0x00000004, IO_VERTQUALITY = 0x00000008, IO_VERTNORMAL = 0x00000010, IO_VERTTEXCOORD = 0x00000020, IO_VERTRADIUS = 0x00000040, IO_VERTCURV = 0x00000080, IO_VERTCURVDIR = 0x00000100, IO_VERTATTRIB = 0x00000200, IO_FACEINDEX = 0x00000400, IO_FACEFLAGS = 0x00000800, IO_FACECOLOR = 0x00001000, IO_FACEQUALITY = 0x00002000, IO_FACENORMAL = 0x00004000, IO_FACECURVDIR = 0x00008000, IO_FACEATTRIB = 0x00010000, IO_EDGEINDEX = 0x00020000, IO_EDGEQUALITY = 0x00040000, IO_EDGECOLOR = 0x00080000, IO_EDGEFLAGS = 0x00100000, IO_EDGEATTRIB = 0x00200000, IO_WEDGCOLOR = 0x00400000, IO_WEDGTEXCOORD = 0x00800000, IO_WEDGTEXMULTI = 0x01000000, IO_WEDGNORMAL = 0x02000000, IO_BITPOLYGONAL = 0x04000000, IO_CAMERA = 0x08000000, IO_MESHATTRIB = 0x10000000, IO_FLAGS = IO_VERTFLAGS | IO_FACEFLAGS, IO_ALL = 0xFFFFFFFF } |
Static Public Member Functions | |
static int | LoadModel (const char *filename, MeshType &mesh, unsigned int bitMask, CustomAttributeDescriptor &custom) |
static int | LoadModel (const char *filename, MeshType &mesh, unsigned int bitMask) |
static bool | SaveModel (const char *filename, MeshType &mesh, unsigned int bitMask, CustomAttributeDescriptor &custom, bool binary) |
static bool | SaveModel (const char *filename, MeshType &mesh, unsigned int bitMask, bool binary) |
Private Types | |
typedef MeshType::EdgeType::ColorType::ScalarType | EdgeColorScalar |
typedef MeshType::EdgeType::FlagType | EdgeFlag |
typedef MeshType::EdgeType::QualityType | EdgeQuality |
typedef MeshType::EdgeType | EdgeType |
typedef MeshType::FaceType::ColorType::ScalarType | FaceColorScalar |
typedef MeshType::FaceType::CurScalarType | FaceDirCurScalar |
typedef MeshType::FaceType::CurVecType::ScalarType | FaceDirCurVecScalar |
typedef MeshType::FaceType::FlagType | FaceFlag |
typedef MeshType::FaceType::NormalType::ScalarType | FaceNormScalar |
typedef MeshType::FaceType::QualityType | FaceQuality |
typedef MeshType::FaceType::TexCoordType::ScalarType | FaceTexScalar |
typedef MeshType::FaceType | FaceType |
typedef MeshType::PointerToAttribute | PointerToAttribute |
typedef MeshType::ScalarType | ScalarType |
typedef MeshType::VertexType::ColorType::ScalarType | VertexColorScalar |
typedef MeshType::VertexType::ScalarType | VertexCoordScalar |
typedef MeshType::VertexType::CurvatureType::ScalarType | VertexCurScalar |
typedef MeshType::VertexType::CurScalarType | VertexDirCurScalar |
typedef MeshType::VertexType::CurVecType::ScalarType | VertexDirCurVecScalar |
typedef MeshType::VertexType::FlagType | VertexFlag |
typedef MeshType::VertexType::NormalType::ScalarType | VertexNormScalar |
typedef MeshType::VertexType::QualityType | VertexQuality |
typedef MeshType::VertexType::RadiusType | VertexRadius |
typedef MeshType::VertexType::TexCoordType::ScalarType | VertexTexScalar |
typedef MeshType::VertexType | VertexType |
typedef MeshType::FaceType::WedgeColorType::ScalarType | WedgeColorScalar |
typedef MeshType::FaceType::WedgeNormalType::ScalarType | WedgeNormalScalar |
Static Private Member Functions | |
template<class T > | |
static PlyType | getEntity () |
template<> | |
static PlyType | getEntity () |
template<> | |
static PlyType | getEntity () |
template<> | |
static PlyType | getEntity () |
template<> | |
static PlyType | getEntity () |
template<> | |
static PlyType | getEntity () |
template<> | |
static PlyType | getEntity () |
template<> | |
static PlyType | getEntity () |
template<> | |
static PlyType | getEntity () |
template<class T > | |
static PlyType | getEntityList () |
template<> | |
static PlyType | getEntityList () |
template<> | |
static PlyType | getEntityList () |
template<> | |
static PlyType | getEntityList () |
template<> | |
static PlyType | getEntityList () |
template<> | |
static PlyType | getEntityList () |
template<> | |
static PlyType | getEntityList () |
template<> | |
static PlyType | getEntityList () |
template<> | |
static PlyType | getEntityList () |
template<class Container , class Type , int n> | |
static void | PushDescriport (std::vector< PlyProperty > &prop, ElementDescriptor &elem, PlyEntity entity, void *ptr) |
template<class Container , class Type , int n> | |
static void | PushDescriport (std::vector< PlyProperty > &prop, ElementDescriptor &elem, std::string &name, void *ptr) |
template<class Container , class Type , int n> | |
static void | PushDescriportList (std::vector< PlyProperty > &prop, ElementDescriptor &elem, PlyEntity entity, void *ptr) |
template<class Container , class Type , int n> | |
static void | PushDescriportList (std::vector< PlyProperty > &prop, ElementDescriptor &elem, std::string &name, void *ptr) |
Definition at line 26 of file nanoplyWrapper.hpp.
typedef MeshType::EdgeType::ColorType::ScalarType nanoply::NanoPlyWrapper< MeshType >::EdgeColorScalar [private] |
Definition at line 47 of file nanoplyWrapper.hpp.
typedef MeshType::EdgeType::FlagType nanoply::NanoPlyWrapper< MeshType >::EdgeFlag [private] |
Definition at line 49 of file nanoplyWrapper.hpp.
typedef MeshType::EdgeType::QualityType nanoply::NanoPlyWrapper< MeshType >::EdgeQuality [private] |
Definition at line 48 of file nanoplyWrapper.hpp.
typedef MeshType::EdgeType nanoply::NanoPlyWrapper< MeshType >::EdgeType [private] |
Definition at line 46 of file nanoplyWrapper.hpp.
typedef MeshType::FaceType::ColorType::ScalarType nanoply::NanoPlyWrapper< MeshType >::FaceColorScalar [private] |
Definition at line 53 of file nanoplyWrapper.hpp.
typedef MeshType::FaceType::CurScalarType nanoply::NanoPlyWrapper< MeshType >::FaceDirCurScalar [private] |
Definition at line 57 of file nanoplyWrapper.hpp.
typedef MeshType::FaceType::CurVecType::ScalarType nanoply::NanoPlyWrapper< MeshType >::FaceDirCurVecScalar [private] |
Definition at line 58 of file nanoplyWrapper.hpp.
typedef MeshType::FaceType::FlagType nanoply::NanoPlyWrapper< MeshType >::FaceFlag [private] |
Definition at line 55 of file nanoplyWrapper.hpp.
typedef MeshType::FaceType::NormalType::ScalarType nanoply::NanoPlyWrapper< MeshType >::FaceNormScalar [private] |
Definition at line 52 of file nanoplyWrapper.hpp.
typedef MeshType::FaceType::QualityType nanoply::NanoPlyWrapper< MeshType >::FaceQuality [private] |
Definition at line 54 of file nanoplyWrapper.hpp.
typedef MeshType::FaceType::TexCoordType::ScalarType nanoply::NanoPlyWrapper< MeshType >::FaceTexScalar [private] |
Definition at line 56 of file nanoplyWrapper.hpp.
typedef MeshType::FaceType nanoply::NanoPlyWrapper< MeshType >::FaceType [private] |
Definition at line 51 of file nanoplyWrapper.hpp.
typedef MeshType::PointerToAttribute nanoply::NanoPlyWrapper< MeshType >::PointerToAttribute [private] |
Definition at line 31 of file nanoplyWrapper.hpp.
typedef MeshType::ScalarType nanoply::NanoPlyWrapper< MeshType >::ScalarType [private] |
Definition at line 32 of file nanoplyWrapper.hpp.
typedef MeshType::VertexType::ColorType::ScalarType nanoply::NanoPlyWrapper< MeshType >::VertexColorScalar [private] |
Definition at line 37 of file nanoplyWrapper.hpp.
typedef MeshType::VertexType::ScalarType nanoply::NanoPlyWrapper< MeshType >::VertexCoordScalar [private] |
Definition at line 35 of file nanoplyWrapper.hpp.
typedef MeshType::VertexType::CurvatureType::ScalarType nanoply::NanoPlyWrapper< MeshType >::VertexCurScalar [private] |
Definition at line 42 of file nanoplyWrapper.hpp.
typedef MeshType::VertexType::CurScalarType nanoply::NanoPlyWrapper< MeshType >::VertexDirCurScalar [private] |
Definition at line 43 of file nanoplyWrapper.hpp.
typedef MeshType::VertexType::CurVecType::ScalarType nanoply::NanoPlyWrapper< MeshType >::VertexDirCurVecScalar [private] |
Definition at line 44 of file nanoplyWrapper.hpp.
typedef MeshType::VertexType::FlagType nanoply::NanoPlyWrapper< MeshType >::VertexFlag [private] |
Definition at line 40 of file nanoplyWrapper.hpp.
typedef MeshType::VertexType::NormalType::ScalarType nanoply::NanoPlyWrapper< MeshType >::VertexNormScalar [private] |
Definition at line 36 of file nanoplyWrapper.hpp.
typedef MeshType::VertexType::QualityType nanoply::NanoPlyWrapper< MeshType >::VertexQuality [private] |
Definition at line 38 of file nanoplyWrapper.hpp.
typedef MeshType::VertexType::RadiusType nanoply::NanoPlyWrapper< MeshType >::VertexRadius [private] |
Definition at line 39 of file nanoplyWrapper.hpp.
typedef MeshType::VertexType::TexCoordType::ScalarType nanoply::NanoPlyWrapper< MeshType >::VertexTexScalar [private] |
Definition at line 41 of file nanoplyWrapper.hpp.
typedef MeshType::VertexType nanoply::NanoPlyWrapper< MeshType >::VertexType [private] |
Definition at line 34 of file nanoplyWrapper.hpp.
typedef MeshType::FaceType::WedgeColorType::ScalarType nanoply::NanoPlyWrapper< MeshType >::WedgeColorScalar [private] |
Definition at line 59 of file nanoplyWrapper.hpp.
typedef MeshType::FaceType::WedgeNormalType::ScalarType nanoply::NanoPlyWrapper< MeshType >::WedgeNormalScalar [private] |
Definition at line 60 of file nanoplyWrapper.hpp.
enum nanoply::NanoPlyWrapper::BitMask |
Definition at line 123 of file nanoplyWrapper.hpp.
static PlyType nanoply::NanoPlyWrapper< MeshType >::getEntity | ( | ) | [inline, static, private] |
Definition at line 64 of file nanoplyWrapper.hpp.
static PlyType nanoply::NanoPlyWrapper< MeshType >::getEntity | ( | ) | [inline, static, private] |
Definition at line 65 of file nanoplyWrapper.hpp.
static PlyType nanoply::NanoPlyWrapper< MeshType >::getEntity | ( | ) | [inline, static, private] |
Definition at line 66 of file nanoplyWrapper.hpp.
static PlyType nanoply::NanoPlyWrapper< MeshType >::getEntity | ( | ) | [inline, static, private] |
Definition at line 67 of file nanoplyWrapper.hpp.
static PlyType nanoply::NanoPlyWrapper< MeshType >::getEntity | ( | ) | [inline, static, private] |
Definition at line 68 of file nanoplyWrapper.hpp.
static PlyType nanoply::NanoPlyWrapper< MeshType >::getEntity | ( | ) | [inline, static, private] |
Definition at line 69 of file nanoplyWrapper.hpp.
static PlyType nanoply::NanoPlyWrapper< MeshType >::getEntity | ( | ) | [inline, static, private] |
Definition at line 70 of file nanoplyWrapper.hpp.
static PlyType nanoply::NanoPlyWrapper< MeshType >::getEntity | ( | ) | [inline, static, private] |
Definition at line 71 of file nanoplyWrapper.hpp.
static PlyType nanoply::NanoPlyWrapper< MeshType >::getEntity | ( | ) | [inline, static, private] |
Definition at line 72 of file nanoplyWrapper.hpp.
static PlyType nanoply::NanoPlyWrapper< MeshType >::getEntityList | ( | ) | [inline, static, private] |
Definition at line 74 of file nanoplyWrapper.hpp.
static PlyType nanoply::NanoPlyWrapper< MeshType >::getEntityList | ( | ) | [inline, static, private] |
Definition at line 75 of file nanoplyWrapper.hpp.
static PlyType nanoply::NanoPlyWrapper< MeshType >::getEntityList | ( | ) | [inline, static, private] |
Definition at line 76 of file nanoplyWrapper.hpp.
static PlyType nanoply::NanoPlyWrapper< MeshType >::getEntityList | ( | ) | [inline, static, private] |
Definition at line 77 of file nanoplyWrapper.hpp.
static PlyType nanoply::NanoPlyWrapper< MeshType >::getEntityList | ( | ) | [inline, static, private] |
Definition at line 78 of file nanoplyWrapper.hpp.
static PlyType nanoply::NanoPlyWrapper< MeshType >::getEntityList | ( | ) | [inline, static, private] |
Definition at line 79 of file nanoplyWrapper.hpp.
static PlyType nanoply::NanoPlyWrapper< MeshType >::getEntityList | ( | ) | [inline, static, private] |
Definition at line 80 of file nanoplyWrapper.hpp.
static PlyType nanoply::NanoPlyWrapper< MeshType >::getEntityList | ( | ) | [inline, static, private] |
Definition at line 81 of file nanoplyWrapper.hpp.
static PlyType nanoply::NanoPlyWrapper< MeshType >::getEntityList | ( | ) | [inline, static, private] |
Definition at line 82 of file nanoplyWrapper.hpp.
static int nanoply::NanoPlyWrapper< MeshType >::LoadModel | ( | const char * | filename, |
MeshType & | mesh, | ||
unsigned int | bitMask, | ||
CustomAttributeDescriptor & | custom | ||
) | [inline, static] |
Definition at line 254 of file nanoplyWrapper.hpp.
static int nanoply::NanoPlyWrapper< MeshType >::LoadModel | ( | const char * | filename, |
MeshType & | mesh, | ||
unsigned int | bitMask | ||
) | [inline, static] |
Definition at line 504 of file nanoplyWrapper.hpp.
static void nanoply::NanoPlyWrapper< MeshType >::PushDescriport | ( | std::vector< PlyProperty > & | prop, |
ElementDescriptor & | elem, | ||
PlyEntity | entity, | ||
void * | ptr | ||
) | [inline, static, private] |
Definition at line 86 of file nanoplyWrapper.hpp.
static void nanoply::NanoPlyWrapper< MeshType >::PushDescriport | ( | std::vector< PlyProperty > & | prop, |
ElementDescriptor & | elem, | ||
std::string & | name, | ||
void * | ptr | ||
) | [inline, static, private] |
Definition at line 104 of file nanoplyWrapper.hpp.
static void nanoply::NanoPlyWrapper< MeshType >::PushDescriportList | ( | std::vector< PlyProperty > & | prop, |
ElementDescriptor & | elem, | ||
PlyEntity | entity, | ||
void * | ptr | ||
) | [inline, static, private] |
Definition at line 95 of file nanoplyWrapper.hpp.
static void nanoply::NanoPlyWrapper< MeshType >::PushDescriportList | ( | std::vector< PlyProperty > & | prop, |
ElementDescriptor & | elem, | ||
std::string & | name, | ||
void * | ptr | ||
) | [inline, static, private] |
Definition at line 113 of file nanoplyWrapper.hpp.
static bool nanoply::NanoPlyWrapper< MeshType >::SaveModel | ( | const char * | filename, |
MeshType & | mesh, | ||
unsigned int | bitMask, | ||
CustomAttributeDescriptor & | custom, | ||
bool | binary | ||
) | [inline, static] |
Definition at line 511 of file nanoplyWrapper.hpp.
static bool nanoply::NanoPlyWrapper< MeshType >::SaveModel | ( | const char * | filename, |
MeshType & | mesh, | ||
unsigned int | bitMask, | ||
bool | binary | ||
) | [inline, static] |
Definition at line 729 of file nanoplyWrapper.hpp.