Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

Commit

Permalink
+ added debug message on generators
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelnerve committed Nov 9, 2012
1 parent 128ae7b commit 1c1bab2
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions src/VOpenNIDeviceManager.cpp
Expand Up @@ -299,7 +299,9 @@ namespace V
mDepthGenCount++;
}
}
std::cout << "+++ Depth nodes: \t" << mDepthGenCount << std::endl;
std::stringstream ss0;
ss0 << "+++ Depth nodes: \t" << mDepthGenCount << std::endl;
DEBUG_MESSAGE( ss0.str().c_str() );



Expand Down Expand Up @@ -328,7 +330,10 @@ namespace V
mIRGenCount++;
}
}
std::cout << "+++ IR nodes: \t" << mIRGenCount << std::endl;
std::stringstream ss1;
ss1 << "+++ IR nodes: \t" << mIRGenCount << std::endl;
DEBUG_MESSAGE( ss1.str().c_str() );



if( nodeTypeFlags & NODE_TYPE_IMAGE )
Expand Down Expand Up @@ -356,7 +361,9 @@ namespace V
mImageGenCount++;
}
}
std::cout << "+++ Image nodes: \t" << mImageGenCount << std::endl;
std::stringstream ss2;
ss2 << "+++ Image nodes: \t" << mImageGenCount << std::endl;
DEBUG_MESSAGE( ss2.str().c_str() );


if( nodeTypeFlags & NODE_TYPE_USER )
Expand Down Expand Up @@ -385,7 +392,9 @@ namespace V
mUserGenCount++;
}
}
std::cout << "+++ User nodes: \t" << mUserGenCount << std::endl;
std::stringstream ss3;
ss3 << "+++ User nodes: \t" << mUserGenCount << std::endl;
DEBUG_MESSAGE( ss3.str().c_str() );


if( nodeTypeFlags & NODE_TYPE_SCENE )
Expand Down Expand Up @@ -413,7 +422,9 @@ namespace V
mSceneAnalyzerCount++;
}
}
std::cout << "+++ Scene nodes: \t" << mSceneAnalyzerCount << std::endl;
std::stringstream ss4;
ss4 << "+++ Scene nodes: \t" << mSceneAnalyzerCount << std::endl;
DEBUG_MESSAGE( ss4.str().c_str() );


//if( nodeTypeFlags & NODE_TYPE_HANDS )
Expand Down

0 comments on commit 1c1bab2

Please sign in to comment.