Choreonoid  1.8
Public Member Functions | Static Public Member Functions | List of all members
cnoid::SceneLoader Class Reference

#include <SceneLoader.h>

Inheritance diagram for cnoid::SceneLoader:
cnoid::AbstractSceneLoader

Public Member Functions

 SceneLoader ()
 
virtual ~SceneLoader ()
 
virtual void setMessageSink (std::ostream &os) override
 
virtual void setDefaultDivisionNumber (int n) override
 
virtual void setDefaultCreaseAngle (double theta) override
 
virtual SgNodeload (const std::string &filename) override
 
SgNodeload (const std::string &filename, bool &out_isSupportedFormat)
 
- Public Member Functions inherited from cnoid::AbstractSceneLoader
virtual ~AbstractSceneLoader ()
 

Static Public Member Functions

static void registerLoader (const char *extensions, std::function< std::shared_ptr< AbstractSceneLoader >()> factory)
 
static std::string availableFileExtensions ()
 This function returns a semi-colon separated list of availabe file extensions. More...
 

Constructor & Destructor Documentation

◆ SceneLoader()

SceneLoader::SceneLoader ( )

◆ ~SceneLoader()

SceneLoader::~SceneLoader ( )
virtual

Member Function Documentation

◆ availableFileExtensions()

std::string SceneLoader::availableFileExtensions ( )
static

This function returns a semi-colon separated list of availabe file extensions.

◆ load() [1/2]

SgNode * SceneLoader::load ( const std::string &  filename)
overridevirtual

◆ load() [2/2]

SgNode * SceneLoader::load ( const std::string &  filename,
bool &  out_isSupportedFormat 
)

◆ registerLoader()

void SceneLoader::registerLoader ( const char *  extensions,
std::function< std::shared_ptr< AbstractSceneLoader >()>  factory 
)
static
Parameters
extensionssemi-colon separated extension list

◆ setDefaultCreaseAngle()

void SceneLoader::setDefaultCreaseAngle ( double  theta)
overridevirtual

Reimplemented from cnoid::AbstractSceneLoader.

◆ setDefaultDivisionNumber()

void SceneLoader::setDefaultDivisionNumber ( int  n)
overridevirtual

Reimplemented from cnoid::AbstractSceneLoader.

◆ setMessageSink()

void SceneLoader::setMessageSink ( std::ostream &  os)
overridevirtual

Reimplemented from cnoid::AbstractSceneLoader.


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