Пример #1
0
void resetAllCropping(int)
{
	if (getDepthStream().isValid())
		resetDepthCropping(0);

	if (getColorStream().isValid())
		resetColorCropping(0);

	if (getIRStream().isValid())
		resetIRCropping(0);
}
Пример #2
0
void resetAllCropping(int)
{
	if (getDepthGenerator() != NULL)
		resetDepthCropping(0);
    
	if (getImageGenerator() != NULL)
		resetImageCropping(0);
    
	if (getIRGenerator() != NULL)
		resetIRCropping(0);
}