ModelView

References
Represents a 3D view frustum. Wraps the functionality of the ViewportInfo type.

Constructors

ModelView

#
public ModelView()

ModelView

#
public ModelView(Guid ref_guid)
Create a new referenced view that references a RhinoView or NamedView object with the specified ref_guid.
ref_guid (Guid)ID of viewport object to reference.

ModelView

#
public ModelView(ModelView other)
other (ModelView)

ModelView

#
public ModelView(RhinoView view)
view (RhinoView)

ModelView

#
public ModelView(RhinoViewport viewport)
viewport (RhinoViewport)

ModelView

#
public ModelView(ViewInfo viewInfo)
viewInfo (ViewInfo)

ModelView

#
public ModelView(ViewportInfo viewportInfo, string title)
viewportInfo (ViewportInfo)
title (string)

ModelView

#
public ModelView(ViewportInfo viewportInfo)
viewportInfo (ViewportInfo)

Properties

Explicit

IGH_GeometricGoo.Boundingbox

#
BoundingBox Boundingbox
Boundingbox
Explicit

IGH_PreviewData.ClippingBox

#
BoundingBox ClippingBox
ClippingBox
Explicit

IGH_GeometricGoo.IsGeometryLoaded

#
bool IsGeometryLoaded
Gets the load state of this view object. The view is considered to be loaded when the local view instance is not null.
IsGeometryLoaded
Explicit

IGH_GeometricGoo.IsReferencedGeometry

#
bool IsReferencedGeometry

IsValid

#
public bool IsValid { get; }
IsValid
Explicit

IGH_Goo.IsValidWhyNot

#
string IsValidWhyNot
IsValidWhyNot
Explicit

IGH_GeometricGoo.ReferenceID

#
Guid ReferenceID
ReferenceID

Title

#
public string Title { get; }
Explicit

IGH_Goo.TypeDescription

#
string TypeDescription
TypeDescription
Explicit

IGH_Goo.TypeName

#
string TypeName
TypeName

Methods

Explicit

IGH_BakeAwareData.BakeGeometry

#
bool BakeGeometry(RhinoDoc doc, ObjectAttributes att, ref Guid guid)
doc (RhinoDoc)
att (ObjectAttributes)
guid (ref Guid)
BakeGeometry

Cast

#
public static ModelView Cast(object data)
data (object)
Explicit

IGH_Goo.CastFrom

#
bool CastFrom(object source)
source (object)
CastFrom
Explicit

IGH_Goo.CastTo<Q>

#
bool CastTo<Q>(ref Q target)
target (ref Q)
CastTo
Explicit

IGH_GeometricGoo.ClearCaches

#
void ClearCaches()
Clears all volatile caches for this instance. The boundingbox is cleared, and if the view is referenced, the local instance of the view is erased.
ClearCaches
Explicit

IGH_PreviewData.DrawViewportMeshes

#
void DrawViewportMeshes(GH_PreviewMeshArgs args)
args (GH_PreviewMeshArgs)
DrawViewportMeshes
Explicit

IGH_PreviewData.DrawViewportWires

#
void DrawViewportWires(GH_PreviewWireArgs args)
args (GH_PreviewWireArgs)
DrawViewportWires
Explicit

IGH_Goo.Duplicate

#
IGH_Goo Duplicate()
Duplicate
Explicit

IGH_GeometricGoo.DuplicateGeometry

#
IGH_GeometricGoo DuplicateGeometry()
DuplicateGeometry
Explicit

IGH_Goo.EmitProxy

#
IGH_GooProxy EmitProxy()
EmitProxy

Equals

#
public bool Equals(ModelView other)
other (ModelView)

Equals

#
public override bool Equals(object other)
other (object)
Object.Equals

GetBoundingBox

#
public BoundingBox GetBoundingBox(Transform xform)
xform (Transform)
GetBoundingBox

GetHashCode

#
public override int GetHashCode()
Explicit

IGH_GeometricGoo.LoadGeometry

#
bool LoadGeometry()
LoadGeometry
Explicit

IGH_GeometricGoo.LoadGeometry

#
bool LoadGeometry(RhinoDoc doc)
If the view is referenced and not yet loaded, attempts to load the view.
doc (RhinoDoc)
True if the view is loaded (or if it was already loaded), False on failure.
LoadGeometry

Morph

#
public IGH_GeometricGoo Morph(SpaceMorph xmorph)
xmorph (SpaceMorph)
Morph
Explicit

GH_ISerializable.Read

#
bool Read(GH_IReader reader)
reader (GH_IReader)
Read
Explicit

IGH_Goo.ScriptVariable

#
object ScriptVariable()
ScriptVariable

ToString

#
public override string ToString()
Object.ToString
ToString

ToViewportInfo

#
public ViewportInfo ToViewportInfo()

Transform

#
public IGH_GeometricGoo Transform(Transform xform)
xform (Transform)
Transform
Explicit

GH_ISerializable.Write

#
bool Write(GH_IWriter writer)
writer (GH_IWriter)
Write