Class FeaturePointsAction
java.lang.Object
javax.swing.AbstractAction
cz.fidentis.analyst.gui.task.ControlPanelAction<FeaturePointsPanel>
cz.fidentis.analyst.gui.task.featurepoints.FeaturePointsAction
- All Implemented Interfaces:
HumanFaceListener
,ActionListener
,Serializable
,Cloneable
,EventListener
,Action
public class FeaturePointsAction
extends ControlPanelAction<FeaturePointsPanel>
implements HumanFaceListener
Action listener for the FeaturePointsPanel
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractAction
enabled, changeSupport
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
Constructor Summary
ConstructorsConstructorDescriptionFeaturePointsAction
(Canvas canvas, FacesProxy faces, JTabbedPane topControlPane) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptEvent
(HumanFaceEvent event) Subscription method, which is invoked when an event appears.void
protected boolean
addRecognizedLandmarks
(List<Landmark> landmarks, int faceSlot) recognizeLandmarks
(int faceSlot) protected void
Methods inherited from class cz.fidentis.analyst.gui.task.ControlPanelAction
getCanvas, getControlPanel, getFaces, getPrimaryDrawableFace, getPrimaryFace, getPrimaryFeaturePoints, getPrimaryInteractiveMask, getScene, getSecondaryDrawableFace, getSecondaryFace, getSecondaryFeaturePoints, getSecondaryInteractiveMask, hideShowPanelActionPerformed, popup, renderScene, setControlPanel, setShowHideCode
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
FeaturePointsAction
Constructor. A newFeaturePointsPanel
is instantiated and added to thetopControlPane
- Parameters:
canvas
- OpenGLCanvasfaces
- Faces processed by current analytical tasktopControlPane
- A top component when a new control panel is placed
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
- Specified by:
actionPerformed
in classControlPanelAction<FeaturePointsPanel>
-
acceptEvent
Description copied from interface:HumanFaceListener
Subscription method, which is invoked when an event appears.- Specified by:
acceptEvent
in interfaceHumanFaceListener
- Parameters:
event
- A fired event.
-
recognizeLandmarks
-
addRecognizedLandmarks
-
saveLandmarks
protected void saveLandmarks()
-