M3D / M3D / Shapes / SectionPlane
Class: SectionPlane
Memberof
M3D.Shapes
Implements
Utility.Subscriber
Description
剖切面
Date
2022-1-12
Version
1.0
Copyright
All Rights Reserved. Copyright (C) 2022 HOTEAMSOFT, Ltd
Hierarchy
-
↳
SectionPlane
↳↳
CrossSection
Implements
Table of contents
Constructors
Properties
- absNormal
- crossSections
- d
- dirtyEdge
- figureSectionLines
- id
- sectionLineRoot
- sectionLinesDataBase
- showEdge
- count
- isProto
- pVertexHeader
Accessors
Methods
- addEffect
- calMatrixByPntXZAxis
- clearFigureSectionLines
- clearSectionLineDataBse
- copy
- expandClpPlane
- getAlpha
- getBoundingBox
- getCappingColor
- getCenterPoint
- getColor
- getDrawables
- getEdgeColor
- getEffect
- getEnable
- getEquation
- getEvents
- getFaceColor
- getId
- getInsectPnt
- getIsDirty
- getIsFrontShow
- getIsSectionBox
- getLocalTransform
- getModelWidthAndLength
- getName
- getNeedClip
- getNormalArray
- getObjectId
- getOriShowCappingPlane
- getOriShowClipPlane
- getParam
- getParameters
- getPointArray
- getPosition
- getProgress
- getProperties
- getProto
- getRenderShapes
- getReverseClip
- getRotation
- getScene
- getSceneBox
- getSectionBox
- getSectionLine
- getSectionLineColor
- getSectionLineInfo
- getSelectedModelList
- getSelectedModelPath
- getShaderProgramName
- getShapeType
- getShowCappingPlane
- getShowClipPlane
- getShowCutPlane
- getShowPlaneRect
- getShowSectionLine
- getStates
- getTextureObject
- getTransformPlaneParam
- getType
- getVertexHeader
- getVertexSet
- getWorldBoundingBox
- getWorldTransform
- init
- intersect
- isNeedUpdate
- isPlaneAvaliable
- isPreSelected
- isSelected
- isVisible
- markDirty
- post
- registerEvent
- removeEffect
- removeEvent
- send
- sendClipMessage
- sendEffectMessage
- sendUpdateMessage
- setAlpha
- setBox
- setCappingColor
- setCenterPoint
- setColor
- setDraggerTransform
- setDrawPlane
- setEdgeColor
- setEffect
- setEnable
- setFaceColor
- setFrontShow
- setId
- setIsSectionBox
- setName
- setNeedClip
- setNeedUpdate
- setNorPos
- setObjectId
- setOriPos
- setOriShowCappingPlane
- setOriShowClipPlane
- setPlaneParam
- setPosition
- setProgress
- setReverseClip
- setScene
- setSceneBox
- setSectionBox
- setSectionLineColor
- setSelected
- setSelectedModelList
- setSelectedModelPath
- setShaderProgramName
- setShapeType
- setShowCappingPlane
- setShowClipPlane
- setShowCutPlane
- setShowPlaneRect
- setShowSectionLine
- setTransform
- setVisible
- setWorldTransform
- update
- updateDrawData
Constructors
constructor
• new SectionPlane(origin
, normal
, uDir
, vDir
): SectionPlane
Parameters
Name | Type |
---|---|
origin | Vector3 |
normal | Vector3 |
uDir | Vector3 |
vDir | Vector3 |
Returns
Description
构造函数
Overrides
• new SectionPlane(origin
, normal
): SectionPlane
Parameters
Name | Type |
---|---|
origin | Vector3 |
normal | Vector3 |
Returns
Description
构造函数
Overrides
RenderableShape.constructor
• new SectionPlane(): SectionPlane
Returns
Overrides
RenderableShape.constructor
Properties
absNormal
• absNormal: Vector3
crossSections
• crossSections: CrossSection
[]
d
• d: number
dirtyEdge
• dirtyEdge: number
figureSectionLines
• figureSectionLines: FigureSectionLine
id
• id: number
Inherited from
sectionLineRoot
• sectionLineRoot: SectionLine
sectionLinesDataBase
• sectionLinesDataBase: SectionDataBase
showEdge
• showEdge: boolean
count
▪ Static
count: number
Inherited from
isProto
▪ Static
isProto: string
Inherited from
pVertexHeader
▪ Static
pVertexHeader: string
Inherited from
Accessors
isProto
• get
isProto(): boolean
Returns
boolean
Description
获取是否为原型对象
Inherited from
RenderableShape.isProto
• set
isProto(v
): void
Parameters
Name | Type |
---|---|
v | boolean |
Returns
void
Description
设置是否为原型对象
Inherited from
RenderableShape.isProto