Rhino.Display
Classes
Class
Description
Public Class
CalculateBoundingBoxEventArgs
Public Class
ColorGradient
Public Class
CullObjectEventArgs
Public Class
CustomDisplay
Provides some basic (indeed, very basic) mechanisms for drawing custom geometry in viewports.
Public Class
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.
Public Class
DisplayBitmapDrawList
Public Class
DisplayConduit
Public Class
DisplayEngine
Public Class
DisplayMaterial
Public Class
DisplayModeChangedEventArgs
Public Class
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.
Public Class
DisplayPen
Pen used to define stroke applied to several DisplayPipeline draw functions
Public Class
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.
Public Class
DisplayPipelineAttributes
Represents display pipeline settings, such as “show transparency” and “show grips”.
Public Class
DisplayPipelineAttributes.MeshDisplayAttributes
Public Class
DisplayPipelineAttributes.ViewDisplayAttributes
Public Class
DisplayPoint
A 3d point with attributes used by the display pipeline
Public Class
DisplayPointAttributes
Public Class
DisplayPointSet
Public Class
DrawEventArgs
Public Class
DrawForegroundEventArgs
Public Class
DrawObjectEventArgs
Public Class
InitFrameBufferEventArgs
Public Class
PageViewPropertiesChangeEventArgs
PageView properties change event arguments.
Public Class
PageViewSpaceChangeEventArgs
Public Class
RhinoPageView
A window that contains a single layout ‘page’
Public Class
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.
Public Class
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.
Public Class
Text3d
3D aligned text with font settings.
Public Class
ViewCapture
Public Class
ViewCaptureSettings
Holds information required to generate high resolution output of a RhinoViewport. This is used for generating paper prints or image files
Public Class
ViewEventArgs
Public Class
VisualAnalysisMode
Represents a base class for visual analysis modes.
This class is abstract.
Public Class
ZBufferCapture
Provides functionality for getting the z-buffer values from a viewport and a given display mode
Structures
Structure
Description
Public Struct
Color4f
Color defined by 4 floating point values.
Public Struct
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.
Public Struct
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.
Public Struct
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.
Public Struct
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.
Public Struct
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.
Public Struct
ColorRGBA
Represents a sRGBA (Red, Green, Blue, Alpha) color with double precision floating point channel.
Public Struct
ColorStop
Combination of a color and position. Used in defining gradient fills
Public Struct
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.
Enumerations
Enumeration
Description
Public Enum
BackgroundStyle
Constants that define how the background of a viewport should be filled.
Public Enum
BlendMode
Defines enumerated constants for display blend modes.
Public Enum
CullFaceMode
Public Enum
DefinedViewportProjection
Parallel and perspective projections that are “standard” in Rhino
Public Enum
DepthMode
Public Enum
DisplayPipelineAttributes.BoundingBoxDisplayMode
Public Enum
DisplayPipelineAttributes.ClippingEdgeColorUse
Public Enum
DisplayPipelineAttributes.ClippingPlaneFillColorUse
Public Enum
DisplayPipelineAttributes.ClippingShadeColorUse
Public Enum
DisplayPipelineAttributes.ContextsForDraw
Public Enum
DisplayPipelineAttributes.CurveThicknessUse
Public Enum
DisplayPipelineAttributes.DynamicDisplayUse
Public Enum
DisplayPipelineAttributes.FrameBufferFillMode
Public Enum
DisplayPipelineAttributes.GridPlaneVisibilityMode
Public Enum
DisplayPipelineAttributes.LightingSchema
Public Enum
DisplayPipelineAttributes.LockedObjectUse
Public Enum
DisplayPipelineAttributes.SubDEdgeColorUse
SubD edge color use
Public Enum
DisplayPipelineAttributes.SubDReflectionPlaneColorUse
SubD replection plane color use
Public Enum
DisplayPipelineAttributes.SubDThicknessUse
Public Enum
DisplayPipelineAttributes.SurfaceEdgeColorUse
Public Enum
DisplayPipelineAttributes.SurfaceIsoColorUse
Public Enum
DisplayPipelineAttributes.SurfaceIsoThicknessUse
Public Enum
DisplayPipelineAttributes.SurfaceNakedEdgeColorUse
Public Enum
DisplayPipelineAttributes.SurfaceNakedEdgeThicknessUse
Public Enum
DisplayPipelineAttributes.SurfaceThicknessUse
Public Enum
DisplayPipelineAttributes.WorldAxesIconColorUse
Public Enum
DisplayTechnology
Graphics display techologies.
Public Enum
DrawFrameStages
Public Enum
FlairLayer
Public Enum
GradientType
Style of color gradient
Public Enum
IsometricCamera
Isometric camera orientation.
Public Enum
PointStyle
Defines styles used for drawing points.
Public Enum
ShaderLanguage
Graphics Shader Language https://en.wikipedia.org/wiki/OpenGL\_Shading\_Language#Versions
Public Enum
StereoContext
Public Enum
ViewCaptureSettings.AnchorLocation
Public Enum
ViewCaptureSettings.ColorMode
Public Enum
ViewCaptureSettings.ViewAreaMapping
Defines how a viewport is mapped to output.
Public Enum
ViewportType
Public Enum
ViewTypeFilter
Filter for view types to list
Public Enum
VisualAnalysisMode.AnalysisStyle
Contains enumerated values for analysis styles, such as wireframe, texture or false colors..
Public Enum
VisualAnalysisMode.EdgeContinuityMode
Continuity mode to report
Public Enum
ZBiasMode
Biasing applied to geometry to attempt to get coplanar items to draw on top of or below other geometry