ILNumerics Ultimate VS

Shape Class

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Inheritance Hierarchy

SystemObject
  ILNumerics.DrawingNode
    ILNumerics.DrawingDrawable
      ILNumerics.DrawingShape
        ILNumerics.DrawingLines
        ILNumerics.DrawingPoints
        ILNumerics.DrawingTriangles

Namespace:  ILNumerics.Drawing
Assembly:  ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
Syntax

[SerializableAttribute]
public abstract class Shape : Drawable, 
	IDisposable

The Shape type exposes the following members.

Constructors

  NameDescription
Protected methodShape
Initializes a new instance of the Shape class
Top
Properties

  NameDescription
Public propertyAntialiasing
Switch anti-aliasing on/off.

[ILNumerics Visualization Engine]

Public propertyAutoNormals
Specify if the normal vectors for lighting are to be computed automatically; default: true

[ILNumerics Visualization Engine]

Public propertyBuffers
Get the complete set of buffers for the shape or sets it

[ILNumerics Visualization Engine]

Public propertyColor
Any color (except null) will override individual object vertex colors.

[ILNumerics Visualization Engine]

(Inherited from Drawable.)
Public propertyColors
Get the buffer with individual colors for the shape or sets it

[ILNumerics Visualization Engine]

Public propertyEmissionColor
Public propertyID
Unique ID for the node within the scene

[ILNumerics Visualization Engine]

(Inherited from Node.)
Public propertyIndices
Get the buffer with indices composing basic primitives or sets it

[ILNumerics Visualization Engine]

Public propertyIsDisposed
Protected propertyIsSynchedNode (Inherited from Node.)
Public propertyLimits
Get the bounding box limits for this shape

[ILNumerics Visualization Engine]

Public propertyMarkable
Determines, if this node can be marked by the user

[ILNumerics Visualization Engine]

(Inherited from Node.)
Public propertyMarked
Marked state for the node

[ILNumerics Visualization Engine]

(Inherited from Node.)
Public propertyNormals
Get the buffer with vertex normals or sets it

[ILNumerics Visualization Engine]

Public propertyParent
Get the parent of this node or null, if this node is a root node

[ILNumerics Visualization Engine]

(Inherited from Node.)
Public propertyPickingID
If set to a valid shape ID, that shape will be marked in picking operations insted of this shape.

[ILNumerics Visualization Engine]

(Inherited from Node.)
Public propertyPositions
Get the buffer with vertex positions or sets it

[ILNumerics Visualization Engine]

Public propertySelectable
Public propertySelected
Determines if this shape is currently in selected state

[ILNumerics Visualization Engine]

Public propertySelectionBox
Public propertyShininess
Public propertySpecularColor
Get the specular color if the shape is lit or sets it

[ILNumerics Visualization Engine]

Protected propertySynchedVersion
The version of the sync source from the last synchronization.

[ILNumerics Visualization Engine]

(Inherited from Node.)
Public propertyTag
Object tag used to identify the node within the scene

[ILNumerics Visualization Engine]

(Inherited from Node.)
Public propertyType
Get the primitive type of this shape

[ILNumerics Visualization Engine]

Public propertyVersion
Modification version of this node, gets incremented at every change

[ILNumerics Visualization Engine]

(Inherited from Node.)
Public propertyVerticesPerPrimitive
Get the number of vertices every basic primitive type in the shape is composed of

[ILNumerics Visualization Engine]

Public propertyVisible
Determines, if this node is visible or sets the visible state

[ILNumerics Visualization Engine]

(Inherited from Node.)
Top
Methods

  NameDescription
Protected methodBeginVisit
handle transformations before visiting the node

[ILNumerics Visualization Engine]

(Inherited from Node.)
Public methodConfigure
Configures the shape; must be called after changes to any vertex buffers

[ILNumerics Visualization Engine]

(Overrides NodeConfigure(Boolean, Boolean).)
Public methodCopy
Copy of this node, for general use in the tree description.

[ILNumerics Visualization Engine]

(Inherited from Node.)
Protected methodCreateSynchedCopy (Inherited from Node.)
Public methodDetach
Detach this shapes buffers from any shared buffers and allows individual changes

[ILNumerics Visualization Engine]

(Overrides NodeDetach.)
Public methodDispose
Dispose off this shape, release any references to buffer resources

[ILNumerics Visualization Engine]

(Overrides NodeDispose.)
Protected methodEndVisit (Inherited from Node.)
Public methodGetPosition
Get midpoint of the vertex positions

[ILNumerics Visualization Engine]

(Overrides DrawableGetPosition.)
Public methodGetPrimitiveCount
Get the number of basic primitives which are configured for this shape

[ILNumerics Visualization Engine]

Protected methodOnDisposing (Inherited from Node.)
Protected methodOnMouseClick
Default mouse click handler, toogles the selection state

[ILNumerics Visualization Engine]

(Overrides NodeOnMouseClick(MouseEventArgs).)
Protected methodOnMouseDoubleClick (Inherited from Node.)
Protected methodOnMouseDown (Inherited from Node.)
Protected methodOnMouseEnter (Inherited from Node.)
Protected methodOnMouseLeave (Inherited from Node.)
Protected methodOnMouseMove (Inherited from Node.)
Protected methodOnMouseUp (Inherited from Node.)
Protected methodOnMouseWheel (Inherited from Node.)
Protected methodOnPropertyChanged (Inherited from Node.)
Protected methodRaiseMouseClick (Inherited from Node.)
Protected methodRaiseMouseDoubleClick (Inherited from Node.)
Protected methodRaiseMouseDown (Inherited from Node.)
Protected methodRaiseMouseEnter (Inherited from Node.)
Protected methodRaiseMouseLeave (Inherited from Node.)
Protected methodRaiseMouseMove (Inherited from Node.)
Protected methodRaiseMouseUp (Inherited from Node.)
Protected methodRaiseMouseWheel (Inherited from Node.)
Protected methodStartPipeline
Public methodSynchronize (Overrides DrawableSynchronize(Node, SyncParams).)
Public methodToString (Inherited from Node.)
Protected methodVisitInternal (Overrides NodeVisitInternal(RenderParameter).)
Top
Events

  NameDescription
Public eventDisposing
Fires, before the node is getting disposed

[ILNumerics Visualization Engine]

(Inherited from Node.)
Public eventMouseClick
Fires when the object is clicked

[ILNumerics Visualization Engine]

(Inherited from Node.)
Public eventMouseDoubleClick
Fires when the object was double clicked

[ILNumerics Visualization Engine]

(Inherited from Node.)
Public eventMouseDown
Fires when a mouse button was pressed over the object

[ILNumerics Visualization Engine]

(Inherited from Node.)
Public eventMouseEnter
Fires when the mouse enters the object region

[ILNumerics Visualization Engine]

(Inherited from Node.)
Public eventMouseLeave
Fires when the mouse leaves the object region

[ILNumerics Visualization Engine]

(Inherited from Node.)
Public eventMouseMove
Fires when the mouse was moved over the object

[ILNumerics Visualization Engine]

(Inherited from Node.)
Public eventMouseUp
Fires when a mouse button was released over the object

[ILNumerics Visualization Engine]

(Inherited from Node.)
Public eventMouseWheel
Fires when the mouse wheel was moved over the object

[ILNumerics Visualization Engine]

(Inherited from Node.)
Public eventPropertyChanged
Fires on any property state changes

[ILNumerics Visualization Engine]

(Inherited from Node.)
Top
Fields

  NameDescription
Protected fieldm_buffers
Top
See Also

Reference