OpenLexocad
28.0
|
TThe WallStandardCase defines a wall with certain constraints for the provision of parameters and with certain constraints for the geometric representation. The WallStandardCase handles all cases of walls, that are extruded vertically: More...
#include <WallStandardCase.h>
Public Member Functions | |
virtual | ~WallStandardCase (void) |
virtual bool | setGeometry (std::shared_ptr< Geometry > geo) override |
![]() | |
void | setPredefinedType (WallTypeEnum aType) |
WallTypeEnum | getPredefinedType () const |
virtual | ~Wall (void) |
![]() | |
void | setPlacementRelativeTo (std::shared_ptr< Element > other) |
void | setPlacementRelativeTo (std::shared_ptr< Element > other, bool keepGlobalPosition) |
std::shared_ptr< Element > | getPlacementRelativeTo () const |
bool | setLayer (int layernumber) |
int | getLayer () const |
void | addOpeningElement (std::shared_ptr< OpeningElement > aOpening) |
void | removeOpeningElement (std::shared_ptr< OpeningElement > aOpening) |
void | removeOpeningElements () |
std::vector< std::shared_ptr< OpeningElement > > | getOpeningElements () const |
void | addParamCutHardElement (std::shared_ptr< Element > aElement) |
void | addParamCutSoftElement (std::shared_ptr< Element > aElement) |
void | removeParamCutHardElement (std::shared_ptr< Element > aElement) |
void | removeParamCutSoftElement (std::shared_ptr< Element > aElement) |
std::vector< std::shared_ptr< Element > > | getParamCutHardElements (bool includeAggregatedElements=false) const |
std::vector< std::shared_ptr< Element > > | getParamCutSoftElements () const |
bool | isParamCutHardElement () const |
bool | isParamCutSoftElement () const |
void | addSubElement (std::shared_ptr< SubElement > aSubElement) |
std::vector< std::shared_ptr< SubElement > > | getSubElements () const |
void | removeSubElement (std::shared_ptr< SubElement > aSubElement) |
void | removeSubElements () |
std::shared_ptr< OpeningElement > | getFilledOpeningElement () const |
void | setAssociatedMaterial (std::shared_ptr< MaterialDefinition > aMaterialDefinition) |
void | removeAssociatedMaterial () |
std::shared_ptr< MaterialSelect > | getAssociatedMaterial () const |
bool | isTemporary () const |
void | setTemporary (bool on) |
std::shared_ptr< Group > | getGroup () const |
std::shared_ptr< Element > | copy () const |
Topo::Cdwk_SAT_Attributes | get_Cdwk_SAT_Attributes () const |
Base::String | getTag () const |
void | setTag (const Base::String &aTag) |
void | setCdwkAttributeData (const CdwkAttributeData &aData) |
std::string | getCadworkGroup () const |
void | setBoundingBoxEnabled (bool enabled) |
std::shared_ptr< OpenLxApp::Geometry > | getAxisRepresentation () const |
bool | setAxisRepresentation (std::shared_ptr< OpenLxApp::Geometry > aGeometry) const |
std::shared_ptr< OpenLxApp::Geometry > | getSolidModelRepresentation () const |
bool | setSolidModelRepresentation (std::shared_ptr< OpenLxApp::Geometry > aGeometry) const |
void | showAxisRepresentation () const |
void | showSolidModelRepresentation () const |
std::vector< std::shared_ptr< Element > > | getElementsConnectedAtEnd () const |
std::vector< std::shared_ptr< Element > > | getElementsConnectedAtStart () const |
std::vector< int > | getJointsTypeAtEnd () const |
std::vector< int > | getJointsTypeAtStart () const |
virtual | ~Element ()=default |
![]() | |
std::shared_ptr< Geometry > | getGeometry () const |
Geom::Trsf | getGeometryToWorldTransform () const |
Geom::Bnd_Box | getBoundingBox () const |
Geom::Ax2 | getLocalPlacement () const |
void | setLocalPlacement (const Geom::Ax2 &pos) |
Geom::Trsf | getTransform () const |
Geom::Trsf | getLocalToWorldTransform () const |
void | setTransform (const Geom::Trsf &t) |
void | translate (const Geom::Vec &aVec, Geom::CoordSpace aCoordSpace=Geom::CoordSpace::WCS) |
void | rotate (const Geom::Ax1 &axis, double angle, Geom::CoordSpace aCoordSpace=Geom::CoordSpace::WCS) |
bool | getLocalAxes (Geom::Ax2 &localAxes) |
void | setLocalAxes (const Geom::Dir &zHeight, const Geom::Dir &xLength) |
pConstShape | getShape () const |
pConstShape | getLocalShape () const |
void | setOglMaterial (const Draw::OglMaterial &mat, int faceIndex=-1) |
Draw::OglMaterial | getOglMaterial () const |
void | setAmbientColor (const Base::Color &aCol) |
void | setDiffuseColor (const Base::Color &aCol) |
void | setSpecularColor (const Base::Color &aCol) |
void | setEmissiveColor (const Base::Color &aCol) |
void | setReflectiveColor (const Base::Color &aCol) |
void | setShininess (int aVal) |
void | setTransparency (int aVal) |
void | setDrawStyle (const Draw::DrawStyle &ds) |
Draw::DrawStyle | getDrawStyle () const |
void | setLineWidth (float width) |
void | setTexture (const Draw::Texture2 &tex, int faceIndex=-1) |
void | setLengthAndCrossTexture (const Draw::Texture2 &lengthTexture, const Draw::Texture2 &crossTexture, const Draw::Texture2Transform &lengthTextureTrsf=Draw::Texture2Transform(), const Draw::Texture2Transform &crossTextureTrsf=Draw::Texture2Transform()) |
std::shared_ptr< SpatialStructureElement > | getSpatialStructure () const |
void | setSpatialStructure (std::shared_ptr< SpatialStructureElement > aSpatialStructureElement) |
void | setPositionNb (long value) |
long | getPositionNb () const |
bool | isVisible () const |
void | setVisible (bool onoff) |
bool | registerPythonClass (const std::string &aClassName, const std::string &aParentClassName) |
virtual Base::GlobalId | getGlobalClassId () const |
std::shared_ptr< PropertyInteger > | registerPropertyInteger (const std::string &aName, int aDefaultValue, Property::Visible aVisible=Property::VISIBLE, Property::Editable aEditable=Property::EDITABLE, int aTranslationId=-1) |
std::shared_ptr< PropertyEnum > | registerPropertyEnum (const std::string &aName, int aDefaultValue, Property::Visible aVisible=Property::VISIBLE, Property::Editable aEditable=Property::EDITABLE, int aTranslationId=-1) |
std::shared_ptr< PropertyDouble > | registerPropertyDouble (const std::string &aName, double aDefaultValue, Property::Visible aVisible=Property::VISIBLE, Property::Editable aEditable=Property::EDITABLE, int aTranslationId=-1) |
std::shared_ptr< PropertyButton > | registerPropertyButton (const std::string &aName, Property::Visible aVisible=Property::VISIBLE, Property::Editable aEditable=Property::EDITABLE, int aTranslationId=-1) |
std::shared_ptr< PropertyBool > | registerPropertyBool (const std::string &aName, bool aDefaultValue, Property::Visible aVisible=Property::VISIBLE, Property::Editable aEditable=Property::EDITABLE, int aTranslationId=-1) |
std::shared_ptr< PropertyString > | registerPropertyString (const std::string &aName, Base::String aDefaultValue, Property::Visible aVisible=Property::VISIBLE, Property::Editable aEditable=Property::EDITABLE, int aTranslationId=-1) |
std::shared_ptr< PropertyColor > | registerPropertyColor (const std::string &aName, Base::Color aDefaultValue, Property::Visible aVisible=Property::VISIBLE, Property::Editable aEditable=Property::EDITABLE, int aTranslationId=-1) |
std::shared_ptr< OpenLxApp::Property > | getProperty (const std::string &aName) const |
std::map< std::string, std::shared_ptr< Property > > | getPropertyMap () const |
std::shared_ptr< PropertyInteger > | getPropertyInteger (const std::string &aName) const |
std::shared_ptr< PropertyEnum > | getPropertyEnum (const std::string &aName) const |
std::shared_ptr< PropertyDouble > | getPropertyDouble (const std::string &aName) const |
std::shared_ptr< PropertyButton > | getPropertyButton (const std::string &aName) const |
std::shared_ptr< PropertyBool > | getPropertyBool (const std::string &aName) const |
std::shared_ptr< PropertyString > | getPropertyString (const std::string &aName) const |
std::shared_ptr< PropertyColor > | getPropertyColor (const std::string &aName) const |
bool | isRegisteredProperty (const std::string &aName) const |
void | updatePythonProductVersion () |
virtual int | getScriptVersion () |
virtual void | convertFromOldVersion (int pythonProductVersion) |
virtual void | onPropertyChanged (const std::string &aPropertyName) |
virtual void | onScaling (const Geom::Vec &aVec, const Geom::Pnt &aScaleBasePnt) |
virtual void | translateAfterScaled (const Geom::Vec &aVec, const Geom::Pnt &aScaleBasePnt) |
void | setStandardManipulatorPolicy (const Core::StandardManipulatorPolicy &aPolicy) |
void | setPropertyHeader (const Base::String &aDefaultName, int aTranslationId) |
void | setPropertyHeader (const Base::String &aDefaultName) |
void | setPropertyGroupName (const Base::String &aDefaultName, int aTranslationId) |
void | setPropertyGroupName (const Base::String &aDefaultName) |
Base::String | getPropertyHeader () const |
Base::String | getPropertyGroupName () const |
std::shared_ptr< PropertyUser > | getPropertyUser (const std::string &aName) const |
std::vector< std::shared_ptr< PropertyUser > > | getPropertyUser () const |
std::vector< Base::String > | getPropertySetNames () const |
std::shared_ptr< PropertySet > | getPropertySetByName (const Base::String &aName) const |
virtual | ~Product (void) |
ExternalPythonTypeObject * | getExternalPythonTypeObject () const |
void | setExternalPythonTypeObject (ExternalPythonTypeObject *aObj) |
void | removeExternalTypeObject () |
![]() | |
virtual | ~Object (void) |
![]() | |
std::vector< std::shared_ptr< ObjectDefinition > > | getDecompositionObjects () const |
std::vector< std::shared_ptr< ObjectDefinition > > | getAllDecompositionObjects () const |
std::shared_ptr< ObjectDefinition > | getDecomposedObject () const |
std::vector< std::shared_ptr< ObjectDefinition > > | getAllDecomposedObjects () const |
void | addAggregationObject (std::shared_ptr< ObjectDefinition > aObject) |
void | addAggregationObjects (const std::vector< std::shared_ptr< ObjectDefinition >> &aObjects) |
void | removeAggregationObject (std::shared_ptr< ObjectDefinition > aObject) |
void | removeAggregationObjects () |
std::vector< std::shared_ptr< ObjectDefinition > > | getAggregationObjects () const |
std::vector< std::shared_ptr< ObjectDefinition > > | getAllAggregationObjects () const |
std::shared_ptr< ObjectDefinition > | getAggregatedObject () const |
std::vector< std::shared_ptr< ObjectDefinition > > | getAllAggregatedObjects () const |
void | addAssociationObject (std::shared_ptr< Root > aObject) |
std::vector< std::shared_ptr< Root > > | getAssociationObjects () const |
std::shared_ptr< LxIfcBase::LxIfcProperty > | getIfcPropertySets () const |
virtual | ~ObjectDefinition (void) |
![]() | |
Base::GlobalId | getGlobalId () const |
bool | setGlobalId (const Base::GlobalId &aGlobalId) |
void | setUserName (const Base::String &aName) |
Base::String | getUserName () const |
virtual | ~Root (void) |
![]() | |
std::shared_ptr< Document > | getDocument () const |
bool | isNew () const |
bool | isUpdated () const |
bool | isValid () const |
bool | hasErrors () const |
void | touch () |
LxIfc4::LxIfc4EntityEnum | getEntityType () const |
std::string | getEntityTypeAsString () const |
std::shared_ptr< Core::DbgInfo > | getDbgInfo () const |
DocObject (Core::DocObject *aObject) | |
virtual | ~DocObject (void) |
Core::DocObject * | __getObj__ () const |
Protected Member Functions | |
WallStandardCase () | |
![]() | |
Wall () | |
![]() | |
Element ()=default | |
void | _copySubElems (App::Element *fromElem, std::shared_ptr< Element > toElem) const |
![]() | |
void | onChange (Core::DocObject *aCaller, const Core::DocObjectObserverMsg &aReason) override |
Product () | |
![]() | |
Object () | |
![]() | |
ObjectDefinition () | |
![]() | |
Root () | |
![]() | |
DocObject () | |
Additional Inherited Members | |
![]() | |
enum | WallTypeEnum { WallTypeEnum::MOVABLE, WallTypeEnum::PARAPET, WallTypeEnum::PARTITIONING, WallTypeEnum::PLUMBINGWALL, WallTypeEnum::SHEAR, WallTypeEnum::SOLIDWALL, WallTypeEnum::STANDARD, WallTypeEnum::POLYGONAL, WallTypeEnum::ELEMENTEDWALL, WallTypeEnum::USERDEFINED, WallTypeEnum::NOTDEFINED } |
![]() | |
Core::DocObject * | _coreObj = nullptr |
TThe WallStandardCase defines a wall with certain constraints for the provision of parameters and with certain constraints for the geometric representation. The WallStandardCase handles all cases of walls, that are extruded vertically:
and have a single thickness along the path for each wall layer, i.e.:
and have either:
and shall not have
The following parameter have to be provided:
|
virtual |
|
inlineprotected |
|
overridevirtual |
Reimplemented from OpenLxApp::Product.