Defines a view orientation of the model and a subset of visible PMI elements. More...
#include <cadex/PMI/SavedView.hxx>
Public Member Functions | |
SavedView () | |
Constructor. | |
SavedView (const Camera &theCamera) | |
Constructor. | |
SavedView (const Camera &theCamera, const UTF16String &theName) | |
Constructor. | |
void | SetCamera (const Camera &theCamera) |
Sets the camera. | |
PMI::Camera | Camera () const |
Returns the camera. | |
void | SetName (const UTF16String &theName) |
Sets the name. | |
UTF16String | Name () const |
Returns the name. | |
void | AddElement (const Element &theElement) |
Adds the element. | |
const std::vector< PMI::Element > & | Elements () const |
Returns the elements. | |
size_t | NumberOfElements () const |
Returns the number of the added elements. | |
![]() | |
size_t | Id () const |
Return unique identifier of public object. | |
internal::BaseObjectImpl * | Impl () const |
bool | IsNull () const |
operator bool () const | |
template<typename T > | |
bool | IsOfType () const |
template<typename T > | |
T * | Impl () const |
Reserved for internal use. | |
Static Public Member Functions | |
static bool | CompareType (const BaseObject &theObject) |
Returns true if theObject has the SavedView type. | |
Protected Member Functions | |
SavedView (const ImplType &theImpl) | |
![]() | |
BaseObject (const ImplType &theImpl) | |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
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.
size_t cadex::PMI::SavedView::NumberOfElements | ( | ) | const |
Returns the number of the added elements.
Returns 0 if IsNull().