dtUtil::NodePrintOut Class Reference

#include <nodeprintout.h>

List of all members.

Public Member Functions

 NodePrintOut ()
void PrintOutNode (const std::string &printOutFileName, const osg::Node &nodeToPrint, bool PrintVerts=false, bool printToFile=true)
 Called from anyone that wants to print out a file, takes in a node, outputs file*.
std::string GetFileOutput () const
 Returns the file stream.
void PrintNodeToOSGFile (const osg::Node &node, const std::string &fileName)
 Dumps a node to an osg file.
void PrintNodeToOSGFile (const osg::Node &node, std::ostringstream &oss)
 Dumps a node to a stream in osg formate.

Protected Member Functions

virtual ~NodePrintOut ()
void Analyze (const osg::Node &nd, const std::string &indent)
 Called from printoutnode user should never call.
void AnalyzeGeode (const osg::Geode &geode, const std::string &indent)
 Called from Analyze user should never call.
void AnalyzePrimSet (const osg::PrimitiveSet &prset, const osg::Vec3Array &verts, const std::string &indent)
 Called from AnalyzeGeode user should never call.


Constructor & Destructor Documentation

dtUtil::NodePrintOut::NodePrintOut (  ) 

virtual dtUtil::NodePrintOut::~NodePrintOut (  )  [inline, protected, virtual]


Member Function Documentation

void dtUtil::NodePrintOut::PrintOutNode ( const std::string &  printOutFileName,
const osg::Node &  nodeToPrint,
bool  PrintVerts = false,
bool  printToFile = true 
)

Called from anyone that wants to print out a file, takes in a node, outputs file*.

std::string dtUtil::NodePrintOut::GetFileOutput (  )  const

Returns the file stream.

void dtUtil::NodePrintOut::PrintNodeToOSGFile ( const osg::Node &  node,
const std::string &  fileName 
)

Dumps a node to an osg file.

void dtUtil::NodePrintOut::PrintNodeToOSGFile ( const osg::Node &  node,
std::ostringstream &  oss 
)

Dumps a node to a stream in osg formate.

void dtUtil::NodePrintOut::Analyze ( const osg::Node &  nd,
const std::string &  indent 
) [protected]

Called from printoutnode user should never call.

void dtUtil::NodePrintOut::AnalyzeGeode ( const osg::Geode &  geode,
const std::string &  indent 
) [protected]

Called from Analyze user should never call.

void dtUtil::NodePrintOut::AnalyzePrimSet ( const osg::PrimitiveSet &  prset,
const osg::Vec3Array &  verts,
const std::string &  indent 
) [protected]

Called from AnalyzeGeode user should never call.


http://www.delta3d.org
2.0.0 generated 14 Feb 2008