API Documentation
Loading...
Searching...
No Matches
GeometryBoolean Class Referenceabstract

#include <GeometryBoolean.h>

Collaboration diagram for GeometryBoolean:
[legend]

Public Member Functions

 GeometryBoolean (const GeometryBoolean &filter)=delete
 
 GeometryBoolean (const GeometryBoolean &&filter)=delete
 
virtual ~GeometryBoolean ()=default
 
virtual bool runBoolean (GeometryBooleanParameters &parameters)=0
 
virtual bool canRunBoolean (const GeometryBooleanParameters &)
 
virtual Buffer< BooleanDescriptiondefaultBooleanArguments ()
 
const TranslatedStringBooleanName () const
 
const StringBooleanID () const
 

Static Public Member Functions

static void SetupDefaultSurfaceObject (Model &target_surface_location, const void *lock)
 
static const Dictionary< String, GeometryBoolean * > & AvailableBoolean ()
 
static void AddAvailableBooleanEngine (GeometryBoolean *filter)
 
static void ExecuteBoolean (const JSONNode &active_filters, const DesignSelection &selection_to_surface, Model &target_surface_location, DesignObjectLookup *lookup, ProgressInfo *log, const void *lock)
 
static void ExecuteBoolean (const JSONNode &active_filters, const Buffer< Model > &models_to_surface, Model &target_surface_location, ProgressInfo *log, const void *lock)
 
static void ExecuteBoolean (const JSONNode &active_filters, GeometryBooleanParameters &params, Model &target_surface_location)
 
static Buffer< BooleanDescriptionGetAvailableDescriptions ()
 
static uint04 AvailableBooleanDescriptionCount ()
 
static String ToCommandString (const Buffer< BooleanDescription > &descriptions)
 

Protected Member Functions

 GeometryBoolean (const TranslatedString &name, const String &id)
 

Static Protected Member Functions

static void PrepareForBoolean (const Matrix< fltp08 > &transform, const Geometry &geo, GeometryBooleanParameters &params)
 
static void ClearAllBoolean (Geometry &geo, ProgressInfo *log, const void *lock)
 
static void FinishBoolean (const Matrix< fltp08 > &transform, Geometry &geo, const GeometryBooleanParameters &params)
 

Protected Attributes

TranslatedString m_name
 
String m_id
 

Static Protected Attributes

static Dictionary< String, GeometryBoolean * > s_global_available_boolean_engines
 

Constructor & Destructor Documentation

◆ GeometryBoolean() [1/3]

GeometryBoolean ( const TranslatedString & name,
const String & id )
explicitprotected

◆ GeometryBoolean() [2/3]

GeometryBoolean ( const GeometryBoolean & filter)
delete

◆ GeometryBoolean() [3/3]

GeometryBoolean ( const GeometryBoolean && filter)
delete

◆ ~GeometryBoolean()

virtual ~GeometryBoolean ( )
virtualdefault

Member Function Documentation

◆ AddAvailableBooleanEngine()

void AddAvailableBooleanEngine ( GeometryBoolean * filter)
static

◆ AvailableBoolean()

const Dictionary< String, GeometryBoolean * > & AvailableBoolean ( )
static

◆ AvailableBooleanDescriptionCount()

uint04 AvailableBooleanDescriptionCount ( )
static

◆ BooleanID()

const String & BooleanID ( ) const
inlinenodiscard

◆ BooleanName()

const TranslatedString & BooleanName ( ) const
inlinenodiscard

◆ canRunBoolean()

virtual bool canRunBoolean ( const GeometryBooleanParameters & )
inlinevirtual

◆ ClearAllBoolean()

void ClearAllBoolean ( Geometry & geo,
ProgressInfo * log,
const void * lock )
staticprotected

◆ defaultBooleanArguments()

Buffer< BooleanDescription > defaultBooleanArguments ( )
virtual

◆ ExecuteBoolean() [1/3]

void ExecuteBoolean ( const JSONNode & active_filters,
const Buffer< Model > & models_to_surface,
Model & target_surface_location,
ProgressInfo * log,
const void * lock )
static

◆ ExecuteBoolean() [2/3]

void ExecuteBoolean ( const JSONNode & active_filters,
const DesignSelection & selection_to_surface,
Model & target_surface_location,
DesignObjectLookup * lookup,
ProgressInfo * log,
const void * lock )
static

◆ ExecuteBoolean() [3/3]

void ExecuteBoolean ( const JSONNode & active_filters,
GeometryBooleanParameters & params,
Model & target_surface_location )
static

◆ FinishBoolean()

void FinishBoolean ( const Matrix< fltp08 > & transform,
Geometry & geo,
const GeometryBooleanParameters & params )
staticprotected

◆ GetAvailableDescriptions()

Buffer< BooleanDescription > GetAvailableDescriptions ( )
static

◆ PrepareForBoolean()

void PrepareForBoolean ( const Matrix< fltp08 > & transform,
const Geometry & geo,
GeometryBooleanParameters & params )
staticprotected

◆ runBoolean()

virtual bool runBoolean ( GeometryBooleanParameters & parameters)
pure virtual

◆ SetupDefaultSurfaceObject()

void SetupDefaultSurfaceObject ( Model & target_surface_location,
const void * lock )
static

◆ ToCommandString()

String ToCommandString ( const Buffer< BooleanDescription > & descriptions)
static

Member Data Documentation

◆ m_id

String m_id
protected

◆ m_name

TranslatedString m_name
protected

◆ s_global_available_boolean_engines

Dictionary< String, GeometryBoolean * > s_global_available_boolean_engines
staticprotected

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