Choreonoid  1.8
Public Types | Public Member Functions | List of all members
cnoid::StdSceneWriter Class Reference

#include <StdSceneWriter.h>

Inheritance diagram for cnoid::StdSceneWriter:
cnoid::AbstractSceneWriter

Public Types

enum  ExtModelFileMode { EmbedModels, LinkToOriginalModelFiles, ReplaceWithStdSceneFiles, ReplaceWithObjModelFiles }
 

Public Member Functions

 StdSceneWriter ()
 
 StdSceneWriter (const StdSceneWriter &org)
 
 ~StdSceneWriter ()
 
 StdSceneWriter (StdSceneWriter &&)=delete
 
StdSceneWriteroperator= (const StdSceneWriter &)=delete
 
StdSceneWriteroperator= (StdSceneWriter &&)=delete
 
virtual void setMessageSink (std::ostream &os) override
 
void setBaseDirectory (const std::string &directory)
 
void setFilePathVariableProcessor (FilePathVariableProcessor *processor)
 
void setIndentWidth (int n)
 
void setExtModelFileMode (int mode)
 
int extModelFileMode () const
 
void setTransformIntegrationEnabled (bool on)
 
bool isTransformIntegrationEnabled () const
 
void setAppearanceEnabled (bool on)
 
bool isAppearanceEnabled () const
 
MappingPtr writeScene (SgNode *node)
 
virtual bool writeScene (const std::string &filename, SgNode *node) override
 
bool writeScene (const std::string &filename, const std::vector< SgNode * > &nodes)
 
- Public Member Functions inherited from cnoid::AbstractSceneWriter
virtual ~AbstractSceneWriter ()
 

Additional Inherited Members

- Protected Member Functions inherited from cnoid::AbstractSceneWriter
bool findOrCopyImageFile (SgImage *image, const std::string &outputBaseDir)
 
std::ostream & os ()
 

Member Enumeration Documentation

◆ ExtModelFileMode

Enumerator
EmbedModels 
LinkToOriginalModelFiles 
ReplaceWithStdSceneFiles 
ReplaceWithObjModelFiles 

Constructor & Destructor Documentation

◆ StdSceneWriter() [1/3]

StdSceneWriter::StdSceneWriter ( )

◆ StdSceneWriter() [2/3]

StdSceneWriter::StdSceneWriter ( const StdSceneWriter org)

◆ ~StdSceneWriter()

StdSceneWriter::~StdSceneWriter ( )

◆ StdSceneWriter() [3/3]

cnoid::StdSceneWriter::StdSceneWriter ( StdSceneWriter &&  )
delete

Member Function Documentation

◆ extModelFileMode()

int StdSceneWriter::extModelFileMode ( ) const

◆ isAppearanceEnabled()

bool StdSceneWriter::isAppearanceEnabled ( ) const

◆ isTransformIntegrationEnabled()

bool StdSceneWriter::isTransformIntegrationEnabled ( ) const

◆ operator=() [1/2]

StdSceneWriter& cnoid::StdSceneWriter::operator= ( const StdSceneWriter )
delete

◆ operator=() [2/2]

StdSceneWriter& cnoid::StdSceneWriter::operator= ( StdSceneWriter &&  )
delete

◆ setAppearanceEnabled()

void StdSceneWriter::setAppearanceEnabled ( bool  on)

◆ setBaseDirectory()

void StdSceneWriter::setBaseDirectory ( const std::string &  directory)

◆ setExtModelFileMode()

void StdSceneWriter::setExtModelFileMode ( int  mode)

◆ setFilePathVariableProcessor()

void StdSceneWriter::setFilePathVariableProcessor ( FilePathVariableProcessor processor)

◆ setIndentWidth()

void StdSceneWriter::setIndentWidth ( int  n)

◆ setMessageSink()

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

Reimplemented from cnoid::AbstractSceneWriter.

◆ setTransformIntegrationEnabled()

void StdSceneWriter::setTransformIntegrationEnabled ( bool  on)

◆ writeScene() [1/3]

bool StdSceneWriter::writeScene ( const std::string &  filename,
const std::vector< SgNode * > &  nodes 
)

◆ writeScene() [2/3]

bool StdSceneWriter::writeScene ( const std::string &  filename,
SgNode node 
)
overridevirtual

◆ writeScene() [3/3]

MappingPtr StdSceneWriter::writeScene ( SgNode node)

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