Skip to content

DisplayPipelineAttributes

Public Class

Represents display pipeline settings, such as “show transparency” and “show grips”.

Inheritance Hierarchy

System.Object
Rhino.Display.DisplayPipelineAttributes

Namespace: Rhino.Display

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

[SerializableAttribute]
public class DisplayPipelineAttributes : IDisposable,
ISerializable

The DisplayPipelineAttributes type exposes the following members.

Constructors

Name

Description


Protected Method

Initializes a new instance of the DisplayPipelineAttributes class


Properties

Name

Description


Public Property

Public Property

Size of axes as a percentage of the grid extents.


Public Property

Public Property

Get or set the back material shine (0 to Rhino.DocObjects.MaxShine). You must call DisplayModeDescription.UpdateDisplayMode() to commit this change.


Public Property

Get or set the back material transparency (0 to 100). You must call DisplayModeDescription.UpdateDisplayMode() to commit this change.


Public Property

Public Property

Cast shadows.


Public Property

Clipping edge color


Public Property

Specifies how the color for the Edges is determined


Public Property

Edge thickness in pixels.


Public Property

Clipping plane fill color


Public Property

Specifies how the color for the clipping plane object fill is determined.


Public Property

Clipping plane solid color


Public Property

Specifies how to shade the clipping plane


Public Property

Shades the selected clipping plane.


Public Property

Specifies the clipping plane transparency percentage.


Public Property

Clips the highlight wires. Shaded selections always clip.


Public Property

Public Property

Control polygon color


Public Property

The control point size in pixels.


Public Property

Highlights the segments of the control polygon on either side of the control points.


Public Property

Shows the control polygon and only shows the control points.


Public Property

Shows the control points while the control polygon is displayed.


Public Property

Shows the object while the control polygon is displayed.


Public Property

PointStyle for the control polygon. Supported values are ControlPoint, RoundControlPoint, VariableDot, and RoundDot


Public Property

Specifies a color for the control polygon.


Public Property

Use dotted / solid lines


Public Property

The width of the control polygon lines in pixels.


Public Property

Public Property

Color used for drawing curves


Public Property

Pixel thickness for curves


Public Property

Scale thickness for curves


Public Property

Use a pixel thickness (CurveThickness) or a scale thickness (CurveThicknessScale)


Public Property

Height above the world XY plane in model units


Public Property

Turns on auto-elevation that moves Ground Plane to the lowest point of the objects in the model.


Public Property

Turn the custom ground plane on or off


Public Property

Makes the ground plane transparent, but allows shadows to still be cast on it.


Public Property

Public Property

Public Property

Sets the appearance of objects in the display


Public Property

Public Property

Get or set the frame buffer fill mode.


Public Property

Get or set the front material shine (0 to Rhino.DocObjects.MaxShine). You must call DisplayModeDescription.UpdateDisplayMode() to commit this change.


Public Property

Get or set the front material transparency (0 to 100). You must call DisplayModeDescription.UpdateDisplayMode() to commit this change.


Public Property

Set locked appearance


Public Property

The color of the grid plane


Public Property

Transparency of the grid plane, percentage (0-100)


Public Property

Set when to show the grid plane


Public Property

Transparency of the grid, percentage (0-100)


Public Property

Shades entire object with highlight color.


Public Property

Public Property

Public Property

Applies the settings for locked objects to locked layers.


Public Property

Public Property

Public Property

Locked Object Color


Public Property

Locked object are drawn behind other objects


Public Property

LockedObjectTransparency.


Public Property

Set asource of display attributes for locked objects


Public Property

Sets the mesh edge color


Public Property

The darken percentage of the color


Public Property

Mesh edge width in pixels


Public Property

Sets the naked edge color


Public Property

The darken percentage of the color


Public Property

Naked mesh edge width in pixels.}


Public Property

Sets the nonmanifold edge color


Public Property

The darken percentage of the color


Public Property

Non-manifold mesh edge width in pixels


Public Property

Public Property

Mesh vertex size in pixels


Public Property

Public Property

If true, use the grid thin line color in App settings


Public Property

Public Property

Public Property

Public Property

Public Property

Get the ID of the real-time display engine attached to the view. This will be Guid.Empty if no real-time display engine is in use. This can be the case for instance when starting a _Render session for a real-time viewport integration. That still would cause this ID to be Guid.Empty.


Public Property

Get or set the real-time passes amount


Public Property

Shade using vertex colors.


Public Property

Draw shaded meshes and surfaces


Public Property

ShadowBiasX (Self shadowing artifacts) from 0 (dirty) to 50 (cleaner).


Public Property

Camera-based shadow clipping radius


Public Property

Public Property

Set blurring from 0 (no blurring) to 16 (maximum blurring)


Public Property

Shadow intensity (percentage 0-100)


Public Property

Value from 1 to 16384 indicating how much memory is to be allocated. Actual memory use is ShadowMemoryUsage*ShadowMemoryUsage*4.


Public Property

If true, shadows ignore user-defined clipping planes


Public Property

Soft edge quality, from 0 (none/faster) to 12 (softer/slower)


Public Property

Enable shadows


Public Property

Transparency tolerance from 0 (never cast shadows) to 100 (always case shadows)


Public Property

Show annotations.


Public Property

Show edges and hatches where clipping planes clip objects


Public Property

Show fills where clipping planes clip solid objects


Public Property

Shows the edges between the clipping plane and clipped objects.


Public Property

When a clipping plane intersects a 3-D object and the section is closed, the section is filled.


Public Property

Show clipping planes.


Public Property

Draw curves


Public Property

Public Property

Draw surface ISO curves.


Public Property

Show light widgets.


Public Property

Display mesh edges on/off


Public Property

Display mesh naked edges on/off


Public Property

Display mesh manifold edges on/off


Public Property

Show point clouds.


Public Property

Show points.


Public Property

Get or set whether the display is used for preview rendering or not.


Public Property

Set visibility of SubD naked edges.


Public Property

Set visibility of SubD creased edges.


Public Property

Set visibility of SubD smooth edges.


Public Property

Turn on/off color differentiation of SubD symmetry children.


Public Property

Public Property

Turn Surface Edge visibility on or off


Public Property

Show surface edges.


Public Property

Turn Surface Naked Edge visibility on or off


Public Property

Show tangent edges.


Public Property

Show tangent seams.


Public Property

Show text.


Public Property

Skylight shadow quality, from 0 (lowest) to 8 (highest)


Public Property

Get or set the stereo render context.


Public Property

Apply pattern to the edge


Public Property

Color reduction percentage


Public Property

Edge color


Public Property

Edge color usage


Public Property

Edge thickness (pixels).


Public Property

Edge thickness scale


Public Property

Public Property

Apply pattern to the edge


Public Property

Color reduction percentage


Public Property

Edge color


Public Property

Edge color usage


Public Property

Edge thickness (pixels).


Public Property

Edge thickness scale


Public Property

Public Property

Apply pattern to the edge


Public Property

Color reduction percentage


Public Property

Edge color


Public Property

Edge color usage


Public Property

Edge thickness (pixels).


Public Property

Edge thickness scale


Public Property

Public Property

Reflection axis line color


Public Property

Apply Turnh on or off the reflection plane axis line


Public Property

Reflection plane color


Public Property

SubD replection plane color reduction percentage


Public Property

SubD replection plane color use


Public Property

Apply pattern to the edge


Public Property

Color reduction percentage


Public Property

Edge color


Public Property

Edge color usage


Public Property

Edge thickness (pixels).


Public Property

Edge thickness scale


Public Property

Public Property

Thickness usage, pixel thickness or a scale thickness


Public Property

Turn pattern application on or off


Public Property

Public Property

Public Property

Public Property

Thickness for surface edges


Public Property

Public Property

Public Property

Public Property

Public Property

Public Property

Public Property

Public Property

Public Property

Public Property

Public Property

Public Property

Public Property

Public Property

Public Property

Public Property

Turn pattern application on or off


Public Property

Public Property

Public Property

Public Property

Public Property

Gets or sets whether objects ought to be drawn using their assigned rendering material.


Public Property

Gets or sets whether objects ought to be drawn using a custom color.


Public Property

Gets or sets whether objects ought to be drawn using a custom color for back faces.


Public Property

Gets or sets whether objects ought to be drawn using a custom material.


Public Property

Gets or sets whether objects ought to be drawn using a custom material on backfaces.


Public Property

Draw lights using light color


Public Property

When enabled, the appearances of clipping fills and edges are based on objects’ section style properties.


Public Property

Use a single color for drawing curves


Public Property

Public Property

Public Property

Methods

Name

Description


Public Method

Releases all resources used by the DisplayPipelineAttributes


Protected Method

Releases the unmanaged resources used by the DisplayPipelineAttributes and optionally releases the managed resources


Public Method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)


Protected Method

(Overrides Object.Finalize..)


Public Method

Get the current color fade effect data.


Public Method

Get the current diagonal hatch strength and width in pixels.


Public Method

Get the current dither transparency amount.


Public Method

Get fill colors used for clearing the frame buffer


Public Method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)


Public Method

Public Method

Helper function for setting the SurfaceEdgeThicknessFlags


Public Method

Public Method

Helper function for getting SurfaceIsoColorsUsed and SurfaceSingleIsoColor


Public Method

This is a helper function that combines getting IsoThicknessUsed and SurfaceNakedEdgeThicknessUsageFlags settings to correspond to the behavor of the Settings page.


Public Method

This is a helper function that combines getting SurfaceNakeEdgeUseNormalThickness and SurfaceNakedEdgeThicknessUsageFlags settings to correspond to the behavor of the Settings page.


Public Method

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Public Method

Returns TRUE if there is a color fade effect enabled with a color fade effect amount larger than 0.0, FALSE otherwise.


Public Method

Returns TRUE if there is a diagonal hatch effect enabled with a hatch strength larger than 0.0, FALSE otherwise.


Public Method

Returns TRUE if there is a dither transparency effect enabled with a transparency amount larger than 0.0, FALSE otherwise.


Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Public Method

Set a color fade effect to make objects fade a given amount towards a given color.


Public Method

Set a diagonal hatch effect to make objects render with diagonal hatch with a given strength and width in pixels. The effect works by brightening and darkening pixels in a diagonal pattern.


Public Method

Set a dither transparency effect to make objects render with a given amount of transparency using a dither effect.


Public Method

Set fill mode to solid color and set the fill color


Public Method

Set fill mode to two color and set the colors


Public Method

Set the fill mode to four color gradient and set the colors


Public Method

Helper function for getting the SurfaceEdgeThicknessFlags


Public Method

Public Method

Helper function for setting SurfaceIsoColorsUsed and SurfaceIsoSingleColor


Public Method

This is a helper function that combines setting IsoThicknessUsed and SurfaceNakedEdgeThicknessUsageFlags settings to correspond to the behavor of the Settings page.


Public Method

This is a helper function that combines setting SurfaceNakeEdgeUseNormalThickness and SurfaceNakedEdgeThicknessUsageFlags settings to correspond to the behavor of the Settings page.


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)