Changeset 32745
- Timestamp:
- 04/23/09 13:02:10 (4 years ago)
- Location:
- lang/cpluspluscli/OpenCvSharp2/trunk
- Files:
-
- 3 modified
-
OpenCvSharp.Blob/CvBlobs.h (modified) (7 diffs)
-
OpenCvSharp.Extern/OpenCvSharp.Extern.vcproj (modified) (2 diffs)
-
OpenCvSharp/Src/Enum/StereoRectificationFlag.cs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/cpluspluscli/OpenCvSharp2/trunk/OpenCvSharp.Blob/CvBlobs.h
r32733 r32745 144 144 { 145 145 int size = ptr->size(); 146 array<CvBlob^>^ keys = gcnew array<CvBlob^>(size);146 array<CvBlob^>^ values = gcnew array<CvBlob^>(size); 147 147 int i = 0; 148 148 for (__CvBlobs::iterator it = ptr->begin(); it != ptr->end(); it++, i++) 149 149 { 150 keys[i] = gcnew CvBlob(it->second);151 } 152 return safe_cast<ICollection<CvBlob^>^>( keys);150 values[i] = gcnew CvBlob(it->second); 151 } 152 return safe_cast<ICollection<CvBlob^>^>(values); 153 153 } 154 154 } … … 266 266 #pragma endregion 267 267 #pragma region IEnumerator<KeyValuePair<CvLabel,CvBlob^>> Members 268 /// <summary> 269 /// 270 /// </summary> 268 #ifdef LANG_JP 269 /// <summary> 270 /// コレクションを反復処理する列挙子を返します。 271 /// </summary> 272 #else 273 /// <summary> 274 /// Returns an enumerator that iterates through a collection. 275 /// </summary> 276 #endif 271 277 virtual IEnumerator<KeyValuePair<CvLabel, CvBlob^>>^ GetEnumerator() = IEnumerable<KeyValuePair<CvLabel, CvBlob^>>::GetEnumerator 272 278 { … … 274 280 } 275 281 protected: 276 /// <summary> 277 /// 278 /// </summary> 282 #ifdef LANG_JP 283 /// <summary> 284 /// コレクションを反復処理する列挙子を返します。 285 /// </summary> 286 #else 287 /// <summary> 288 /// Returns an enumerator that iterates through a collection. 289 /// </summary> 290 #endif 279 291 virtual System::Collections::IEnumerator^ GetEnumeratorNonGeneric() = System::Collections::IEnumerable::GetEnumerator 280 292 { … … 315 327 316 328 public: 329 #ifdef LANG_JP 330 /// <summary> 331 /// コレクション内の現在の要素を取得します。 332 /// </summary> 333 #else 317 334 /// <summary> 318 335 /// Gets the element in the collection at the current position of the enumerator. 319 336 /// </summary> 337 #endif 320 338 virtual property KeyValuePair<CvLabel, CvBlob^> Current 321 339 { … … 327 345 } 328 346 } 347 #ifdef LANG_JP 348 /// <summary> 349 /// コレクション内の現在の要素を取得します。 350 /// </summary> 351 #else 329 352 /// <summary> 330 353 /// Gets the current element in the collection. 331 354 /// </summary> 355 #endif 332 356 virtual property Object^ CurrentObject 333 357 { … … 337 361 } 338 362 } 363 #ifdef LANG_JP 364 /// <summary> 365 /// 列挙子をコレクションの次の要素に進めます。 366 /// </summary> 367 #else 339 368 /// <summary> 340 369 /// Advances the enumerator to the next element of the collection. 341 370 /// </summary> 371 #endif 342 372 virtual Boolean MoveNext() = System::Collections::IEnumerator::MoveNext 343 373 { … … 345 375 return data->it != data->map->end(); 346 376 } 347 /// <summary> 348 /// Sets the enumerator to its initial position, which is before the first element 349 /// in the collection. 350 /// </summary> 377 #ifdef LANG_JP 378 /// <summary> 379 /// 列挙子を初期位置、つまりコレクションの最初の要素の前に設定します。 380 /// </summary> 381 #else 382 /// <summary> 383 /// Sets the enumerator to its initial position, which is before the first element in the collection. 384 /// </summary> 385 #endif 351 386 virtual void Reset() = System::Collections::IEnumerator::Reset 352 387 { -
lang/cpluspluscli/OpenCvSharp2/trunk/OpenCvSharp.Extern/OpenCvSharp.Extern.vcproj
r32668 r32745 645 645 > 646 646 </File> 647 <File648 RelativePath=".\WCvHaarFeature.h"649 >650 </File>651 647 <Filter 652 648 Name="Class" … … 690 686 <File 691 687 RelativePath=".\WCvHaarClassifierCascade.h" 688 > 689 </File> 690 <File 691 RelativePath=".\WCvHaarFeature.h" 692 692 > 693 693 </File> -
lang/cpluspluscli/OpenCvSharp2/trunk/OpenCvSharp/Src/Enum/StereoRectificationFlag.cs
r32694 r32745 20 20 #if LANG_JP 21 21 /// <summary> 22 /// フラグなし ( 0).22 /// フラグなし (=0). 23 23 /// 利用できる画像領域が最大になるように(エピポーラ線の傾きに従って)片方の画像を水平・垂直方向に移動する. 24 24 /// </summary> 25 25 #else 26 26 /// <summary> 27 /// = 0.27 /// Default value (=0). 28 28 /// the function can shift one of the image in horizontal or vertical direction (depending on the orientation of epipolar lines) in order to maximise the useful image area. 29 29 /// </summary> … … 34 34 #if LANG_JP 35 35 /// <summary> 36 /// 平行化後のビューにおいて各カメラの主点(光学中心)が同じ座標になるようにする. 37 36 /// 平行化後のビューにおいて各カメラの主点(光学中心)が同じ座標になるようにする. 38 37 /// [CV_CALIB_ZERO_DISPARITY] 39 38 /// </summary>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)