# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::CShapeBankUser Class Reference

Implementation of the user interface managing shape bank. More...

#include <shape_bank_user.h>

Inheritance diagram for NL3D::CShapeBankUser

Inheritance graph
[legend]
Collaboration diagram for NL3D::CShapeBankUser:

Collaboration graph
[legend]
List of all members.

Public Methods

void addShapeCache (const std::string &shapeCacheName)
 Add a new ShapeCache. More...

void removeShapeCache (const std::string &shapeCacheName)
 Remove a ShapeCache. More...

void reset ()
 Remove all ShapeCache and suppress all links (even the link to the default cache are removed). More...

void setShapeCacheSize (const std::string &shapeCacheName, sint32 maxSize)
 Set the shapeCache shapeCacheName the new size.(delete shapes if maxsize<shapeCacheSize). More...

void linkShapeToShapeCache (const std::string &shapeName, const std::string &shapeCacheName)
 Link a shape to a ShapeCache. More...


Public Attributes

CShapeBank _ShapeBank

Detailed Description

Implementation of the user interface managing shape bank.

Author(s):
Matthieu Besson , Nevrax France
Date:
2001

Definition at line 43 of file shape_bank_user.h.


Member Function Documentation

void NL3D::CShapeBankUser::addShapeCache ( const std::string & shapeCacheName ) [virtual]
 

Add a new ShapeCache.

If already exist do nothing.

Reimplemented from NL3D::UShapeBank.

Definition at line 36 of file shape_bank_user.cpp.

void NL3D::CShapeBankUser::linkShapeToShapeCache ( const std::string & shapeName,
const std::string & shapeCacheName ) [virtual]
 

Link a shape to a ShapeCache.

The ShapeCache must exist and must not contains the shape.

Reimplemented from NL3D::UShapeBank.

Definition at line 64 of file shape_bank_user.cpp.

void NL3D::CShapeBankUser::removeShapeCache ( const std::string & shapeCacheName ) [virtual]
 

Remove a ShapeCache.

All shapes in the shape cache are deleted. All links are redirected to the default ShapeCache.

Reimplemented from NL3D::UShapeBank.

Definition at line 43 of file shape_bank_user.cpp.

void NL3D::CShapeBankUser::reset ( void ) [virtual]
 

Remove all ShapeCache and suppress all links (even the link to the default cache are removed).

Reimplemented from NL3D::UShapeBank.

Definition at line 50 of file shape_bank_user.cpp.

void NL3D::CShapeBankUser::setShapeCacheSize ( const std::string & shapeCacheName,
sint32 maxSize ) [virtual]
 

Set the shapeCache shapeCacheName the new size.(delete shapes if maxsize<shapeCacheSize).

Reimplemented from NL3D::UShapeBank.

Definition at line 57 of file shape_bank_user.cpp.


Member Data Documentation

CShapeBank NL3D::CShapeBankUser::_ShapeBank
 

Definition at line 53 of file shape_bank_user.h.


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