Hide menu
Loading...
Searching...
No Matches

Defines a view orientation of the model and a subset of visible PMI elements. More...

Inheritance diagram for cadex.PMI.SavedView:
cadex.BaseObject

Public Member Functions

 SavedView (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 SavedView ()
 Constructor.
 
 SavedView (cadex.PMI.Camera theCamera)
 Constructor.
 
 SavedView (cadex.PMI.Camera theCamera, cadex.UTF16String theName)
 Constructor.
 
void SetCamera (cadex.PMI.Camera theCamera)
 Sets the camera.
 
cadex.PMI.Camera Camera ()
 Returns the camera.
 
void SetName (cadex.UTF16String theName)
 Sets the name.
 
cadex.UTF16String Name ()
 Returns the name.
 
void AddElement (cadex.PMI.Element theElement)
 Adds the element.
 
cadex.Collections.PMIElementList Elements ()
 Returns the elements.
 
uint NumberOfElements ()
 Returns the number of added elements.
 
- Public Member Functions inherited from cadex.BaseObject
 BaseObject (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
bool IsNull ()
 
ulong Id ()
 Return unique identifier of public object.
 
bool IsEqual (cadex.BaseObject theObj)
 
override int GetHashCode ()
 
override bool Equals (System.Object o)
 

Static Public Member Functions

static bool CompareType (cadex.BaseObject theObject)
 Returns true if theObject has the SavedView type.
 
static cadex.PMI.SavedView Cast (cadex.BaseObject theBase)
 

Protected Member Functions

override void Dispose (bool disposing)
 

Detailed Description

Defines a view orientation of the model and a subset of visible PMI elements.

A saved view facilitates presentation of the model and its annotation. It defines a set of elements that should be visible from the specific point of view.

A saved view contains graphical elements and camera.

Note
A saved view should have a name.
See also
Camera

Member Function Documentation

◆ Dispose()

override void cadex.PMI.SavedView.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from cadex.BaseObject.

◆ NumberOfElements()

uint cadex.PMI.SavedView.NumberOfElements ( )
inline

Returns the number of added elements.

Returns 0 if IsNull().