@Name(value="cv::Scalar_<float>") @Properties(inherit=opencv_core.class) public class Scalar4f extends FloatPointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Scalar4f()
default constructor
|
Scalar4f(float v0) |
Scalar4f(float v0,
float v1) |
Scalar4f(float v0,
float v1,
float v2,
float v3) |
Scalar4f(Pointer p)
Pointer cast constructor.
|
Scalar4f(Scalar4f s) |
Modifier and Type | Method and Description |
---|---|
static Scalar4f |
all(float v0)
returns a scalar with all elements set to v0
|
Scalar4f |
conj()
returns (v0, -v1, -v2, -v3)
|
boolean |
isReal()
returns true iff v1 == v2 == v3 == 0
|
Scalar4f |
mul(Scalar4f a) |
Scalar4f |
mul(Scalar4f a,
double scale)
per-element product
|
Scalar4f |
put(Scalar4f s) |
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, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public Scalar4f(Pointer p)
Pointer.Pointer(Pointer)
.public Scalar4f()
public Scalar4f(float v0, float v1, float v2, float v3)
public Scalar4f(float v0, float v1)
public Scalar4f(float v0)
Copyright © 2020. All rights reserved.