Go to the documentation of this file. 1 #ifndef CNOID_UTIL_STD_SCENE_WRITER_H
2 #define CNOID_UTIL_STD_SCENE_WRITER_H
7 #include "exportdecl.h"
11 class FilePathVariableProcessor;
26 virtual void setMessageSink(std::ostream& os)
override;
29 void setBaseDirectory(
const std::string& directory);
32 void setIndentWidth(
int n);
38 ReplaceWithObjModelFiles
40 void setExtModelFileMode(
int mode);
41 int extModelFileMode()
const;
43 void setTransformIntegrationEnabled(
bool on);
44 bool isTransformIntegrationEnabled()
const;
46 void setAppearanceEnabled(
bool on);
47 bool isAppearanceEnabled()
const;
53 virtual bool writeScene(
const std::string& filename,
SgNode* node)
override;
54 bool writeScene(
const std::string& filename,
const std::vector<SgNode*>& nodes);
ExtModelFileMode
Definition: StdSceneWriter.h:34
Definition: ValueTree.h:253
Definition: FilePathVariableProcessor.h:18
Definition: AbstractSceneLoader.h:11
@ ReplaceWithStdSceneFiles
Definition: StdSceneWriter.h:37
Definition: StdSceneWriter.h:15
@ LinkToOriginalModelFiles
Definition: StdSceneWriter.h:36
@ EmbedModels
Definition: StdSceneWriter.h:35
Definition: SceneGraph.h:157
ref_ptr< Mapping > MappingPtr
Definition: StdSceneWriter.h:12
Definition: AbstractSceneWriter.h:13