Lines Matching refs:propIdx
95 virtual double getProperty(int propIdx) const;
127 double getDepthGeneratorProperty(int propIdx) const;
128 bool setDepthGeneratorProperty(int propIdx, double propVal);
129 double getImageGeneratorProperty(int propIdx) const;
130 bool setImageGeneratorProperty(int propIdx, double propVal);
131 double getCommonProperty(int propIdx) const;
132 bool setCommonProperty(int propIdx, double propVal);
398 double CvCapture_OpenNI2::getProperty( int propIdx ) const in getProperty()
404 int purePropIdx = propIdx & ~CV_CAP_OPENNI_GENERATORS_MASK; in getProperty()
406 if( (propIdx & CV_CAP_OPENNI_GENERATORS_MASK) == CV_CAP_OPENNI_IMAGE_GENERATOR ) in getProperty()
410 else if( (propIdx & CV_CAP_OPENNI_GENERATORS_MASK) == CV_CAP_OPENNI_DEPTH_GENERATOR ) in getProperty()
423 bool CvCapture_OpenNI2::setProperty( int propIdx, double propValue ) in setProperty() argument
428 int purePropIdx = propIdx & ~CV_CAP_OPENNI_GENERATORS_MASK; in setProperty()
430 if( (propIdx & CV_CAP_OPENNI_GENERATORS_MASK) == CV_CAP_OPENNI_IMAGE_GENERATOR ) in setProperty()
434 else if( (propIdx & CV_CAP_OPENNI_GENERATORS_MASK) == CV_CAP_OPENNI_DEPTH_GENERATOR ) in setProperty()
447 double CvCapture_OpenNI2::getCommonProperty( int propIdx ) const in getCommonProperty()
451 switch( propIdx ) in getCommonProperty()
466 propValue = getDepthGeneratorProperty( propIdx ); in getCommonProperty()
477 … CV_StsBadArg, cv::format("Such parameter (propIdx=%d) isn't supported for getting.\n", propIdx) ); in getCommonProperty()
483 bool CvCapture_OpenNI2::setCommonProperty( int propIdx, double propValue ) in setCommonProperty() argument
487 switch( propIdx ) in setCommonProperty()
499 isSet = setDepthGeneratorProperty( propIdx, propValue ); in setCommonProperty()
505 … CV_StsBadArg, cv::format("Such parameter (propIdx=%d) isn't supported for setting.\n", propIdx) ); in setCommonProperty()
511 double CvCapture_OpenNI2::getDepthGeneratorProperty( int propIdx ) const in getDepthGeneratorProperty()
519 switch( propIdx ) in getDepthGeneratorProperty()
554 …::format("Depth generator does not support such parameter (propIdx=%d) for getting.\n", propIdx) ); in getDepthGeneratorProperty()
560 bool CvCapture_OpenNI2::setDepthGeneratorProperty( int propIdx, double propValue ) in setDepthGeneratorProperty() argument
566 switch( propIdx ) in setDepthGeneratorProperty()
605 …::format("Depth generator does not support such parameter (propIdx=%d) for setting.\n", propIdx) ); in setDepthGeneratorProperty()
611 double CvCapture_OpenNI2::getImageGeneratorProperty( int propIdx ) const in getImageGeneratorProperty()
618 switch( propIdx ) in getImageGeneratorProperty()
640 …::format("Image generator does not support such parameter (propIdx=%d) for getting.\n", propIdx) ); in getImageGeneratorProperty()
646 bool CvCapture_OpenNI2::setImageGeneratorProperty(int propIdx, double propValue) in setImageGeneratorProperty() argument
652 switch( propIdx ) in setImageGeneratorProperty()
692 …::format("Image generator does not support such parameter (propIdx=%d) for setting.\n", propIdx) ); in setImageGeneratorProperty()