Rhino.Displaynamespace

Types

BackgroundStyle

Since v5.0
Rhino.Display.BackgroundStyle
Constants that define how the background of a viewport should be filled.

BlendMode

Since v5.0
Rhino.Display.BlendMode
Defines enumerated constants for display blend modes.
Rhino.Display.CalculateBoundingBoxEventArgs
Rhino.Display.Color4f
Color defined by 4 floating point values.
Rhino.Display.ColorCMYK
Represents a CMYK (Cyan, Magenta, Yellow, Key) color with double precision floating point channels. CMYK colors are used primarily in printing environments as they provide a good simulation of physical ink.
Rhino.Display.ColorGradient
Rhino.Display.ColorHSL
Represents an HSL (Hue, Saturation, Luminance) color with double precision floating point channels. HSL colors are used primarily in Graphical User Interface environments as they provide a very natural approach to picking colors.
Rhino.Display.ColorHSV
Represents an HSV (Hue, Saturation, Value) color with double precision floating point channels. HSV colors (also sometimes called HSB, where B means Brightness) are similar to HSL colors in that they represent colors in a cylindrical color space, and are intended to provide intuitive means to edit the brightness of a particular color over RGB color space where each color channel would need to be modified to affect the color brightness.
Rhino.Display.ColorLAB
Represents a LAB (Lightness, A, B) color with double precision floating point channels. LAB colors are based on nonlinearly compressed CIE XYZ color space coordinates. The A and B parameters of a LAB color represent the opponents.
Rhino.Display.ColorLCH
Represents an LCH (Lightness, A, B) color with double precision floating point channels. LCH colors (also sometimes called CIELUV) are transformation of the 1931 CIE XYZ color space, in order to approach perceptual uniformity. They are primarily used in computer graphics which deal with colored lights.
Rhino.Display.ColorRGBA
Represents a sRGBA (Red, Green, Blue, Alpha) color with double precision floating point channel.
Rhino.Display.ColorStop
Combination of a color and position. Used in defining gradient fills
Rhino.Display.ColorXYZ
Represents an XYZ (Hue, Saturation, Luminance) color with double precision floating point channels. XYZ colors are based on the CIE 1931 XYZ color space standard and they mimic the natural sensitivity of cones in the human retina.

CullFaceMode

Since v5.0
Rhino.Display.CullFaceMode
Rhino.Display.CullObjectEventArgs
Rhino.Display.CustomDisplay
Provides some basic (indeed, very basic) mechanisms for drawing custom geometry in viewports.
Rhino.Display.DefinedViewportProjection
Parallel and perspective projections that are "standard" in Rhino

DepthMode

Since v5.0
Rhino.Display.DepthMode
Rhino.Display.DisplayAttributeMaterial
One side of the material the display pipeline shades an object with. A texture-style VisualAnalysisMode sets its texture up here from SetUpDisplayAttributes.
Rhino.Display.DisplayBitmap
A bitmap resource that can be used by the display pipeline (currently only in OpenGL display). Reuse DisplayBitmaps for drawing if possible; it is much more expensive to construct new DisplayBitmaps than it is to reuse existing DisplayBitmaps.
Rhino.Display.DisplayBitmapDrawList
Rhino.Display.DisplayConduit
Rhino.Display.DisplayEngine
Rhino.Display.DisplayMaterial
Rhino.Display.DisplayModeChangedEventArgs
Rhino.Display.DisplayModeDescription
Description of a how Rhino will display in a viewport. These are the modes that are listed under "Advanced display" in the options dialog.
Rhino.Display.DisplayPen
Pen used to define stroke applied to several DisplayPipeline draw functions
Rhino.Display.DisplayPipeline

The display pipeline calls events during specific phases of drawing During the drawing of a single frame the events are called in the following order.

[Begin Drawing of a Frame]
  • CalculateBoundingBox
  • CalculateClippingPanes
  • SetupFrustum
  • SetupLighting
  • InitializeFrameBuffer
  • DrawBackground
  • If this is a layout and detail objects exist the channels are called in the same order for each detail object (drawn as a nested viewport)
  • PreDrawObjects
  • For Each Visible Non Highlighted Object
  • PostDrawObjects - depth writing/testing on
  • DrawForeGround - depth writing/testing off
  • For Each Visible Highlighted Object
  • PostProcessFrameBuffer (If a delegate exists that requires this)
  • DrawOverlay (if Rhino is in a feedback mode)
[End of Drawing of a Frame]

NOTE: There may be multiple DrawObject calls for a single object. An example of when this could happen would be with a shaded sphere. The shaded mesh is first drawn and these channels would be processed; then at a later time the isocurves for the sphere would be drawn.

Rhino.Display.DisplayPipeline.InferenceLineType
Rhino.Display.DisplayPipelineAttributes
Represents display pipeline settings, such as "show transparency" and "show grips".
Rhino.Display.DisplayPipelineAttributes.BackfaceStyle
Values for changing the display of the backface (the side opposite of the surface normal direction).
Rhino.Display.DisplayPipelineAttributes.BoundingBoxDisplayMode
Rhino.Display.DisplayPipelineAttributes.ClippingEdgeColorUse
Rhino.Display.DisplayPipelineAttributes.ClippingPlaneFillColorUse
Rhino.Display.DisplayPipelineAttributes.ClippingShadeColorUse
Rhino.Display.DisplayPipelineAttributes.ContextsForDraw
Rhino.Display.DisplayPipelineAttributes.CurveThicknessUse
Rhino.Display.DisplayPipelineAttributes.DynamicDisplayUse
Rhino.Display.DisplayPipelineAttributes.FrameBufferFillMode
Rhino.Display.DisplayPipelineAttributes.GridPlaneVisibilityMode
Rhino.Display.DisplayPipelineAttributes.GroundPlaneUsages
Rhino.Display.DisplayPipelineAttributes.LightingSchema
Rhino.Display.DisplayPipelineAttributes.LinearWorkflowUsages
Rhino.Display.DisplayPipelineAttributes.LockedObjectUse
Rhino.Display.DisplayPipelineAttributes.MeshDisplayAttributes
Rhino.Display.DisplayPipelineAttributes.SubDEdgeColorUse
SubD edge color use
Rhino.Display.DisplayPipelineAttributes.SubDReflectionPlaneColorUse
SubD replection plane color use
Rhino.Display.DisplayPipelineAttributes.SubDThicknessUse
Rhino.Display.DisplayPipelineAttributes.SurfaceEdgeColorUse
Rhino.Display.DisplayPipelineAttributes.SurfaceIsoColorUse
Rhino.Display.DisplayPipelineAttributes.SurfaceIsoThicknessUse
Rhino.Display.DisplayPipelineAttributes.SurfaceNakedEdgeColorUse
Rhino.Display.DisplayPipelineAttributes.SurfaceNakedEdgeThicknessUse
Rhino.Display.DisplayPipelineAttributes.SurfaceThicknessUse
Rhino.Display.DisplayPipelineAttributes.ViewDisplayAttributes
Rhino.Display.DisplayPipelineAttributes.WorldAxesIconColorUse
Rhino.Display.DisplayPoint
A 3d point with attributes used by the display pipeline
Rhino.Display.DisplayPointAttributes
Rhino.Display.DisplayPointSet
Rhino.Display.DisplayTechnology
Graphics display techologies.
Rhino.Display.DrawEventArgs
Rhino.Display.DrawForegroundEventArgs

DrawFrameStages

Since v5.0
Rhino.Display.DrawFrameStages
Rhino.Display.DrawObjectEventArgs

GradientType

Since v7.0
Rhino.Display.GradientType
Style of color gradient
Rhino.Display.GrasshopperDisplayMaterial
Rhino.Display.InitFrameBufferEventArgs
Rhino.Display.IsoDrawEffect

IsoDrawMode

Since v9.0
Rhino.Display.IsoDrawMode
Defines how drawing should be performed when drawing with iso intervals aka zebra or banded drawing

IsometricCamera

Since v8.10
Rhino.Display.IsometricCamera
Isometric camera orientation.
Rhino.Display.PageViewPropertiesChangeEventArgs
PageView properties change event arguments.
Rhino.Display.PageViewSpaceChangeEventArgs
PageView space change event arguments.
Rhino.Display.PointStyle
Defines styles used for drawing points.
Rhino.Display.PostProcessFrameBufferEventArgs
Gives a DisplayPipeline.PostProcessFrameBuffer handler access to the frame that was just drawn.
Rhino.Display.RhinoPageView
A window that contains a single layout 'page'
Rhino.Display.RhinoView
A RhinoView represents a single "window" display of a document. A view could contain one or many RhinoViewports (many in the case of Layout views with detail viewports). Standard Rhino modeling views have one viewport.
Rhino.Display.RhinoViewport
Displays geometry with a given projection. In standard modeling views there is a one to one relationship between RhinoView and RhinoViewports. In a page layout, there may be multiple RhinoViewports for a single layout.
Rhino.Display.ShaderLanguage
Graphics Shader Language https://en.wikipedia.org/wiki/OpenGL_Shading_Language#Versions

StereoContext

Since v7.0
Rhino.Display.StereoContext
Rhino.Display.Text3d
3D aligned text with font settings.

TextureCache

Since v9.0
Rhino.Display.TextureCache
An application-wide cache of textures whose pixels live in memory rather than in a file on disk.

Rhino identifies a texture by a name. Normally that name is the path of an image file, but it does not have to be: a name registered here shadows the file system, so any texture that refers to the name - a Texture, a DisplayMaterial, a Material - draws the pixels registered here instead of reading a file.

Calling TextureCache.Set(string, Bitmap) again with the same name replaces the pixels in place.

Rhino.Display.ViewCapture
Rhino.Display.ViewCaptureSettings
Holds information required to generate high resolution output of a RhinoViewport. This is used for generating paper prints or image files
Rhino.Display.ViewCaptureSettings.AnchorLocation
Rhino.Display.ViewCaptureSettings.ColorMode
Rhino.Display.ViewCaptureSettings.ViewAreaMapping
Defines how a viewport is mapped to output.
Rhino.Display.ViewEnableDrawingEventArgs
View enable drawing event argument.

ViewEventArgs

Since v5.0
Rhino.Display.ViewEventArgs
View event arguments.

ViewportType

Since v5.0
Rhino.Display.ViewportType
Rhino.Display.ViewTypeFilter
Filter for view types to list
Rhino.Display.VisualAnalysisMode
Represents a base class for visual analysis modes.

This class is abstract.

Rhino.Display.VisualAnalysisMode.AnalysisStyle
Contains enumerated values for analysis styles, such as wireframe, texture or false colors..
Rhino.Display.VisualAnalysisMode.EdgeContinuityMode
Continuity mode to report

ZBiasMode

Since v5.0
Rhino.Display.ZBiasMode
Biasing applied to geometry to attempt to get coplanar items to draw on top of or below other geometry
Rhino.Display.ZBufferCapture
Provides functionality for getting the z-buffer values from a viewport and a given display mode