RhinoView Class |
Namespace: Rhino.Display
The RhinoView type exposes the following members.
Name | Description | |
---|---|---|
ActiveViewport |
The ActiveViewport is the same as the MainViewport for standard RhinoViews. In
a RhinoPageView, the active viewport may be the RhinoViewport of a child detail object.
Most of the time, you will use ActiveViewport unless you explicitly need to work with
the main viewport.
| |
ActiveViewportID |
Returns viewport ID for the active viewport. Faster than ActiveViewport function when
working with page views.
| |
Bounds |
Gets the size and location of the view including its non-client elements, in pixels, relative to the parent control.
| |
ClientRectangle |
Gets the rectangle that represents the client area of the view.
| |
DisplayPipeline |
Gets the display pipeline used for this view.
| |
Document | ||
EnableDrawing |
Gets or sets the 'drawing enabled' flag. By default, drawing is enabled.
There are some rare situations where scripts want to disable drawing for a while. | |
Floating |
Floating state of RhinoView.
if true, then the view will be in a floating frame window. Otherwise
the view will be embedded in the main frame.
| |
Handle |
Gets the window handle that this view is bound to.
| |
InDynamicViewChange |
true if the view is being dynamically changed by mouse moves, arrow keys, trackballs, etc.
| |
MainViewport |
A RhinoView contains a "main viewport" that fills the entire view client window.
RhinoPageViews may also contain nested child RhinoViewports for implementing
detail viewports.
The MainViewport will always return this RhinoView's m_vp.
| |
Maximized | ||
RealtimeDisplayMode |
Gets the RealtimeDisplayMode active for this view. null if the view doesn't have a RealtimeDisplayMode set.
| |
RuntimeSerialNumber | ||
ScreenRectangle |
Gets the rectangle that represents the client area of the view in screen coordinates.
| |
Size |
Gets or sets the size of the view
| |
TitleVisible |
Visibility of the viewport title window.
|
Name | Description | |
---|---|---|
CaptureToBitmap |
Capture View contents to a bitmap.
| |
CaptureToBitmap(DisplayModeDescription) |
Capture View contents to a bitmap using a display mode description to define
how drawing is performed.
| |
CaptureToBitmap(DisplayPipelineAttributes) |
Captures view contents to a bitmap using display attributes to define how
drawing is performed.
| |
CaptureToBitmap(Size) |
Capture View contents to a bitmap.
| |
CaptureToBitmap(Size, DisplayModeDescription) |
Capture View contents to a bitmap using a display mode description to define
how drawing is performed.
| |
CaptureToBitmap(Size, DisplayPipelineAttributes) |
Capture View contents to a bitmap using display attributes to define how
drawing is performed.
| |
CaptureToBitmap(Boolean, Boolean, Boolean) |
Captures the view contents to a bitmap allowing for visibility of grid and axes.
| |
CaptureToBitmap(Size, Boolean, Boolean, Boolean) |
Captures a part of the view contents to a bitmap allowing for visibility of grid and axes.
| |
ClientToScreen(Point) | ||
ClientToScreen(Point2d) | ||
Close |
Remove this View from Rhino. DO NOT attempt to use this instance of this
class after calling Close.
| |
CreateShadedPreviewImage | Creates a bitmap preview image of model. | |
CreateWireframePreviewImage | Creates a bitmap preview image of model. | |
Equals | (Overrides ObjectEquals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FromRuntimeSerialNumber |
Get a RhinoView from it's unique runtime serial number
| |
GetHashCode | (Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MouseCaptured |
Returns whether or not the mouse is captured in this view.
| |
Redraw | Redraws this view. | |
ScreenToClient(Point) |
Converts a point in screen coordinates to client coordinates for this view.
| |
ScreenToClient(Point2d) | ||
ShowToast(String) |
Shows a temporary popup message in the lower right corner of the view
| |
ShowToast(String, Int32) |
Shows a temporary popup message in the lower right corner of the view
| |
ShowToast(String, Int32, PointF) |
Shows a temporary popup message in the lower right corner of the view
| |
SpeedTest | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) |