ArcGIS Procedural Runtime  3.2.10650
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

◆ dump() [1/6]

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

Dumps string representation of Geometry to stream.

◆ dump() [2/6]

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

Dumps string representation of Mesh to stream.

◆ dump() [3/6]

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

Dumps string representation of Material to stream.

◆ dump() [4/6]

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

Dumps string representation of Shader to stream.

◆ dump() [5/6]

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

Dumps string representation of Texture to stream.

◆ dump() [6/6]

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

Dumps string representation of TrimPlane to stream.

◆ operator<<() [1/3]

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

Dumps the current state of BoundingBox b to narrow stream.

◆ operator<<() [2/3]

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

Dumps the current state of BoundingBox b to wide stream.

◆ operator<<() [3/3]

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

Dumps a Reports object to a wide character stream

◆ toGeometry()

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

Creates a box geometry from a bounding box instance.