# VisualAnalysisManager

#### new Cesium.VisualAnalysisManager(scene)
MapGIS/VisualAnalysisManager.js 13

可视化分析

Name | Type | Description
--- | --- | ---
`scene` | Scene | 场景对象

### Members

#### readonly length : Number
MapGIS/VisualAnalysisManager.js 27

分析对象的个数

### Methods

#### add(analyseObject, id) → Number|String
MapGIS/VisualAnalysisManager.js 40

添加分析对象

Name | Type | Description
--- | --- | ---
`analyseObject` | Object | 分析对象
`id` | Number | String | optional 分析对象ID

##### Returns:

传入或默认赋予的ID值

#### getAll() → Array
MapGIS/VisualAnalysisManager.js 176

获取所有分析类对象

##### Returns:

#### getViewshedVisibleRate() → Number
MapGIS/VisualAnalysisManager.js 185

获取可视域分析的可视率（主相机视角下的可视率）

##### Returns:

#### getVisualAnalysisByID(ID) → Object|undefined
MapGIS/VisualAnalysisManager.js 107

根据索引获取可视化分析

Name | Type | Description
--- | --- | ---
`ID` | Number | String |

##### Returns:

#### remove(analyseObject)
MapGIS/VisualAnalysisManager.js 65

删除分析对象

Name | Type | Description
--- | --- | ---
`analyseObject` | Object | 分析对象

#### removeAll()
MapGIS/VisualAnalysisManager.js 92

移除所有的分析功能

#### removeByID(analyseObjectID)
MapGIS/VisualAnalysisManager.js 81

通过ID删除分析对象

Name | Type | Description
--- | --- | ---
`analyseObjectID` | Number | String | 分析对象ID