Home | History | Annotate | Download | only in src

Lines Matching defs:propValue

776     double propValue = 0;
784 propValue = getImageGeneratorProperty( purePropIdx );
788 propValue = getDepthGeneratorProperty( purePropIdx );
792 propValue = getCommonProperty( purePropIdx );
796 return propValue;
799 bool CvCapture_OpenNI::setProperty( int propIdx, double propValue )
808 isSet = setImageGeneratorProperty( purePropIdx, propValue );
812 isSet = setDepthGeneratorProperty( purePropIdx, propValue );
816 isSet = setCommonProperty( purePropIdx, propValue );
825 double propValue = 0;
842 propValue = getDepthGeneratorProperty( propIdx );
845 propValue = !approxSyncGrabber.empty() && approxSyncGrabber->isRun() ? 1. : 0.;
848 propValue = maxBufferSize;
851 propValue = isCircleBuffer ? 1. : 0.;
854 propValue = maxTimeDuration;
860 return propValue;
863 bool CvCapture_OpenNI::setCommonProperty( int propIdx, double propValue )
872 isSet = setDepthGeneratorProperty( propIdx, propValue );
875 if( propValue && depthGenerator.IsValid() && imageGenerator.IsValid() )
893 else if( !propValue && !approxSyncGrabber.empty() )
900 maxBufferSize = cvRound(propValue);
909 maxTimeDuration = cvRound(propValue);
922 double propValue = 0;
924 return propValue;
932 propValue = 1.;
936 propValue = mode.nXRes;
940 propValue = mode.nYRes;
944 propValue = mode.nFPS;
947 propValue = depthGenerator.GetDeviceMaxDepth();
950 propValue = baseline;
953 propValue = (double)depthFocalLength_VGA;
956 propValue = depthGenerator.GetAlternativeViewPointCap().IsViewPointAs(const_cast<CvCapture_OpenNI *>(this)->imageGenerator) ? 1.0 : 0.0;
959 propValue = (double)depthGenerator.GetTimestamp();
962 propValue = depthGenerator.GetFrameID();
968 return propValue;
971 bool CvCapture_OpenNI::setDepthGeneratorProperty( int propIdx, double propValue )
981 if( propValue != 0.0 ) // "on"
1023 double propValue = 0.;
1025 return propValue;
1032 propValue = 1.;
1036 propValue = mode.nXRes;
1040 propValue = mode.nYRes;
1044 propValue = mode.nFPS;
1047 propValue = (double)imageGenerator.GetTimestamp();
1050 propValue = (double)imageGenerator.GetFrameID();
1056 return propValue;
1059 bool CvCapture_OpenNI::setImageGeneratorProperty( int propIdx, double propValue )
1071 switch( cvRound(propValue) )