Table of Contents

Interface IWindow3D

Namespace
AT.Librarys.Container.Toolkit.Vision
Assembly
AT.Librarys.Container.dll

3D窗口

public interface IWindow3D : IToolkitBase, IModuleBase
Inherited Members
Extension Methods

Properties

PointCloud

点云

CPointCloud PointCloud { get; set; }

Property Value

CPointCloud

Methods

AddObject(CBox3, float?, WindowColor?)

添加矩形体

void AddObject(CBox3 plane3, float? opacity = null, WindowColor? color = null)

Parameters

plane3 CBox3
opacity float?

透明度

color WindowColor?

颜色

AddObject(CBox3[], float?, WindowColor?)

添加矩形体

void AddObject(CBox3[] box, float? opacity = null, WindowColor? color = null)

Parameters

box CBox3[]

矩形体3D

opacity float?

透明度

color WindowColor?

颜色

AddObject(CCircle3, float?, float?, WindowColor?)

添加3D圆对象

void AddObject(CCircle3 circle, float? size = null, float? opacity = null, WindowColor? color = null)

Parameters

circle CCircle3

3D圆集合

size float?

大小

opacity float?

透明度

color WindowColor?

颜色

AddObject(CCircle3[], float?, float?, WindowColor?)

添加3D圆对象

void AddObject(CCircle3[] circle, float? size = null, float? opacity = null, WindowColor? color = null)

Parameters

circle CCircle3[]

3D圆集合

size float?

大小

opacity float?

透明度

color WindowColor?

颜色

AddObject(CCylinder3, float?, WindowColor?)

添加圆柱体

void AddObject(CCylinder3 cylinder3, float? opacity = null, WindowColor? color = null)

Parameters

cylinder3 CCylinder3

3D圆(圆柱体)

opacity float?

透明度

color WindowColor?

颜色

AddObject(CCylinder3[], float?, WindowColor?)

添加圆柱体

void AddObject(CCylinder3[] cylinder3, float? opacity = null, WindowColor? color = null)

Parameters

cylinder3 CCylinder3[]

3D圆(圆柱体)

opacity float?

透明度

color WindowColor?

颜色

AddObject(CLine3, float?, float?, WindowColor?)

添加3D线对象

void AddObject(CLine3 line, float? size = null, float? opacity = null, WindowColor? color = null)

Parameters

line CLine3

线

size float?

大小

opacity float?

透明度

color WindowColor?

颜色

AddObject(CLine3[], float?, float?, WindowColor?)

添加3D线对象

void AddObject(CLine3[] lines, float? size = null, float? opacity = null, WindowColor? color = null)

Parameters

lines CLine3[]

线集合

size float?

大小

opacity float?

透明度

color WindowColor?

颜色

AddObject(CPlane3, float?, WindowColor?)

添加3D面对象

void AddObject(CPlane3 plane, float? opacity = null, WindowColor? color = null)

Parameters

plane CPlane3

3D面

opacity float?

透明度

color WindowColor?

颜色

AddObject(CPlane3[], float?, WindowColor?)

添加3D面对象

void AddObject(CPlane3[] plane, float? opacity = null, WindowColor? color = null)

Parameters

plane CPlane3[]

3D面集合

opacity float?

透明度

color WindowColor?

颜色

AddObject(CPoint, double, double, double, double, double, double, double, float?, WindowColor?)

添加显示六边体

void AddObject(CPoint center, double Lenght, double width, double angle, double thickness, double factorRow, double factorCol, double valueZ, float? opacity = null, WindowColor? color = null)

Parameters

center CPoint

中心点

Lenght double

长度

width double

宽度

angle double

角度

thickness double

厚度

factorRow double

行系数

factorCol double

列系数

valueZ double

中心点的Z值

opacity float?

透明度

color WindowColor?

color

AddObject(CPoint3, float?, float?, WindowColor?)

添加3D点对象

void AddObject(CPoint3 point, float? size = null, float? opacity = null, WindowColor? color = null)

Parameters

point CPoint3

size float?

大小

opacity float?

透明度

color WindowColor?

颜色

AddObject(CPoint3[], float?, float?, WindowColor?)

添加3D点对象

void AddObject(CPoint3[] points, float? size = null, float? opacity = null, WindowColor? color = null)

Parameters

points CPoint3[]

点集合

size float?

大小

opacity float?

透明度

color WindowColor?

颜色

AddObject(CPointCloud, float?, float?, WindowColor?)

添加3D点云对象

void AddObject(CPointCloud points, float? size = null, float? opacity = null, WindowColor? color = null)

Parameters

points CPointCloud

点云

size float?

大小

opacity float?

透明度

color WindowColor?

颜色

AddPose(List<CPoint3>, float?, float?, WindowColor?)

添加位姿

void AddPose(List<CPoint3> pose, float? size = null, float? opacity = null, WindowColor? color = null)

Parameters

pose List<CPoint3>
size float?
opacity float?
color WindowColor?

AddTextLabel(string, CPoint3, CPoint3, float?, float?, WindowColor?)

添加文本标签

void AddTextLabel(string text, CPoint3 positionArrow, CPoint3 positionText, float? size = null, float? opacity = null, WindowColor? color = null)

Parameters

text string

文本

positionArrow CPoint3

箭头位置

positionText CPoint3

文本位置

size float?

字体大小

opacity float?

透明度

color WindowColor?

颜色

AddTextTitle(string, float?, float?, WindowColor?)

添加文本标题

void AddTextTitle(string text, float? size = null, float? opacity = null, WindowColor? color = null)

Parameters

text string
size float?
opacity float?

透明度

color WindowColor?

Clear()

清除

void Clear()

ClearResult()

清除(结果)

void ClearResult()

ClearResultTitle()

清除标题

void ClearResultTitle()

Draw(CBox3, float?, float?, WindowColor?)

绘制ROI

void Draw(CBox3 box3, float? size = null, float? opacity = null, WindowColor? color = null)

Parameters

box3 CBox3
size float?
opacity float?
color WindowColor?

Draw(CCylinder3, float?, float?, WindowColor?)

绘制ROI

void Draw(CCylinder3 cyl, float? size = null, float? opacity = null, WindowColor? color = null)

Parameters

cyl CCylinder3
size float?
opacity float?
color WindowColor?

DrawFinish(out CBox3)

绘制完成

void DrawFinish(out CBox3 value)

Parameters

value CBox3

DrawFinish(out CCylinder3)

绘制完成

void DrawFinish(out CCylinder3 value)

Parameters

value CCylinder3

GetRoiPoints(CPointCloud, CBox3)

获取ROI中的点云

CPointCloud GetRoiPoints(CPointCloud points, CBox3 roi)

Parameters

points CPointCloud

点云

roi CBox3

有效区域(长方体)

Returns

CPointCloud

位于 ROI 内的点集合,若参数无效返回空数组

GetRoiPoints(CPointCloud, CCylinder3)

获取ROI中的点云

CPointCloud GetRoiPoints(CPointCloud points, CCylinder3 roi)

Parameters

points CPointCloud

点云

roi CCylinder3

有效区域(长方体)

Returns

CPointCloud

位于 ROI 内的点集合,若参数无效返回空数组

ReadCloudObject(string)

读取点云

CObject ReadCloudObject(string filePath)

Parameters

filePath string

文件路径

Returns

CObject

点云数据(CPoint3数组)

ReadCloudPoint3(string)

读取点云

CPointCloud ReadCloudPoint3(string filePath)

Parameters

filePath string

文件路径

Returns

CPointCloud

点云数据(CPoint3数组)

SaveAsImage(string)

另存为原图

void SaveAsImage(string filePath)

Parameters

filePath string

文件路径

SaveAsImage(string, WindowImageSaveType, CPointCloud)

另存为原图

void SaveAsImage(string name, WindowImageSaveType type, CPointCloud pts)

Parameters

name string
type WindowImageSaveType
pts CPointCloud

SaveImage(string)

保存图片(原始和截图)

void SaveImage(string name)

Parameters

name string

图片

SaveImage(string, WindowImageSaveType)

保存图片(原始和截图)

void SaveImage(string name, WindowImageSaveType type)

Parameters

name string

图片

type WindowImageSaveType

保存类型

SaveImage(string, WindowImageSaveType, string)

保存图片(原始和截图)

void SaveImage(string name, WindowImageSaveType type, string ngCategory)

Parameters

name string

图片

type WindowImageSaveType

保存类型

ngCategory string

ng类别

SaveImageOriginal(string)

保存原始图片

void SaveImageOriginal(string name)

Parameters

name string

图片文件名

SaveImageOriginal(string, WindowImageSaveType)

保存原始图片

void SaveImageOriginal(string name, WindowImageSaveType type)

Parameters

name string

图片文件名

type WindowImageSaveType

保存类型

SaveImageOriginal(string, WindowImageSaveType, string)

保存原始图片

void SaveImageOriginal(string name, WindowImageSaveType type, string ngCategory)

Parameters

name string

图片文件名

type WindowImageSaveType

保存类型

ngCategory string

ng类别

SaveImageScreen(string)

保存截图

void SaveImageScreen(string name)

Parameters

name string

图片文件名

SaveImageScreen(string, WindowImageSaveType)

保存截图

void SaveImageScreen(string name, WindowImageSaveType type)

Parameters

name string

图片文件名

type WindowImageSaveType

保存类型

SaveImageScreen(string, WindowImageSaveType, string)

保存截图

void SaveImageScreen(string name, WindowImageSaveType type, string ngCategory)

Parameters

name string

名称

type WindowImageSaveType

类型

ngCategory string

ng类别

SavePointCloud(string, CPointCloud, bool)

bool SavePointCloud(string filePath, CPointCloud pts, bool binary = false)

Parameters

filePath string
pts CPointCloud
binary bool

Returns

bool

ShowAdd()

显示缓存

void ShowAdd()

ShowPointCloud(CObject, float?, float?, WindowColor?)

显示点云

bool ShowPointCloud(CObject pointCloud, float? size = null, float? opacity = null, WindowColor? color = null)

Parameters

pointCloud CObject

点云

size float?

大小

opacity float?

通明度

color WindowColor?

颜色

Returns

bool

ShowPointCloud(CPointCloud, float?, float?, WindowColor?)

显示点云

bool ShowPointCloud(CPointCloud pointCloud, float? size = null, float? opacity = null, WindowColor? color = null)

Parameters

pointCloud CPointCloud

点云

size float?

大小

opacity float?

通明度

color WindowColor?

颜色

Returns

bool

ShowPointCloud(float?, float?, WindowColor?)

显示点云

bool ShowPointCloud(float? size = null, float? opacity = null, WindowColor? color = null)

Parameters

size float?

大小

opacity float?

通明度

color WindowColor?

颜色

Returns

bool

ShowWindowTop()

显示窗口在最前面(调试模式)

void ShowWindowTop()

Events

EventClear

清除全部

event EventHandler<EventArgs> EventClear

Event Type

EventHandler<EventArgs>

EventClearResult

清除结果

event EventHandler<EventArgs> EventClearResult

Event Type

EventHandler<EventArgs>

EventDrawObjectChange

绘制对象变化

event EventHandler<DrawObjectChangeEventArgs> EventDrawObjectChange

Event Type

EventHandler<DrawObjectChangeEventArgs>

EventShowAdd

显示缓存对象

event EventHandler<ShowAddEventArgs> EventShowAdd

Event Type

EventHandler<ShowAddEventArgs>

EventShowPointCloud

显示点云

event EventHandler<ShowPointCloudEventArgs> EventShowPointCloud

Event Type

EventHandler<ShowPointCloudEventArgs>

EventSwitchWindow

切换窗口显示

event EventHandler<SwitchWindowEventArgs> EventSwitchWindow

Event Type

EventHandler<SwitchWindowEventArgs>

EventWindowTop

显示窗体在最前面

event EventHandler<WindowImageTopEventArgs> EventWindowTop

Event Type

EventHandler<WindowImageTopEventArgs>