com.supermap.ar.areffect.preset
Class ARGeoDottedLine
- java.lang.Object
-
- com.supermap.ar.areffect.preset.BaseShape
-
- com.supermap.ar.areffect.preset.ARGeometry
-
- com.supermap.ar.areffect.preset.ARGeoLine
-
- com.supermap.ar.areffect.preset.ARGeoDottedLine
-
public class ARGeoDottedLine extends ARGeoLine
author : linwenhao date : 2021/7/7 17:21 desc : Dotted line version: 1.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.supermap.ar.areffect.preset.ARGeometry
ARGeometry.ARGeometryType
-
Nested classes/interfaces inherited from class com.supermap.ar.areffect.preset.BaseShape
BaseShape.MatType, BaseShape.Mode
-
-
Constructor Summary
Constructors Constructor and Description ARGeoDottedLine()
The constructor Transparent materials are used by defaultARGeoDottedLine(BaseShape.MatType matType)
The constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
clear()
Clear all objectsfloat
getDottedLineLength()
AREffectElement
getParentElement()
Get the parent nodefloat
getSolidLineLength()
void
setDottedLineLength(float dottedLineLength)
void
setParentNode(AREffectElement element)
Setting the parent nodevoid
setParentNode(EffectView arView)
Setting the parent nodevoid
setSolidLineLength(float solidLineLength)
-
Methods inherited from class com.supermap.ar.areffect.preset.ARGeoLine
addPart, addPart, addPart, addPoint3D, addPoint3D, clearDraw, deletePoint3D, drawLine, getGeoLine, getPartCenterPoint, getPartCenterPoint, getPartLength, getPartLength, getPartPoint2Ds, getStripeLineRadius, getStripeLineWidth, reDrawByArPoint, reDrawByGeoPoint, removePart, resetGeometry, setStripeLineRadius, setStripeLineWidth, updatePoint3D, useStripeLine
-
Methods inherited from class com.supermap.ar.areffect.preset.ARGeometry
getPartCount, getPartPoint3Ds, getPartShape, getType, isEdit, select, setEdit, setSelectionColor, unSelect
-
Methods inherited from class com.supermap.ar.areffect.preset.BaseShape
getColor, getColorRGBA, getMetallic, getRadius, getReflectance, getRoughness, getSelectionColor, getShapeMaterial, getShapeStyle, getTextureMap, isRenderable, isSelected, isShadowCaster, isShadowReceiver, setColor, setColor, setColor, setMetallic, setRadius, setReflectance, setRenderable, setRoughness, setShadowCaster, setShadowReceiver, setShapeStyle, setTextureMap, updateMaterial
-
-
-
-
Constructor Detail
-
ARGeoDottedLine
public ARGeoDottedLine()
The constructor Transparent materials are used by default
-
ARGeoDottedLine
public ARGeoDottedLine(BaseShape.MatType matType)
The constructor- Parameters:
matType
- Material Type (Transparent/opaque)
-
-
Method Detail
-
clear
public void clear()
Description copied from class:ARGeoLine
Clear all objects
-
getSolidLineLength
public float getSolidLineLength()
-
setSolidLineLength
public void setSolidLineLength(float solidLineLength)
-
getDottedLineLength
public float getDottedLineLength()
-
setDottedLineLength
public void setDottedLineLength(float dottedLineLength)
-
setParentNode
public void setParentNode(AREffectElement element)
Setting the parent node- Parameters:
element
-
-
setParentNode
public void setParentNode(EffectView arView)
Setting the parent node- Parameters:
arView
-
-
getParentElement
public AREffectElement getParentElement()
Get the parent node- Returns:
-
-