MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / SetCropping

Method SetCropping

Source/Modules/nimMockNodes/MockMapGenerator.cpp:195–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195XnStatus MockMapGenerator::SetCropping(const XnCropping &Cropping)
196{
197 XnStatus nRetVal = XN_STATUS_OK;
198 if (xnOSMemCmp(&Cropping, &m_cropping, sizeof(Cropping)) != 0)
199 {
200 m_cropping = Cropping;
201 nRetVal = m_croppingChangeEvent.Raise();
202 XN_IS_STATUS_OK(nRetVal);
203 }
204 return XN_STATUS_OK;
205}
206
207XnStatus MockMapGenerator::GetCropping(XnCropping &Cropping)
208{

Callers 2

xnSetCroppingFunction · 0.45
setStreamCroppingFunction · 0.45

Calls 2

xnOSMemCmpFunction · 0.50
RaiseMethod · 0.45

Tested by

no test coverage detected