Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

SLLibrary Class Reference

#include <SLLibrary.h>

Inheritance diagram for SLLibrary:


Collaboration diagram for SLLibrary:

List of all members.

Public Members

 SLLibrary ()
virtual Void Create ()
Must be called before using the library.

Void AddMember (scScenePtr objectPtr)
Void AddMember (StrConst name, scPrimitive *objectPtr)
Bool MemberExists (StrConst name)
Void DeleteMember (StrConst name)
scPrimitiveMember (StrConst name)
Return pointer to library member 'name'. More...

Protected Members

Void FreeData (Void *obj)
String name

Detailed Description

A library for scene objects: objects can be added and retrieved by name. Different libraries can be handed to scene construction / reading code in order to build scenes with an internal structure specific to a particular rendering / illumination method.

Definition at line 23 of file SLLibrary.h.

Constructor & Destructor Documentation

SLLibrary::SLLibrary ()

Definition at line 30 of file

Member Function Documentation

Void SLLibrary::AddMember (StrConst name, scPrimitive * objectPtr)

Definition at line 56 of file

Void SLLibrary::AddMember (scScenePtr objectPtr)

Definition at line 51 of file

Void SLLibrary::Create () [inline, virtual]

Must be called before using the library.

Definition at line 34 of file

Void SLLibrary::DeleteMember (StrConst name)

Definition at line 79 of file

Void SLLibrary::FreeData (Void * obj) [protected]

Definition at line 44 of file

scPrimitive * SLLibrary::Member (StrConst name)

Return pointer to library member 'name'.

You may want to clone this before using it.

Definition at line 61 of file

Bool SLLibrary::MemberExists (StrConst name)

Definition at line 74 of file

Member Data Documentation

String SLLibrary::name [protected]

Definition at line 41 of file SLLibrary.h.

The documentation for this class was generated from the following files:
Generated at Sat Aug 5 00:17:10 2000 for Graphics Class Library by doxygen 1.1.0 written by Dimitri van Heesch, © 1997-2000