#include <libGEOM_Swig.h>
Public Member Functions | |
| GEOM_Swig () | |
| Constructor.  More... | |
| ~GEOM_Swig () | |
| Destructor.  More... | |
| void | createAndDisplayGO (const char *theEntry, bool theUpdateViewer=true) | 
| Display the presenation in the currently active view.  More... | |
| void | createAndDisplayFitAllGO (const char *theEntry) | 
| Same as createAndDisplayGO, but also fits the active view to the contents.  More... | |
| void | eraseGO (const char *theEntry, bool theUpdateViewer=true) | 
| Erase presentation in the currently active viewer.  More... | |
| void | UpdateViewer () | 
| Update active viewer contents.  More... | |
| void | setDisplayMode (const char *theEntry, int theMode, bool theUpdateViewer=true) | 
| Set display mode to the presentation.  More... | |
| void | setVectorsMode (const char *theEntry, bool theOn, bool theUpdateViewer=true) | 
| Show / hide edges direction vectors for the presentation.  More... | |
| void | setVerticesMode (const char *theEntry, bool theOn, bool theUpdateViewer=true) | 
| Show / hide vertices for the presentation.  More... | |
| void | setNameMode (const char *theEntry, bool theOn, bool theUpdateViewer=true) | 
| Show / hide name of shape for the presentation.  More... | |
| void | setColor (const char *theEntry, int theRed, int theGreen, int theBlue, bool theUpdateViewer=true) | 
| Change color of the presentation.  More... | |
| void | setTransparency (const char *theEntry, float theTransparency, bool theUpdateViewer=true) | 
| Set transparency of the presentation.  More... | |
| void | setIsos (const char *theEntry, int theNbU, int theNbV, bool theUpdateViewer=true) | 
| Set number of iso-lines to the presentation.  More... | |
| void | setDeflection (const char *theEntry, float theDeflection, bool theUpdateViewer=true) | 
| Set deflection coefficient of the presentation.  More... | |
| void | setMaterial (const char *theEntry, const char *theMaterial, bool theUpdateViewer=true) | 
| Set material to the presentation.  More... | |
| void | setMaterialProperty (const char *theEntry, const char *theMaterial, bool theUpdateViewer=true) | 
| Set material property to the presentation.  More... | |
| int | getIndexTopology (const char *theSubIOR, const char *theMainIOR) | 
| Get sub-shape index inside main shape.  More... | |
| const char * | getShapeTypeString (const char *theIOR) | 
| Get shape type name.  More... | |
| const char * | getShapeTypeIcon (const char *theIOR) | 
| Get shape's icon ID (specified by its type)  More... | |
| bool | initGeomGen () | 
| Initialize GEOM module's engine.  More... | |
Private Member Functions | |
| void | init () | 
| Internal initialization.  More... | |
| GEOM_Swig::GEOM_Swig | ( | ) | 
References init().
| GEOM_Swig::~GEOM_Swig | ( | ) | 
| void GEOM_Swig::createAndDisplayFitAllGO | ( | const char * | theEntry | ) | 
| theEntry | geometry object's entry | 
| theUpdateViewer | true to update active view's contents  | 
References createAndDisplayGO().
| void GEOM_Swig::createAndDisplayGO | ( | const char * | theEntry, | 
| bool | theUpdateViewer = true  | 
        ||
| ) | 
| theEntry | geometry object's entry | 
| theUpdateViewer | true to update active view's contents  | 
References GEOM_Displayer::Display(), and Handle().
| void GEOM_Swig::eraseGO | ( | const char * | theEntry, | 
| bool | theUpdateViewer = true  | 
        ||
| ) | 
| theEntry | geometry object's entry | 
| theUpdateViewer | true to update active view's contents  | 
References GEOM_Displayer::Erase(), and Handle().
| int GEOM_Swig::getIndexTopology | ( | const char * | theSubIOR, | 
| const char * | theMainIOR | ||
| ) | 
| theSubIOR | sub-shape geometry object's IOR | 
| theMainIOR | main shape geometry object's IOR | 
References aMainShape, and GeometryGUI::GetGeomGen().
| const char * GEOM_Swig::getShapeTypeIcon | ( | const char * | theIOR | ) | 
| theIOR | geometry object's IOR | 
References GEOM::COMPOUND, and GEOM::SHAPE.
| const char * GEOM_Swig::getShapeTypeString | ( | const char * | theIOR | ) | 
| theIOR | geometry object's IOR | 
References GeometryGUI::GetGeomGen().
      
  | 
  private | 
References GeometryGUI::GetGeomGen().
| bool GEOM_Swig::initGeomGen | ( | ) | 
true if initialization succeedes or false otherwise | void GEOM_Swig::setColor | ( | const char * | theEntry, | 
| int | theRed, | ||
| int | theGreen, | ||
| int | theBlue, | ||
| bool | theUpdateViewer = true  | 
        ||
| ) | 
| theEntry | geometry object's entry | 
| theRed | red component of the component (0-255) | 
| theGreen | green component of the component (0-255) | 
| theBlue | blue component of the component (0-255) | 
| theUpdateViewer | true to update active view's contents  | 
References GEOM::Color, and GEOM::propertyName().
| void GEOM_Swig::setDeflection | ( | const char * | theEntry, | 
| float | theDeflection, | ||
| bool | theUpdateViewer = true  | 
        ||
| ) | 
| theEntry | geometry object's entry | 
| theDeflection | deflection coefficient (floating point value) | 
| theUpdateViewer | true to update active view's contents  | 
References GEOM::Deflection, and GEOM::propertyName().
| void GEOM_Swig::setDisplayMode | ( | const char * | theEntry, | 
| int | theMode, | ||
| bool | theUpdateViewer = true  | 
        ||
| ) | 
| theEntry | geometry object's entry | 
| theMode | display mode: 0 - wireframe, 1 - shading, 2 - shading+edges, 3-textured | 
| theUpdateViewer | true to update active view's contents  | 
References GEOM::DisplayMode, and GEOM::propertyName().
| void GEOM_Swig::setIsos | ( | const char * | theEntry, | 
| int | theNbU, | ||
| int | theNbV, | ||
| bool | theUpdateViewer = true  | 
        ||
| ) | 
| theEntry | geometry object's entry | 
| theNbU | number of iso-lines along U axis (interger value >= 0) | 
| theNbV | number of iso-lines along V axis (interger value >= 0) | 
| theUpdateViewer | true to update active view's contents  | 
References GEOM::NbIsos, GEOM::propertyName(), and GEOM::subSectionSeparator().
| void GEOM_Swig::setMaterial | ( | const char * | theEntry, | 
| const char * | theMaterial, | ||
| bool | theUpdateViewer = true  | 
        ||
| ) | 
| theEntry | geometry object's entry | 
| theMaterial | material name (string) | 
| theUpdateViewer | true to update active view's contents  | 
References Material_Model::fromResources(), GEOM::Material, GEOM::propertyName(), and Material_Model::toProperties().
| void GEOM_Swig::setMaterialProperty | ( | const char * | theEntry, | 
| const char * | theMaterial, | ||
| bool | theUpdateViewer = true  | 
        ||
| ) | 
| theEntry | geometry object's entry | 
| theMaterial | material property string | 
| theUpdateViewer | true to update active view's contents  | 
References GEOM::Material, and GEOM::propertyName().
| void GEOM_Swig::setNameMode | ( | const char * | theEntry, | 
| bool | theOn, | ||
| bool | theUpdateViewer = true  | 
        ||
| ) | 
| theEntry | geometry object's entry | 
| theOn | true to show name or false otherwise  | 
| theUpdateViewer | true to update active view's contents  | 
References GEOM::propertyName(), and GEOM::ShowName.
| void GEOM_Swig::setTransparency | ( | const char * | theEntry, | 
| float | theTransparency, | ||
| bool | theUpdateViewer = true  | 
        ||
| ) | 
| theEntry | geometry object's entry | 
| theTransparency | transparency (floating point value between 0 and 1) | 
| theUpdateViewer | true to update active view's contents  | 
References GEOM::propertyName(), and GEOM::Transparency.
| void GEOM_Swig::setVectorsMode | ( | const char * | theEntry, | 
| bool | theOn, | ||
| bool | theUpdateViewer = true  | 
        ||
| ) | 
| theEntry | geometry object's entry | 
| theOn | true to show edges direction vectors or false otherwise  | 
| theUpdateViewer | true to update active view's contents  | 
References GEOM::EdgesDirection, and GEOM::propertyName().
| void GEOM_Swig::setVerticesMode | ( | const char * | theEntry, | 
| bool | theOn, | ||
| bool | theUpdateViewer = true  | 
        ||
| ) | 
| theEntry | geometry object's entry | 
| theOn | true to show vertices or false otherwise  | 
| theUpdateViewer | true to update active view's contents  | 
References GEOM::propertyName(), and GEOM::Vertices.
| void GEOM_Swig::UpdateViewer | ( | ) |