MCPcopy Create free account
hub / github.com/creatale/node-dv / DisplayIntProto

Function DisplayIntProto

deps/tesseract/classify/intproto.cpp:644–650  ·  view source on GitHub ↗

* This routine renders the specified proto into a * global display list. * * Globals: * - ProtoShapes global display list for protos * @param Class class to take proto from * @param ProtoId id of proto in Class to be displayed * @param Evidence total evidence for proto (0-1) * @return none * @note Exceptions: none * @note History: Thu Mar 21 14:45:04 1991, DSJ, Created. */

Source from the content-addressed store, hash-verified

642 * @note History: Thu Mar 21 14:45:04 1991, DSJ, Created.
643 */
644void DisplayIntProto(INT_CLASS Class, PROTO_ID ProtoId, FLOAT32 Evidence) {
645 ScrollView::Color color = GetMatchColorFor(Evidence);
646 RenderIntProto(IntMatchWindow, Class, ProtoId, color);
647 if (ProtoDisplayWindow) {
648 RenderIntProto(ProtoDisplayWindow, Class, ProtoId, color);
649 }
650} /* DisplayIntProto */
651#endif
652
653/**

Callers 1

DisplayProtoDebugInfoMethod · 0.85

Calls 2

GetMatchColorForFunction · 0.85
RenderIntProtoFunction · 0.85

Tested by

no test coverage detected