SHAPER  9.12.0
Model_ResultBody Class Referenceabstract

The body (shape) result of a feature. More...

Inheritance diagram for Model_ResultBody:
Inheritance graph

Public Types

enum  ConnectedTopologyFlag { ConnectionNotComputed , IsConnected , IsNotConnected }
 Internal enumeration for storage the information of connected topology flag. More...
 

Public Member Functions

virtual ~Model_ResultBody ()
 Removes the stored builders. More...
 
virtual void initAttributes ()
 Request for initialization of data model of the result body: adding all attributes. More...
 
virtual bool generated (const GeomShapePtr &theNewShape, const std::string &theName, const bool theCheckIsInResult=true) override
 Records the subshape newShape which was generated during a topological construction. More...
 
virtual void loadGeneratedShapes (const std::shared_ptr< GeomAlgoAPI_MakeShape > &theAlgo, const GeomShapePtr &theOldShape, const GeomAPI_Shape::ShapeType theShapeTypeToExplore, const std::string &theName="", const bool theSaveOldIfNotInTree=false) override
 load generated shapes More...
 
virtual void loadModifiedShapes (const std::shared_ptr< GeomAlgoAPI_MakeShape > &theAlgo, const GeomShapePtr &theOldShape, const GeomAPI_Shape::ShapeType theShapeTypeToExplore, const std::string &theName="") override
 load modified shapes for sub-objects More...
 
virtual void loadFirstLevel (GeomShapePtr theShape, const std::string &theName)
 load shapes of the first level (to be used during shape import) More...
 
virtual int numberOfSubs (bool forTree=false) const
 Returns the number of sub-elements. More...
 
virtual ResultBodyPtr subResult (const int theIndex, bool forTree=false) const
 Returns the sub-result by zero-base index. More...
 
virtual bool isSub (ObjectPtr theObject, int &theIndex) const
 Returns true if feature or result belong to this composite feature as subs Returns theIndex - zero based index of sub if found. More...
 
virtual void colorConfigInfo (std::string &theSection, std::string &theName, std::string &theDefault)
 Returns the parameters of color definition in the resources configuration manager. More...
 
virtual bool setDisabled (std::shared_ptr< ModelAPI_Result > theThis, const bool theFlag)
 Disables the result body: keeps the resulting shape as selection, but erases the underlaying naming data structure if theFlag if false. More...
 
virtual bool isConcealed ()
 The compsolid is concealed if at least one of the sub is concealed. More...
 
virtual void setIsConcealed (const bool theValue, const bool theForced=false)
 Sets all subs as concealed in the data tree (referenced by other objects) More...
 
virtual bool isConnectedTopology ()
 Returns true is the topology is connected. More...
 
virtual void cleanCash () override
 Cleans cash related to the already stored elements. More...
 
virtual bool hasTexture () override
 sets the texture file More...
 
virtual const std::vector< int > & findShapeColor (const std::wstring &theShapeName)
 Find the imported color by the construction name of a shape. More...
 
virtual std::string groupName ()
 Returns the group identifier of this result. More...
 
virtual void store (const GeomShapePtr &theShape, const bool theIsStoreSameShapes=true)
 Stores the shape (called by the execution method). More...
 
virtual void storeGenerated (const GeomShapePtr &theFromShape, const GeomShapePtr &theToShape)
 Stores the generated shape (called by the execution method). More...
 
virtual void storeGenerated (const std::list< GeomShapePtr > &theFromShapes, const GeomShapePtr &theToShape, const std::shared_ptr< GeomAlgoAPI_MakeShape > theMakeShape)
 Stores the root modified shapes (called by the execution method). More...
 
virtual void storeModified (const GeomShapePtr &theOldShape, const GeomShapePtr &theNewShape, const bool theIsCleanStored=true)
 Stores the modified shape (called by the execution method). More...
 
virtual void storeModified (const std::list< GeomShapePtr > &theOldShapes, const GeomShapePtr &theNewShape, const std::shared_ptr< GeomAlgoAPI_MakeShape > theMakeShape)
 Stores the root modified shapes (called by the execution method). More...
 
virtual GeomShapePtr shape ()
 Returns the shape-result produced by this feature. More...
 
virtual void generated (const GeomShapePtr &theOldShape, const GeomShapePtr &theNewShape, const std::string &theName="")
 Records the shape newShape which was generated from the shape oldShape during a topological construction. More...
 
virtual void modified (const GeomShapePtr &theOldShape, const GeomShapePtr &theNewShape, const std::string &theName="")
 Records the shape newShape which is a modification of the shape oldShape. More...
 
virtual void loadDeletedShapes (const std::shared_ptr< GeomAlgoAPI_MakeShape > &theAlgo, const GeomShapePtr &theOldShape, const GeomAPI_Shape::ShapeType theShapeTypeToExplore, const GeomShapePtr &theShapesToExclude=GeomShapePtr())
 load deleted shapes More...
 
virtual void setDisplayed (const bool theDisplay)
 Set displayed flag to the result and all sub results. More...
 
virtual void setShapeName (std::map< std::wstring, std::shared_ptr< GeomAPI_Shape > > &theShapeName, std::map< std::wstring, std::vector< int >> &theColorsShape)=0
 Set the map of name and color read shape in step file. More...
 
virtual bool isDisabled ()
 Returns the result is disabled or not. More...
 
virtual void attributeChanged (const std::string &theID)
 On change of attribute of the result update presentation of this result: for the current moment there are only presentation attributes assigned to results. More...
 
virtual bool isInHistory ()
 By default object is displayed in the object browser. More...
 
virtual void setInHistory (const std::shared_ptr< ModelAPI_Object > theObject, const bool theFlag)
 Makes object presented or not in the history of the created objects. More...
 
virtual std::shared_ptr< ModelAPI_Datadata () const
 Returns the data manager of this object: attributes. More...
 
virtual bool isSame (const std::shared_ptr< ModelAPI_Object > &theObject)
 Returns true if object refers to the same data model instance. More...
 
virtual std::shared_ptr< ModelAPI_Documentdocument () const
 Returns document this feature belongs to. More...
 
virtual bool isDisplayed ()
 Returns true if object must be displayed in the viewer: flag is stored in the data model, so on undo/redo, open/save or recreation of object by history-playing it keeps the original state in the current transaction. More...
 
virtual void emptyFunction () const
 Empty function which is added for virtualiation of the interface. More...
 

Static Public Member Functions

static const std::string & IMAGE_ID ()
 Reference to the image attribute of the result body. More...
 
static std::string group ()
 Returns the group identifier of this result. More...
 
static const std::string & DEFAULT_COLOR ()
 default color for a result body More...
 
static const std::string DEFAULT_DEFLECTION ()
 default deflection for a result body More...
 
static const std::string & COLOR_ID ()
 Reference to the color of the result. More...
 
static const std::string & DEFLECTION_ID ()
 Reference to the deflection of the result. More...
 
static const std::string & TRANSPARENCY_ID ()
 Reference to the transparency of the result. More...
 
static const std::string & ISO_LINES_ID ()
 Reference to the transparency of the result. More...
 
static const std::string & SHOW_ISO_LINES_ID ()
 Reference to the transparency of the result. More...
 
static const std::string & SHOW_EDGES_DIRECTION_ID ()
 Reference to the transparency of the result. More...
 
static const std::string & BRING_TO_FRONT_ID ()
 Reference to the BringToFront flag of the result. More...
 

Protected Member Functions

 Model_ResultBody ()
 Makes a body on the given feature. More...
 
void updateSubs (const std::shared_ptr< GeomAPI_Shape > &theThisShape, const bool theShapeChanged=true)
 Updates the sub-bodies if shape of this object is composite-solid. More...
 
void updateSubs (const GeomShapePtr &theThisShape, const std::list< GeomShapePtr > &theOlds, const std::shared_ptr< GeomAlgoAPI_MakeShape > theMakeShape, const bool isGenerated)
 Updates the sub-bodies in accordance to the algorithm history information. More...
 
void updateConcealment ()
 Checks the state of children and parents to send events of creation/erase when needed. More...
 
void computeOldForSub (const GeomShapePtr &theSub, const std::list< GeomShapePtr > &theAllOlds, std::list< GeomShapePtr > &theOldForSub)
 Adds to theOldForSub only old shapes that where used for theSub creation. More...
 
std::wstring addShapeName (std::shared_ptr< GeomAPI_Shape >, const std::wstring &theName) override
 Add shape Name for read shape in step file. More...
 
void addShapeColor (const std::wstring &theName, std::vector< int > &color) override
 Add color for shape Name read shape in step file. More...
 
void setShapeName (std::map< std::wstring, std::shared_ptr< GeomAPI_Shape >> &theShapeName, std::map< std::wstring, std::vector< int >> &theColorsShape) override
 Set the map of name and color read shape in step file. More...
 
std::wstring findShapeName (std::shared_ptr< GeomAPI_Shape > theShape) override
 Find the name of shape read in step file. More...
 
void clearShapeNameAndColor () override
 Clear the map of name and color read shape in step file. More...
 
virtual void init ()
 This method is called just after creation of the object: it must initialize all fields, normally initialized in the constructor. More...
 
virtual void setData (std::shared_ptr< ModelAPI_Data > theData)
 Sets the data manager of an object (document does) More...
 
virtual void setDoc (std::shared_ptr< ModelAPI_Document > theDoc)
 Sets the data manager of an object (document does) More...
 
virtual void erase ()
 removes all fields from this feature More...
 

Protected Attributes

std::map< std::wstring, std::shared_ptr< GeomAPI_Shape > > myNamesShape
 map with the name read in step file and shape More...
 
std::map< std::wstring, std::vector< int > > myColorsShape
 map from the construction name to the imported color More...
 
ConnectedTopologyFlag myConnect
 Keeps (not persistently) the connected topology flag. More...
 
ModelAPI_BodyBuildermyBuilder
 provides the body processing in naming shape More...
 
bool myIsDisabled
 the result is disabled: removed for the user, but keeps the general info More...
 

Friends

class Model_Objects
 

Detailed Description

The body (shape) result of a feature.

Provides a shape that may be displayed in the viewer. May provide really huge results, so, working with this kind of result must be optimized. Also provides a container of sub-body result in case it is compound or compsolid.

Member Enumeration Documentation

◆ ConnectedTopologyFlag

Internal enumeration for storage the information of connected topology flag.

Enumerator
ConnectionNotComputed 

not yet computed

IsConnected 

the topology is connected

IsNotConnected 

the topology is connected

Constructor & Destructor Documentation

◆ ~Model_ResultBody()

Model_ResultBody::~Model_ResultBody ( )
virtual

Removes the stored builders.

◆ Model_ResultBody()

Model_ResultBody::Model_ResultBody ( )
protected

Makes a body on the given feature.

Member Function Documentation

◆ initAttributes()

void Model_ResultBody::initAttributes ( )
virtual

Request for initialization of data model of the result body: adding all attributes.

Reimplemented from ModelAPI_Result.

◆ generated() [1/2]

bool Model_ResultBody::generated ( const GeomShapePtr &  theNewShape,
const std::string &  theName,
const bool  theCheckIsInResult = true 
)
overridevirtual

Records the subshape newShape which was generated during a topological construction.

As an example, consider the case of a face generated in construction of a box.

Implements ModelAPI_ResultBody.

◆ loadGeneratedShapes()

void Model_ResultBody::loadGeneratedShapes ( const std::shared_ptr< GeomAlgoAPI_MakeShape > &  theAlgo,
const GeomShapePtr &  theOldShape,
const GeomAPI_Shape::ShapeType  theShapeTypeToExplore,
const std::string &  theName = "",
const bool  theSaveOldIfNotInTree = false 
)
overridevirtual

load generated shapes

Implements ModelAPI_ResultBody.

◆ loadModifiedShapes()

void Model_ResultBody::loadModifiedShapes ( const std::shared_ptr< GeomAlgoAPI_MakeShape > &  theAlgo,
const GeomShapePtr &  theOldShape,
const GeomAPI_Shape::ShapeType  theShapeTypeToExplore,
const std::string &  theName = "" 
)
overridevirtual

load modified shapes for sub-objects

Implements ModelAPI_ResultBody.

◆ loadFirstLevel()

void Model_ResultBody::loadFirstLevel ( GeomShapePtr  theShape,
const std::string &  theName 
)
virtual

load shapes of the first level (to be used during shape import)

Implements ModelAPI_ResultBody.

◆ numberOfSubs()

int Model_ResultBody::numberOfSubs ( bool  forTree = false) const
virtual

Returns the number of sub-elements.

Implements ModelAPI_ResultBody.

◆ subResult()

ResultBodyPtr Model_ResultBody::subResult ( const int  theIndex,
bool  forTree = false 
) const
virtual

Returns the sub-result by zero-base index.

Implements ModelAPI_ResultBody.

◆ isSub()

bool Model_ResultBody::isSub ( ObjectPtr  theObject,
int &  theIndex 
) const
virtual

Returns true if feature or result belong to this composite feature as subs Returns theIndex - zero based index of sub if found.

Implements ModelAPI_ResultBody.

◆ colorConfigInfo()

void Model_ResultBody::colorConfigInfo ( std::string &  theSection,
std::string &  theName,
std::string &  theDefault 
)
virtual

Returns the parameters of color definition in the resources configuration manager.

Reimplemented from ModelAPI_Object.

◆ setDisabled()

bool Model_ResultBody::setDisabled ( std::shared_ptr< ModelAPI_Result theThis,
const bool  theFlag 
)
virtual

Disables the result body: keeps the resulting shape as selection, but erases the underlaying naming data structure if theFlag if false.

Or restores every thing on theFlag is true.

Reimplemented from ModelAPI_Result.

◆ isConcealed()

bool Model_ResultBody::isConcealed ( )
virtual

The compsolid is concealed if at least one of the sub is concealed.

Reimplemented from ModelAPI_Result.

◆ setIsConcealed()

void Model_ResultBody::setIsConcealed ( const bool  theValue,
const bool  theForced = false 
)
virtual

Sets all subs as concealed in the data tree (referenced by other objects)

Reimplemented from ModelAPI_Result.

◆ isConnectedTopology()

bool Model_ResultBody::isConnectedTopology ( )
virtual

Returns true is the topology is connected.

Implements ModelAPI_ResultBody.

◆ cleanCash()

void Model_ResultBody::cleanCash ( )
overridevirtual

Cleans cash related to the already stored elements.

Implements ModelAPI_ResultBody.

◆ hasTexture()

bool Model_ResultBody::hasTexture ( )
overridevirtual

sets the texture file

Reimplemented from ModelAPI_Object.

◆ findShapeColor()

const std::vector< int > & Model_ResultBody::findShapeColor ( const std::wstring &  theShapeName)
virtual

Find the imported color by the construction name of a shape.

Returns empty vector if not found.

Implements ModelAPI_ResultBody.

◆ updateSubs() [1/2]

void Model_ResultBody::updateSubs ( const std::shared_ptr< GeomAPI_Shape > &  theThisShape,
const bool  theShapeChanged = true 
)
protectedvirtual

Updates the sub-bodies if shape of this object is composite-solid.

Implements ModelAPI_ResultBody.

◆ updateSubs() [2/2]

void Model_ResultBody::updateSubs ( const GeomShapePtr &  theThisShape,
const std::list< GeomShapePtr > &  theOlds,
const std::shared_ptr< GeomAlgoAPI_MakeShape theMakeShape,
const bool  isGenerated 
)
protectedvirtual

Updates the sub-bodies in accordance to the algorithm history information.

Implements ModelAPI_ResultBody.

◆ updateConcealment()

void Model_ResultBody::updateConcealment ( )
protected

Checks the state of children and parents to send events of creation/erase when needed.

◆ computeOldForSub()

void Model_ResultBody::computeOldForSub ( const GeomShapePtr &  theSub,
const std::list< GeomShapePtr > &  theAllOlds,
std::list< GeomShapePtr > &  theOldForSub 
)
protected

Adds to theOldForSub only old shapes that where used for theSub creation.

◆ addShapeName()

std::wstring Model_ResultBody::addShapeName ( std::shared_ptr< GeomAPI_Shape theshape,
const std::wstring &  theName 
)
overrideprotectedvirtual

Add shape Name for read shape in step file.

Implements ModelAPI_ResultBody.

◆ addShapeColor()

void Model_ResultBody::addShapeColor ( const std::wstring &  theName,
std::vector< int > &  color 
)
overrideprotectedvirtual

Add color for shape Name read shape in step file.

Implements ModelAPI_ResultBody.

◆ setShapeName() [1/2]

void Model_ResultBody::setShapeName ( std::map< std::wstring, std::shared_ptr< GeomAPI_Shape >> &  theShapeName,
std::map< std::wstring, std::vector< int >> &  theColorsShape 
)
overrideprotected

Set the map of name and color read shape in step file.

◆ findShapeName()

std::wstring Model_ResultBody::findShapeName ( std::shared_ptr< GeomAPI_Shape theShape)
overrideprotectedvirtual

Find the name of shape read in step file.

Implements ModelAPI_ResultBody.

◆ clearShapeNameAndColor()

void Model_ResultBody::clearShapeNameAndColor ( )
overrideprotectedvirtual

Clear the map of name and color read shape in step file.

Implements ModelAPI_ResultBody.

◆ IMAGE_ID()

static const std::string& ModelAPI_ResultBody::IMAGE_ID ( )
inlinestaticinherited

Reference to the image attribute of the result body.

◆ groupName()

std::string ModelAPI_ResultBody::groupName ( )
virtualinherited

Returns the group identifier of this result.

Implements ModelAPI_Object.

◆ group()

static std::string ModelAPI_ResultBody::group ( )
inlinestaticinherited

Returns the group identifier of this result.

◆ DEFAULT_COLOR()

static const std::string& ModelAPI_ResultBody::DEFAULT_COLOR ( )
inlinestaticinherited

default color for a result body

◆ DEFAULT_DEFLECTION()

static const std::string ModelAPI_ResultBody::DEFAULT_DEFLECTION ( )
inlinestaticinherited

default deflection for a result body

◆ store()

void ModelAPI_ResultBody::store ( const GeomShapePtr &  theShape,
const bool  theIsStoreSameShapes = true 
)
virtualinherited

Stores the shape (called by the execution method).

param[in] theShape shape to store. param[in] theIsStoreSameShapes if false stores reference to the same shape if it is already in document.

◆ storeGenerated() [1/2]

void ModelAPI_ResultBody::storeGenerated ( const GeomShapePtr &  theFromShape,
const GeomShapePtr &  theToShape 
)
virtualinherited

Stores the generated shape (called by the execution method).

◆ storeGenerated() [2/2]

void ModelAPI_ResultBody::storeGenerated ( const std::list< GeomShapePtr > &  theFromShapes,
const GeomShapePtr &  theToShape,
const std::shared_ptr< GeomAlgoAPI_MakeShape theMakeShape 
)
virtualinherited

Stores the root modified shapes (called by the execution method).

◆ storeModified() [1/2]

void ModelAPI_ResultBody::storeModified ( const GeomShapePtr &  theOldShape,
const GeomShapePtr &  theNewShape,
const bool  theIsCleanStored = true 
)
virtualinherited

Stores the modified shape (called by the execution method).

◆ storeModified() [2/2]

void ModelAPI_ResultBody::storeModified ( const std::list< GeomShapePtr > &  theOldShapes,
const GeomShapePtr &  theNewShape,
const std::shared_ptr< GeomAlgoAPI_MakeShape theMakeShape 
)
virtualinherited

Stores the root modified shapes (called by the execution method).

◆ shape()

GeomShapePtr ModelAPI_ResultBody::shape ( )
virtualinherited

Returns the shape-result produced by this feature.

Reimplemented from ModelAPI_Result.

◆ generated() [2/2]

void ModelAPI_ResultBody::generated ( const GeomShapePtr &  theOldShape,
const GeomShapePtr &  theNewShape,
const std::string &  theName = "" 
)
virtualinherited

Records the shape newShape which was generated from the shape oldShape during a topological construction.

As an example, consider the case of a face generated from an edge in construction of a prism.

◆ modified()

void ModelAPI_ResultBody::modified ( const GeomShapePtr &  theOldShape,
const GeomShapePtr &  theNewShape,
const std::string &  theName = "" 
)
virtualinherited

Records the shape newShape which is a modification of the shape oldShape.

As an example, consider the case of a face split or merged in a Boolean operation.

◆ loadDeletedShapes()

void ModelAPI_ResultBody::loadDeletedShapes ( const std::shared_ptr< GeomAlgoAPI_MakeShape > &  theAlgo,
const GeomShapePtr &  theOldShape,
const GeomAPI_Shape::ShapeType  theShapeTypeToExplore,
const GeomShapePtr &  theShapesToExclude = GeomShapePtr() 
)
virtualinherited

load deleted shapes

◆ setDisplayed()

void ModelAPI_ResultBody::setDisplayed ( const bool  theDisplay)
virtualinherited

Set displayed flag to the result and all sub results.

Parameters
theDisplaya boolean value

Reimplemented from ModelAPI_Object.

◆ setShapeName() [2/2]

virtual void ModelAPI_ResultBody::setShapeName ( std::map< std::wstring, std::shared_ptr< GeomAPI_Shape > > &  theShapeName,
std::map< std::wstring, std::vector< int >> &  theColorsShape 
)
pure virtualinherited

Set the map of name and color read shape in step file.

◆ COLOR_ID()

static const std::string& ModelAPI_Result::COLOR_ID ( )
inlinestaticinherited

Reference to the color of the result.

The integer array is used. It contains three values for red, green and blue values. The values are in [0, 255] range

◆ DEFLECTION_ID()

static const std::string& ModelAPI_Result::DEFLECTION_ID ( )
inlinestaticinherited

Reference to the deflection of the result.

The double value is used. The value is in [0, 1] range

◆ TRANSPARENCY_ID()

static const std::string& ModelAPI_Result::TRANSPARENCY_ID ( )
inlinestaticinherited

Reference to the transparency of the result.

The double value is used. The value is in [0, 1] range

◆ ISO_LINES_ID()

static const std::string& ModelAPI_Result::ISO_LINES_ID ( )
inlinestaticinherited

Reference to the transparency of the result.

The double value is used. The value is in [0, 1] range

◆ SHOW_ISO_LINES_ID()

static const std::string& ModelAPI_Result::SHOW_ISO_LINES_ID ( )
inlinestaticinherited

Reference to the transparency of the result.

The double value is used. The value is in [0, 1] range

◆ SHOW_EDGES_DIRECTION_ID()

static const std::string& ModelAPI_Result::SHOW_EDGES_DIRECTION_ID ( )
inlinestaticinherited

Reference to the transparency of the result.

The double value is used. The value is in [0, 1] range

◆ BRING_TO_FRONT_ID()

static const std::string& ModelAPI_Result::BRING_TO_FRONT_ID ( )
inlinestaticinherited

Reference to the BringToFront flag of the result.

The bool value is used.

◆ isDisabled()

bool ModelAPI_Result::isDisabled ( )
virtualinherited

Returns the result is disabled or not.

Implements ModelAPI_Object.

◆ attributeChanged()

void ModelAPI_Result::attributeChanged ( const std::string &  theID)
virtualinherited

On change of attribute of the result update presentation of this result: for the current moment there are only presentation attributes assigned to results.

Reimplemented from ModelAPI_Object.

◆ init()

void ModelAPI_Result::init ( )
protectedvirtualinherited

This method is called just after creation of the object: it must initialize all fields, normally initialized in the constructor.

Implements ModelAPI_Object.

◆ isInHistory()

bool ModelAPI_Object::isInHistory ( )
virtualinherited

◆ setInHistory()

void ModelAPI_Object::setInHistory ( const std::shared_ptr< ModelAPI_Object theObject,
const bool  theFlag 
)
virtualinherited

Makes object presented or not in the history of the created objects.

Parameters
theObjectis shared pointer to "this"
theFlagis boolean value: to add or remove from the history

◆ data()

std::shared_ptr< ModelAPI_Data > ModelAPI_Object::data ( ) const
virtualinherited

Returns the data manager of this object: attributes.

◆ isSame()

bool ModelAPI_Object::isSame ( const std::shared_ptr< ModelAPI_Object > &  theObject)
virtualinherited

Returns true if object refers to the same data model instance.

◆ document()

std::shared_ptr< ModelAPI_Document > ModelAPI_Object::document ( ) const
virtualinherited

Returns document this feature belongs to.

Reimplemented in ModelAPI_Feature, and Model_ResultField::Model_FieldStep.

◆ isDisplayed()

bool ModelAPI_Object::isDisplayed ( )
virtualinherited

Returns true if object must be displayed in the viewer: flag is stored in the data model, so on undo/redo, open/save or recreation of object by history-playing it keeps the original state in the current transaction.

Reimplemented in ModelAPI_ResultField::ModelAPI_FieldStep.

◆ setData()

void ModelAPI_Object::setData ( std::shared_ptr< ModelAPI_Data theData)
protectedvirtualinherited

Sets the data manager of an object (document does)

◆ setDoc()

void ModelAPI_Object::setDoc ( std::shared_ptr< ModelAPI_Document theDoc)
protectedvirtualinherited

Sets the data manager of an object (document does)

◆ erase()

void ModelAPI_Object::erase ( )
protectedvirtualinherited

◆ emptyFunction()

virtual void ModelAPI_Entity::emptyFunction ( ) const
inlinevirtualinherited

Empty function which is added for virtualiation of the interface.

Field Documentation

◆ myNamesShape

std::map< std::wstring, std::shared_ptr<GeomAPI_Shape> > Model_ResultBody::myNamesShape
protected

map with the name read in step file and shape

◆ myColorsShape

std::map< std::wstring, std::vector<int> > Model_ResultBody::myColorsShape
protected

map from the construction name to the imported color

◆ myConnect

ConnectedTopologyFlag ModelAPI_ResultBody::myConnect
protectedinherited

Keeps (not persistently) the connected topology flag.

◆ myBuilder

ModelAPI_BodyBuilder* ModelAPI_ResultBody::myBuilder
protectedinherited

provides the body processing in naming shape

◆ myIsDisabled

bool ModelAPI_Result::myIsDisabled
protectedinherited

the result is disabled: removed for the user, but keeps the general info