#include <controler-gmap.hh>
Inherits CControler.
Public Member Functions | |
CControlerGMap (CGMapVertex *AGMapVertex=NULL, const std::string &ADirectory="") | |
virtual | ~CControlerGMap () |
CGMapVertex * | getMap () |
Création d'objets | |
void | modeCreationReinitPosition () |
Modifications d'objets | |
void | setObjectTranslationVector (const CVertex &AVector) |
CVertex | getObjectTranslationVector () const |
void | setObjectTranslationPonderation (bool AActive) |
bool | getObjectTranslationPonderation () const |
void | toggleObjectTranslationPonderation () |
Modifications d'objets | |
void | setObjectRotationAxeVertex (const CVertex &AAxeVertex) |
CVertex | getObjectRotationAxeVertex () const |
void | setObjectRotationAxeVector (const CVertex &AAxeVector) |
CVertex | getObjectRotationAxeVector () const |
void | setObjectRotationAngle (float AAngle) |
float | getObjectRotationAngle () const |
void | setObjectRotationPonderation (bool AActive) |
bool | getObjectRotationPonderation () const |
void | toggleObjectRotationPonderation () |
Modifications d'objets | |
void | setObjectScaleType (TScaleType AScaleType) |
TScaleType | getObjectScaleType () const |
void | setObjectScaleCenter (const CVertex &ACenter) |
CVertex | getObjectScaleCenter () const |
void | setObjectScaleVector (const CVertex &AVector) |
CVertex | getObjectScaleVector () const |
void | setObjectScaleIso (bool AValue) |
bool | getObjectScaleIso () const |
void | toggleObjectScaleIso () |
void | setObjectScaleIsoCoef (float AValue) |
float | getObjectScaleIsoCoef () const |
void | setObjectScaleCoef (const CVertex &AValue) |
CVertex | getObjectScaleCoef () const |
void | setObjectScaleCoef (int ADim, float AValue) |
float | getObjectScaleCoef (int ADim) const |
void | setObjectScalePonderation (bool AActive) |
bool | getObjectScalePonderation () const |
void | toggleObjectScalePonderation () |
Récupération des paramètres | |
CParameterGMapVertex * | getParameterGMapVertex () const |
CParameterSelection * | getParameterSelection () const |
CParameterCreation * | getParameterCreation () const |
CParameterPolylinePosition * | getParameterPolylinePosition () const |
CParameterOperations * | getParameterOperations () const |
CParameterObjectPosition * | getParameterObjectPosition (int AIndex) const |
CParameterObjectPosition * | getParameterPolygonPosition () const |
CParameterObjectPosition * | getParameterMeshPosition () const |
CParameterObjectPosition * | getParameterSpherePosition () const |
CParameterObjectPosition * | getParameterCylinderPosition () const |
CParameterObjectPosition * | getParameterPyramidPosition () const |
CParameterObjectPosition * | getParameterTorusPosition () const |
CParameterObjectPonderation * | getParameterObjectPonderation () const |
CParameterDart * | getParameterDart (TViewId AViewId) const |
CParameterFace * | getParameterFace (TViewId AViewId) const |
CParameterPreview * | getParameterPreview (TViewId AViewId) const |
CParameterNormalVector * | getParameterNormalVector (TViewId AViewId) const |
CParameterObjectTransformation * | getParameterObjectTransformation (TViewId AViewId) const |
CParameterSew * | getParameterSew (TViewId AViewId) const |
CParameterVertex * | getParameterVertex (TViewId AViewId) const |
Opérations | |
virtual bool | canApplyOperation (const COperation &AOperation) |
virtual bool | applyOperation (const COperation &AOperation) |
int | getNbDarts () const |
int | getNbSelectedDarts () const |
int | getNbVertices () const |
virtual void | viewUpdate (TViewId AViewId) |
void | viewEnablePreviewPrecompile (TViewId AViewId) |
void | viewDisablePreviewPrecompile (TViewId AViewId) |
void | viewEnableObjectTransformationPrecompile (TViewId AViewId) |
void | viewDisableObjectTransformationPrecompile (TViewId AViewId) |
TCoordinate | getMapBurstCoef (int ADim) const |
void | setMapBurstCoef (int ADim, TCoordinate ACoef) |
void | setMapBurstCoefs (TCoordinate ACoef0, TCoordinate ACoef1, TCoordinate ACoef2, TCoordinate ACoef3) |
void | setBurstMethod (TBurstMethod AMethod) |
TBurstMethod | getBurstMethod () const |
bool | isModelBlocked () const |
void | setModelBlocked () |
void | unsetModelBlocked () |
void | toggleModelBlocked () |
TOrbit | getSelectionOrbit () const |
void | setSelectionOrbit (TOrbit AOrbit) |
void | setNextSelectionOrbit () |
bool | getHalfSelectionOrbit () const |
void | setHalfSelectionOrbit (bool ABool) |
int | getSelectionMark () const |
int | getSelectionMark (int ALevel) const |
int | getNextSelectionMark (int AIndex=1) const |
CDart * | getLastSelectedDart () const |
CDart * | getLastSelectedDart (int ALevel) const |
CDart * | getNextLastSelectedDart (int AIndex=1) const |
void | unsetLastSelectedDart () |
void | unsetLastSelectedDart (int ALevel) |
void | unsetNextLastSelectedDart (int AIndex=1) |
void | unsetAllLastSelectedDarts () |
bool | isDartSelected (CDart *ADart) const |
bool | isDartSelected (CDart *ADart, int ALevel) const |
bool | isDartNextSelected (CDart *ADart, int AIndex=1) const |
void | selectDart (CDart *ADart, int ALevel) |
void | selectDart (CDart *ADart) |
void | selectNextDart (CDart *ADart, int AIndex=1) |
void | deselectDart (CDart *ADart, int ALevel) |
void | deselectDart (CDart *ADart) |
void | deselectNextDart (CDart *ADart, int AIndex=1) |
void | toggleDartSelection (CDart *ADart, int ALevel) |
void | toggleDartSelection (CDart *ADart) |
void | toggleDartNextSelection (CDart *ADart, int AIndex=1) |
void | selectOrbit (CDart *ADart) |
void | selectOrbit (CDart *ADart, int ALevel) |
void | selectNextOrbit (CDart *ADart, int AIndex=1) |
void | deselectOrbit (CDart *ADart) |
void | deselectOrbit (CDart *ADart, int ALevel) |
void | deselectNextOrbit (CDart *ADart, int AIndex=1) |
void | toggleOrbitSelection (CDart *ADart) |
void | toggleOrbitSelection (CDart *ADart, int ALevel) |
void | toggleOrbitNextSelection (CDart *ADart, int AIndex=1) |
bool | takeCenter (CVertex &AResult) |
bool | takeVector (CVertex &AResult) |
void | setModeDeselectionAtStop () |
bool | getModeDeselectionAtStop () const |
void | modeSelectionOperationStop () |
Protected Member Functions | |
Méthodes undo/redo | |
virtual std::ostringstream * | saveModel () |
virtual bool | loadModel (std::ostringstream *AStream) |
Protected Attributes | |
TObject | FCreationType |
Private Member Functions | |
Création d'objets | |
void | modeCreationBegin () |
void | modeCreationEnd () |
Création d'objets | |
void | modeCreationPolylineOperationStart () |
void | modeCreationOperationStart () |
void | modeCreationPolylineOperationMove () |
void | modeCreationOperationMove () |
void | modeCreationPolylineOperationStop () |
void | modeCreationOperationStop () |
Modifications d'objets | |
void | addPonderationCoefs () |
void | delPonderationCoefs () |
void | updatePonderationCoefs () |
Modifications d'objets | |
void | modeObjectTransformationBegin (bool APonderation) |
void | modeTranslationBegin () |
void | modeRotationBegin () |
void | modeScaleBegin () |
void | modeObjectTransformationEnd (bool APonderation) |
void | modeTranslationEnd () |
void | modeRotationEnd () |
void | modeScaleEnd () |
Modifications d'objets | |
int | FDeformationMark |
int | FDirectInfoVertex |
int | FDirectInfoPonderation |
bool | FDeformationDone |
void | modeTranslationOperationStart () |
void | modeRotationOperationStart () |
void | modeScaleOperationStart () |
void | modeTranslationOperationMove () |
void | modeRotationOperationMove () |
void | modeScaleOperationMove () |
void | modeTransformationOperationStop () |
Méthodes undo/redo | |
bool | FDeselectMode |
int | getNbSelectionLevels () const |
int | getSelectionLevel () const |
int | getNextSelectionLevel (int AIndex=1) const |
Méthodes auxiliaires | |
int | FNbDarts |
int | FNbSelectedDarts |
int | FNbVertices |
virtual CPrecompile * | newPrecompile (TViewId AViewId, TPrecompile APrecompileType) |
bool | isMapOk () const |
bool | isModelChanged () const |
void | setModelChanged () |
void | unsetModelChanged () |
bool | isPartialModelChanged () const |
void | setPartialModelChanged () |
void | unsetPartialModelChanged () |
void | updateModelIfNeeded () |
bool | isSelectionChanged () const |
void | setSelectionChanged () |
void | unsetSelectionChanged () |
void | updateSelectionIfNeeded () |
bool | getDartsForSew (CDart **ADart1, CDart **ADart2) |
Champs privés | |
CParameterGMapVertex * | FParameterGMapVertex |
CParameterSelection * | FParameterSelection |
CParameterCreation * | FParameterCreation |
CParameterPolylinePosition * | FParameterPolylinePosition |
CParameterOperations * | FParameterOperations |
CParameterObjectPosition * | FParameterObjectPosition [NB_PREDEFINED_OBJECTS] |
CParameterObjectTranslation * | FParameterTranslation |
CParameterObjectRotation * | FParameterRotation |
CParameterObjectScale * | FParameterScale |
CParameterObjectPonderation * | FParameterPonderation |
CGMapVertex * | FMap |
Évènements clavier et souris | |
bool | isInCreationMode () const |
void | setNextCreationMode () |
virtual void | onEnterMode () |
virtual void | onExitMode () |
virtual void | onOperationModeStart () |
virtual void | onOperationModeMove () |
virtual void | onOperationModeStop () |
void | initConfig () |
void | sauveCarteXfig (TViewId, std::ofstream &, bool AArrow, bool AFace, bool ASews, bool AGrid, bool AVertices, bool AInvert=true) |
void | sauveCarteIntervoxelXfig (TViewId, std::ofstream &, bool AInvert=true) |
void | transfoMmPixel (CVertex &v2d) |
void | sauveEntete (std::ofstream &os, int nbCoul) |
void | debutComposante (std::ofstream &os, const CVertex &min, const CVertex &max) |
int | computeProf (const CVertex &V) |
int | computeProf (const CVertex &V1, const CVertex &V2) |
void | sauvePoint (std::ofstream &os, const CVertex &v, int coul, int larg) |
void | sauveLine (std::ofstream &os, const CVertex &p1, const CVertex &p2, int coul, int larg, bool arrow, int AProf=-1) |
void | sauveTriangle (std::ofstream &os, int coulFill, int larg, CVertex &PC, CVertex &P1, CVertex &P2) |
void | sauveFace (std::ofstream &os, CVertex *p, int nbPts, int coulFill, int larg) |
void | sauveDartVertex (std::ofstream &os, const CVertex &v, const CVertex &v2) |
void | treatSews (std::ofstream &, CDart *, int, int) |
void | treatFace (std::ofstream &, CDart *, int, int) |
void | treatFilledFace (std::ofstream &, CDart *, int, int) |
void | treatDartWithArrow (std::ofstream &, CDart *, int, int) |
void | treatDartNoArrow (std::ofstream &, CDart *, int, int) |
void | saveGridIncludingBox (std::ofstream &) |
void | transfo3dTo2d (const CVertex &, CVertex &) |
void | updateMinMax2d (const CVertex &, CVertex &, CVertex &, bool init=false) |
void | getIncludingBoxForDarts (CDart *, TOrbit, CVertex &, CVertex &) |
void | treatGrid (std::ofstream &) |
void | treatPointel (std::ofstream &, CDart *, int) |
void | treatLignel (std::ofstream &, CDart *, int) |
Definition at line 93 of file controler-gmap.hh.
GMap3d::CControlerGMap::CControlerGMap | ( | CGMapVertex * | AGMapVertex = NULL , |
|
const std::string & | ADirectory = "" | |||
) |
CControlerGMap::~CControlerGMap | ( | ) | [virtual] |
Definition at line 73 of file controler-gmap.cc.
void CControlerGMap::addPonderationCoefs | ( | ) | [private] |
Definition at line 471 of file controler-gmap-object-transformation.cc.
bool CControlerGMap::applyOperation | ( | const COperation & | AOperation | ) | [virtual] |
Exécute l'opération donné en paramètre.
Reimplemented from CControler.
Definition at line 57 of file controler-gmap-operations.cc.
bool CControlerGMap::canApplyOperation | ( | const COperation & | AOperation | ) | [virtual] |
Retourne si le mode courant permet de faire une opération (exemple couture, inversion mark...).
Reimplemented from CControler.
Definition at line 34 of file controler-gmap-operations.cc.
int CControlerGMap::computeProf | ( | const CVertex & | V1, | |
const CVertex & | V2 | |||
) | [private] |
Definition at line 169 of file controler-gmap-export-xfig.cc.
int CControlerGMap::computeProf | ( | const CVertex & | V | ) | [private] |
Definition at line 156 of file controler-gmap-export-xfig.cc.
void GMap3d::CControlerGMap::debutComposante | ( | std::ofstream & | os, | |
const CVertex & | min, | |||
const CVertex & | max | |||
) | [private] |
void CControlerGMap::delPonderationCoefs | ( | ) | [private] |
Definition at line 479 of file controler-gmap-object-transformation.cc.
void CControlerGMap::deselectDart | ( | CDart * | ADart | ) |
Definition at line 133 of file controler-gmap-selection.cc.
void CControlerGMap::deselectDart | ( | CDart * | ADart, | |
int | ALevel | |||
) |
Definition at line 136 of file controler-gmap-selection.cc.
void CControlerGMap::deselectNextDart | ( | CDart * | ADart, | |
int | AIndex = 1 | |||
) |
Definition at line 151 of file controler-gmap-selection.cc.
void CControlerGMap::deselectNextOrbit | ( | CDart * | ADart, | |
int | AIndex = 1 | |||
) |
Definition at line 212 of file controler-gmap-selection.cc.
void CControlerGMap::deselectOrbit | ( | CDart * | ADart, | |
int | ALevel | |||
) |
Definition at line 193 of file controler-gmap-selection.cc.
void CControlerGMap::deselectOrbit | ( | CDart * | ADart | ) |
Definition at line 190 of file controler-gmap-selection.cc.
TBurstMethod CControlerGMap::getBurstMethod | ( | ) | const |
Definition at line 155 of file controler-gmap-views.cc.
bool CControlerGMap::getDartsForSew | ( | CDart ** | ADart1, | |
CDart ** | ADart2 | |||
) | [protected] |
Definition at line 238 of file controler-gmap-protected-methods.cc.
bool CControlerGMap::getHalfSelectionOrbit | ( | ) | const |
Definition at line 68 of file controler-gmap-selection.cc.
void CControlerGMap::getIncludingBoxForDarts | ( | CDart * | d, | |
TOrbit | orb, | |||
CVertex & | min, | |||
CVertex & | max | |||
) | [private] |
Definition at line 350 of file controler-gmap-export-xfig.cc.
CDart * CControlerGMap::getLastSelectedDart | ( | int | ALevel | ) | const |
Definition at line 86 of file controler-gmap-selection.cc.
CDart * CControlerGMap::getLastSelectedDart | ( | ) | const |
Definition at line 83 of file controler-gmap-selection.cc.
CGMapVertex * CControlerGMap::getMap | ( | ) |
Definition at line 89 of file controler-gmap.cc.
TCoordinate CControlerGMap::getMapBurstCoef | ( | int | ADim | ) | const |
Méthodes pour récupérer et modifier les coéficients d'éclatement de la carte.
Definition at line 124 of file controler-gmap-views.cc.
bool CControlerGMap::getModeDeselectionAtStop | ( | ) | const |
Definition at line 275 of file controler-gmap-selection.cc.
int CControlerGMap::getNbDarts | ( | ) | const |
Accesseurs pour récupérer le nombre d'éléments de la carte.
Definition at line 113 of file controler-gmap-operations.cc.
int CControlerGMap::getNbSelectedDarts | ( | ) | const |
Definition at line 115 of file controler-gmap-operations.cc.
int CControlerGMap::getNbSelectionLevels | ( | ) | const |
getNbSelectionLevels
Definition at line 40 of file controler-gmap-selection.cc.
int CControlerGMap::getNbVertices | ( | ) | const |
Definition at line 117 of file controler-gmap-operations.cc.
CDart * CControlerGMap::getNextLastSelectedDart | ( | int | AIndex = 1 |
) | const |
Definition at line 89 of file controler-gmap-selection.cc.
int CControlerGMap::getNextSelectionLevel | ( | int | AIndex = 1 |
) | const |
Definition at line 46 of file controler-gmap-selection.cc.
int CControlerGMap::getNextSelectionMark | ( | int | AIndex = 1 |
) | const |
Le numéro de marque relatif par rapport au niveau courant. Par exemple si AIndex==1, récupère la marque suivant le niveau courant.
Definition at line 80 of file controler-gmap-selection.cc.
float CControlerGMap::getObjectRotationAngle | ( | ) | const |
Definition at line 120 of file controler-gmap-object-transformation.cc.
CVertex CControlerGMap::getObjectRotationAxeVector | ( | ) | const |
Definition at line 102 of file controler-gmap-object-transformation.cc.
CVertex CControlerGMap::getObjectRotationAxeVertex | ( | ) | const |
Definition at line 90 of file controler-gmap-object-transformation.cc.
bool CControlerGMap::getObjectRotationPonderation | ( | ) | const |
Definition at line 143 of file controler-gmap-object-transformation.cc.
CVertex CControlerGMap::getObjectScaleCenter | ( | ) | const |
Definition at line 185 of file controler-gmap-object-transformation.cc.
float CControlerGMap::getObjectScaleCoef | ( | int | ADim | ) | const |
Definition at line 249 of file controler-gmap-object-transformation.cc.
CVertex CControlerGMap::getObjectScaleCoef | ( | ) | const |
Definition at line 231 of file controler-gmap-object-transformation.cc.
bool CControlerGMap::getObjectScaleIso | ( | ) | const |
Definition at line 171 of file controler-gmap-object-transformation.cc.
float CControlerGMap::getObjectScaleIsoCoef | ( | ) | const |
Definition at line 214 of file controler-gmap-object-transformation.cc.
bool CControlerGMap::getObjectScalePonderation | ( | ) | const |
Definition at line 275 of file controler-gmap-object-transformation.cc.
TScaleType CControlerGMap::getObjectScaleType | ( | ) | const |
Definition at line 157 of file controler-gmap-object-transformation.cc.
CVertex CControlerGMap::getObjectScaleVector | ( | ) | const |
Definition at line 196 of file controler-gmap-object-transformation.cc.
bool CControlerGMap::getObjectTranslationPonderation | ( | ) | const |
Definition at line 75 of file controler-gmap-object-transformation.cc.
CVertex CControlerGMap::getObjectTranslationVector | ( | ) | const |
Definition at line 52 of file controler-gmap-object-transformation.cc.
CParameterCreation * CControlerGMap::getParameterCreation | ( | ) | const |
Definition at line 49 of file controler-gmap-parameter.cc.
CParameterObjectPosition * CControlerGMap::getParameterCylinderPosition | ( | ) | const |
Definition at line 73 of file controler-gmap-parameter.cc.
CParameterDart * CControlerGMap::getParameterDart | ( | TViewId | AViewId | ) | const |
Definition at line 85 of file controler-gmap-parameter.cc.
CParameterFace * CControlerGMap::getParameterFace | ( | TViewId | AViewId | ) | const |
Definition at line 90 of file controler-gmap-parameter.cc.
CParameterGMapVertex * CControlerGMap::getParameterGMapVertex | ( | ) | const |
Definition at line 43 of file controler-gmap-parameter.cc.
CParameterObjectPosition * CControlerGMap::getParameterMeshPosition | ( | ) | const |
Definition at line 67 of file controler-gmap-parameter.cc.
CParameterNormalVector * CControlerGMap::getParameterNormalVector | ( | TViewId | AViewId | ) | const |
Definition at line 100 of file controler-gmap-parameter.cc.
CParameterObjectPonderation * CControlerGMap::getParameterObjectPonderation | ( | ) | const |
Definition at line 82 of file controler-gmap-parameter.cc.
CParameterObjectPosition * CControlerGMap::getParameterObjectPosition | ( | int | AIndex | ) | const |
Definition at line 58 of file controler-gmap-parameter.cc.
CParameterObjectTransformation * CControlerGMap::getParameterObjectTransformation | ( | TViewId | AViewId | ) | const |
Definition at line 106 of file controler-gmap-parameter.cc.
CParameterOperations * CControlerGMap::getParameterOperations | ( | ) | const |
Definition at line 55 of file controler-gmap-parameter.cc.
CParameterObjectPosition * CControlerGMap::getParameterPolygonPosition | ( | ) | const |
Definition at line 64 of file controler-gmap-parameter.cc.
CParameterPolylinePosition * CControlerGMap::getParameterPolylinePosition | ( | ) | const |
Definition at line 52 of file controler-gmap-parameter.cc.
CParameterPreview * CControlerGMap::getParameterPreview | ( | TViewId | AViewId | ) | const |
Definition at line 95 of file controler-gmap-parameter.cc.
CParameterObjectPosition * CControlerGMap::getParameterPyramidPosition | ( | ) | const |
Definition at line 76 of file controler-gmap-parameter.cc.
CParameterSelection * CControlerGMap::getParameterSelection | ( | ) | const |
Definition at line 46 of file controler-gmap-parameter.cc.
CParameterSew * CControlerGMap::getParameterSew | ( | TViewId | AViewId | ) | const |
Definition at line 111 of file controler-gmap-parameter.cc.
CParameterObjectPosition * CControlerGMap::getParameterSpherePosition | ( | ) | const |
Definition at line 70 of file controler-gmap-parameter.cc.
CParameterObjectPosition * CControlerGMap::getParameterTorusPosition | ( | ) | const |
Definition at line 79 of file controler-gmap-parameter.cc.
CParameterVertex * CControlerGMap::getParameterVertex | ( | TViewId | AViewId | ) | const |
Definition at line 123 of file controler-gmap-parameter.cc.
int CControlerGMap::getSelectionLevel | ( | ) | const |
Definition at line 43 of file controler-gmap-selection.cc.
int CControlerGMap::getSelectionMark | ( | int | ALevel | ) | const |
int CControlerGMap::getSelectionMark | ( | ) | const |
Le numéro de marque du niveau de sélection courant.
Definition at line 74 of file controler-gmap-selection.cc.
TOrbit CControlerGMap::getSelectionOrbit | ( | ) | const |
Definition at line 49 of file controler-gmap-selection.cc.
void CControlerGMap::initConfig | ( | ) |
Definition at line 95 of file controler-gmap-export-xfig.cc.
bool CControlerGMap::isDartNextSelected | ( | CDart * | ADart, | |
int | AIndex = 1 | |||
) | const |
Definition at line 110 of file controler-gmap-selection.cc.
bool CControlerGMap::isDartSelected | ( | CDart * | ADart, | |
int | ALevel | |||
) | const |
Definition at line 107 of file controler-gmap-selection.cc.
bool CControlerGMap::isDartSelected | ( | CDart * | ADart | ) | const |
Definition at line 104 of file controler-gmap-selection.cc.
bool CControlerGMap::isInCreationMode | ( | ) | const |
Definition at line 83 of file controler-gmap-input-events.cc.
bool CControlerGMap::isMapOk | ( | ) | const [protected] |
Definition at line 48 of file controler-gmap-protected-methods.cc.
bool CControlerGMap::isModelBlocked | ( | ) | const |
Méthodes pour bloquer le recalcul des coordonnées éclatées.
Definition at line 160 of file controler-gmap-views.cc.
bool CControlerGMap::isModelChanged | ( | ) | const [protected] |
Definition at line 59 of file controler-gmap-protected-methods.cc.
bool CControlerGMap::isPartialModelChanged | ( | ) | const [protected] |
Definition at line 79 of file controler-gmap-protected-methods.cc.
bool CControlerGMap::isSelectionChanged | ( | ) | const [protected] |
Definition at line 123 of file controler-gmap-protected-methods.cc.
virtual bool GMap3d::CControlerGMap::loadModel | ( | std::ostringstream * | AStream | ) | [protected, virtual] |
Reimplemented from CControler.
void CControlerGMap::modeCreationBegin | ( | ) | [private] |
Definition at line 36 of file controler-gmap-creations.cc.
void CControlerGMap::modeCreationEnd | ( | ) | [private] |
Definition at line 44 of file controler-gmap-creations.cc.
void CControlerGMap::modeCreationOperationMove | ( | ) | [private] |
Definition at line 84 of file controler-gmap-creations.cc.
void CControlerGMap::modeCreationOperationStart | ( | ) | [private] |
Definition at line 59 of file controler-gmap-creations.cc.
void CControlerGMap::modeCreationOperationStop | ( | ) | [private] |
Definition at line 101 of file controler-gmap-creations.cc.
void CControlerGMap::modeCreationPolylineOperationMove | ( | ) | [private] |
mode---OperationMove
Méthode appelée pour une opération en cours (par exemple lorsque la souris bouge)
Definition at line 75 of file controler-gmap-creations.cc.
void CControlerGMap::modeCreationPolylineOperationStart | ( | ) | [private] |
mode---OperationStart
Méthode appelée lorsqu'une opération débute (par exemple lorsqu'on appuie sur un bouton de la souris)
Definition at line 50 of file controler-gmap-creations.cc.
void CControlerGMap::modeCreationPolylineOperationStop | ( | ) | [private] |
mode---OperationStop
Méthode appelée lorsqu'une une opération est terminée (par exemple lorsqu'un bouton de la souris est relâché)
Definition at line 97 of file controler-gmap-creations.cc.
void CControlerGMap::modeCreationReinitPosition | ( | ) |
Definition at line 105 of file controler-gmap-creations.cc.
void CControlerGMap::modeObjectTransformationBegin | ( | bool | APonderation | ) | [private] |
Definition at line 281 of file controler-gmap-object-transformation.cc.
void CControlerGMap::modeObjectTransformationEnd | ( | bool | APonderation | ) | [private] |
Definition at line 333 of file controler-gmap-object-transformation.cc.
void CControlerGMap::modeRotationBegin | ( | ) | [private] |
Definition at line 317 of file controler-gmap-object-transformation.cc.
void CControlerGMap::modeRotationEnd | ( | ) | [private] |
Definition at line 359 of file controler-gmap-object-transformation.cc.
void CControlerGMap::modeRotationOperationMove | ( | ) | [private] |
Definition at line 413 of file controler-gmap-object-transformation.cc.
void CControlerGMap::modeRotationOperationStart | ( | ) | [private] |
Definition at line 379 of file controler-gmap-object-transformation.cc.
void CControlerGMap::modeScaleBegin | ( | ) | [private] |
Definition at line 325 of file controler-gmap-object-transformation.cc.
void CControlerGMap::modeScaleEnd | ( | ) | [private] |
Definition at line 364 of file controler-gmap-object-transformation.cc.
void CControlerGMap::modeScaleOperationMove | ( | ) | [private] |
Definition at line 431 of file controler-gmap-object-transformation.cc.
void CControlerGMap::modeScaleOperationStart | ( | ) | [private] |
Definition at line 391 of file controler-gmap-object-transformation.cc.
void CControlerGMap::modeSelectionOperationStop | ( | ) | [virtual] |
Méthode appelée lorsqu'une une opération est terminée (par exemple lorsqu'un bouton de la souris est relâché)
Reimplemented from CControler.
Definition at line 278 of file controler-gmap-selection.cc.
void CControlerGMap::modeTransformationOperationStop | ( | ) | [private] |
mode---OperationStop
Méthode appelée lorsqu'une une opération est terminée (par exemple lorsqu'un bouton de la souris est relâché)
Definition at line 468 of file controler-gmap-object-transformation.cc.
void CControlerGMap::modeTranslationBegin | ( | ) | [private] |
Definition at line 310 of file controler-gmap-object-transformation.cc.
void CControlerGMap::modeTranslationEnd | ( | ) | [private] |
Definition at line 354 of file controler-gmap-object-transformation.cc.
void CControlerGMap::modeTranslationOperationMove | ( | ) | [private] |
mode---OperationMove
Méthode appelée pour une opération en cours (par exemple lorsque la souris bouge)
Definition at line 401 of file controler-gmap-object-transformation.cc.
void CControlerGMap::modeTranslationOperationStart | ( | ) | [private] |
mode---OperationStart
Méthode appelée lorsqu'une opération débute (par exemple lorsqu'on appuie sur un bouton de la souris)
Definition at line 369 of file controler-gmap-object-transformation.cc.
CPrecompile * CControlerGMap::newPrecompile | ( | TViewId | AViewId, | |
TPrecompile | APrecompileType | |||
) | [protected, virtual] |
void CControlerGMap::onEnterMode | ( | ) | [protected, virtual] |
void CControlerGMap::onExitMode | ( | ) | [protected, virtual] |
void CControlerGMap::onOperationModeMove | ( | ) | [protected, virtual] |
void CControlerGMap::onOperationModeStart | ( | ) | [protected, virtual] |
void CControlerGMap::onOperationModeStop | ( | ) | [protected, virtual] |
void GMap3d::CControlerGMap::sauveCarteIntervoxelXfig | ( | TViewId | , | |
std::ofstream & | , | |||
bool | AInvert = true | |||
) |
void GMap3d::CControlerGMap::sauveCarteXfig | ( | TViewId | , | |
std::ofstream & | , | |||
bool | AArrow, | |||
bool | AFace, | |||
bool | ASews, | |||
bool | AGrid, | |||
bool | AVertices, | |||
bool | AInvert = true | |||
) |
void CControlerGMap::sauveDartVertex | ( | std::ofstream & | os, | |
const CVertex & | v, | |||
const CVertex & | v2 | |||
) | [private] |
Definition at line 199 of file controler-gmap-export-xfig.cc.
void GMap3d::CControlerGMap::sauveEntete | ( | std::ofstream & | os, | |
int | nbCoul | |||
) | [private] |
void GMap3d::CControlerGMap::sauveFace | ( | std::ofstream & | os, | |
CVertex * | p, | |||
int | nbPts, | |||
int | coulFill, | |||
int | larg | |||
) | [private] |
void GMap3d::CControlerGMap::sauveLine | ( | std::ofstream & | os, | |
const CVertex & | p1, | |||
const CVertex & | p2, | |||
int | coul, | |||
int | larg, | |||
bool | arrow, | |||
int | AProf = -1 | |||
) | [private] |
void GMap3d::CControlerGMap::sauvePoint | ( | std::ofstream & | os, | |
const CVertex & | v, | |||
int | coul, | |||
int | larg | |||
) | [private] |
void GMap3d::CControlerGMap::sauveTriangle | ( | std::ofstream & | os, | |
int | coulFill, | |||
int | larg, | |||
CVertex & | PC, | |||
CVertex & | P1, | |||
CVertex & | P2 | |||
) | [private] |
void GMap3d::CControlerGMap::saveGridIncludingBox | ( | std::ofstream & | ) | [private] |
ostringstream * CControlerGMap::saveModel | ( | ) | [protected, virtual] |
void CControlerGMap::selectDart | ( | CDart * | ADart | ) |
Definition at line 113 of file controler-gmap-selection.cc.
void CControlerGMap::selectDart | ( | CDart * | ADart, | |
int | ALevel | |||
) |
Definition at line 116 of file controler-gmap-selection.cc.
void CControlerGMap::selectNextDart | ( | CDart * | ADart, | |
int | AIndex = 1 | |||
) |
Definition at line 130 of file controler-gmap-selection.cc.
void CControlerGMap::selectNextOrbit | ( | CDart * | ADart, | |
int | AIndex = 1 | |||
) |
Definition at line 187 of file controler-gmap-selection.cc.
void CControlerGMap::selectOrbit | ( | CDart * | ADart, | |
int | ALevel | |||
) |
Definition at line 172 of file controler-gmap-selection.cc.
void CControlerGMap::selectOrbit | ( | CDart * | ADart | ) |
Definition at line 169 of file controler-gmap-selection.cc.
void CControlerGMap::setBurstMethod | ( | TBurstMethod | AMethod | ) |
Méthodes pour gérer le type de calcul des coordonnées éclatées.
Definition at line 150 of file controler-gmap-views.cc.
void CControlerGMap::setHalfSelectionOrbit | ( | bool | ABool | ) |
Definition at line 71 of file controler-gmap-selection.cc.
void CControlerGMap::setMapBurstCoef | ( | int | ADim, | |
TCoordinate | ACoef | |||
) |
Definition at line 127 of file controler-gmap-views.cc.
void CControlerGMap::setMapBurstCoefs | ( | TCoordinate | ACoef0, | |
TCoordinate | ACoef1, | |||
TCoordinate | ACoef2, | |||
TCoordinate | ACoef3 | |||
) |
Definition at line 136 of file controler-gmap-views.cc.
void CControlerGMap::setModeDeselectionAtStop | ( | ) |
Definition at line 272 of file controler-gmap-selection.cc.
void CControlerGMap::setModelBlocked | ( | ) |
Definition at line 166 of file controler-gmap-views.cc.
void CControlerGMap::setModelChanged | ( | ) | [protected] |
Definition at line 65 of file controler-gmap-protected-methods.cc.
void CControlerGMap::setNextCreationMode | ( | ) |
Si on est en mode creation, passe au mode de creation suivant.
Definition at line 90 of file controler-gmap-input-events.cc.
void CControlerGMap::setNextSelectionOrbit | ( | ) |
Definition at line 60 of file controler-gmap-selection.cc.
void CControlerGMap::setObjectRotationAngle | ( | float | AAngle | ) |
Definition at line 105 of file controler-gmap-object-transformation.cc.
void CControlerGMap::setObjectRotationAxeVector | ( | const CVertex & | AAxeVector | ) |
Definition at line 93 of file controler-gmap-object-transformation.cc.
void CControlerGMap::setObjectRotationAxeVertex | ( | const CVertex & | AAxeVertex | ) |
Definition at line 81 of file controler-gmap-object-transformation.cc.
void CControlerGMap::setObjectRotationPonderation | ( | bool | AActive | ) |
Definition at line 123 of file controler-gmap-object-transformation.cc.
void CControlerGMap::setObjectScaleCenter | ( | const CVertex & | ACenter | ) |
Definition at line 177 of file controler-gmap-object-transformation.cc.
void CControlerGMap::setObjectScaleCoef | ( | int | ADim, | |
float | AValue | |||
) |
Definition at line 234 of file controler-gmap-object-transformation.cc.
void CControlerGMap::setObjectScaleCoef | ( | const CVertex & | AValue | ) |
Definition at line 217 of file controler-gmap-object-transformation.cc.
void CControlerGMap::setObjectScaleIso | ( | bool | AValue | ) |
Definition at line 160 of file controler-gmap-object-transformation.cc.
void CControlerGMap::setObjectScaleIsoCoef | ( | float | AValue | ) |
Definition at line 199 of file controler-gmap-object-transformation.cc.
void CControlerGMap::setObjectScalePonderation | ( | bool | AActive | ) |
Definition at line 252 of file controler-gmap-object-transformation.cc.
void CControlerGMap::setObjectScaleType | ( | TScaleType | AScaleType | ) |
Definition at line 149 of file controler-gmap-object-transformation.cc.
void CControlerGMap::setObjectScaleVector | ( | const CVertex & | AVector | ) |
Definition at line 188 of file controler-gmap-object-transformation.cc.
void CControlerGMap::setObjectTranslationPonderation | ( | bool | AActive | ) |
Definition at line 55 of file controler-gmap-object-transformation.cc.
void CControlerGMap::setObjectTranslationVector | ( | const CVertex & | AVector | ) |
Definition at line 38 of file controler-gmap-object-transformation.cc.
void CControlerGMap::setPartialModelChanged | ( | ) | [protected] |
Definition at line 85 of file controler-gmap-protected-methods.cc.
void CControlerGMap::setSelectionChanged | ( | ) | [protected] |
Definition at line 129 of file controler-gmap-protected-methods.cc.
void CControlerGMap::setSelectionOrbit | ( | TOrbit | AOrbit | ) |
Definition at line 52 of file controler-gmap-selection.cc.
bool CControlerGMap::takeCenter | ( | CVertex & | AResult | ) |
Definition at line 230 of file controler-gmap-selection.cc.
bool CControlerGMap::takeVector | ( | CVertex & | AResult | ) |
Definition at line 243 of file controler-gmap-selection.cc.
void CControlerGMap::toggleDartNextSelection | ( | CDart * | ADart, | |
int | AIndex = 1 | |||
) |
Definition at line 166 of file controler-gmap-selection.cc.
void CControlerGMap::toggleDartSelection | ( | CDart * | ADart | ) |
Definition at line 154 of file controler-gmap-selection.cc.
void CControlerGMap::toggleDartSelection | ( | CDart * | ADart, | |
int | ALevel | |||
) |
Definition at line 157 of file controler-gmap-selection.cc.
void CControlerGMap::toggleModelBlocked | ( | ) |
Definition at line 178 of file controler-gmap-views.cc.
void CControlerGMap::toggleObjectRotationPonderation | ( | ) |
Definition at line 146 of file controler-gmap-object-transformation.cc.
void CControlerGMap::toggleObjectScaleIso | ( | ) |
Definition at line 174 of file controler-gmap-object-transformation.cc.
void CControlerGMap::toggleObjectScalePonderation | ( | ) |
Definition at line 278 of file controler-gmap-object-transformation.cc.
void CControlerGMap::toggleObjectTranslationPonderation | ( | ) |
Definition at line 78 of file controler-gmap-object-transformation.cc.
void CControlerGMap::toggleOrbitNextSelection | ( | CDart * | ADart, | |
int | AIndex = 1 | |||
) |
Definition at line 227 of file controler-gmap-selection.cc.
void CControlerGMap::toggleOrbitSelection | ( | CDart * | ADart, | |
int | ALevel | |||
) |
Definition at line 218 of file controler-gmap-selection.cc.
void CControlerGMap::toggleOrbitSelection | ( | CDart * | ADart | ) |
Definition at line 215 of file controler-gmap-selection.cc.
void CControlerGMap::transfo3dTo2d | ( | const CVertex & | v3d, | |
CVertex & | v2d | |||
) | [private] |
Definition at line 316 of file controler-gmap-export-xfig.cc.
void CControlerGMap::transfoMmPixel | ( | CVertex & | v2d | ) | [private] |
Definition at line 112 of file controler-gmap-export-xfig.cc.
void GMap3d::CControlerGMap::treatDartNoArrow | ( | std::ofstream & | , | |
CDart * | , | |||
int | , | |||
int | ||||
) | [private] |
void GMap3d::CControlerGMap::treatDartWithArrow | ( | std::ofstream & | , | |
CDart * | , | |||
int | , | |||
int | ||||
) | [private] |
void GMap3d::CControlerGMap::treatFace | ( | std::ofstream & | , | |
CDart * | , | |||
int | , | |||
int | ||||
) | [private] |
void GMap3d::CControlerGMap::treatFilledFace | ( | std::ofstream & | , | |
CDart * | , | |||
int | , | |||
int | ||||
) | [private] |
void GMap3d::CControlerGMap::treatGrid | ( | std::ofstream & | ) | [private] |
void GMap3d::CControlerGMap::treatLignel | ( | std::ofstream & | , | |
CDart * | , | |||
int | ||||
) | [private] |
void GMap3d::CControlerGMap::treatPointel | ( | std::ofstream & | , | |
CDart * | , | |||
int | ||||
) | [private] |
void GMap3d::CControlerGMap::treatSews | ( | std::ofstream & | , | |
CDart * | , | |||
int | , | |||
int | ||||
) | [private] |
void CControlerGMap::unsetAllLastSelectedDarts | ( | ) |
Definition at line 101 of file controler-gmap-selection.cc.
void CControlerGMap::unsetLastSelectedDart | ( | int | ALevel | ) |
Definition at line 95 of file controler-gmap-selection.cc.
void CControlerGMap::unsetLastSelectedDart | ( | ) |
Definition at line 92 of file controler-gmap-selection.cc.
void CControlerGMap::unsetModelBlocked | ( | ) |
Definition at line 172 of file controler-gmap-views.cc.
void CControlerGMap::unsetModelChanged | ( | ) | [protected] |
Definition at line 72 of file controler-gmap-protected-methods.cc.
void CControlerGMap::unsetNextLastSelectedDart | ( | int | AIndex = 1 |
) |
Definition at line 98 of file controler-gmap-selection.cc.
void CControlerGMap::unsetPartialModelChanged | ( | ) | [protected] |
Definition at line 91 of file controler-gmap-protected-methods.cc.
void CControlerGMap::unsetSelectionChanged | ( | ) | [protected] |
Definition at line 135 of file controler-gmap-protected-methods.cc.
void CControlerGMap::updateMinMax2d | ( | const CVertex & | pts, | |
CVertex & | min, | |||
CVertex & | max, | |||
bool | init = false | |||
) | [private] |
Definition at line 330 of file controler-gmap-export-xfig.cc.
void CControlerGMap::updateModelIfNeeded | ( | ) | [protected] |
Definition at line 97 of file controler-gmap-protected-methods.cc.
void CControlerGMap::updatePonderationCoefs | ( | ) | [private] |
Definition at line 488 of file controler-gmap-object-transformation.cc.
void CControlerGMap::updateSelectionIfNeeded | ( | ) | [protected] |
Definition at line 141 of file controler-gmap-protected-methods.cc.
void CControlerGMap::viewDisableObjectTransformationPrecompile | ( | TViewId | AViewId | ) |
void CControlerGMap::viewDisablePreviewPrecompile | ( | TViewId | AViewId | ) |
void CControlerGMap::viewEnableObjectTransformationPrecompile | ( | TViewId | AViewId | ) |
void CControlerGMap::viewEnablePreviewPrecompile | ( | TViewId | AViewId | ) |
void CControlerGMap::viewUpdate | ( | TViewId | AViewId | ) | [virtual] |
TObject GMap3d::CControlerGMap::FCreationType [protected] |
Definition at line 745 of file controler-gmap.hh.
bool GMap3d::CControlerGMap::FDeformationDone [private] |
Definition at line 341 of file controler-gmap.hh.
int GMap3d::CControlerGMap::FDeformationMark [private] |
Definition at line 337 of file controler-gmap.hh.
bool GMap3d::CControlerGMap::FDeselectMode [private] |
Pour la sélection par boîte englobante : pour sélectionner ou désélectionner les brins dans la boite
Definition at line 985 of file controler-gmap.hh.
int GMap3d::CControlerGMap::FDirectInfoPonderation [private] |
Definition at line 339 of file controler-gmap.hh.
int GMap3d::CControlerGMap::FDirectInfoVertex [private] |
Definition at line 338 of file controler-gmap.hh.
CGMapVertex* GMap3d::CControlerGMap::FMap [protected] |
Definition at line 1158 of file controler-gmap.hh.
int GMap3d::CControlerGMap::FNbDarts [private] |
Definition at line 1147 of file controler-gmap.hh.
int GMap3d::CControlerGMap::FNbSelectedDarts [private] |
Definition at line 1148 of file controler-gmap.hh.
int GMap3d::CControlerGMap::FNbVertices [private] |
Definition at line 1149 of file controler-gmap.hh.
Definition at line 1165 of file controler-gmap.hh.
CParameterObjectPosition* GMap3d::CControlerGMap::FParameterObjectPosition[NB_PREDEFINED_OBJECTS] [private] |
Definition at line 1168 of file controler-gmap.hh.
Definition at line 1167 of file controler-gmap.hh.
Definition at line 1166 of file controler-gmap.hh.
Definition at line 1172 of file controler-gmap.hh.
Definition at line 1170 of file controler-gmap.hh.
Definition at line 1171 of file controler-gmap.hh.
Definition at line 1164 of file controler-gmap.hh.
Definition at line 1169 of file controler-gmap.hh.