The ICog3DDisplayV2 type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Add(Cog3DVisionDataGraphicBase, String) |
Adds a Cog3DVisionDataGraphicBase item to the display to the given group.
Throws an exception if the item is null.
Throws an exception if the item has already been added to the display.
Throws an exception if the groupName is null or empty string.
| |
| Add(Cog3DGeometryGraphicBase, Cog3DVisionDataGraphicBase, String) |
Adds the given geometryGraphic to the display. It will be associated with the given
VisionDataGraphic and the VisionDataGraphic’s 3D coordinate space tree will be used
to resolve the geometry graphic’s SelectedSpaceName3D to the display’s DisplaySpaceName3D.
Throws an exception if the geometryGraphic is null.
Throws an exception if the geometryGraphic has already been added to the display.
Throws an exception if the visionDataGraphic is null.
Throws an exception if the visionDataGraphic has NOT yet been added to the display.
Throws an exception if the groupName is null or empty string.
| |
| Clear |
Cleras the contents of the display
| |
| FitView |
Zooms in and out to fit the content of the world into the view
| |
| GetGeometryGraphic |
Returns a Cog3DGeometryGraphicBase item at the given index
| |
| GetGeometryGraphics |
Returns all the Cog3DGeometryGraphicBase graphic items added to the display
| |
| GetGeometryGraphics(String) |
Returns all the Cog3DGeometryGraphicBase from the given group
| |
| GetLostAndFoundGeometryGraphics |
Returns all the Cog3DGeometryGraphicBase graphic items that has been added to the display
but its SelectedSpaceName3D could not be resolved because either:
- the SelectedSpaceName3D of the geometry graphic can not be found in the associated VisionData's 3D coordinate space tree
- or there is something wrong with the associated VisionData's 3D coordinate space tree and therefore it could not be rendered
| |
| GetLostAndFoundVisionDataGraphics |
Returns all the Cog3DVisionDataGraphicBase graphic items that has been added to the display
but its 3D coordinate space does not hold an entry specified by DisplaySpaceName3D and therefore cannot be rendered
| |
| GetVisionDataGraphic |
Returns a Cog3DVisionDataGraphicBase item at the given index
| |
| GetVisionDataGraphics |
Returns all the Cog3DVisionDataGraphicBase graphic items added to the display
| |
| GetVisionDataGraphics(String) |
Returns all the Cog3DVisionDataGraphicBase from the given group
| |
| Remove(String) |
Removes all the Cog3DVisionDataGraphicBase and Cog3DGeometryGraphicBase graphics
from the display from the specified group.
NOTE: when it removes a Cog3DVisionDataGraphicBase all of its associated geometry graphics
will be removed regardless of which group they are in.
| |
| Remove(Cog3DGeometryGraphicBase) |
Removes the given Cog3DGeometryGraphicBase from the display
| |
| Remove(Cog3DVisionDataGraphicBase) |
Removes the given Cog3DVisionDataGraphicBase from the display with all of its associated geometry graphics.
| |
| RemoveGeometryGraphicByIndex |
Removes the given Cog3DGeometryGraphicBase from the display at the given index
| |
| RemoveVisionDataGraphicByIndex |
Removes the given Cog3DVisionDataGraphicBase from the display at the given index.
The associated geometry graphics will be removed too.
| |
| ResetView |
Reset the camera's location to its default: 0,0,Z, looking at 0,0,0.
Zooms to an extent to fit the graphics into the view.
| |
| SaveAsImage(String) |
Save the content of the display into an image file with the current resolution of the display.
If the filename attribute is not set, the display will show a Save File Dialog to the user
so she can specify the name and location of the file to save the image to.
| |
| SaveAsImage(Int32, Int32, String) |
Save the content of the scene into an image file with the given width and height as the resolution of the resulting image.
If the filename attribute is not set, the display will show a Save File Dialog to the user
so she can specify the name and location of the file to save the image to.
| |
| SetView |
Change the camera's position and look direction in the 3-D space.
|
See Also