Workspace 6.21.5
Public Member Functions | Static Public Member Functions | List of all members
SceneItemTypeManager Class Reference

Manager for SceneItemType classes.

#include <Rendering/SceneInteraction/sceneitemtype.h>

Public Member Functions

size_t getNumTypes () const
 
const SceneItemTypegetType (const DataExecution::Operation &op) const
 
const SceneItemTypegetType (const QString &name) const
 
const SceneItemTypegetType (int index) const
 
bool registerType (const SceneItemType &type)
 

Static Public Member Functions

static SceneItemTypeManagergetInstance ()
 

Member Function Documentation

◆ getInstance()

SceneItemTypeManager & getInstance ( )
static

◆ getNumTypes()

size_t getNumTypes ( ) const

Get the number of SceneItemTypes registered.

◆ getType() [1/3]

const SceneItemType * getType ( const DataExecution::Operation op) const

Get the SceneItemType if any exists for the given operation.

◆ getType() [2/3]

const CSIRO::Rendering::SceneItemType * getType ( const QString &  name) const

◆ getType() [3/3]

const SceneItemType * getType ( int  index) const

Get the SceneItemType for the given index

◆ registerType()

bool registerType ( const SceneItemType type)

Register a new SceneItemType with the directory.