- All Superinterfaces:
TypeGraphicsHandlerInterface
public interface TypeGraphicsHandlerV2Interface extends TypeGraphicsHandlerInterface
This interface allows to represent specific object types as
QGraphicsItem
in the scene needed in accessory ObjectField
and in Visualization on Demand (VoD).
- Since:
- 1.5.9
- Author:
- Dr. Peter Droste, Omix Visualization
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
TypeGraphicsHandlerV2Interface.ClippableInterface
Nested classes/interfaces inherited from interface omix.plugin.type.TypeGraphicsHandlerInterface
TypeGraphicsHandlerInterface.ResizableValuePainterInterface, TypeGraphicsHandlerInterface.ValuePainterInterface
-
Method Summary
Modifier and Type Method Description QGraphicsItem
createGraphicsItem(FieldInfo fieldInfo, CreateGraphicsItemUtilities utilities)
Creates aQGraphicsItem
object painting an object of specific type on anObjectField
or during Visualization on Demand.default TypeGraphicsHandlerInterface.ValuePainterInterface
getValuePainter(FieldInfo fieldInfo, GetValuePainterUtilities utilities)
Creates a value painter object used to paint an object of specific type on anObjectField
or during Visualization on Demand.
-
Method Details
-
createGraphicsItem
Creates aQGraphicsItem
object painting an object of specific type on anObjectField
or during Visualization on Demand.- Parameters:
fieldInfo
- containing the object to be drawn and further information about the source and properties of the value.utilities
- allowing access to several features of the Omix plugin interface.- Returns:
- an instance of
QGraphicsItem
if object type is supported,null
otherwise.
-
getValuePainter
default TypeGraphicsHandlerInterface.ValuePainterInterface getValuePainter(FieldInfo fieldInfo, GetValuePainterUtilities utilities)Description copied from interface:TypeGraphicsHandlerInterface
Creates a value painter object used to paint an object of specific type on anObjectField
or during Visualization on Demand.- Specified by:
getValuePainter
in interfaceTypeGraphicsHandlerInterface
- Parameters:
fieldInfo
- containing the object to be drawn and further information about the source and properties of the value.utilities
- allowing access to several features of the Omix plugin interface.- Returns:
- an instance of
TypeGraphicsHandlerInterface.ValuePainterInterface
if object type is supported,null
otherwise.
-