@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, getPointer, limit, position, put, put, put, put, sizeofaddress, asByteBuffer, availablePhysicalBytes, calloc, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic Scalar4f(Pointer p)
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 © 2025. All rights reserved.