Archicad 30 C++ API
Loading...
Searching...
No Matches
API_IView3DSettingsEventHandler Class Referenceabstract

The base class you need to inherit from in case you want to handle view 3D settings events. More...

#include <APIdefs_Callback.h>

Inheritance diagram for API_IView3DSettingsEventHandler:
API_IEventHandler

Public Member Functions

virtual GS::UniString GetName () const override final
 
virtual void Dispatch (const API_IEventNotifier &eventNotifier) const override final
 It dispatches the event.
 
virtual void View3DSettingsChanged () const =0
 Event handler called when view 3D settings changes.
 
virtual void View3DSettingsChangedInNavigation () const =0
 Event handler called when view 3D settings changes during navigation.
 

Detailed Description

The base class you need to inherit from in case you want to handle view 3D settings events.

Since
Archicad 30

Member Function Documentation

◆ Dispatch()

virtual void API_IView3DSettingsEventHandler::Dispatch ( const API_IEventNotifier & eventNotifier) const
inlinefinaloverridevirtual

It dispatches the event.

Parameters
eventNotifierThe occurrence of an event can be notified via this parameter.

Implements API_IEventHandler.

◆ GetName()

virtual GS::UniString API_IView3DSettingsEventHandler::GetName ( ) const
inlinefinaloverridevirtual
Returns
Human readable name of the event handler.

Implements API_IEventHandler.

◆ View3DSettingsChanged()

virtual void API_IView3DSettingsEventHandler::View3DSettingsChanged ( ) const
pure virtual

Event handler called when view 3D settings changes.

Warning
Avoid complex operations in this function. It could cause significant slowdowns.

This function is called on events when the 3D view settings (such as API_3DProjectionInfo, API_3DFilterAndCutSettings, API_3DWindowInfo) have been changed.

◆ View3DSettingsChangedInNavigation()

virtual void API_IView3DSettingsEventHandler::View3DSettingsChangedInNavigation ( ) const
pure virtual

Event handler called when view 3D settings changes during navigation.

Warning
Avoid complex operations in this function. It could cause significant slowdowns.

This function is called during 3D navigation, so that you can track camera setting changes.