InscoperAPI/Build/Java/com.inscoper.api/com/inscoper/api/XYStage.java¶
Packages¶
| Name |
|---|
| com.inscoper.api |
Classes¶
| Name | |
|---|---|
| class | com.inscoper.api.XYStage XYStage class defines the interface for 2D-positioning devices. |
Source code¶
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (https://www.swig.org).
* Version 4.3.1
*
* Do not make changes to this file unless you know what you are doing - modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.inscoper.api;
import com.inscoper.api.logging.*;
public class XYStage extends AbstractSystem {
private transient long swigCPtr;
private transient boolean swigCMemOwnDerived;
protected XYStage(long cPtr, boolean cMemoryOwn) {
super(InscoperJNI.XYStage_SWIGSmartPtrUpcast(cPtr), true);
swigCMemOwnDerived = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(XYStage obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void swigSetCMemOwn(boolean own) {
swigCMemOwnDerived = own;
super.swigSetCMemOwn(own);
}
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwnDerived) {
swigCMemOwnDerived = false;
InscoperJNI.delete_XYStage(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public double getXPosition() {
return InscoperJNI.XYStage_getXPosition(swigCPtr, this);
}
public void setXPosition(double x) {
InscoperJNI.XYStage_setXPosition(swigCPtr, this, x);
}
public void checkXPosition() {
InscoperJNI.XYStage_checkXPosition(swigCPtr, this);
}
public double getXResolution() {
return InscoperJNI.XYStage_getXResolution(swigCPtr, this);
}
public void setXResolution(double resolution) {
InscoperJNI.XYStage_setXResolution(swigCPtr, this, resolution);
}
public double getYPosition() {
return InscoperJNI.XYStage_getYPosition(swigCPtr, this);
}
public void setYPosition(double y) {
InscoperJNI.XYStage_setYPosition(swigCPtr, this, y);
}
public void checkYPosition() {
InscoperJNI.XYStage_checkYPosition(swigCPtr, this);
}
public double getYResolution() {
return InscoperJNI.XYStage_getYResolution(swigCPtr, this);
}
public void setYResolution(double resolution) {
InscoperJNI.XYStage_setYResolution(swigCPtr, this, resolution);
}
public void moveXYAxis() {
InscoperJNI.XYStage_moveXYAxis(swigCPtr, this);
}
}
Updated on 2026-09-03 at 12:14:19 +0200