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 | |
PlyElement () | |
const String & | name () const |
void | setName (const String &name) |
const std::vector< ref < PlyPropertyAbstract > > & | properties () const |
std::vector< ref < PlyPropertyAbstract > > & | properties () |
int | elemCount () const |
void | setElemCount (int count) |
virtual void | read (VirtualFile *file, bool le) |
virtual void | read (TextStream *text) |
fvec3 | getVertex () const |
fvec3 | getNormal () const |
ubvec4 | getColor () const |
void | analyze () |
Protected Attributes | |
std::vector< ref < PlyPropertyAbstract > > | mProperties |
std::vector< ref< PlyScalar > > | mVertex |
std::vector< ref< PlyScalar > > | mNormal |
std::vector< ref< PlyScalar > > | mColor |
String | mName |
int | mElemCount |
Used by PlyLoader.
Definition at line 183 of file ioPLY.hpp.
const String& vl::PlyLoader::PlyElement::name | ( | ) | const [inline] |
Definition at line 187 of file ioPLY.hpp.
Referenced by vl::PlyLoader::newElement().
void vl::PlyLoader::PlyElement::setName | ( | const String & | name ) | [inline] |
const std::vector< ref<PlyPropertyAbstract> >& vl::PlyLoader::PlyElement::properties | ( | ) | const [inline] |
Definition at line 189 of file ioPLY.hpp.
Referenced by vl::PlyLoader::newElement().
std::vector< ref<PlyPropertyAbstract> >& vl::PlyLoader::PlyElement::properties | ( | ) | [inline] |
int vl::PlyLoader::PlyElement::elemCount | ( | ) | const [inline] |
void vl::PlyLoader::PlyElement::setElemCount | ( | int | count ) | [inline] |
virtual void vl::PlyLoader::PlyElement::read | ( | VirtualFile * | file, |
bool | le | ||
) | [inline, virtual] |
virtual void vl::PlyLoader::PlyElement::read | ( | TextStream * | text ) | [inline, virtual] |
fvec3 vl::PlyLoader::PlyElement::getVertex | ( | ) | const [inline] |
Definition at line 203 of file ioPLY.hpp.
References vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Referenced by vl::PlyLoader::newElement().
fvec3 vl::PlyLoader::PlyElement::getNormal | ( | ) | const [inline] |
Definition at line 211 of file ioPLY.hpp.
References vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Referenced by vl::PlyLoader::newElement().
ubvec4 vl::PlyLoader::PlyElement::getColor | ( | ) | const [inline] |
Definition at line 219 of file ioPLY.hpp.
References vl::Vector4< T_Scalar >::a(), vl::Vector4< T_Scalar >::b(), vl::Vector4< T_Scalar >::g(), and vl::Vector4< T_Scalar >::r().
Referenced by vl::PlyLoader::newElement().
void PlyLoader::PlyElement::analyze | ( | ) |
Definition at line 133 of file ioPLY.cpp.
References vl::PlyLoader::PlyPropertyAbstract::name(), and VL_CHECK.
std::vector< ref<PlyPropertyAbstract> > vl::PlyLoader::PlyElement::mProperties [protected] |
std::vector< ref<PlyScalar> > vl::PlyLoader::PlyElement::mVertex [protected] |
std::vector< ref<PlyScalar> > vl::PlyLoader::PlyElement::mNormal [protected] |
std::vector< ref<PlyScalar> > vl::PlyLoader::PlyElement::mColor [protected] |
String vl::PlyLoader::PlyElement::mName [protected] |
int vl::PlyLoader::PlyElement::mElemCount [protected] |