Lines Matching refs:propIdx
449 virtual double getProperty(int propIdx) const;
480 double getDepthGeneratorProperty(int propIdx) const;
481 bool setDepthGeneratorProperty(int propIdx, double propVal);
482 double getImageGeneratorProperty(int propIdx) const;
483 bool setImageGeneratorProperty(int propIdx, double propVal);
484 double getCommonProperty(int propIdx) const;
485 bool setCommonProperty(int propIdx, double propVal);
774 double CvCapture_OpenNI::getProperty( int propIdx ) const in getProperty()
780 int purePropIdx = propIdx & ~CV_CAP_OPENNI_GENERATORS_MASK; in getProperty()
782 if( (propIdx & CV_CAP_OPENNI_GENERATORS_MASK) == CV_CAP_OPENNI_IMAGE_GENERATOR ) in getProperty()
786 else if( (propIdx & CV_CAP_OPENNI_GENERATORS_MASK) == CV_CAP_OPENNI_DEPTH_GENERATOR ) in getProperty()
799 bool CvCapture_OpenNI::setProperty( int propIdx, double propValue ) in setProperty() argument
804 int purePropIdx = propIdx & ~CV_CAP_OPENNI_GENERATORS_MASK; in setProperty()
806 if( (propIdx & CV_CAP_OPENNI_GENERATORS_MASK) == CV_CAP_OPENNI_IMAGE_GENERATOR ) in setProperty()
810 else if( (propIdx & CV_CAP_OPENNI_GENERATORS_MASK) == CV_CAP_OPENNI_DEPTH_GENERATOR ) in setProperty()
823 double CvCapture_OpenNI::getCommonProperty( int propIdx ) const in getCommonProperty()
827 switch( propIdx ) in getCommonProperty()
842 propValue = getDepthGeneratorProperty( propIdx ); in getCommonProperty()
857 … CV_StsBadArg, cv::format("Such parameter (propIdx=%d) isn't supported for getting.\n", propIdx) ); in getCommonProperty()
863 bool CvCapture_OpenNI::setCommonProperty( int propIdx, double propValue ) in setCommonProperty() argument
867 switch( propIdx ) in setCommonProperty()
872 isSet = setDepthGeneratorProperty( propIdx, propValue ); in setCommonProperty()
914 … CV_StsBadArg, cv::format("Such parameter (propIdx=%d) isn't supported for setting.\n", propIdx) ); in setCommonProperty()
920 double CvCapture_OpenNI::getDepthGeneratorProperty( int propIdx ) const in getDepthGeneratorProperty()
928 switch( propIdx ) in getDepthGeneratorProperty()
965 …::format("Depth generator does not support such parameter (propIdx=%d) for getting.\n", propIdx) ); in getDepthGeneratorProperty()
971 bool CvCapture_OpenNI::setDepthGeneratorProperty( int propIdx, double propValue ) in setDepthGeneratorProperty() argument
977 switch( propIdx ) in setDepthGeneratorProperty()
1015 …::format("Depth generator does not support such parameter (propIdx=%d) for setting.\n", propIdx) ); in setDepthGeneratorProperty()
1021 double CvCapture_OpenNI::getImageGeneratorProperty( int propIdx ) const in getImageGeneratorProperty()
1028 switch( propIdx ) in getImageGeneratorProperty()
1053 …::format("Image generator does not support such parameter (propIdx=%d) for getting.\n", propIdx) ); in getImageGeneratorProperty()
1059 bool CvCapture_OpenNI::setImageGeneratorProperty( int propIdx, double propValue ) in setImageGeneratorProperty() argument
1065 switch( propIdx ) in setImageGeneratorProperty()
1110 …::format("Image generator does not support such parameter (propIdx=%d) for setting.\n", propIdx) ); in setImageGeneratorProperty()