Sie sind auf Seite 1von 21

devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.

html

Eyeshot 12 WinForms API Reference


WinForms Assembly / devDept.Eyeshot Namespace

devDept.Eyeshot Namespace
In This Topic

Classes
Interfaces
Structures
Delegates
Enumerations
See Also

Provides classes for the Environment control.

Classes
  Class Description

AttributeReference AutoCAD attribute reference.

Block Block definition. Blocks have to


be added to the master block
array Model.Blocks and
inserted in the Model.Entities
list using the
devDept.Eyeshot.Entities.BlockR
eference entity.

A block in Eyeshot is a
collection of entities that create
an object, grouped together to
make one selectable object.
Selecting one particular entity
will select all entities contained

1 of 21 9/5/2019, 9:07 PM
devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.html

within the block. They can be


moved, rotated, mirrored etc
and will always be treated by
Eyeshot as one whole object.

Blocks are an invaluable way of


quickly arranging complex
pieces of a model. Selecting the
object is a breeze, it is no longer
necessary to painstakingly
select each individual entities.
Blocks also make it easy to
duplicate the same object
throughout a drawing, and as
Eyeshot recognizes that each
copy of a block is identical to
the previous, the memory and
processing time required by
Eyeshot is reduced.

BlockKeyedCollection Blocks collection.

BlockKeyedCollection<T> Blocks generic collection.

BorderSettings Viewport border settings.

BoundingBox Bounding box settings.

ButtonSettings Settings for ToolBar buttons and


ProgressBar buttons.

Camera 35 mm camera definition.

CancelToolBarButton The CancelToolBarButton


default class.

ClippingPlane Clipping plane definition.

CollisionDetection Utility class for performing


Collision Detection.

2 of 21 9/5/2019, 9:07 PM
devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.html

CollisionDetection2D Utility class for performing


Collision Detection 2D on Plane
XY (for ICurve and Region types
only).

CompileParams Data for


devDept.Eyeshot.Entities.Entity.
Compile.

ComputeDistances Utility class to compute the


distances of each point of a
FastPointCloud from a number
of surfaces.

CoordinateSystemBase Base class for


CoordinateSystemIcon,
OriginSymbol and
ViewCubeIcon.

CoordinateSystemIcon Coordinate System icon


settings.

DefaultToolBarButton Base class for default ToolBar


buttons.

DisplayModeSettings Display Mode settings for


Wirefame mode.

DisplayModeSettingsFlat Display Mode settings for Flat


mode.

DisplayModeSettingsRendered Display Mode settings for


Rendered mode.

DisplayModeSettingsShaded Display Mode settings for


Shaded mode.

DisposableBase Base class providing IDisposable


interface.

3 of 21 9/5/2019, 9:07 PM
devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.html

DrawDirectionParams Data for


devDept.Eyeshot.Entities.Entity.
DrawDirection.

DrawEdgesParams Data for


devDept.Eyeshot.Entities.Entity.
DrawEdges.

DrawEntitiesShadowParams Class with data for the shadow


map creation.

Drawings Drawings control definition.

DrawOnScreenParams Data for


devDept.Eyeshot.Entities.Entity.
DrawOnScreen.

DrawOnScreenWireframeParams Data for


devDept.Eyeshot.Entities.Entity.
DrawOnScreenWireframe.

DrawParams Data for


devDept.Eyeshot.Entities.Entity.
Draw and other draw methods.

DrawSilhouettesParams Data for


devDept.Eyeshot.Entities.Entity.
DrawSilhouettes.

EntityList Entity collection.

Environment Base abstract class for Eyeshot


controls.

Environment.CameraMoveEventArgs Provides data for the


Environment.CameraMoveBegin
and
Environment.CameraMoveEnd
events.

4 of 21 9/5/2019, 9:07 PM
devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.html

Environment.ComputeEntitiesVisibilityParams<T> For internal use only.

Environment.DrawBaseParams<S>  

Environment.DrawEntitiesParams  

Environment.DrawEntitiesRenderedParams  

Environment.DrawForSelectionParams<T> Class that holds the parameters


for the selection.

Environment.DrawSceneParams Class that holds the parameters


used to draw the viewport.

Environment.ErrorOccurredEventArgs Provides data for the


Environment.ErrorOccurred
event.

Environment.GfxAttributes Base class for attributes


propagation.

Environment.GfxAttributesColor Class that propagates the color


attribute.

Environment.GfxAttributesMaterialFlat Class that propagates the


attributes for flat display mode
with
flatColorMethodType.EntityMat
erial ColorMethod.

Environment.GfxAttributesRendered Class that propagates also the


Material.

Environment.GfxAttributesWire Class that propagates Color,


LineWeight, LineTypePattern
and LineTypePatternLength.

Environment.SelectedEdge Class that represents a selected


edge.

5 of 21 9/5/2019, 9:07 PM
devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.html

Environment.SelectedFace Class that represents a selected


face.

Environment.SelectedItem Class that holds information of


the selected entity with its
parents.

Environment.SelectedItemBase Base class for selected items.

Environment.SelectedSubItem Class used for selection of faces,


vertices and edges.

Environment.SelectedVertex Class that represents a selected


vertex.

Environment.SelectionChangedEventArgs Provides data for the


Environment.SelectionChanged
event.

Environment.SelectionInfoItem Class that holds the information


of the selected item.

Environment.SelectionInfoItemBase Base class for selection info


items.

Environment.SelectionInfoSubItems Class that holds the information


of the selected sub-items.

Environment.SelectionInfoSubItemsArray Class that holds the


informations of the selected sub
items (Brep inners).

Environment.ViewChangedEventArgs Class that holds the arguments


for Environment.ViewChanged
event.

EnvironmentBase  

EyeshotDisposableDictionary<T> Eyeshot disposable dictionary.

6 of 21 9/5/2019, 9:07 PM
devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.html

EyeshotDisposableKeyedCollection<T> Provides the abstract base class


for a collection whose keys are
embedded in the values. Base
class for Eyeshot keyed
collections. Base class for
Eyeshot disposable keyed
collections.

EyeshotException An exception thrown by


Eyeshot.

EyeshotKeyedCollection<T> Provides the abstract base class


for a collection whose keys are
embedded in the values. Base
class for Eyeshot keyed
collections.

EyeshotMemoryLeakException A memory leak exception


thrown by Eyeshot.

FontData Font data class. Used internally


to store the data for the
characters of a given
System.Drawing.Font.

FontDataDictionary The FontData dictionary.

FontStyleCharData Character data class. Used


internally to store characters
data.

FontStyleData FontStyleData data class. Holds


the data for the characters of a
given System.Drawing.Font and
System.Drawing.FontStyle.

FrustumParams Data for Entity methods doing


operations based on the camera
frustum.

7 of 21 9/5/2019, 9:07 PM
devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.html

GfxDrawForSelectionParams Data for the selection methods


(devDept.Eyeshot.Entities.Entity.
DrawForSelection,
devDept.Eyeshot.Entities.Entity.
DrawForSelectionEdges,
devDept.Eyeshot.Entities.Entity.
DrawForSelectionFaces,
devDept.Eyeshot.Entities.Entity.
DrawForSelectionVertices,
devDept.Eyeshot.Entities.Entity.
DrawForSelectionWireframe)

Grid Planar grid definition.

HiddenLinesSettings Viewport Hidden Lines settings.

HiddenLinesView Class that computes silhouettes


and hidden lines.

HiddenLinesView.Segment Class that stores a Segment2D


along with the entity it belongs
to.

HiddenLinesViewOnClipboard Class that copies a vectorial


image of the current scene of
the active viewport into the
clipboard.

HiddenLinesViewOnFile Class that saves a vectorial


image of the current scene of
the active viewport on disk in
EMF format.

HiddenLinesViewOnFileAutodesk Class that saves a vectorial


image of the current scene of
the active viewport on disk in
DWG/DXF format.

HiddenLinesViewOnPaper Class that prints a vectorial


image of the current scene.

8 of 21 9/5/2019, 9:07 PM
devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.html

HiddenLinesViewOnPaperPreview Class that prints a vectorial


image of the current scene of
the active viewport, opening a
Print Preview dialog.

HiddenLinesViewSettings Class that holds the settings and


the result of hidden lines
computation.

HomeToolBarButton The HomeToolBarButton default


class.

IsSmallParams Data for the


devDept.Eyeshot.Entities.Entity.I
sSmall method.

Layer Layer definition. Layers are a


way to group objects so that
the groups can have common
formatting. For example, you
may want your objects to show
up in one color and your
dimensions to show in another.
Create a separate layer for each,
then you can change all the
dimensions or all the objects at
the same time. You may show or
hide layers, change the color,
lineweight, or linetype. Layers
are utilized often to make
drawings easier to read.

LayerEx Derived Layer class with external


reference information.

LayerKeyedCollection Layers collection.

Legend Viewport's Fem legend.

LinePattern LinePattern class. The pattern

9 of 21 9/5/2019, 9:07 PM
devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.html

defines pen-up lengths (spaces),


pen-down lengths (dashes), and
dots. A pattern specifies the
length of segments that make
up the linetype. A positive
decimal number specifies a pen-
down (dash) segment of that
length. A negative decimal
number specifies a pen-up
(space) segment of that length.
Zero specifies a dot. For
example, the DASHDOT linetype
is defined by a repeating
pattern starting with a dash 0.5
drawing units long, a space 0.25
drawing units long, a dot, and
another space 0.25 drawing
units long.

LinePatternEx Derived LinePattern class with


external reference information.

LineTypeKeyedCollection Line types collection.

MagnifyingGlassSettings Class that holds the settings for


the magnifying glass feature.

MagnifyingGlassToolBarButton The
MagnifyingGlassToolBarButton
default class.

MaterialKeyedCollection Materials collection.


Automatically manages OpenGL
resources allocation /
deallocation.

Model Model control definition.

Mouse3DSettings Mouse 3D settings.

10 of 21 9/5/2019, 9:07 PM
devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.html

MovementSettingsBase Base class for Zoom/Pan/Rotate


settings.

MultiTouchSettings Multi Touch settings

NavigationSettings Settings for the


Camera.navigationType.Walk
and Camera.navigationType.Fly
camera navigation modes.

NodeBase  

ObjectManipulator Object manipulator class.

ObjectManipulator.ObjectManipulatorEventArgs Object manipulator event


arguments class.

ObjectManipulatorPartProperties Class that holds the properties


for the ObjectManipulator parts.

Octant One of the eight space


containing a definite number of
Triangles per Mesh

Octree This class help divide the Mesh's


space in 8 parts, each one with
a definite number of Triangles.

OffsetOnCameraAxesParams Data for


devDept.Eyeshot.Entities.Entity.
ComputeOffsetOnCameraAxes.

OriginSymbol Origin symbol settings.

PanSettings Pan command settings.

PanToolBarButton The PanToolBarButton default


class.

PreProcessSilhouettesParams Data for the

11 of 21 9/5/2019, 9:07 PM
devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.html

%HiddenLinesView.PreProcessH
DL<T>(GfxEnvironmentParams,
IList<Entity>, PlaneEquation[],
LayerList, MaterialDictionary,
PreProcessSilhouettesParams,
Geometry.Transformation,
double, Model, bool,
Eyeshot.Environment.GfxAttribu
tesWire)% method.

ProgressBar Viewport progress bar.

ProgressChangedEventArgs Provides data for the


Environment.ProgressChanged
event.

QuadEntityDataNode  

QuadTree This class help divide the Mesh's


space in 8 parts, each one with
a definite number of Triangles.

Regeneration Utility class for block and


entities regeneration.

RegenOptions Asynchronous regeneration


options.

RegenParams Data for


devDept.Eyeshot.Entities.Entity.R
egen.

RenderParams Data for


devDept.Eyeshot.Entities.Entity.R
ender.

RotateSettings Rotate command settings.

RotateToolBarButton The RotateToolBarButton


default class.

12 of 21 9/5/2019, 9:07 PM
devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.html

ScreenLine For internal use only.

ScreenPicture For internal use only.

ScreenPolygonParams Data for Entity methods doing


operations based on a screen
polygon.

SelectionBoxColorsSettings Class that holds the colors used


to draw the selection box and
polygon.

ShareToolBarButton The ShareToolBarButton default


class.

Sheet Draws the drawing frame.


Drawing sheet class definition.

SheetKeyedCollection Sheets collection. Automatically


manages OpenGL resources
allocation / deallocation.

ShortcutKeysSettings Keyboard shortcut settings.

SilhoRegionData  

SilhoWireAndTriangleData  

SilhoWireData Class with the data to compute


silhouettes.

Simulation Simulation control definition.

TempEntityList Entity collection.

TextStyle Class holding the data for the


text style.

TextStyleEx Derived TextStyle class with


external reference information.

13 of 21 9/5/2019, 9:07 PM
devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.html

TextStyleKeyedCollection Text style collection.

TextureMappingData Texture mapping data.

ToolBar Viewport ToolBar.

ToolBarButton The ToolBarButton class that


raises the Click event.

ToolBarButtonList Class that holds and manages


the list of ToolBarButtons.

ToolBarSeparator The ToolBarSeparator default


class.

TraversalParams Base class that holds the data


for many Entity methods.

TurboSettings  

UserInterfaceBase Base class for Legend and


Viewport.

UserInterfaceSymbolBase Base class for


CoordinateSystemIcon,
OriginSymbol and
ViewCubeIcon.

ViewBuilder Class that computes geometry


for view entity.

ViewCubeIcon View Cube icon settings. This


user interface element will never
be added to images and
printouts.

Viewport Viewport settings.

Viewport.SavedViewsManager Class that manages the saved


views stack.

14 of 21 9/5/2019, 9:07 PM
devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.html

Viewport.SavedViewsManager.ViewEventArgs Class that holds data for


Viewport.ViewSaved and
Viewport.ViewRestored events.

ViewportList Class that holds and manages


the list of Viewports.

WorkCompletedEventArgs Provides data for the


Environment.WorkCompleted
event.

WorkFailedEventArgs Provides data for the


Environment.WorkFailed event.

WorkUnit Base class for background


working support. Overriding this
class you can build a model or
do your CPU intensive
calculations on a separate
thread keeping your application
UI responsive.

Depending on the nature of the


work you may need to override
both the DoWork and
WorkCompleted methods or
only the DoWork one and
provide a
Environment.WorkCompletedEv
entHandler to be notified when
the work has completed.

ZoomFitToolBarButton The ZoomFitToolBarButton


default class.

ZoomSettings Zoom command settings.

ZoomToolBarButton The ZoomToolBarButton default


class.

ZoomWindowToolBarButton The

15 of 21 9/5/2019, 9:07 PM
devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.html

ZoomWindowToolBarButton
default class.

Interfaces
  Interface Description

IDataEx Public properties and methods shared by the various


classes created when reading DWGs to support the
XReference.

ISelectableItem Interface for selectable items.

IUserInterfaceElement Interface used for Designer purposes.

Structures
  Structure Description

CollisionDetection2D.CollisionResultItem The resulting item component of the


collision. If the resulting collided entity
is a leaf, then the name of the first block
containing that entity will be saved into
ParentName field and the trasformation
field will be filled.

Environment.CursorContainer Structure that holds the Cursor (or


Cursors) used by the control.

FontStyleCharData.FIXED  

FontStyleCharData.GLYPHMETRICS  

FontStyleCharData.MAT2  

FontStyleCharData.POINT  

FontStyleCharData.POINTFX  

16 of 21 9/5/2019, 9:07 PM
devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.html

FontStyleCharData.TTPOLYCURVEHEADER  

FontStyleCharData.TTPOLYGONHEADER  

MouseButton MouseButton class.

Delegates
  Delegate Description

Environment.BoundingBoxChangedHandler  

Environment.CameraMoveEventHandler Represents the method


that will handle the
Environment.CameraMove
Begin and
Environment.CameraMoveE
nd events.

Environment.DesignTimeFuncHandler  

Environment.drawCallback<T>  

Environment.drawForSelectionCallback<T> Delegate method for


DrawForSelection.

Environment.DrawForSelectionEntityDelegate Draw for selection


delegate.

Environment.DrawTransparentEntityRenderedDelegate Callback for drawing the


transparent entities.

Environment.ErrorEventHandler Represents the method


that will handle the
Environment.ErrorOccurred
event.

Environment.NavigationTimerHandler Represents the method


that will handle the

17 of 21 9/5/2019, 9:07 PM
devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.html

Environment.NavigationTi
merTick event.

Environment.ProgressChangedEventHandler Represents the method


that will handle the
Environment.ProgressChan
ged event.

Environment.SelectionChangedEventHandler Represents the method


that will handle the
Environment.SelectionChan
ged and
Viewport.LabelSelectionCh
angedevent.

Environment.ViewChangedEventHandler Represents the method


that will handle the
Environment.ViewChanged
event.

Environment.WorkCancelledEventHandler Represents the method


that will handle the
Environment.WorkCancelle
d event.

Environment.WorkCompletedEventHandler Represents the method


that will handle the
Environment.WorkComplet
ed event.

Environment.WorkFailedEventHandler Represents the method


that will handle the
Environment.WorkFailed
event.

ObjectManipulator.ObjectManipulatorEventHandler Event handler for


ObjectManipulator events.

ToolBarButton.ClickEventHandler Represents the method


that will handle the

18 of 21 9/5/2019, 9:07 PM
devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.html

ToolBarButton.Click event.

ViewCubeIcon.ViewCubeClickEventHandler Represents the method


that will handle the
ViewCubeIcon.Click event.

Viewport.UpdateGraphicsHandler  

Viewport.ViewRestoredHandler Represents a method that


will handle the
Viewport.ViewRestored
event.

Viewport.ViewSavedEventHandler Represents a method that


will handle the
Viewport.ViewSaved event.

Enumerations
  Enumeration Description

actionType Viewport action type.

attributeReferenceVisibilityType AttributeReference visibility type.

booleanFailureType Result for a boolean operation.

Camera.navigationType Camera navigation modes.

Camera.perspectiveFitType Perspective fit type.

CollisionDetection2D.collisionCheckType The accuracy type used during collision


detection.

colorType The type of color that needs to be set.

coordinateSystemPositionType Position type.

cursorType Cursor types

19 of 21 9/5/2019, 9:07 PM
devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.html

displayType Viewport display type.

edgeColorMethodType Edge color type.

Environment.assemblySelectionType The assembly selection type.

Environment.CameraEyePosType Defines the position of the 3D camera.

flatColorMethodType Flat color method type.

hiddenLinesColorMethodType Hidden Lines color type.

modifierKeys ModifierKeys and their combinations.

mouseButtonsZPR Mouse buttons and their combinations


for Zoom / Pan / Rotate.

ObjectManipulator.actionType Object manipulator action type enum.

ObjectManipulator.ballActionType  

ObjectManipulator.styleType  

operatingType Secondary representation operating type


definition.

originSymbolStyleType Origin symbol style type.

ProgressBar.styleType Progress bar style type.

rendererType Type of rendering engine.

rotationCenterType Rotation center type.

rotationType Rotation mode type.

selectionFilterType The selection filter type.

selectionStatusType The selection status type.

20 of 21 9/5/2019, 9:07 PM
devDept.Eyeshot Namespace http://documentation.devdept.com/120/WinForms/topic2.html

silhoDataType The type of data of the SilhoWireData


element.

silhouettesDrawingType Silhouettes drawing type.

ssiFailureType Intersection types of failure.

textureMappingType Texture mapping type.

ToolBar.positionType Toolbar position/orientation.

ToolBar.styleType Toolbar style type.

ToolBarButton.styleType Specifies the button style type within a


ToolBarButton.

viewportLayoutType Viewports layout type.

viewType View type.

waitCursorType Viewport wait cursor type.

zoomStyleType Zoom type.

See Also
Reference

WinForms Assembly

 
 

Copyright © 2006-2018 devDept Software S.r.l. All rights reserved.

Send Feedback

21 of 21 9/5/2019, 9:07 PM

Das könnte Ihnen auch gefallen