Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » OpenCV 
	
		
		
			| Re: OpenCV [message #32746 is a reply to message #32734] | 
			Sun, 05 June 2011 22:36    | 
		 
		
			| 
				
	 | 
 
	
		| GaroRobe wrote on Sun, 05 June 2011 02:26 |   3. Why not have an additional functionality for packages in form of Assist++ hinting dictionaries? 
Make it so that package maintainers might make such dictionaries (say, "func prototype"/"header"[-"string#"][/"src"[-"string#"]][/ "descr"]) and assist would attach 'em to its list once when package is attached and the rest of A++ would work dynamically like it does now.
  |  
  
That is actually quite good idea   It should be even relatively easy to implement. There is already one "backdoor" to feed information to Assist++ or to hide it, the parser directives //$, //$- and //$+. If we can get the description of the entire OpenCV API in C++ syntax, dumped in one file and prefixed with //$, it should make the Assist work. Of your course better (faster) solution would be to store the pre-parsed data, but the parser is quite fast, maybe it wouldn't even be necessary... 
 
Honza
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	
		
		
			| Re: OpenCV [message #32748 is a reply to message #32746] | 
			Mon, 06 June 2011 01:41    | 
		 
		
			| 
				
	 | 
 
	
		I'll look into it immidiately. 
 
Okay, what I managed to dig so far is that A++ fails to parse prototypes with macroes in function arguments, e.g.: 
//$ void foo( MY_DEFINE int bar )  
fails, while 
 
works. 
OpenCV is tangled with CV_[SOMETHING] inside out, so it's quite a headache and calls for some intensive sed and awk usage  . 
 
Moreover, that's not the only one case: 
//$ CV_EXPORTS void RQDecomp3x3 ( const Mat& M, Mat& R, Mat& Q );  
Works. 
//$ CV_EXPORTS_W Vec3d RQDecomp3x3 ( const Mat& M, Mat& R, Mat& Q, Mat& Qx, Mat& Qy, Mat& Qz );  
Fails. 
 
Don't get the reason.
		
		
		[Updated on: Mon, 06 June 2011 02:43] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	| 
		
 |  
	
		
		
			| Re: OpenCV [message #33036 is a reply to message #32614] | 
			Mon, 04 July 2011 02:12   | 
		 
		
			| 
				
	 | 
 
	| 
		Okay, enough of being full of myself - I will find neither time nor bravery to start solving this problem so I do what might solve it - just ask for your help. Anyone who can comprehend solution completely, please, post here everything related - this feature would be really useful when start working with completely foreign API. 
		
		
		
 |  
	| 
		
	 | 
 
 
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 17:06:52 CET 2025 
 Total time taken to generate the page: 0.05388 seconds 
 |