Skip to content

com.inscoper.nbo.GenericLens

Represents the XML element GenericLens. More...

Inherits from com.inscoper.nbo.Lens_Type, com.inscoper.nbo.ManufacturerSpec_Type, com.inscoper.nbo.NBOBaseClass

Public Functions

Name
synchronized void delete()
GenericLens()
String getTypeName()
Returns the class type name.
String getXMLName()
Returns the XML element name corresponding to this class.
ENBOType getNBOType()
Returns the NBO Type corresponding to this class.
NBOBaseClassVector getChildren()
Returns a list of all classes derived from this class.
NBOBaseClassVector getSubElements()
Returns a list of all child elements contained in this class.
void fromJsonFile(String path)
Populates this object from a JSON file.
void fromJsonString(String json_string)
Populates this object from a JSON string.
void fromXmlFile(String path)
Populates this object from a XML file.
void fromXmlString(String xml_string)
Populates this object from a XML string.
void toXmlFile(String filename)
Serializes this object to an XML file.
String toXmlString()
Serializes this object to an XML string.
GenericLens __internal_create(long cPtr, boolean own)

Protected Functions

Name
GenericLens(long cPtr, boolean cMemoryOwn)
void swigSetCMemOwn(boolean own)
void finalize()
long getCPtr(GenericLens obj)

Additional inherited members

Public Functions inherited from com.inscoper.nbo.Lens_Type

Name
Lens_Type()
void setID(LensID_Type value)
Sets the value of the ID attribute.
LensID_Type getID()
Returns the value of the ID attribute.
void resetID()
Resets the ID attribute to an unset state.
boolean hasID()
Checks whether the optional ID attribute is present.
void setName(Denomination_Type value)
Sets the value of the Name attribute.
Denomination_Type getName()
Returns the value of the Name attribute.
void resetName()
Resets the Name attribute to an unset state.
boolean hasName()
Checks whether the optional Name attribute is present.
void setMagnification(float value)
Sets the value of the Magnification attribute.
float getMagnification()
Returns the value of the Magnification attribute.
void setLensNA(float value)
Sets the value of the LensNA attribute.
float getLensNA()
Returns the value of the LensNA attribute.
void resetLensNA()
Resets the LensNA attribute to an unset state.
boolean hasLensNA()
Checks whether the optional LensNA attribute is present.
void setInfinity(boolean value)
Sets the value of the Infinity attribute.
boolean getInfinity()
Returns the value of the Infinity attribute.
void resetInfinity()
Resets the Infinity attribute to an unset state.
boolean hasInfinity()
Checks whether the optional Infinity attribute is present.
void setComposite(boolean value)
Sets the value of the Composite attribute.
boolean getComposite()
Returns the value of the Composite attribute.
void setShape(LensShapeType_Type value)
Sets the value of the Shape attribute.
LensShapeType_Type getShape()
Returns the value of the Shape attribute.
void resetShape()
Resets the Shape attribute to an unset state.
boolean hasShape()
Checks whether the optional Shape attribute is present.
void setGeometry(LensGeometry_Type value)
Sets the value of the Geometry attribute.
LensGeometry_Type getGeometry()
Returns the value of the Geometry attribute.
void resetGeometry()
Resets the Geometry attribute to an unset state.
boolean hasGeometry()
Checks whether the optional Geometry attribute is present.
void setDiameter(float value)
Sets the value of the Diameter attribute.
float getDiameter()
Returns the value of the Diameter attribute.
void resetDiameter()
Resets the Diameter attribute to an unset state.
boolean hasDiameter()
Checks whether the optional Diameter attribute is present.
void setDiameterUnit(UnitsLength_Type value)
Sets the value of the DiameterUnit attribute.
UnitsLength_Type getDiameterUnit()
Returns the value of the DiameterUnit attribute.
void resetDiameterUnit()
Resets the DiameterUnit attribute to an unset state.
boolean hasDiameterUnit()
Checks whether the optional DiameterUnit attribute is present.
void setCoating(String value)
Sets the value of the Coating attribute.
String getCoating()
Returns the value of the Coating attribute.
void resetCoating()
Resets the Coating attribute to an unset state.
boolean hasCoating()
Checks whether the optional Coating attribute is present.
void setAttenuationCoefficient(float value)
Sets the value of the AttenuationCoefficient attribute.
float getAttenuationCoefficient()
Returns the value of the AttenuationCoefficient attribute.
void resetAttenuationCoefficient()
Resets the AttenuationCoefficient attribute to an unset state.
boolean hasAttenuationCoefficient()
Checks whether the optional AttenuationCoefficient attribute is present.
void setWorkingDistance(float value)
Sets the value of the WorkingDistance attribute.
float getWorkingDistance()
Returns the value of the WorkingDistance attribute.
void resetWorkingDistance()
Resets the WorkingDistance attribute to an unset state.
boolean hasWorkingDistance()
Checks whether the optional WorkingDistance attribute is present.
void setWorkingDistanceUnit(UnitsLength_Type value)
Sets the value of the WorkingDistanceUnit attribute.
UnitsLength_Type getWorkingDistanceUnit()
Returns the value of the WorkingDistanceUnit attribute.
void resetWorkingDistanceUnit()
Resets the WorkingDistanceUnit attribute to an unset state.
boolean hasWorkingDistanceUnit()
Checks whether the optional WorkingDistanceUnit attribute is present.
void setImageDistance(float value)
Sets the value of the ImageDistance attribute.
float getImageDistance()
Returns the value of the ImageDistance attribute.
void resetImageDistance()
Resets the ImageDistance attribute to an unset state.
boolean hasImageDistance()
Checks whether the optional ImageDistance attribute is present.
void setImageDistanceUnits(UnitsLength_Type value)
Sets the value of the ImageDistanceUnits attribute.
UnitsLength_Type getImageDistanceUnits()
Returns the value of the ImageDistanceUnits attribute.
void resetImageDistanceUnits()
Resets the ImageDistanceUnits attribute to an unset state.
boolean hasImageDistanceUnits()
Checks whether the optional ImageDistanceUnits attribute is present.
void setFrontFocalLength(float value)
Sets the value of the FrontFocalLength attribute.
float getFrontFocalLength()
Returns the value of the FrontFocalLength attribute.
void resetFrontFocalLength()
Resets the FrontFocalLength attribute to an unset state.
boolean hasFrontFocalLength()
Checks whether the optional FrontFocalLength attribute is present.
void setFrontFocalLengthUnit(UnitsLength_Type value)
Sets the value of the FrontFocalLengthUnit attribute.
UnitsLength_Type getFrontFocalLengthUnit()
Returns the value of the FrontFocalLengthUnit attribute.
void resetFrontFocalLengthUnit()
Resets the FrontFocalLengthUnit attribute to an unset state.
boolean hasFrontFocalLengthUnit()
Checks whether the optional FrontFocalLengthUnit attribute is present.
void setBackFocalLength(float value)
Sets the value of the BackFocalLength attribute.
float getBackFocalLength()
Returns the value of the BackFocalLength attribute.
void resetBackFocalLength()
Resets the BackFocalLength attribute to an unset state.
boolean hasBackFocalLength()
Checks whether the optional BackFocalLength attribute is present.
void setBackFocalLengthUnit(UnitsLength_Type value)
Sets the value of the BackFocalLengthUnit attribute.
UnitsLength_Type getBackFocalLengthUnit()
Returns the value of the BackFocalLengthUnit attribute.
void resetBackFocalLengthUnit()
Resets the BackFocalLengthUnit attribute to an unset state.
boolean hasBackFocalLengthUnit()
Checks whether the optional BackFocalLengthUnit attribute is present.
void setRadiusOfCurvature(float value)
Sets the value of the RadiusOfCurvature attribute.
float getRadiusOfCurvature()
Returns the value of the RadiusOfCurvature attribute.
void resetRadiusOfCurvature()
Resets the RadiusOfCurvature attribute to an unset state.
boolean hasRadiusOfCurvature()
Checks whether the optional RadiusOfCurvature attribute is present.
void setRadiusOfCurvatureUnit(UnitsLength_Type value)
Sets the value of the RadiusOfCurvatureUnit attribute.
UnitsLength_Type getRadiusOfCurvatureUnit()
Returns the value of the RadiusOfCurvatureUnit attribute.
void resetRadiusOfCurvatureUnit()
Resets the RadiusOfCurvatureUnit attribute to an unset state.
boolean hasRadiusOfCurvatureUnit()
Checks whether the optional RadiusOfCurvatureUnit attribute is present.
void setMaterialName(OpticalMaterialName_Type value)
Sets the value of the MaterialName attribute.
OpticalMaterialName_Type getMaterialName()
Returns the value of the MaterialName attribute.
void resetMaterialName()
Resets the MaterialName attribute to an unset state.
boolean hasMaterialName()
Checks whether the optional MaterialName attribute is present.
void setGlassCode(String value)
Sets the value of the GlassCode attribute.
String getGlassCode()
Returns the value of the GlassCode attribute.
void resetGlassCode()
Resets the GlassCode attribute to an unset state.
boolean hasGlassCode()
Checks whether the optional GlassCode attribute is present.
void setRefractiveIndex(float value)
Sets the value of the RefractiveIndex attribute.
float getRefractiveIndex()
Returns the value of the RefractiveIndex attribute.
void resetRefractiveIndex()
Resets the RefractiveIndex attribute to an unset state.
boolean hasRefractiveIndex()
Checks whether the optional RefractiveIndex attribute is present.
void setAbbeNumber(float value)
Sets the value of the AbbeNumber attribute.
float getAbbeNumber()
Returns the value of the AbbeNumber attribute.
void resetAbbeNumber()
Resets the AbbeNumber attribute to an unset state.
boolean hasAbbeNumber()
Checks whether the optional AbbeNumber attribute is present.
void setDensity(float value)
Sets the value of the Density attribute.
float getDensity()
Returns the value of the Density attribute.
void resetDensity()
Resets the Density attribute to an unset state.
boolean hasDensity()
Checks whether the optional Density attribute is present.
void setDensityUnit(UnitsDensity_Type value)
Sets the value of the DensityUnit attribute.
UnitsDensity_Type getDensityUnit()
Returns the value of the DensityUnit attribute.
void resetDensityUnit()
Resets the DensityUnit attribute to an unset state.
boolean hasDensityUnit()
Checks whether the optional DensityUnit attribute is present.
void setAnnotationRef(AnnotationRef value)
Sets the value of the AnnotationRef element.
AnnotationRef getAnnotationRef()
Returns the value of the AnnotationRef element.
void resetAnnotationRef()
Resets the AnnotationRef element to an unset state.
boolean hasAnnotationRef()
Checks whether the optional AnnotationRef element is present.

Protected Functions inherited from com.inscoper.nbo.Lens_Type

Name
Lens_Type(long cPtr, boolean cMemoryOwn)

Public Functions inherited from com.inscoper.nbo.ManufacturerSpec_Type

Name
ManufacturerSpec_Type()
void setManufacturer(String value)
Sets the value of the Manufacturer attribute.
String getManufacturer()
Returns the value of the Manufacturer attribute.
void setModel(String value)
Sets the value of the Model attribute.
String getModel()
Returns the value of the Model attribute.
void setCatalogNumber(String value)
Sets the value of the CatalogNumber attribute.
String getCatalogNumber()
Returns the value of the CatalogNumber attribute.
void setLotNumber(String value)
Sets the value of the LotNumber attribute.
String getLotNumber()
Returns the value of the LotNumber attribute.
void resetLotNumber()
Resets the LotNumber attribute to an unset state.
boolean hasLotNumber()
Checks whether the optional LotNumber attribute is present.
void setMapAnnotation_List(MapAnnotationVector value)
Sets the list of MapAnnotation elements.
MapAnnotationVector getMapAnnotation_List()
Returns the list of MapAnnotation elements.
void addToMapAnnotation_List(MapAnnotation value)
Adds a new MapAnnotation element to this object.
void clearMapAnnotation_List()
Clear the list of MapAnnotation.
void setSpecsFile(FileAnnotation_Type value)
Sets the value of the SpecsFile element.
FileAnnotation_Type getSpecsFile()
Returns the value of the SpecsFile element.
void resetSpecsFile()
Resets the SpecsFile element to an unset state.
boolean hasSpecsFile()
Checks whether the optional SpecsFile element is present.
void setAdditionalVendorInformation_List(AdditionalVendorInformationVector value)
Sets the list of AdditionalVendorInformation elements.
AdditionalVendorInformationVector getAdditionalVendorInformation_List()
Returns the list of AdditionalVendorInformation elements.
void addToAdditionalVendorInformation_List(AdditionalVendorInformation value)
Adds a new AdditionalVendorInformation element to this object.
void clearAdditionalVendorInformation_List()
Clear the list of AdditionalVendorInformation.

Protected Functions inherited from com.inscoper.nbo.ManufacturerSpec_Type

Name
ManufacturerSpec_Type(long cPtr, boolean cMemoryOwn)

Protected Functions inherited from com.inscoper.nbo.NBOBaseClass

Name
NBOBaseClass(long cPtr, boolean cMemoryOwn)

Detailed Description

public class com.inscoper.nbo.GenericLens;

Represents the XML element GenericLens.

This element refers to any additional Generic Lens positioned in the Light Path for a given Channel.

Public Functions Documentation

function delete

public synchronized void delete()

Reimplements: com.inscoper.nbo.Lens_Type.delete

function GenericLens

public GenericLens()

function getTypeName

public String getTypeName()

Returns the class type name.

Return: The class type name

Reimplements: com.inscoper.nbo.Lens_Type.getTypeName

function getXMLName

public String getXMLName()

Returns the XML element name corresponding to this class.

Return: The XML element name

Reimplements: com.inscoper.nbo.Lens_Type.getXMLName

function getNBOType

public ENBOType getNBOType()

Returns the NBO Type corresponding to this class.

Return: The NBO Type value

Reimplements: com.inscoper.nbo.Lens_Type.getNBOType

function getChildren

public NBOBaseClassVector getChildren()

Returns a list of all classes derived from this class.

Return: The list of derived classes

Reimplements: com.inscoper.nbo.Lens_Type.getChildren

function getSubElements

public NBOBaseClassVector getSubElements()

Returns a list of all child elements contained in this class.

Return: The list of child classes

Reimplements: com.inscoper.nbo.Lens_Type.getSubElements

function fromJsonFile

public void fromJsonFile(
    String path
)

Populates this object from a JSON file.

Parameters:

  • path The path to the JSON file

Reimplements: com.inscoper.nbo.Lens_Type.fromJsonFile

function fromJsonString

public void fromJsonString(
    String json_string
)

Populates this object from a JSON string.

Parameters:

  • json_string The JSON content as a string

Reimplements: com.inscoper.nbo.Lens_Type.fromJsonString

function fromXmlFile

public void fromXmlFile(
    String path
)

Populates this object from a XML file.

Parameters:

  • path The path to the XML file

Reimplements: com.inscoper.nbo.Lens_Type.fromXmlFile

function fromXmlString

public void fromXmlString(
    String xml_string
)

Populates this object from a XML string.

Parameters:

  • xml_string The XML content as a string

Reimplements: com.inscoper.nbo.Lens_Type.fromXmlString

function toXmlFile

public void toXmlFile(
    String filename
)

Serializes this object to an XML file.

Parameters:

  • filename The path to the output XML file

Reimplements: com.inscoper.nbo.Lens_Type.toXmlFile

function toXmlString

public String toXmlString()

Serializes this object to an XML string.

Return: A string containing the XML representation of this object

Reimplements: com.inscoper.nbo.Lens_Type.toXmlString

function __internal_create

public static GenericLens __internal_create(
    long cPtr,
    boolean own
)

Reimplements: com.inscoper.nbo.Lens_Type.__internal_create

Protected Functions Documentation

function GenericLens

protected GenericLens(
    long cPtr,
    boolean cMemoryOwn
)

function swigSetCMemOwn

protected void swigSetCMemOwn(
    boolean own
)

Reimplements: com.inscoper.nbo.Lens_Type.swigSetCMemOwn

function finalize

protected void finalize()

Reimplements: com.inscoper.nbo.Lens_Type.finalize

function getCPtr

protected static long getCPtr(
    GenericLens obj
)

Updated on 2026-02-13 at 16:10:58 +0100