FromScreen
Overloads
FromScreen(bool fullContainsOnly, LeafNodeKind nodeKind)
public List<Node> FromScreen(bool fullContainsOnly, LeafNodeKind nodeKind)
뷰 화면에 해당하는 개체 반환
Parameters
| Name | Type | Description |
|---|---|---|
| fullContainsOnly | bool | 영역에 포함된 모델만 반환 : True(포함된 모델만 검색), False(걸친 모델도 포함) |
| nodeKind | LeafNodeKind | 반환 노드 유형 |
Returns
| Type | Description |
|---|---|
| List<Node> | 개체 목록 |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
System.Drawing.Size size = vizcore3d.View.Size;
List<VIZCore3D.NET.Data.Node> nodes
= vizcore3d.Object3D.FromScreen(
true /* Full Contain */
, VIZCore3D.NET.Data.LeafNodeKind.PART
);
}
FromScreen(int x1, int y1, int x2, int y2, bool fullContainsOnly, LeafNodeKind nodeKind)
public List<Node> FromScreen(int x1, int y1, int x2, int y2, bool fullContainsOnly, LeafNodeKind nodeKind)
뷰 화면 좌표 영역에 해당하는 개체 반환
Parameters
| Name | Type | Description |
|---|---|---|
| x1 | int | X 좌표1 |
| y1 | int | Y 좌표1 |
| x2 | int | X 좌표2 |
| y2 | int | Y 좌표2 |
| fullContainsOnly | bool | 영역에 포함된 모델만 반환 : True(포함된 모델만 검색), False(걸친 모델도 포함) |
| nodeKind | LeafNodeKind | 반환 노드 유형 |
Returns
| Type | Description |
|---|---|
| List<Node> | 개체 목록 |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
System.Drawing.Size size = vizcore3d.View.Size;
List<VIZCore3D.NET.Data.Node> nodes
= vizcore3d.Object3D.FromScreen(
0 /* X1 */
, 0 /* Y1 */
, size.Width /* X2 */
, size.Height /* Y2 */
, true /* Full Contain */
, VIZCore3D.NET.Data.LeafNodeKind.PART
);
}
FromScreen(bool fullContainsOnly, LeafNodeKind nodeKind, bool containInternalObjects, List<string> internalObjectsFilter)
public List<Node> FromScreen(bool fullContainsOnly, LeafNodeKind nodeKind, bool containInternalObjects, List<string> internalObjectsFilter)
뷰 화면 영역에 해당하는 개체 반환
Parameters
| Name | Type | Description |
|---|---|---|
| fullContainsOnly | bool | 영역에 포함된 모델만 반환 : True(포함된 모델만 검색), False(걸친 모델도 포함) |
| nodeKind | LeafNodeKind | 반환 노드 유형 |
| containInternalObjects | bool | 내부 모델 포함 여부 |
| internalObjectsFilter | List<string> | 내부 모델 검색 키워드 |
Returns
| Type | Description |
|---|---|
| List<Node> | 개체 목록 |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
System.Drawing.Size size = vizcore3d.View.Size;
List<VIZCore3D.NET.Data.Node> nodes
= vizcore3d.Object3D.FromScreen(
true /* Full Contain */
, VIZCore3D.NET.Data.LeafNodeKind.PART
, true /* Contain Internal Objects */
, new List<string>() { "INSU" } /* Internal Objects Keyword */
);
}
FromScreen(int x1, int y1, int x2, int y2, bool fullContainsOnly, LeafNodeKind nodeKind, bool containInternalObjects, List<string> internalObjectsFilter)
public List<Node> FromScreen(int x1, int y1, int x2, int y2, bool fullContainsOnly, LeafNodeKind nodeKind, bool containInternalObjects, List<string> internalObjectsFilter)
뷰 화면 좌표 영역에 해당하는 개체 반환
Parameters
| Name | Type | Description |
|---|---|---|
| x1 | int | X 좌표1 |
| y1 | int | Y 좌표1 |
| x2 | int | X 좌표2 |
| y2 | int | Y 좌표2 |
| fullContainsOnly | bool | 영역에 포함된 모델만 반환 : True(포함된 모델만 검색), False(걸친 모델도 포함) |
| nodeKind | LeafNodeKind | 반환 노드 유형 |
| containInternalObjects | bool | 내부 모델 포함 여부 |
| internalObjectsFilter | List<string> | 내부 모델 검색 키워드 |
Returns
| Type | Description |
|---|---|
| List<Node> | 개체 목록 |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
System.Drawing.Size size = vizcore3d.View.Size;
List<VIZCore3D.NET.Data.Node> nodes
= vizcore3d.Object3D.FromScreen(
0 /* X1 */
, 0 /* Y1 */
, size.Width /* X2 */
, size.Height /* Y2 */
, true /* Full Contain */
, VIZCore3D.NET.Data.LeafNodeKind.PART
, true /* Contain Internal Objects */
, new List<string>() { "INSU" } /* Internal Objects Keyword */
);
}