Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
#include <ioPLY.hpp>
Public Member Functions | |
PlyScalar () | |
void | setScalarType (EType type) |
EType | scalarType () const |
virtual void | read (VirtualFile *file, bool le) |
virtual void | read (TextStream *text) |
float | getAsFloat () const |
int | getAsInt () const |
Protected Attributes | |
union { | |
char mChar | |
unsigned char mUChar | |
short mShort | |
unsigned short mUShort | |
int mInt | |
unsigned int mUInt | |
float mFloat | |
double mDouble | |
} | mData |
EType | mScalarType |
Used by PlyLoader.
Definition at line 118 of file ioPLY.hpp.
void vl::PlyLoader::PlyScalar::setScalarType | ( | EType | type ) | [inline] |
Definition at line 122 of file ioPLY.hpp.
Referenced by vl::PlyLoader::PlyScalarList::read().
EType vl::PlyLoader::PlyScalar::scalarType | ( | ) | const [inline] |
void PlyLoader::PlyScalar::read | ( | VirtualFile * | file, |
bool | le | ||
) | [virtual] |
Implements vl::PlyLoader::PlyPropertyAbstract.
Definition at line 65 of file ioPLY.cpp.
References vl::Log::error(), mData, vl::PlyLoader::PlyChar, vl::PlyLoader::PlyDouble, vl::PlyLoader::PlyFloat, vl::PlyLoader::PlyInt, vl::PlyLoader::PlyShort, vl::PlyLoader::PlyUChar, vl::PlyLoader::PlyUInt, vl::PlyLoader::PlyUShort, vl::VirtualFile::readDouble(), vl::VirtualFile::readFloat(), vl::VirtualFile::readSInt16(), vl::VirtualFile::readSInt32(), vl::VirtualFile::readSInt8(), vl::VirtualFile::readUInt16(), vl::VirtualFile::readUInt32(), vl::VirtualFile::readUInt8(), and scalarType().
Referenced by vl::PlyLoader::PlyScalarList::read().
void PlyLoader::PlyScalar::read | ( | TextStream * | text ) | [virtual] |
Implements vl::PlyLoader::PlyPropertyAbstract.
Definition at line 81 of file ioPLY.cpp.
References vl::Log::error(), vl::PlyLoader::PlyChar, vl::PlyLoader::PlyDouble, vl::PlyLoader::PlyFloat, vl::PlyLoader::PlyInt, vl::PlyLoader::PlyShort, vl::PlyLoader::PlyUChar, vl::PlyLoader::PlyUInt, vl::PlyLoader::PlyUShort, vl::TextStream::readDouble(), and vl::TextStream::readInt().
float PlyLoader::PlyScalar::getAsFloat | ( | ) | const |
Definition at line 99 of file ioPLY.cpp.
References vl::Log::error(), vl::PlyLoader::PlyChar, vl::PlyLoader::PlyDouble, vl::PlyLoader::PlyFloat, vl::PlyLoader::PlyInt, vl::PlyLoader::PlyShort, vl::PlyLoader::PlyUChar, vl::PlyLoader::PlyUInt, and vl::PlyLoader::PlyUShort.
int PlyLoader::PlyScalar::getAsInt | ( | ) | const |
Definition at line 116 of file ioPLY.cpp.
References vl::Log::error(), vl::PlyLoader::PlyChar, vl::PlyLoader::PlyDouble, vl::PlyLoader::PlyFloat, vl::PlyLoader::PlyInt, vl::PlyLoader::PlyShort, vl::PlyLoader::PlyUChar, vl::PlyLoader::PlyUInt, and vl::PlyLoader::PlyUShort.
Referenced by vl::PlyLoader::PlyScalarList::read().
unsigned char vl::PlyLoader::PlyScalar::mUChar |
unsigned short vl::PlyLoader::PlyScalar::mUShort |
unsigned int vl::PlyLoader::PlyScalar::mUInt |
union { ... } vl::PlyLoader::PlyScalar::mData [protected] |
Referenced by read().
EType vl::PlyLoader::PlyScalar::mScalarType [protected] |