Visualization Library v1.0.3

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Protected Attributes

vl::PlyLoader::PlyScalar Class Reference

Used by PlyLoader. More...

#include <ioPLY.hpp>

Inheritance diagram for vl::PlyLoader::PlyScalar:
vl::PlyLoader::PlyPropertyAbstract vl::Object

List of all members.

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

Detailed Description

Used by PlyLoader.

Definition at line 118 of file ioPLY.hpp.


Constructor & Destructor Documentation

vl::PlyLoader::PlyScalar::PlyScalar (  ) [inline]

Definition at line 121 of file ioPLY.hpp.


Member Function Documentation

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]

Definition at line 123 of file ioPLY.hpp.

Referenced by read().

void PlyLoader::PlyScalar::read ( VirtualFile file,
bool  le 
) [virtual]
void PlyLoader::PlyScalar::read ( TextStream text ) [virtual]
float PlyLoader::PlyScalar::getAsFloat (  ) const
int PlyLoader::PlyScalar::getAsInt (  ) const

Member Data Documentation

Definition at line 131 of file ioPLY.hpp.

Definition at line 132 of file ioPLY.hpp.

Definition at line 133 of file ioPLY.hpp.

Definition at line 134 of file ioPLY.hpp.

Definition at line 135 of file ioPLY.hpp.

Definition at line 136 of file ioPLY.hpp.

Definition at line 137 of file ioPLY.hpp.

Definition at line 138 of file ioPLY.hpp.

union { ... } vl::PlyLoader::PlyScalar::mData [protected]

Referenced by read().

Definition at line 140 of file ioPLY.hpp.


The documentation for this class was generated from the following files:

Visualization Library v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:11.
Permission is granted to use this page to write and publish articles regarding Visualization Library.