Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics
[Home] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Protected Attributes

vl::PlyLoader::PlyScalar Class Reference

Used by PlyLoader. More...

#include <vlPLY.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 117 of file vlPLY.hpp.


Constructor & Destructor Documentation

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

Definition at line 120 of file vlPLY.hpp.


Member Function Documentation

void vl::PlyLoader::PlyScalar::setScalarType ( EType  type ) [inline]

Definition at line 121 of file vlPLY.hpp.

Referenced by vl::PlyLoader::PlyScalarList::read().

EType vl::PlyLoader::PlyScalar::scalarType (  ) const [inline]

Definition at line 122 of file vlPLY.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 130 of file vlPLY.hpp.

Definition at line 131 of file vlPLY.hpp.

Definition at line 132 of file vlPLY.hpp.

Definition at line 133 of file vlPLY.hpp.

Definition at line 134 of file vlPLY.hpp.

Definition at line 135 of file vlPLY.hpp.

Definition at line 136 of file vlPLY.hpp.

Definition at line 137 of file vlPLY.hpp.

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

Referenced by read().

Definition at line 139 of file vlPLY.hpp.


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

Visualization Library v2011.05.1142 Reference Documentation
Copyright 2005-2011 Michele Bosi. All rights reserved.
Updated on Thu May 26 2011 22:51:43.
Permission is granted to use this page to write and publish articles regarding Visualization Library.