public class Segment extends Geometry implements RawImageDataProvider, ImageSensitiveArea, SegmentInterface
| Modifier and Type | Class and Description |
|---|---|
static class |
Segment.SegmentReadOutPoint
The Segment readout point with respect to the serial and parallel direction.
|
RawImageDataProvider.InnerRawImageDataListenerparallelChildrenCount, serialChildrenCountlisteners| Modifier and Type | Method and Description |
|---|---|
static Segment |
createCCDSegment(CCDType ccdType,
String label,
int serialPosition,
int parallelPosition,
int channel)
Utility function to create CCDSegments by type.
|
void |
exposeToImage(ImagePixelData imagePixelData)
Expose the current object to the ImagePixelData.
|
int |
getChannel()
Get the Channel number for this Segment
|
ImagePixelData |
getImagePixelData()
Get the ImagePixelData for this object, if present.
|
int |
getParallelPosition()
Get the parallel position of this Segment in the CCD.
|
CCDInterface |
getParentCCD()
Get the parent CCDInterface this segment belongs to
|
RawImageData |
getRawImageData()
Get the buffer of image data accumulated by this Segment.
|
int |
getSegmentParallelActiveSize()
Get the Segment parallel active size.
|
int |
getSegmentParallelOverscanSize()
Get the Segment parallel overscan size.
|
Segment.SegmentReadOutPoint |
getSegmentReadOutPoint() |
int |
getSegmentSerialActiveSize()
Get the Segment serial active size.
|
int |
getSegmentSerialOverscanSize()
Get the Segment serial overscan size.
|
int |
getSegmentSerialPrescanSize()
Get the Segment serial prescan size.
|
int |
getSegmentTotalParallelSize()
Get the Segment total parallel size: overscan and active size.
|
int |
getSegmentTotalSerialSize()
Get the Segment total serial size: prescan, overscan and active size.
|
int |
getSerialPosition()
Get the serial position of this Segment in the CCD.
|
boolean |
hasPixelData()
Check if this object has data.
|
boolean |
isReadoutDown()
Is this segment read down in the parallel direction.
|
boolean |
isReadoutLeft()
Is this segment read left in the parallel direction.
|
protected void |
setExpandedView(boolean expandedView) |
addChildGeometry, addGeometry, addGeometryToGrid, convertToExpandedView, findGeometry, getAbsolutePoint, getChild, getChildrenList, getChildrenWithAbsoluteCoordinates, getDimension, getGeometryAbsolutePosition, getGeometryPoint, getHeight, getName, getNumberOfChildren, getParallelChildrenCount, getParent, getSerialChildrenCount, getUniqueId, getWidth, hasChildren, hasParent, setDimension, setParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRawImageDataListener, notifyRawImageDataListeners, removeRawImageDataListenerprotected void setExpandedView(boolean expandedView)
setExpandedView in class Geometrypublic int getChannel()
SegmentInterfacegetChannel in interface SegmentInterfacepublic int getParallelPosition()
SegmentInterfacegetParallelPosition in interface SegmentInterfacegetParallelPosition in class Geometrypublic int getSerialPosition()
SegmentInterfacegetSerialPosition in interface SegmentInterfacegetSerialPosition in class Geometrypublic Segment.SegmentReadOutPoint getSegmentReadOutPoint()
public int getSegmentSerialPrescanSize()
SegmentInterfacegetSegmentSerialPrescanSize in interface SegmentInterfacepublic int getSegmentSerialOverscanSize()
SegmentInterfacegetSegmentSerialOverscanSize in interface SegmentInterfacepublic int getSegmentParallelOverscanSize()
SegmentInterfacegetSegmentParallelOverscanSize in interface SegmentInterfacepublic int getSegmentSerialActiveSize()
SegmentInterfacegetSegmentSerialActiveSize in interface SegmentInterfacepublic int getSegmentParallelActiveSize()
SegmentInterfacegetSegmentParallelActiveSize in interface SegmentInterfacepublic int getSegmentTotalSerialSize()
SegmentInterfacegetSegmentTotalSerialSize in interface SegmentInterfacepublic int getSegmentTotalParallelSize()
SegmentInterfacegetSegmentTotalParallelSize in interface SegmentInterfacepublic boolean isReadoutDown()
SegmentInterfaceisReadoutDown in interface SegmentInterfacepublic boolean isReadoutLeft()
SegmentInterfaceisReadoutLeft in interface SegmentInterfacepublic CCDInterface getParentCCD()
SegmentInterfacegetParentCCD in interface SegmentInterfacepublic RawImageData getRawImageData()
getRawImageData in interface RawImageDataProviderpublic static Segment createCCDSegment(CCDType ccdType, String label, int serialPosition, int parallelPosition, int channel)
ccdType - The type of the CCD.label - The label of the segment.public void exposeToImage(ImagePixelData imagePixelData)
ImageSensitiveAreaexposeToImage in interface ImageSensitiveAreapublic boolean hasPixelData()
ImageSensitiveAreahasPixelData in interface ImageSensitiveAreapublic ImagePixelData getImagePixelData()
ImageSensitiveAreagetImagePixelData in interface ImageSensitiveAreaCopyright © 2016 LSST. All rights reserved.