Visualization Library 2.0.0-b3

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 | List of all members
vl::PlyLoader::PlyScalarList Class Reference

Used by PlyLoader. More...

#include <ioPLY.hpp>

+ Inheritance diagram for vl::PlyLoader::PlyScalarList:

Public Member Functions

 PlyScalarList ()
 
void setCountType (EType type)
 
EType countType () const
 
void setScalarType (EType type)
 
EType scalarType () const
 
const std::vector< PlyScalar > & scalars () const
 
std::vector< PlyScalar > & scalars ()
 
virtual void read (VirtualFile *file, bool le)
 
virtual void read (TextStream *text)
 
- Public Member Functions inherited from vl::PlyLoader::PlyPropertyAbstract
const Stringname () const
 
void setName (const String &name)
 
- Public Member Functions inherited from vl::Object
 Object ()
 Constructor. More...
 
 Object (const Object &other)
 Copy constructor: copies the name, ref count mutex and user data. More...
 
Objectoperator= (const Object &other)
 Copy operator: copies the object's name, ref count mutex and user data. More...
 
const std::string & objectName () const
 The name of the object, by default set to the object's class name. More...
 
void setObjectName (const char *name)
 The name of the object, by default set to the object's class name in debug builds. More...
 
void setObjectName (const std::string &name)
 The name of the object, by default set to the object's class name in debug builds. More...
 
void setRefCountMutex (IMutex *mutex)
 The mutex used to protect the reference counting of an Object across multiple threads. More...
 
IMutexrefCountMutex ()
 The mutex used to protect the reference counting of an Object across multiple threads. More...
 
const IMutexrefCountMutex () const
 The mutex used to protect the reference counting of an Object across multiple threads. More...
 
int referenceCount () const
 Returns the number of references of an object. More...
 
void incReference () const
 Increments the reference count of an object. More...
 
void decReference ()
 Decrements the reference count of an object and deletes it if both automaticDelete() is true the count reaches 0. More...
 
void setAutomaticDelete (bool autodel_on)
 If set to true the Object is deleted when its reference count reaches 0. More...
 
bool automaticDelete () const
 If set to true the Object is deleted when its reference count reaches 0. More...
 
template<class T >
T * as ()
 Casts an Object to the specified class. More...
 
template<class T >
const T * as () const
 Casts an Object to the specified class. More...
 

Protected Attributes

std::vector< PlyScalarmScalars
 
EType mScalarType
 
EType mCountType
 
- Protected Attributes inherited from vl::PlyLoader::PlyPropertyAbstract
String mName
 
- Protected Attributes inherited from vl::Object
std::string mObjectName
 
IMutexmRefCountMutex
 
int mReferenceCount
 
bool mAutomaticDelete
 

Additional Inherited Members

- Protected Member Functions inherited from vl::Object
virtual ~Object ()
 

Detailed Description

Used by PlyLoader.

Definition at line 143 of file ioPLY.hpp.

Constructor & Destructor Documentation

◆ PlyScalarList()

vl::PlyLoader::PlyScalarList::PlyScalarList ( )
inline

Definition at line 146 of file ioPLY.hpp.

Member Function Documentation

◆ countType()

EType vl::PlyLoader::PlyScalarList::countType ( ) const
inline

Definition at line 148 of file ioPLY.hpp.

◆ read() [1/2]

virtual void vl::PlyLoader::PlyScalarList::read ( VirtualFile file,
bool  le 
)
inlinevirtual

◆ read() [2/2]

virtual void vl::PlyLoader::PlyScalarList::read ( TextStream text)
inlinevirtual

◆ scalars() [1/2]

const std::vector<PlyScalar>& vl::PlyLoader::PlyScalarList::scalars ( ) const
inline

Definition at line 151 of file ioPLY.hpp.

Referenced by vl::PlyLoader::newElement().

◆ scalars() [2/2]

std::vector<PlyScalar>& vl::PlyLoader::PlyScalarList::scalars ( )
inline

Definition at line 152 of file ioPLY.hpp.

◆ scalarType()

EType vl::PlyLoader::PlyScalarList::scalarType ( ) const
inline

Definition at line 150 of file ioPLY.hpp.

◆ setCountType()

void vl::PlyLoader::PlyScalarList::setCountType ( EType  type)
inline

Definition at line 147 of file ioPLY.hpp.

◆ setScalarType()

void vl::PlyLoader::PlyScalarList::setScalarType ( EType  type)
inline

Definition at line 149 of file ioPLY.hpp.

Member Data Documentation

◆ mCountType

EType vl::PlyLoader::PlyScalarList::mCountType
protected

Definition at line 180 of file ioPLY.hpp.

◆ mScalars

std::vector<PlyScalar> vl::PlyLoader::PlyScalarList::mScalars
protected

Definition at line 178 of file ioPLY.hpp.

◆ mScalarType

EType vl::PlyLoader::PlyScalarList::mScalarType
protected

Definition at line 179 of file ioPLY.hpp.


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