@Properties(inherit=opencv_core.class) public abstract class AbstractCvScalar extends DoublePointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static CvScalar |
ALPHA1 |
static CvScalar |
ALPHA255 |
static CvScalar |
BLACK |
static CvScalar |
BLUE |
static CvScalar |
CYAN |
static CvScalar |
GRAY |
static CvScalar |
GREEN |
static CvScalar |
MAGENTA |
static CvScalar |
ONE |
static CvScalar |
ONEHALF |
static CvScalar |
RED |
static CvScalar |
WHITE |
static CvScalar |
YELLOW |
static CvScalar |
ZERO |
Constructor and Description |
---|
AbstractCvScalar(Pointer p) |
Modifier and Type | Method and Description |
---|---|
double |
blue() |
CvScalar |
blue(double b) |
DoublePointer |
getDoublePointerVal() |
LongPointer |
getLongPointerVal() |
double |
getVal(int i) |
double |
green() |
CvScalar |
green(double g) |
double |
magnitude() |
double |
red() |
CvScalar |
red(double r) |
void |
scale(double s) |
CvScalar |
setVal(int i,
double val) |
String |
toString() |
abstract DoublePointer |
val() |
abstract double |
val(int i) |
abstract CvScalar |
val(int i,
double val) |
asBuffer, capacity, get, get, get, get, limit, position, put, put, put, put, sizeof
address, asByteBuffer, availablePhysicalBytes, calloc, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, totalBytes, totalPhysicalBytes, withDeallocator, zero
public static final CvScalar ZERO
public static final CvScalar ONE
public static final CvScalar ONEHALF
public static final CvScalar ALPHA1
public static final CvScalar ALPHA255
public static final CvScalar WHITE
public static final CvScalar GRAY
public static final CvScalar BLACK
public static final CvScalar RED
public static final CvScalar GREEN
public static final CvScalar BLUE
public static final CvScalar CYAN
public static final CvScalar MAGENTA
public static final CvScalar YELLOW
public AbstractCvScalar(Pointer p)
public abstract double val(int i)
public abstract CvScalar val(int i, double val)
public double getVal(int i)
public CvScalar setVal(int i, double val)
public abstract DoublePointer val()
public DoublePointer getDoublePointerVal()
public LongPointer getLongPointerVal()
public void scale(double s)
public double red()
public double green()
public double blue()
public CvScalar red(double r)
public CvScalar green(double g)
public CvScalar blue(double b)
public double magnitude()
Copyright © 2020. All rights reserved.