#include <CCPACSFuselage.h>
Public Member Functions | |
TIGL_EXPORT | CCPACSFuselage (CCPACSFuselages *parent, CTiglUIDManager *uidMgr) |
TIGL_EXPORT void | CreateNewConnectedElementAfter (std::string startElementUID) override |
TIGL_EXPORT void | CreateNewConnectedElementBefore (std::string startElementUID) override |
TIGL_EXPORT void | CreateNewConnectedElementBetween (std::string startElementUID, std::string endElementUID) override |
TIGL_EXPORT void | DeleteConnectedElement (std::string elementUID) override |
TIGL_EXPORT std::vector< std::string > | GetAllUsedProfiles () |
TIGL_EXPORT double | GetCircumference (int segmentIndex, double eta) |
TIGL_EXPORT TiglGeometricComponentIntent | GetComponentIntent () const override |
TIGL_EXPORT TiglGeometricComponentType | GetComponentType () const override |
TIGL_EXPORT CCPACSConfiguration & | GetConfiguration () const |
TIGL_EXPORT std::vector< tigl::CTiglSectionElement * > | GetCTiglElements () |
TIGL_EXPORT std::string | GetDefaultedUID () const override |
TIGL_EXPORT TiglGetPointBehavior const | GetGetPointBehavior () const |
TIGL_EXPORT TiglGetPointBehavior | GetGetPointBehavior () |
TIGL_EXPORT std::vector< gp_Pnt > | GetGuideCurvePoints () const |
TIGL_EXPORT CCPACSGuideCurve & | GetGuideCurveSegment (std::string uid) |
TIGL_EXPORT const CCPACSGuideCurve & | GetGuideCurveSegment (std::string uid) const |
TIGL_EXPORT const TopoDS_Compound & | GetGuideCurveWires () const |
TIGL_EXPORT double | GetLength () |
TIGL_EXPORT PNamedShape | GetLoft (TiglCoordinateSystem cs=GLOBAL_COORDINATE_SYSTEM) const |
TIGL_EXPORT double | GetMaximalHeight () |
TIGL_EXPORT double | GetMaximalWidth () |
TIGL_EXPORT gp_Pnt | GetMinumumDistanceToGround (gp_Ax1 RAxis, double angle) |
TIGL_EXPORT CTiglPoint | GetNoseCenter () |
TIGL_EXPORT std::vector< std::string > | GetOrderedConnectedElement () override |
TIGL_EXPORT gp_Pnt | GetPoint (int segmentIndex, double eta, double zeta) |
TIGL_EXPORT boost::optional< CTiglTransformation > | GetPositioningTransformation (const std::string §ionUID) |
TIGL_EXPORT CCPACSFuselageSection & | GetSection (int index) const |
TIGL_EXPORT int | GetSectionCount () const |
TIGL_EXPORT CCPACSFuselageSegment & | GetSegment (const int index) |
TIGL_EXPORT const CCPACSFuselageSegment & | GetSegment (const int index) const |
TIGL_EXPORT CCPACSFuselageSegment & | GetSegment (std::string uid) |
TIGL_EXPORT int | GetSegmentCount () const |
TIGL_EXPORT double | GetSurfaceArea () |
TIGL_EXPORT double | GetVolume () |
TIGL_EXPORT gp_Lin | Intersection (gp_Pnt pRef, double angleRef) const |
TIGL_EXPORT gp_Lin | Intersection (const CCPACSFuselageStringerFramePosition &pos) const |
TIGL_EXPORT void | Invalidate () |
TIGL_EXPORT TopoDS_Wire | projectConic (TopoDS_Shape wireOrEdge, gp_Pnt origin) const |
TIGL_EXPORT TopoDS_Wire | projectParallel (TopoDS_Shape wireOrEdge, gp_Dir direction) const |
TIGL_EXPORT void | ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &fuselageXPath) override |
TIGL_EXPORT void | SetAllProfiles (const std::string &profileUID) |
TIGL_EXPORT void | SetGetPointBehavior (TiglGetPointBehavior behavior=asParameterOnSurface) |
TIGL_EXPORT void | SetLength (double newLength) |
TIGL_EXPORT void | SetMaxHeight (double newMaxHeight) |
TIGL_EXPORT void | SetMaxWidth (double newMaxWidth) |
TIGL_EXPORT void | SetNoseCenter (const CTiglPoint &newCenter) |
TIGL_EXPORT void | SetRotation (const CTiglPoint &newRotation) |
TIGL_EXPORT | ~CCPACSFuselage () override |
Protected Member Functions | |
void | BuildGuideCurves (TopoDS_Compound &cache) const |
PNamedShape | BuildLoft () const override |
void | Cleanup () |
void | ConnectGuideCurveSegments () |
void | SetFaceTraits (PNamedShape loft) const |
void | SetFuselageHelper (CTiglFuselageHelper &cache) const |
Private Member Functions | |
std::string | GetShortShapeName () const |
Private Attributes | |
BRep_Builder | aBuilder |
TopoDS_Compound | aCompound |
CCPACSConfiguration * | configuration |
FusedElementsContainerType | fusedElements |
Cache< CTiglFuselageHelper, CCPACSFuselage > | fuselageHelper |
TiglGetPointBehavior | getPointBehavior {asParameterOnSurface} |
Cache< TopoDS_Compound, CCPACSFuselage > | guideCurves |
double | myVolume |
Friends | |
class | CCPACSFuselageSegment |
class | CTiglStandardizer |
TIGL_EXPORT tigl::CCPACSFuselage::CCPACSFuselage | ( | CCPACSFuselages * | parent, |
CTiglUIDManager * | uidMgr | ||
) |
|
override |
|
protected |
|
overrideprotected |
|
protected |
|
protected |
|
override |
Create a new section, a new element and connect the element to the "startElement". The new element is placed "after" the start element. If there is already a element after the start element, we split the existing segment and insert the new element between the the two elements.
startElementUID |
|
override |
Create a new section, a new element and connect the element to the "startElement". The new element is placed "Before" the start element. If there is already a element before the start element, we split the existing segment and insert the new element between the the two elements.
startElementUID |
|
override |
Create a new section, a new element and place the new element between the startElement and the endElement.
startElementUID | |
endElementUID |
|
override |
TIGL_EXPORT std::vector<std::string> tigl::CCPACSFuselage::GetAllUsedProfiles | ( | ) |
TIGL_EXPORT double tigl::CCPACSFuselage::GetCircumference | ( | int | segmentIndex, |
double | eta | ||
) |
|
inlineoverride |
|
inlineoverride |
TIGL_EXPORT CCPACSConfiguration& tigl::CCPACSFuselage::GetConfiguration | ( | ) | const |
TIGL_EXPORT std::vector<tigl::CTiglSectionElement*> tigl::CCPACSFuselage::GetCTiglElements | ( | ) |
|
override |
TIGL_EXPORT TiglGetPointBehavior const tigl::CCPACSFuselage::GetGetPointBehavior | ( | ) | const |
TIGL_EXPORT TiglGetPointBehavior tigl::CCPACSFuselage::GetGetPointBehavior | ( | ) |
TIGL_EXPORT std::vector<gp_Pnt> tigl::CCPACSFuselage::GetGuideCurvePoints | ( | ) | const |
TIGL_EXPORT CCPACSGuideCurve& tigl::CCPACSFuselage::GetGuideCurveSegment | ( | std::string | uid | ) |
TIGL_EXPORT const CCPACSGuideCurve& tigl::CCPACSFuselage::GetGuideCurveSegment | ( | std::string | uid | ) | const |
TIGL_EXPORT const TopoDS_Compound& tigl::CCPACSFuselage::GetGuideCurveWires | ( | ) | const |
TIGL_EXPORT double tigl::CCPACSFuselage::GetLength | ( | ) |
TIGL_EXPORT PNamedShape tigl::CCPACSFuselage::GetLoft | ( | TiglCoordinateSystem | cs = GLOBAL_COORDINATE_SYSTEM | ) | const |
TIGL_EXPORT double tigl::CCPACSFuselage::GetMaximalHeight | ( | ) |
TIGL_EXPORT double tigl::CCPACSFuselage::GetMaximalWidth | ( | ) |
TIGL_EXPORT gp_Pnt tigl::CCPACSFuselage::GetMinumumDistanceToGround | ( | gp_Ax1 | RAxis, |
double | angle | ||
) |
TIGL_EXPORT CTiglPoint tigl::CCPACSFuselage::GetNoseCenter | ( | ) |
|
override |
TIGL_EXPORT gp_Pnt tigl::CCPACSFuselage::GetPoint | ( | int | segmentIndex, |
double | eta, | ||
double | zeta | ||
) |
TIGL_EXPORT boost::optional<CTiglTransformation> tigl::CCPACSFuselage::GetPositioningTransformation | ( | const std::string & | sectionUID | ) |
TIGL_EXPORT CCPACSFuselageSection& tigl::CCPACSFuselage::GetSection | ( | int | index | ) | const |
TIGL_EXPORT int tigl::CCPACSFuselage::GetSectionCount | ( | ) | const |
TIGL_EXPORT CCPACSFuselageSegment& tigl::CCPACSFuselage::GetSegment | ( | const int | index | ) |
TIGL_EXPORT const CCPACSFuselageSegment& tigl::CCPACSFuselage::GetSegment | ( | const int | index | ) | const |
TIGL_EXPORT CCPACSFuselageSegment& tigl::CCPACSFuselage::GetSegment | ( | std::string | uid | ) |
TIGL_EXPORT int tigl::CCPACSFuselage::GetSegmentCount | ( | ) | const |
|
private |
TIGL_EXPORT double tigl::CCPACSFuselage::GetSurfaceArea | ( | ) |
TIGL_EXPORT double tigl::CCPACSFuselage::GetVolume | ( | ) |
TIGL_EXPORT gp_Lin tigl::CCPACSFuselage::Intersection | ( | gp_Pnt | pRef, |
double | angleRef | ||
) | const |
TIGL_EXPORT gp_Lin tigl::CCPACSFuselage::Intersection | ( | const CCPACSFuselageStringerFramePosition & | pos | ) | const |
TIGL_EXPORT void tigl::CCPACSFuselage::Invalidate | ( | ) |
TIGL_EXPORT TopoDS_Wire tigl::CCPACSFuselage::projectConic | ( | TopoDS_Shape | wireOrEdge, |
gp_Pnt | origin | ||
) | const |
TIGL_EXPORT TopoDS_Wire tigl::CCPACSFuselage::projectParallel | ( | TopoDS_Shape | wireOrEdge, |
gp_Dir | direction | ||
) | const |
|
override |
TIGL_EXPORT void tigl::CCPACSFuselage::SetAllProfiles | ( | const std::string & | profileUID | ) |
Set the profile uid of all the section elements of this fuselage.
profileUID | ; the profile UID to use |
|
protected |
|
protected |
TIGL_EXPORT void tigl::CCPACSFuselage::SetGetPointBehavior | ( | TiglGetPointBehavior | behavior = asParameterOnSurface | ) |
TIGL_EXPORT void tigl::CCPACSFuselage::SetLength | ( | double | newLength | ) |
TIGL_EXPORT void tigl::CCPACSFuselage::SetMaxHeight | ( | double | newMaxHeight | ) |
TIGL_EXPORT void tigl::CCPACSFuselage::SetMaxWidth | ( | double | newMaxWidth | ) |
TIGL_EXPORT void tigl::CCPACSFuselage::SetNoseCenter | ( | const CTiglPoint & | newCenter | ) |
TIGL_EXPORT void tigl::CCPACSFuselage::SetRotation | ( | const CTiglPoint & | newRotation | ) |
|
friend |
|
friend |
|
private |
|
private |
|
private |
Parent configuration
|
private |
Stores already fused segments
|
private |
|
private |
|
private |
|
private |
Volume of this fuselage