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 0 if IsNull().
 
- 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

Constructor & Destructor Documentation

◆ SavedView() [1/3]

cadex.PMI.SavedView.SavedView ( )
inline

Constructor.

◆ SavedView() [2/3]

cadex.PMI.SavedView.SavedView ( cadex.PMI.Camera theCamera)
inline

Constructor.

◆ SavedView() [3/3]

cadex.PMI.SavedView.SavedView ( cadex.PMI.Camera theCamera,
cadex.UTF16String theName )
inline

Constructor.

Member Function Documentation

◆ AddElement()

void cadex.PMI.SavedView.AddElement ( cadex.PMI.Element theElement)
inline

Adds the element.

◆ Camera()

cadex.PMI.Camera cadex.PMI.SavedView.Camera ( )
inline

Returns the camera.

◆ CompareType()

static bool cadex.PMI.SavedView.CompareType ( cadex.BaseObject theObject)
inlinestatic

Returns true if theObject has the SavedView type.

◆ Dispose()

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

Reimplemented from cadex.BaseObject.

◆ Elements()

cadex.Collections.PMIElementList cadex.PMI.SavedView.Elements ( )
inline

Returns the elements.

◆ Name()

cadex.UTF16String cadex.PMI.SavedView.Name ( )
inline

Returns the name.

◆ NumberOfElements()

uint cadex.PMI.SavedView.NumberOfElements ( )
inline

Returns 0 if IsNull().

Returns the number of added elements.

◆ SetCamera()

void cadex.PMI.SavedView.SetCamera ( cadex.PMI.Camera theCamera)
inline

Sets the camera.

◆ SetName()

void cadex.PMI.SavedView.SetName ( cadex.UTF16String theName)
inline

Sets the name.