Moka controlers
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros
GMap3d::CControlerGMap Class Reference

#include <controler-gmap.hh>

Inheritance diagram for GMap3d::CControlerGMap:
CControler

Public Member Functions

 CControlerGMap (CGMapVertex *AGMapVertex=NULL, const std::string &ADirectory="")
 
virtual ~CControlerGMap ()
 
CGMapVertex * getMap ()
 
Récupération des paramètres
CParameterGMapVertexgetParameterGMapVertex () const
 
CParameterSelectiongetParameterSelection () const
 
CParameterCreationgetParameterCreation () const
 
CParameterPolylinePositiongetParameterPolylinePosition () const
 
CParameterOperationsgetParameterOperations () const
 
CParameterObjectPositiongetParameterObjectPosition (int AIndex) const
 
CParameterObjectPositiongetParameterPolygonPosition () const
 
CParameterObjectPositiongetParameterMeshPosition () const
 
CParameterObjectPositiongetParameterSpherePosition () const
 
CParameterObjectPositiongetParameterCylinderPosition () const
 
CParameterObjectPositiongetParameterPyramidPosition () const
 
CParameterObjectPositiongetParameterTorusPosition () const
 
CParameterObjectPonderationgetParameterObjectPonderation () const
 
CParameterDartgetParameterDart (TViewId AViewId) const
 
CParameterFacegetParameterFace (TViewId AViewId) const
 
CParameterPreviewgetParameterPreview (TViewId AViewId) const
 
CParameterNormalVectorgetParameterNormalVector (TViewId AViewId) const
 
CParameterObjectTransformationgetParameterObjectTransformation (TViewId AViewId) const
 
CParameterSewgetParameterSew (TViewId AViewId) const
 
CParameterVertexgetParameterVertex (TViewId AViewId) const
 
Opérations
bool isNonModifyingOperation (const COperation &AOperation) const
 Return true iff the operation does not modify the map.
 
bool isRemovalOperation (const COperation &AOperation) const
 Return true iff the operation is a removal one.
 
bool isContractionOperation (const COperation &AOperation) const
 Return true iff the operation is a contraction one.
 
virtual bool canApplyOperation (const COperation &AOperation)
 
virtual bool applyOperation (const COperation &AOperation)
 Exécute l'opération donné en paramètre.
 
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
 Méthodes pour récupérer et modifier les coéficients d'éclatement de la carte.
 
void setMapBurstCoef (int ADim, TCoordinate ACoef)
 
void setMapBurstCoefs (TCoordinate ACoef0, TCoordinate ACoef1, TCoordinate ACoef2, TCoordinate ACoef3)
 
void setBurstMethod (TBurstMethod AMethod)
 Méthodes pour gérer le type de calcul des coordonnées éclatées.
 
TBurstMethod getBurstMethod () const
 
bool isModelBlocked () const
 Méthodes pour bloquer le recalcul des coordonnées éclatées.
 
void setModelBlocked ()
 
void unsetModelBlocked ()
 
void toggleModelBlocked ()
 
bool isModeSimplification () const
 Méthodes pour basculer en mode simplification.
 
void setModeSimplification ()
 
void unsetModeSimplification ()
 
void toggleModeSimplification ()
 
TOrbit getSelectionOrbit () const
 
void setSelectionOrbit (TOrbit AOrbit)
 
void setNextSelectionOrbit ()
 
bool getHalfSelectionOrbit () const
 
void setHalfSelectionOrbit (bool ABool)
 
int getSelectionMark () const
 Le numéro de marque du niveau de sélection courant.
 
int getSelectionMark (int ALevel) const
 Le numéro de marque d'un niveau donné
 
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 ()
 
- Public Member Functions inherited from CControler
void setClickAimedPosition (TViewId AViewId, int x, int y)
 
bool lookAtOrigin (TViewId AView)
 Méthodes positionnant le point de vue à l'origine de la scène.
 
bool lookAtMouseClick (TViewId AView, int x, int y)
 Centre le point de vue aux coordonnees (x,y) de la souris.
 
 CControler (int ANb, const std::string &AName, const std::string &ADirectory="")
 
virtual ~CControler ()
 
TMode getMode () const
 
void setMode (TMode AMode)
 
void toggleMode (TMode AMode)
 
void operationModeStart (TViewId AViewId, int Ax, int Ay)
 
void operationModeMove (int Ax, int Ay)
 
void operationModeStop (int Ax, int Ay)
 
void operationModeIndependentStart (TModeOperation AOperation, TViewId AViewId, int Ax, int Ay)
 
std::string getMessage () const
 Récupère le dernier message du controleur.
 
void setMessage (const std::string &AMessage)
 Fixe le message "AMessage".
 
void setMessage (int ANumber, const std::string &AMessage)
 Fixe le message "ANumber AMessage".
 
void setMessage (int ANumber1, int ANumber2, const std::string &AMessage)
 Fixe le message "ANumber1 ANumber2 AMessage".
 
void setMessage (const std::string &AMessage1, int ANumber, const std::string &AMessage2)
 Fixe le message "AMessage1 ANumber AMessage2".
 
std::string treatAccent (const std::string &AString) const
 Pour enlever les accents (pour l'option NO_ACCENTED_CHARS)
 
void viewInit (TViewId AViewId)
 
void viewDraw (TViewId AViewId)
 
TViewId viewCreate (TView AViewType)
 
TViewId viewCreateShare (TView AViewType, TViewId AView)
 
void viewDestroy (TViewId AViewId)
 
void viewAddPrecompile (TViewId AViewId, TPrecompile APrecompileType)
 
void viewRemovePrecompile (TViewId AViewId, TPrecompile APrecompileType)
 
void viewAddOrRemovePrecompile (TViewId AViewId, TPrecompile APrecompileType)
 
bool viewIsEnabledPrecompile (TViewId AViewId, TPrecompile APrecom)
 
void viewEnablePrecompile (TViewId AViewId, TPrecompile APrecom)
 
void viewDisablePrecompile (TViewId AViewId, TPrecompile APrecom)
 
void viewTogglePrecompile (TViewId AViewId, TPrecompile APrecom)
 
void viewEnablePreviewPrecompile (TViewId AViewId)
 
void viewDisablePreviewPrecompile (TViewId AViewId)
 
void viewEnableObjectTransformationPrecompile (TViewId AViewId)
 
void viewDisableObjectTransformationPrecompile (TViewId AViewId)
 
void viewGroup (TViewId AViewId1, TViewId AViewId2)
 Groupe tout les précompiles et les paramètres de AViewId1 et AViewId2.
 
void viewGroupAll (TViewId AViewId)
 Groupe tout les précompiles et les paramètres de toue les vues avec AViewId.
 
void viewUngroup (TViewId AViewId)
 
void viewUngroupAll ()
 Décroupe tout les précompiles et les paramètres de toute les vues.
 
void viewGroupPrecompiles (TViewId AViewId1, TViewId AViewId2)
 Groupe tout les précompiles de AViewId1 et AViewId2.
 
void viewGroupAllPrecompiles (TViewId AViewId)
 Groupe tout les précompiles de toute les vues avec AViewId.
 
void viewUngroupPrecompiles (TViewId AViewId)
 Décroupe tout les précompiles de AViewId.
 
void viewUngroupAllPrecompiles ()
 Décroupe tout les précompiles de toute les vues.
 
void viewGroupPrecompile (TViewId AViewId1, TViewId AViewId2, TPrecompile APrecompileType)
 
void viewUngroupPrecompile (TViewId AViewId, TPrecompile APrecompileType)
 Le précompile de AViewId est dégroupé (s'il existe).
 
void viewGroupParameter (TViewId AViewId1, TViewId AViewId2, TParameter AParameterType)
 
void viewGroupAllParameter (TViewId AViewId, TParameter AParameterType)
 Les paramètres AParameterType de toute les vues sont regroupés.
 
void viewUngroupParameter (TViewId AViewId, TParameter AParameterType)
 Le paramètre de AViewId est dégroupé (s'il existe).
 
void viewUngroupAllParameter (TParameter AParameterType)
 Les paramètres AParameterType de toute les vues sont dégroupés.
 
void viewEnable (TViewId AViewId)
 
void viewDisable (TViewId AViewId)
 
bool viewIsEnabled (TViewId AViewId)
 
CParameterAimedPositiongetParameterAimedPosition (TViewId AViewId) const
 
CParameterDrawinggetParameterDrawing (TViewId AViewId) const
 
CParameterEyePositiongetParameterEyePosition (TViewId AViewId) const
 
CParametergetParameterPrecompile (TViewId AViewId, TPrecompile APrecompile) const
 
CParameterAimedPointgetParameterAimedPoint (TViewId AViewId) const
 
CParameterAxisgetParameterAxis (TViewId AViewId) const
 
CParameterGridgetParameterGrid (TViewId AViewId) const
 
void saveAllParameters (TViewId AViewId=0)
 
void loadAllParameters (TViewId AViewId=0)
 
void reinitAllParameters (TViewId AViewId=0)
 
int getNbMaxUndos () const
 
void setNbMaxUndos (int ANumber)
 
bool getUndoOnFile () const
 
void setUndoOnFile (bool ABool)
 
virtual bool undo (int AStep=1)
 
virtual bool redo (int AStep=1)
 
bool emptyUndoRedo ()
 
CVertex calculEyePosition (TViewId AView)
 
const CVertex & getEyePosition () const
 
void horizontalRotationEye (TViewId AView, bool positive=true, float alpha=0)
 
void verticalRotationEye (TViewId AView, bool positive=true, float beta=0)
 
void moveEye (TViewId AView, bool positive=true, float coeff=0)
 
void moveEyeLateral (TViewId AView, bool positive=true, float coeff=0)
 
void moveEyeX (TViewId AView, bool positive=true, float coeff=0)
 
void moveEyeY (TViewId AView, bool positive=true, float coeff=0)
 
void moveEyeZ (TViewId AView, bool positive=true, float coeff=0)
 

Protected Attributes

TObject FCreationType
 
- Protected Attributes inherited from CControler
bool FUndoOnFile
 
int FNbMaxUndos
 
int FLastFileIndex
 
std::list< std::ostringstream * > FUndos
 
std::list< std::ostringstream * > FRedos
 
std::ostringstream * FActu
 
TMode FCurrentMode
 
TModeOperation FCurrentModeOperation
 
int FFirstX
 
int FLastX
 
int FDeltaX
 
int FFirstY
 
int FLastY
 
int FDeltaY
 
int FCurrentViewId
 
GLfloat FFirst3D [3]
 Coordonnées du point 3D correspondant à FFirst{X,Y}.
 
CParameterEyePosition FMemoEyePosition
 
CParameterAimedPosition FMemoAimedPosition
 
std::string FConfigDirectory
 Le répertoire de configuration.
 
std::string FMessage
 
COperation FCurrentOperation
 
COperation FLastOperation
 
std::vector< CViewPrecompile * > FViews
 
int FLastPrecompile
 

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 ()
 
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 ()
 
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 ()
 
CVertex getVertexPosition () const
 
void setVertexPosition (const CVertex &AVertex)
 

Évènements clavier et souris

bool isInCreationMode () const
 
void setNextCreationMode ()
 Si on est en mode creation, passe au mode de creation suivant.
 
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)
 

Méthodes undo/redo

int getNbSelectionLevels () const
 
int getSelectionLevel () const
 
int getNextSelectionLevel (int AIndex=1) const
 
virtual std::ostringstream * saveModel ()
 
virtual bool loadModel (std::ostringstream *AStream)
 

Méthodes auxiliaires

bool isMapOk () const
 
bool isModelChanged () const
 
void setModelChanged ()
 
void unsetModelChanged ()
 
bool isSelectionChanged () const
 
void setSelectionChanged ()
 
void unsetSelectionChanged ()
 
virtual CPrecompilenewPrecompile (TViewId AViewId, TPrecompile APrecompileType)
 
bool isPartialModelChanged () const
 
void setPartialModelChanged ()
 
void unsetPartialModelChanged ()
 
void updateModelIfNeeded ()
 
void updateSelectionIfNeeded ()
 
bool getDartsForSew (CDart **ADart1, CDart **ADart2)
 

Champs privés

CGMapVertex * FMap
 The generalized map.
 

Additional Inherited Members

- Protected Member Functions inherited from CControler
void exitMode ()
 
void modeSelectionBegin ()
 
void modeSelectionEnd ()
 
virtual void modeSelectionOperationStart ()
 
virtual void modeSelectionOperationMove ()
 
void emptyUndoList ()
 
void emptyRedoList ()
 
void basicPreSave ()
 
void basicPostSaveOk ()
 
void basicPostSaveFailed ()
 
std::string getUndoRedoStatus () const
 
std::string getFilename (int AIndex) const
 
int getNewFileIndex ()
 
bool existsFile (const std::string &AFilename)
 
void recupLastUndoFromFile ()
 
void saveLastUndoOnFile ()
 
void recupFromFiles ()
 
bool basicUndo (int AStep=1)
 
bool basicRedo (int AStep=1)
 
void modeSceneTranslationOperationMove ()
 
void modeSceneRotationOperationMove ()
 
void modeSceneScaleOperationMove ()
 
void modeSceneTransformationOperationStop ()
 
virtual CViewPrecompilenewViewPrecompile (TView AViewType, CParameterEyePosition *, CParameterAimedPosition *, CParameterDrawing *)
 
virtual void undoRedoPreSave ()
 
virtual void undoRedoPostSaveOk ()
 
virtual void undoRedoPostSaveFailed ()
 

Detailed Description

Definition at line 102 of file controler-gmap.hh.

Constructor & Destructor Documentation

CControlerGMap::CControlerGMap ( CGMapVertex *  AGMapVertex = NULL,
const std::string &  ADirectory = "" 
)

Definition at line 35 of file controler-gmap.cc.

CControlerGMap::~CControlerGMap ( )
virtual

Definition at line 73 of file controler-gmap.cc.

Member Function Documentation

bool CControlerGMap::applyOperation ( const COperation AOperation)
virtual

Exécute l'opération donné en paramètre.

Reimplemented from CControler.

Definition at line 111 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 68 of file controler-gmap-operations.cc.

void CControlerGMap::deselectDart ( CDart *  ADart,
int  ALevel 
)

Definition at line 136 of file controler-gmap-selection.cc.

void CControlerGMap::deselectDart ( CDart *  ADart)

Definition at line 133 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)

Definition at line 190 of file controler-gmap-selection.cc.

void CControlerGMap::deselectOrbit ( CDart *  ADart,
int  ALevel 
)

Definition at line 193 of file controler-gmap-selection.cc.

TBurstMethod CControlerGMap::getBurstMethod ( ) const

Definition at line 164 of file controler-gmap-views.cc.

bool CControlerGMap::getDartsForSew ( CDart **  ADart1,
CDart **  ADart2 
)
protected

Definition at line 244 of file controler-gmap-protected-methods.cc.

bool CControlerGMap::getHalfSelectionOrbit ( ) const

Definition at line 68 of file controler-gmap-selection.cc.

CDart * CControlerGMap::getLastSelectedDart ( ) const

Definition at line 83 of file controler-gmap-selection.cc.

CDart * CControlerGMap::getLastSelectedDart ( int  ALevel) const

Definition at line 86 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 167 of file controler-gmap-operations.cc.

int CControlerGMap::getNbSelectedDarts ( ) const

Definition at line 169 of file controler-gmap-operations.cc.

int CControlerGMap::getNbSelectionLevels ( ) const

getNbSelectionLevels

Returns
le nombre de niveaux de sélections

Definition at line 40 of file controler-gmap-selection.cc.

int CControlerGMap::getNbVertices ( ) const

Definition at line 171 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.

CVertex CControlerGMap::getObjectScaleCoef ( ) const

Definition at line 231 of file controler-gmap-object-transformation.cc.

float CControlerGMap::getObjectScaleCoef ( int  ADim) const

Definition at line 249 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 ( ) const

Le numéro de marque du niveau de sélection courant.

Definition at line 74 of file controler-gmap-selection.cc.

int CControlerGMap::getSelectionMark ( int  ALevel) const

Le numéro de marque d'un niveau donné

Definition at line 77 of file controler-gmap-selection.cc.

TOrbit CControlerGMap::getSelectionOrbit ( ) const

Definition at line 49 of file controler-gmap-selection.cc.

CVertex CControlerGMap::getVertexPosition ( ) const

Definition at line 539 of file controler-gmap-object-transformation.cc.

void CControlerGMap::initConfig ( )

Definition at line 95 of file controler-gmap-export-xfig.cc.

bool CControlerGMap::isContractionOperation ( const COperation AOperation) const

Return true iff the operation is a contraction one.

Definition at line 59 of file controler-gmap-operations.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) const

Definition at line 104 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::isInCreationMode ( ) const
Returns
vrai SSI on est en mode création.

Definition at line 83 of file controler-gmap-input-events.cc.

bool CControlerGMap::isMapOk ( ) const

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 169 of file controler-gmap-views.cc.

bool CControlerGMap::isModelChanged ( ) const

Definition at line 59 of file controler-gmap-protected-methods.cc.

bool CControlerGMap::isModeSimplification ( ) const

Méthodes pour basculer en mode simplification.

Definition at line 193 of file controler-gmap-views.cc.

bool CControlerGMap::isNonModifyingOperation ( const COperation AOperation) const

Return true iff the operation does not modify the map.

Definition at line 35 of file controler-gmap-operations.cc.

bool CControlerGMap::isPartialModelChanged ( ) const
protected

Definition at line 79 of file controler-gmap-protected-methods.cc.

bool CControlerGMap::isRemovalOperation ( const COperation AOperation) const

Return true iff the operation is a removal one.

Definition at line 46 of file controler-gmap-operations.cc.

bool CControlerGMap::isSelectionChanged ( ) const

Definition at line 126 of file controler-gmap-protected-methods.cc.

bool CControlerGMap::loadModel ( std::ostringstream *  AStream)
protectedvirtual

Reimplemented from CControler.

Definition at line 88 of file controler-gmap-undo-redo.cc.

void CControlerGMap::modeCreationReinitPosition ( )

Definition at line 105 of file controler-gmap-creations.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.

CPrecompile * CControlerGMap::newPrecompile ( TViewId  AViewId,
TPrecompile  APrecompileType 
)
protectedvirtual

Reimplemented from CControler.

Definition at line 185 of file controler-gmap-protected-methods.cc.

void CControlerGMap::onEnterMode ( )
protectedvirtual

Reimplemented from CControler.

Definition at line 29 of file controler-gmap-input-events.cc.

void CControlerGMap::onExitMode ( )
protectedvirtual

Reimplemented from CControler.

Definition at line 61 of file controler-gmap-input-events.cc.

void CControlerGMap::onOperationModeMove ( )
protectedvirtual

Reimplemented from CControler.

Definition at line 151 of file controler-gmap-input-events.cc.

void CControlerGMap::onOperationModeStart ( )
protectedvirtual

Reimplemented from CControler.

Definition at line 103 of file controler-gmap-input-events.cc.

void CControlerGMap::onOperationModeStop ( )
protectedvirtual

Reimplemented from CControler.

Definition at line 179 of file controler-gmap-input-events.cc.

void CControlerGMap::sauveCarteIntervoxelXfig ( TViewId  ,
std::ofstream &  ,
bool  AInvert = true 
)

Definition at line 1019 of file controler-gmap-export-xfig.cc.

void CControlerGMap::sauveCarteXfig ( TViewId  ,
std::ofstream &  ,
bool  AArrow,
bool  AFace,
bool  ASews,
bool  AGrid,
bool  AVertices,
bool  AInvert = true 
)

Definition at line 858 of file controler-gmap-export-xfig.cc.

ostringstream * CControlerGMap::saveModel ( )
protectedvirtual

Reimplemented from CControler.

Definition at line 29 of file controler-gmap-undo-redo.cc.

void CControlerGMap::selectDart ( CDart *  ADart,
int  ALevel 
)

Definition at line 116 of file controler-gmap-selection.cc.

void CControlerGMap::selectDart ( CDart *  ADart)

Definition at line 113 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)

Definition at line 169 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::setBurstMethod ( TBurstMethod  AMethod)

Méthodes pour gérer le type de calcul des coordonnées éclatées.

Definition at line 159 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 138 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 175 of file controler-gmap-views.cc.

void CControlerGMap::setModelChanged ( )

Definition at line 65 of file controler-gmap-protected-methods.cc.

void CControlerGMap::setModeSimplification ( )

Definition at line 199 of file controler-gmap-views.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 ( const CVertex &  AValue)

Definition at line 217 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::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 ( )

Definition at line 132 of file controler-gmap-protected-methods.cc.

void CControlerGMap::setSelectionOrbit ( TOrbit  AOrbit)

Definition at line 52 of file controler-gmap-selection.cc.

void CControlerGMap::setVertexPosition ( const CVertex &  AVertex)

Definition at line 545 of file controler-gmap-object-transformation.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,
int  ALevel 
)

Definition at line 157 of file controler-gmap-selection.cc.

void CControlerGMap::toggleDartSelection ( CDart *  ADart)

Definition at line 154 of file controler-gmap-selection.cc.

void CControlerGMap::toggleModelBlocked ( )

Definition at line 187 of file controler-gmap-views.cc.

void CControlerGMap::toggleModeSimplification ( )

Definition at line 211 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)

Definition at line 215 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::unsetAllLastSelectedDarts ( )

Definition at line 101 of file controler-gmap-selection.cc.

void CControlerGMap::unsetLastSelectedDart ( )

Definition at line 92 of file controler-gmap-selection.cc.

void CControlerGMap::unsetLastSelectedDart ( int  ALevel)

Definition at line 95 of file controler-gmap-selection.cc.

void CControlerGMap::unsetModelBlocked ( )

Definition at line 181 of file controler-gmap-views.cc.

void CControlerGMap::unsetModelChanged ( )

Definition at line 72 of file controler-gmap-protected-methods.cc.

void CControlerGMap::unsetModeSimplification ( )

Definition at line 205 of file controler-gmap-views.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 ( )

Definition at line 138 of file controler-gmap-protected-methods.cc.

void CControlerGMap::updateModelIfNeeded ( )
protected

Definition at line 97 of file controler-gmap-protected-methods.cc.

void CControlerGMap::updateSelectionIfNeeded ( )
protected

Definition at line 144 of file controler-gmap-protected-methods.cc.

void CControlerGMap::viewDisableObjectTransformationPrecompile ( TViewId  AViewId)

Definition at line 102 of file controler-gmap-views.cc.

void CControlerGMap::viewDisablePreviewPrecompile ( TViewId  AViewId)

Definition at line 73 of file controler-gmap-views.cc.

void CControlerGMap::viewEnableObjectTransformationPrecompile ( TViewId  AViewId)

Definition at line 85 of file controler-gmap-views.cc.

void CControlerGMap::viewEnablePreviewPrecompile ( TViewId  AViewId)

Definition at line 50 of file controler-gmap-views.cc.

void CControlerGMap::viewUpdate ( TViewId  AViewId)
virtual

Reimplemented from CControler.

Definition at line 114 of file controler-gmap-views.cc.

Member Data Documentation

TObject GMap3d::CControlerGMap::FCreationType
protected

Definition at line 50 of file controler-gmap.hh.

CGMapVertex* GMap3d::CControlerGMap::FMap
protected

The generalized map.

Definition at line 180 of file controler-gmap.hh.


The documentation for this class was generated from the following files: