Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
XCAFView_Object Class Reference

Access object for saved view. More...

#include <XCAFView_Object.hxx>

Inheritance diagram for XCAFView_Object:
Inheritance graph
[legend]

Public Member Functions

 XCAFView_Object ()
 
 XCAFView_Object (const occ::handle< XCAFView_Object > &theObj)
 
void SetName (occ::handle< TCollection_HAsciiString > theName)
 
occ::handle< TCollection_HAsciiStringName ()
 
void SetType (XCAFView_ProjectionType theType)
 
XCAFView_ProjectionType Type ()
 
void SetProjectionPoint (const gp_Pnt &thePoint)
 
gp_Pnt ProjectionPoint ()
 
void SetViewDirection (const gp_Dir &theDirection)
 
gp_Dir ViewDirection ()
 
void SetUpDirection (const gp_Dir &theDirection)
 
gp_Dir UpDirection ()
 
void SetZoomFactor (double theZoomFactor)
 
double ZoomFactor ()
 
void SetWindowHorizontalSize (double theSize)
 
double WindowHorizontalSize ()
 
void SetWindowVerticalSize (double theSize)
 
double WindowVerticalSize ()
 
void SetClippingExpression (occ::handle< TCollection_HAsciiString > theExpression)
 
occ::handle< TCollection_HAsciiStringClippingExpression ()
 
void UnsetFrontPlaneClipping ()
 
bool HasFrontPlaneClipping ()
 
void SetFrontPlaneDistance (double theDistance)
 
double FrontPlaneDistance ()
 
void UnsetBackPlaneClipping ()
 
bool HasBackPlaneClipping ()
 
void SetBackPlaneDistance (double theDistance)
 
double BackPlaneDistance ()
 
void SetViewVolumeSidesClipping (bool theViewVolumeSidesClipping)
 
bool HasViewVolumeSidesClipping ()
 
void CreateGDTPoints (const int theLenght)
 
bool HasGDTPoints ()
 
int NbGDTPoints ()
 
void SetGDTPoint (const int theIndex, const gp_Pnt &thePoint)
 
gp_Pnt GDTPoint (const int theIndex)
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor.
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing.
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter.
 
virtual ~Standard_Transient ()=default
 Destructor must be virtual.
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object.
 
bool IsInstance (const opencascade::handle< Standard_Type > &theType) const
 Returns a true value if this is an instance of Type.
 
bool IsInstance (const char *const theTypeName) const
 Returns a true value if this is an instance of TypeName.
 
bool IsKind (const opencascade::handle< Standard_Type > &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
 
bool IsKind (const char *const theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
 
Standard_TransientThis () const
 Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero.
 
int GetRefCount () const noexcept
 Get the reference counter of this object.
 
void IncrementRefCounter () noexcept
 Increments the reference counter of this object. Uses relaxed memory ordering since incrementing only requires atomicity, not synchronization with other memory operations.
 
int DecrementRefCounter () noexcept
 Decrements the reference counter of this object; returns the decremented value. Uses release ordering for the decrement to ensure all writes to the object are visible before the count reaches zero. An acquire fence is added only when the count reaches zero, ensuring proper synchronization before deletion. This is more efficient than using acq_rel for every decrement.
 
virtual void Delete () const
 Memory deallocator for transient classes.
 

Additional Inherited Members

- Public Types inherited from Standard_Transient
typedef void base_type
 Returns a type descriptor about this object.
 
- Static Public Member Functions inherited from Standard_Transient
static constexpr const charget_type_name ()
 Returns a type descriptor about this object.
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class.
 

Detailed Description

Access object for saved view.

Constructor & Destructor Documentation

◆ XCAFView_Object() [1/2]

XCAFView_Object::XCAFView_Object ( )

◆ XCAFView_Object() [2/2]

XCAFView_Object::XCAFView_Object ( const occ::handle< XCAFView_Object > & theObj)

Member Function Documentation

◆ BackPlaneDistance()

double XCAFView_Object::BackPlaneDistance ( )
inline

◆ ClippingExpression()

occ::handle< TCollection_HAsciiString > XCAFView_Object::ClippingExpression ( )
inline

◆ CreateGDTPoints()

void XCAFView_Object::CreateGDTPoints ( const int theLenght)
inline

◆ FrontPlaneDistance()

double XCAFView_Object::FrontPlaneDistance ( )
inline

◆ GDTPoint()

gp_Pnt XCAFView_Object::GDTPoint ( const int theIndex)
inline

◆ HasBackPlaneClipping()

bool XCAFView_Object::HasBackPlaneClipping ( )
inline

◆ HasFrontPlaneClipping()

bool XCAFView_Object::HasFrontPlaneClipping ( )
inline

◆ HasGDTPoints()

bool XCAFView_Object::HasGDTPoints ( )
inline

◆ HasViewVolumeSidesClipping()

bool XCAFView_Object::HasViewVolumeSidesClipping ( )
inline

◆ Name()

occ::handle< TCollection_HAsciiString > XCAFView_Object::Name ( )
inline

◆ NbGDTPoints()

int XCAFView_Object::NbGDTPoints ( )
inline

◆ ProjectionPoint()

gp_Pnt XCAFView_Object::ProjectionPoint ( )
inline

◆ SetBackPlaneDistance()

void XCAFView_Object::SetBackPlaneDistance ( double theDistance)
inline

◆ SetClippingExpression()

void XCAFView_Object::SetClippingExpression ( occ::handle< TCollection_HAsciiString > theExpression)
inline

◆ SetFrontPlaneDistance()

void XCAFView_Object::SetFrontPlaneDistance ( double theDistance)
inline

◆ SetGDTPoint()

void XCAFView_Object::SetGDTPoint ( const int theIndex,
const gp_Pnt & thePoint )
inline

◆ SetName()

void XCAFView_Object::SetName ( occ::handle< TCollection_HAsciiString > theName)
inline

◆ SetProjectionPoint()

void XCAFView_Object::SetProjectionPoint ( const gp_Pnt & thePoint)
inline

◆ SetType()

void XCAFView_Object::SetType ( XCAFView_ProjectionType theType)
inline

◆ SetUpDirection()

void XCAFView_Object::SetUpDirection ( const gp_Dir & theDirection)
inline

◆ SetViewDirection()

void XCAFView_Object::SetViewDirection ( const gp_Dir & theDirection)
inline

◆ SetViewVolumeSidesClipping()

void XCAFView_Object::SetViewVolumeSidesClipping ( bool theViewVolumeSidesClipping)
inline

◆ SetWindowHorizontalSize()

void XCAFView_Object::SetWindowHorizontalSize ( double theSize)
inline

◆ SetWindowVerticalSize()

void XCAFView_Object::SetWindowVerticalSize ( double theSize)
inline

◆ SetZoomFactor()

void XCAFView_Object::SetZoomFactor ( double theZoomFactor)
inline

◆ Type()

XCAFView_ProjectionType XCAFView_Object::Type ( )
inline

◆ UnsetBackPlaneClipping()

void XCAFView_Object::UnsetBackPlaneClipping ( )
inline

◆ UnsetFrontPlaneClipping()

void XCAFView_Object::UnsetFrontPlaneClipping ( )
inline

◆ UpDirection()

gp_Dir XCAFView_Object::UpDirection ( )
inline

◆ ViewDirection()

gp_Dir XCAFView_Object::ViewDirection ( )
inline

◆ WindowHorizontalSize()

double XCAFView_Object::WindowHorizontalSize ( )
inline

◆ WindowVerticalSize()

double XCAFView_Object::WindowVerticalSize ( )
inline

◆ ZoomFactor()

double XCAFView_Object::ZoomFactor ( )
inline

The documentation for this class was generated from the following file: