OpenCV for Unity 3.0.4
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/5.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.DnnModule.DictValue Class Reference

This struct stores the scalar value (or array) of one of the following type: double, cv::String or int64. More...

Public Member Functions

 DictValue (double p)
 
 DictValue (int i)
 
 DictValue (string s)
 
int getIntValue ()
 
int getIntValue (int idx)
 
IntPtr getNativeObjAddr ()
 
double getRealValue ()
 
double getRealValue (int idx)
 
string getStringValue ()
 
string getStringValue (int idx)
 
bool isInt ()
 
bool isReal ()
 
bool isString ()
 
- Public Member Functions inherited from OpenCVForUnity.DisposableObject
void Dispose ()
 Releases resources used by this object.
 
void ThrowIfDisposed ()
 Throws ObjectDisposedException if this object has been disposed.
 

Static Public Member Functions

static DictValue __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.DisposableObject
static IntPtr ThrowIfNullIntPtr (IntPtr ptr)
 Returns the native pointer, or throws CoreModule.CvException if it is zero.
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject
 DisposableOpenCVObject ()
 Initializes a new instance with a zero native pointer and dispose enabled.
 
 DisposableOpenCVObject (bool isEnabledDispose)
 Initializes a new instance with a zero native pointer.
 
 DisposableOpenCVObject (IntPtr ptr)
 Initializes a new instance with the specified native pointer and dispose enabled.
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 Initializes a new instance with the specified native pointer.
 
override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 Initializes a new instance with dispose enabled.
 
 DisposableObject (bool isEnabledDispose)
 Initializes a new instance.
 

Additional Inherited Members

- Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject
- Properties inherited from OpenCVForUnity.DisposableObject
bool IsDisposed [get, protected set]
 
bool IsEnabledDispose [get, set]
 

Detailed Description

This struct stores the scalar value (or array) of one of the following type: double, cv::String or int64.

Constructor & Destructor Documentation

◆ DictValue() [1/3]

OpenCVForUnity.DnnModule.DictValue.DictValue ( int i)

◆ DictValue() [2/3]

OpenCVForUnity.DnnModule.DictValue.DictValue ( double p)

◆ DictValue() [3/3]

OpenCVForUnity.DnnModule.DictValue.DictValue ( string s)

Member Function Documentation

◆ __fromPtr__()

static DictValue OpenCVForUnity.DnnModule.DictValue.__fromPtr__ ( IntPtr addr)
static

◆ Dispose()

override void OpenCVForUnity.DnnModule.DictValue.Dispose ( bool disposing)
protectedvirtual

Reimplemented from OpenCVForUnity.DisposableObject.

◆ getIntValue() [1/2]

int OpenCVForUnity.DnnModule.DictValue.getIntValue ( )

◆ getIntValue() [2/2]

int OpenCVForUnity.DnnModule.DictValue.getIntValue ( int idx)

◆ getNativeObjAddr()

IntPtr OpenCVForUnity.DnnModule.DictValue.getNativeObjAddr ( )

◆ getRealValue() [1/2]

double OpenCVForUnity.DnnModule.DictValue.getRealValue ( )

◆ getRealValue() [2/2]

double OpenCVForUnity.DnnModule.DictValue.getRealValue ( int idx)

◆ getStringValue() [1/2]

string OpenCVForUnity.DnnModule.DictValue.getStringValue ( )

◆ getStringValue() [2/2]

string OpenCVForUnity.DnnModule.DictValue.getStringValue ( int idx)

◆ isInt()

bool OpenCVForUnity.DnnModule.DictValue.isInt ( )

◆ isReal()

bool OpenCVForUnity.DnnModule.DictValue.isReal ( )

◆ isString()

bool OpenCVForUnity.DnnModule.DictValue.isString ( )

The documentation for this class was generated from the following file: