ArcGIS Procedural Runtime  3.1.9666
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Functions
prtx::DebugUtils Namespace Reference

Description

Debug utilities for various prtx classes. Useful for prtx extension authors.

Functions

void dump (std::wostream &stream, const Attributable &a)
 
void dump (std::wostream &stream, const Geometry &g)
 
void dump (std::wostream &stream, const Mesh &mesh)
 
void dump (std::wostream &stream, const Material &m)
 
void dump (std::wostream &stream, const Shader &m)
 
void dump (std::wostream &stream, const Texture &m)
 
void dump (std::wostream &stream, const TrimPlane &m)
 
void dump (prtx::GenerateContext &context, size_t initialShapeIndex, const std::wstring &pathToDotFile)
 
std::ostream & operator<< (std::ostream &stream, const BoundingBox &b)
 
std::wostream & operator<< (std::wostream &stream, const BoundingBox &b)
 
std::wostream & operator<< (std::wostream &stream, const prtx::ReportsPtr &r)
 
prtx::GeometryPtr toGeometry (const prtx::BoundingBox &bbox, const std::wstring &geoName=std::wstring())
 

Function Documentation

void prtx::DebugUtils::dump ( std::wostream &  stream,
const Geometry &  g 
)

Dumps string representation of Geometry to stream.

void prtx::DebugUtils::dump ( std::wostream &  stream,
const Mesh &  mesh 
)

Dumps string representation of Mesh to stream.

void prtx::DebugUtils::dump ( std::wostream &  stream,
const Material &  m 
)

Dumps string representation of Material to stream.

void prtx::DebugUtils::dump ( std::wostream &  stream,
const Shader &  m 
)

Dumps string representation of Shader to stream.

void prtx::DebugUtils::dump ( std::wostream &  stream,
const Texture &  m 
)

Dumps string representation of Texture to stream.

void prtx::DebugUtils::dump ( std::wostream &  stream,
const TrimPlane &  m 
)

Dumps string representation of TrimPlane to stream.

std::ostream& prtx::DebugUtils::operator<< ( std::ostream &  stream,
const BoundingBox &  b 
)

Dumps the current state of BoundingBox b to narrow stream.

std::wostream& prtx::DebugUtils::operator<< ( std::wostream &  stream,
const BoundingBox &  b 
)

Dumps the current state of BoundingBox b to wide stream.

std::wostream& prtx::DebugUtils::operator<< ( std::wostream &  stream,
const prtx::ReportsPtr &  r 
)

Dumps a Reports object to a wide character stream

prtx::GeometryPtr prtx::DebugUtils::toGeometry ( const prtx::BoundingBox bbox,
const std::wstring &  geoName = std::wstring() 
)

Creates a box geometry from a bounding box instance.