Package com.agisoft.metashape
Class Palette
java.lang.Object
com.agisoft.metashape.Palette
public class Palette extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPalette.Preset -
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voiddelete()protected voidfinalize()Vector3ucgetColor(long index)static longgetCPtr(Palette obj)longgetSize()floatgetValue(long index)voidinit(Palette.Preset preset)booleanload(String path)voidresize(long size)booleansave(String path)voidsetColor(long index, Vector3uc color)voidsetValue(long index, float value)
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
Palette
public Palette(long cPtr, boolean cMemoryOwn) -
Palette
public Palette() -
Palette
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
init
-
load
-
save
-
resize
public void resize(long size) -
getSize
public long getSize() -
setValue
public void setValue(long index, float value) -
getValue
public float getValue(long index) -
setColor
-
getColor
-