API Documentation
Loading...
Searching...
No Matches
VisibleCommand Class Reference

A specified type of DesignCommand that can make objects visible or invisible in a 3D space such as a viewport. More...

#include <VisibleCommand.h>

Inheritance diagram for VisibleCommand:
[legend]
Collaboration diagram for VisibleCommand:
[legend]

Public Member Functions

virtual void execute (DesignObjectLookup *lookup) override
 
String icon () const override
 
TranslatedString name () const override
 
 VisibleCommand (bool make_visible)
 
- Public Member Functions inherited from DesignCommand
virtual bool canCombineWith (const DynamicPointer< DesignCommand > &command)
 
virtual bool canGroupWith (const DynamicPointer< DesignCommand > &)
 
virtual void combineWith (const DynamicPointer< DesignCommand > &command)
 
 DesignCommand ()
 
virtual bool isAsyncExecution () const
 
void setUndoRedoID (UUID undo_redo_group)
 
UUID undoRedoID () const
 
virtual ~DesignCommand ()
 

Protected Attributes

bool m_make_visible
 
Buffer< UUIDm_models_to_toggle
 
- Protected Attributes inherited from DesignCommand
UUID m_undo_redo_group
 

Additional Inherited Members

- Public Attributes inherited from DesignCommand
bool can_undo = true
 
bool has_executed = false
 
UUID id
 
bool is_undo = false
 
ProgressInfolog = nullptr
 
Buffer< UUIDtargets
 
Time time = Constant<Time>::Invalid
 
bool update_project_modified = true
 

Detailed Description

A specified type of DesignCommand that can make objects visible or invisible in a 3D space such as a viewport.


Constructor & Destructor Documentation

◆ VisibleCommand()

VisibleCommand ( bool make_visible)
inline

Member Function Documentation

◆ execute()

virtual void execute ( DesignObjectLookup * lookup)
inlineoverridevirtual

Reimplemented from DesignCommand.

◆ icon()

String icon ( ) const
inlineoverridevirtual

Implements DesignCommand.

◆ name()

TranslatedString name ( ) const
inlineoverridevirtual

Implements DesignCommand.

Member Data Documentation

◆ m_make_visible

bool m_make_visible
protected

◆ m_models_to_toggle

Buffer<UUID> m_models_to_toggle
protected

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