FileNode Class |
Namespace: OpenCvSharp
The FileNode type exposes the following members.
| Name | Description | |
|---|---|---|
| FileNode |
The default constructor
| |
| FileNode(IntPtr) |
Initializes from cv::FileNode*
|
| Name | Description | |
|---|---|---|
| AllocatedMemory |
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.) | |
| AllocatedMemorySize |
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.) | |
| CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) | |
| DataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) | |
| Empty |
Returns true if the node is empty
| |
| IsDisposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.) | |
| IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.) | |
| IsInt |
Returns true if the node is an integer
| |
| IsMap |
Returns true if the node is a mapping
| |
| IsNamed |
Returns true if the node has a name
| |
| IsNone |
Returns true if the node is a "none" object
| |
| IsReal |
Returns true if the node is a floating-point number
| |
| IsSeq |
Returns true if the node is a sequence
| |
| IsString |
Returns true if the node is a text string
| |
| ItemInt32 |
returns element of a sequence node
| |
| ItemString |
returns element of a mapping node
| |
| Name |
Returns the node name or an empty string if the node is nameless
| |
| Size |
Returns the number of elements in the node, if it is a sequence or mapping, or 1 otherwise.
| |
| Type |
Returns type of the node.
|
| Name | Description | |
|---|---|---|
| AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) | |
| AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) | |
| Begin |
returns iterator pointing to the first node element
| |
| Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
| Dispose(Boolean) |
Releases the resources
(Inherited from DisposableObject.) | |
| DisposeManaged |
Releases managed resources
(Inherited from DisposableObject.) | |
| DisposeUnmanaged |
Releases unmanaged resources
(Overrides DisposableCvObjectDisposeUnmanaged.) | |
| End |
returns iterator pointing to the element following the last node element
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize |
Destructor
(Inherited from DisposableObject.) | |
| GetEnumerator |
Get FileNode iterator
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
| ReadDMatch |
Reads the node element as DMatch
| |
| ReadDMatches |
Reads the node element as DMatch[]
| |
| ReadDouble |
Reads the node element as Double
| |
| ReadFloat |
Reads the node element as Single (float)
| |
| ReadInt |
Reads the node element as Int32 (int)
| |
| ReadKeyPoint |
Reads the node element as KeyPoint
| |
| ReadKeyPoints |
Reads the node element as KeyPoint[]
| |
| ReadMat |
Reads the node element as Mat
| |
| ReadPoint |
Reads the node element as Point
| |
| ReadPoint2d |
Reads the node element as Point2d
| |
| ReadPoint2f |
Reads the node element as Point2f
| |
| ReadPoint3d |
Reads the node element as Point3d
| |
| ReadPoint3f |
Reads the node element as Point3f
| |
| ReadPoint3i |
Reads the node element as Point3i
| |
| ReadRange |
Reads the node element as Range
| |
| ReadRaw |
Reads node elements to the buffer with the specified format
| |
| ReadRect |
Reads the node element as Rect
| |
| ReadRect2d |
Reads the node element as Rect2d
| |
| ReadRect2f |
Reads the node element as Rect2f
| |
| ReadScalar |
Reads the node element as Scalar
| |
| ReadSize |
Reads the node element as Size
| |
| ReadSize2d |
Reads the node element as Size2d
| |
| ReadSize2f |
Reads the node element as Size2f
| |
| ReadSparseMat |
Reads the node element as SparseMat
| |
| ReadString |
Reads the node element as String
| |
| ReadVec2b |
Reads the node element as Vector
| |
| ReadVec2d |
Reads the node element as Vector
| |
| ReadVec2f |
Reads the node element as Vector
| |
| ReadVec2i |
Reads the node element as Vector
| |
| ReadVec2s |
Reads the node element as Vector
| |
| ReadVec2w |
Reads the node element as Vector
| |
| ReadVec3b | ||
| ReadVec3d |
Reads the node element as Vector
| |
| ReadVec3f |
Reads the node element as Vector
| |
| ReadVec3i |
Reads the node element as Vector
| |
| ReadVec3s |
Reads the node element as Vector
| |
| ReadVec3w |
Reads the node element as Vector
| |
| ReadVec4b |
Reads the node element as Vector
| |
| ReadVec4d |
Reads the node element as Vector
| |
| ReadVec4f |
Reads the node element as Vector
| |
| ReadVec4i |
Reads the node element as Vector
| |
| ReadVec4s |
Reads the node element as Vector
| |
| ReadVec4w |
Reads the node element as Vector
| |
| ReadVec6b |
Reads the node element as Vector
| |
| ReadVec6d |
Reads the node element as Vector
| |
| ReadVec6f |
Reads the node element as Vector
| |
| ReadVec6i |
Reads the node element as Vector
| |
| ReadVec6s |
Reads the node element as Vector
| |
| ReadVec6w |
Reads the node element as Vector
| |
| ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
| ToDouble |
Returns the node content as double
| |
| ToInt32 |
Returns the node content as an integer. If the node stores floating-point number, it is rounded.
| |
| ToMat |
Returns the node content as OpenCV Mat
| |
| ToSingle |
Returns the node content as System.Single
| |
| ToString |
Returns the node content as text string
(Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| (FileNode to Int32) |
Returns the node content as an integer. If the node stores floating-point number, it is rounded.
| |
| (FileNode to Single) |
Returns the node content as float
| |
| (FileNode to Double) |
Returns the node content as double
| |
| (FileNode to String) |
Returns the node content as text string
| |
| (FileNode to Mat) |
Returns the node content as OpenCV Mat
|
| Name | Description | |
|---|---|---|
| ptr |
Data pointer
(Inherited from DisposableCvObject.) |