Itasca C++ Interface
Loading...
Searching...
No Matches
iextrudesetlist.h
Go to the documentation of this file.
1#pragma once
2
8#include "shared/interface/signal.h"
9
10namespace itasca {
11 class IContainer;
12 class IThing;
13}
14
15namespace extruder {
16 using namespace itasca;
17
18 class IExtrudeSet;
19
20 // (See convert_getcast in ithing.h).
24 public:
26 inline static const TType type_ = 0x4d2227cc;
27
28 shared::Signal<const QString &> currentChanged;
29
31 virtual IThing * getIThing()=0;
33 virtual const IThing * getIThing() const=0;
35 virtual const IExtrudeSet *getCurrent() const=0;
37 virtual IExtrudeSet * getCurrent()=0;
39 virtual void clear()=0;
41 virtual IExtrudeSet * lookupWithID(uint64 id)=0;
43 virtual const IExtrudeSet *lookupWithID(uint64 id) const=0;
45 virtual IExtrudeSet * lookupWithName(const QString &name)=0;
47 virtual const IExtrudeSet *lookupWithName(const QString &name) const=0;
49 virtual IExtrudeSet * create(const QString &name)=0;
51 virtual void removeSet(IExtrudeSet *set)=0;
53 virtual IExtrudeSet * renameSet(const QString& from, const QString& to)=0;
57 virtual const IContainer *getIContainer() const=0;
58
60 virtual bool getMeshUnstructuredOnly() const=0;
61 virtual bool getMeshModeQuad() const=0;
62 virtual bool getMeshStructuredFlag() const=0;
63 virtual bool getMeshMultiStructuredFlag() const=0;
64 virtual int getMeshOptimizationLevel() const=0;
65 virtual double getMeshShapeQualityWeight() const=0;
66 virtual double getMeshQuadrangleWeight() const=0;
67 virtual double getMeshTargetMetric() const=0;
68 virtual double getMeshMaxGradation() const=0;
69
70
72 virtual void activateEdgeDialog(bool b) const=0;
73 virtual bool getNumZoneEdgeEnabled() const=0;
74 virtual bool getLengthZoneEdgeEnabled() const=0;
75 virtual uint32 getDefaultZoneEdgeNum() const=0;
76 virtual double getDefaultZoneEdgeLength() const=0;
77 virtual uint32 getDefaultEdgeSize(double) const=0;
79 virtual bool isContinuousPath() const = 0;
80 virtual bool isParallelEndPath() const = 0;
81 virtual int getExtrudeMode() const = 0;
82 };
83
84} // namespace f3
85// EoF
Provides interface to IExtrudeSet. Contains containers for points, edges and blocks objects.
Definition iextrudeset.h:32
Provides interface to IExtrudeSetList, an IContainer of IExtrudeSet objects.
Definition iextrudesetlist.h:23
virtual void removeSet(IExtrudeSet *set)=0
Remove a IExtrudeSet from container. Returns a pointer to the object.
virtual IExtrudeSet * create(const QString &name)=0
Creates a IExtrudeSet object and adds it to the container. Returns a pointer to the object.
virtual void activateEdgeDialog(bool b) const =0
Return global default edge parameters.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition iextrudesetlist.h:26
virtual const IExtrudeSet * lookupWithName(const QString &name) const =0
Returns a const pointer to a IExtrudeSet which name is parameter name
virtual const IThing * getIThing() const =0
returns its const IThing pointer
virtual IExtrudeSet * lookupWithName(const QString &name)=0
Returns a pointer to a IExtrudeSet which name is parameter name
virtual IExtrudeSet * getCurrent()=0
Returns a pointer to the current body set (IExtrudeSet). May Return nullptr!
virtual IThing * getIThing()=0
returns its IThing pointer
virtual IExtrudeSet * lookupWithID(uint64 id)=0
Returns a pointer to a IExtrudeSet which id is id
virtual const IContainer * getIContainer() const =0
Returns an IContainer interface for the list of all IExtrudeSet objects.
virtual const IExtrudeSet * lookupWithID(uint64 id) const =0
Returns a const pointer to a IExtrudeSet which id is id
virtual IExtrudeSet * renameSet(const QString &from, const QString &to)=0
Looks up and renames an exisiting set. Returns a pointer to the renamed set, if succesfull,...
virtual void clear()=0
Clears its ExtrudeList container.
virtual const IExtrudeSet * getCurrent() const =0
Returns a const pointer to the current body set (IExtrudeSet). May Return nullptr!
virtual bool isContinuousPath() const =0
Return global extrusion path parameters.
virtual bool getMeshUnstructuredOnly() const =0
Return global meshing parameters.
virtual IContainer * getIContainer()=0
Returns an IContainer interface for the list of all IExtrudeSet objects.
Interface for containers of IThings.
Definition icontainer.h:21
Base class for items that will be stored in containers.
Definition ithing.h:30
uint32 TType
class type indicator
Definition basedef.h:46
constexpr D to(const T &t)
This template function serves as an alternative to static_cast<T>().
Definition to.h:28
namespace Itasca
Definition basememory.cpp:14