#include <VISU_TimeAnimation.h>

Public Types | |
| enum | DumpMode { DM_None = 0, DM_Picture, DM_Video } |
Public Slots | |
| void | setProportionalSlot (bool theProp) |
| void | setCyclingSlot (bool theCycle) |
| void | setCleaningMemoryAtEachFrameSlot (bool theCycle) |
Signals | |
| void | frameChanged (long theNewFrame, double theTime) |
| void | stopped () |
Public Member Functions | |
| VISU_TimeAnimation (_PTR(Study) theStudy, VISU::View3D_ptr theView3D=VISU::View3D::_nil()) | |
| ~VISU_TimeAnimation () | |
| virtual VISU::VISUType | GetType () |
| bool | addField (_PTR(SObject) theField) |
| bool | addField (SALOMEDS::SObject_ptr theField) |
| FieldData & | getFieldData (int theNum) |
| CORBA::Boolean | generateFrames () |
| void | generatePresentations (CORBA::Long theFieldNum) |
| void | setViewer (SVTK_ViewWindow *theView) |
| SVTK_ViewWindow * | getViewer () |
| void | clearView () |
| void | clearData (FieldData &theData) |
| void | clearFieldData () |
| void | visibilityOff (int num_field, int num_frame) |
| void | stopAnimation () |
| void | startAnimation () |
| void | nextFrame () |
| void | prevFrame () |
| void | firstFrame () |
| void | lastFrame () |
| void | gotoFrame (CORBA::Long theFrame) |
| CORBA::Long | getNbFields () |
| CORBA::Long | getNbFrames () |
| CORBA::Long | getCurrentFrame () |
| long | getAbsoluteFrameNumber (std::pair< int, long > theFieldTimeStamp) |
| std::pair< int, long > | getRelativeFrameNumber (long theFrame) |
| VISU::ColoredPrs3d_ptr | getPresentation (CORBA::Long theField, CORBA::Long theFrame) |
| void | setPresentationType (CORBA::Long theFieldNum, VISU::VISUType theType) |
| VISU::VISUType | getPresentationType (CORBA::Long theFieldNum) |
| void | setSpeed (CORBA::Long theSpeed) |
| CORBA::Long | getSpeed () |
| CORBA::Boolean | isProportional () |
| void | setAnimationRange (CORBA::Double theMin, CORBA::Double theMax) |
| CORBA::Double | getMinRange () |
| CORBA::Double | getMaxRange () |
| CORBA::Boolean | isRangeDefined () |
| void | setAnimationSequence (const char *theSequence) |
| char * | getAnimationSequence () |
| CORBA::Boolean | isSequenceDefined () |
| bool | getIndicesFromSequence (QString theSequence, QList< long > &theIndices) |
| void | dumpTo (const char *thePath) |
| std::string | setDumpFormat (const char *theFormat) |
| void | setTimeStampFrequency (CORBA::Long theFrequency) |
| CORBA::Long | getTimeStampFrequency () |
| int | getDumpMode () const |
| bool | checkAVIMaker () const |
| QString | getLastErrorMsg () |
| CORBA::Boolean | isCycling () |
| CORBA::Boolean | isCleaningMemoryAtEachFrame () |
| CORBA::Double | getMinTime () |
| CORBA::Double | getMaxTime () |
| void | setProportional (CORBA::Boolean theProp) |
| void | setCycling (CORBA::Boolean theCycle) |
| void | setCleaningMemoryAtEachFrame (CORBA::Boolean theCycle) |
| SALOMEDS::SObject_ptr | publishInStudy () |
| void | restoreFromStudy (SALOMEDS::SObject_ptr theField) |
| void | restoreFromStudy (_PTR(SObject) theField) |
| void | saveAnimation () |
| bool | isSavedInStudy () const |
| _PTR (Study) getStudy() const | |
| void | setAnimationMode (VISU::Animation::AnimationMode theMode) |
| VISU::Animation::AnimationMode | getAnimationMode () |
| void | ApplyProperties (CORBA::Long theFieldNum, VISU::ColoredPrs3d_ptr thePrs) throw (SALOME::SALOME_Exception) |
Static Public Member Functions | |
| static VISU::Result_i * | createPresent (_PTR(SObject) theField) |
| static double | getTimeValue (_PTR(SObject) theTimestamp) |
Protected Member Functions | |
| CORBA::Boolean | _generateFrames () |
| void | _connectView () |
| void | _visibilityOff (int num_field, int num_frame) |
| void | _clearView () |
| void | _clearData (FieldData &theData) |
| void | _startAnimation () |
| void | _nextFrame () |
| void | _prevFrame () |
| void | _firstFrame () |
| void | _lastFrame () |
| void | _gotoFrame (CORBA::Long theFrame) |
| void | _emitFrameChanged (long theNewFrame, double theTime) |
| void | _emitStopped () |
| void | parallelAnimation (bool &theIsDumping, QList< int > &theIndexList) |
| void | successiveAnimation (bool &theIsDumping, QList< int > &theIndexList) |
| void | saveImages (int theFieldId, double &theOneVal, int &theNbFiles, QList< int > &theIndexList) |
| void | run () |
| QString | GenerateName () |
Private Slots | |
| void | onViewDeleted () |
Private Member Functions | |
| _PTR (Study) myStudy | |
Private Attributes | |
| QString | myLastError |
| QList< FieldData > | myFieldsLst |
| VISU::ExecutionState * | myExecutionState |
| long | myFrame |
| std::vector< long > | myFieldsAbsFrames |
| int | mySpeed |
| bool | myProportional |
| bool | myCycling |
| bool | myCleaningMemoryAtEachFrame |
| VISU::DumpPath * | myDumpPath |
| VISU::Animation::AnimationMode | myAnimationMode |
| double | myTimeMinVal |
| double | myTimeMaxVal |
| Range of time stams, set by user. | |
| double | myTimeMin |
| double | myTimeMax |
| Range of time stams, available for animation. | |
| QString | mySequence |
| QString | myDumpFormat |
| QString | myAVIMaker |
| long | myFileIndex |
| SVTK_ViewWindow * | myView |
| int | myDumpMode |
| int | myTimeStampFrequency |
| QString | myAnimEntry |
Static Private Attributes | |
| static int | myNBAnimations = 0 |
| VISU_TimeAnimation::VISU_TimeAnimation | ( | _PTR(Study) | theStudy, |
| VISU::View3D_ptr | theView3D = VISU::View3D::_nil() |
||
| ) |
| VISU_TimeAnimation::~VISU_TimeAnimation | ( | ) |
References batchmode_visu_view3d.myView.
| CORBA::Boolean VISU_TimeAnimation::_generateFrames | ( | ) | [protected] |
| void VISU_TimeAnimation::_connectView | ( | ) | [protected] |
References batchmode_visu_view3d.myView.
| void VISU_TimeAnimation::_visibilityOff | ( | int | num_field, |
| int | num_frame | ||
| ) | [protected] |
| void VISU_TimeAnimation::_clearView | ( | ) | [protected] |
References MESSAGE, FieldData.myActors, batchmode_visu_view3d.myView, and VISU.RepaintView().
| void VISU_TimeAnimation::_clearData | ( | FieldData & | theData | ) | [protected] |
| void VISU_TimeAnimation::_startAnimation | ( | ) | [protected] |
| void VISU_TimeAnimation::_nextFrame | ( | ) | [protected] |
References _emitFrameChanged(), MESSAGE, batchmode_visu_view3d.myView, and VISU.Animation.PARALLEL.
| void VISU_TimeAnimation::_prevFrame | ( | ) | [protected] |
References _emitFrameChanged(), MESSAGE, batchmode_visu_view3d.myView, and VISU.Animation.PARALLEL.
| void VISU_TimeAnimation::_firstFrame | ( | ) | [protected] |
References _emitFrameChanged(), MESSAGE, batchmode_visu_view3d.myView, and VISU.Animation.PARALLEL.
| void VISU_TimeAnimation::_lastFrame | ( | ) | [protected] |
References _emitFrameChanged(), MESSAGE, batchmode_visu_view3d.myView, and VISU.Animation.PARALLEL.
| void VISU_TimeAnimation::_gotoFrame | ( | CORBA::Long | theFrame | ) | [protected] |
References _emitFrameChanged(), MESSAGE, batchmode_visu_view3d.myView, and VISU.Animation.PARALLEL.
| void VISU_TimeAnimation::_emitFrameChanged | ( | long | theNewFrame, |
| double | theTime | ||
| ) | [protected] |
| void VISU_TimeAnimation::_emitStopped | ( | ) | [protected] |
| void VISU_TimeAnimation::parallelAnimation | ( | bool & | theIsDumping, |
| QList< int > & | theIndexList | ||
| ) | [protected] |
| void VISU_TimeAnimation::successiveAnimation | ( | bool & | theIsDumping, |
| QList< int > & | theIndexList | ||
| ) | [protected] |
| void VISU_TimeAnimation::saveImages | ( | int | theFieldId, |
| double & | theOneVal, | ||
| int & | theNbFiles, | ||
| QList< int > & | theIndexList | ||
| ) | [protected] |
| VISU::Result_i * VISU_TimeAnimation::createPresent | ( | _PTR(SObject) | theField | ) | [static] |
References _PTR(), batchmode_visu_view3d.aSObj, VISU.ClientSObjectToObject(), and VISU.GetServant().
| double VISU_TimeAnimation::getTimeValue | ( | _PTR(SObject) | theTimestamp | ) | [static] |
References _PTR(), and batchmode_visu_table.aName.
| virtual VISU::VISUType VISU_TimeAnimation.GetType | ( | ) | [virtual] |
References VISU.TNONE.
| bool VISU_TimeAnimation::addField | ( | _PTR(SObject) | theField | ) |
References _PTR(), batchmode_visu_view3d.aSObj, VISU.ClientSObjectToObject(), VISU.Storable.FindValue(), VISU.GetServant(), VISU.Storable.GetStorableMap(), FieldData.myNbFrames, FieldData.myNbTimes, FieldData.myOffset, FieldData.myPrsType, FieldData.myResult, visu_big_table.myStudy, VISU.Animation.PARALLEL, and VISU.TSCALARMAP.
| bool VISU_TimeAnimation::addField | ( | SALOMEDS::SObject_ptr | theField | ) |
References _PTR(), and visu_big_table.myStudy.
| FieldData& VISU_TimeAnimation.getFieldData | ( | int | theNum | ) |
| CORBA::Boolean VISU_TimeAnimation::generateFrames | ( | ) |
References _generateFrames().
| void VISU_TimeAnimation::generatePresentations | ( | CORBA::Long | theFieldNum | ) |
References batchmode_visu_view3d.aMax, batchmode_visu_view3d.aMin, visu_cache.aResult, VISU.CreateDefaultMinMaxController(), getMaxFieldsValue(), getMinFieldsValue(), VISU.Storable.GetStorableMap(), MESSAGE, FieldData.myNbFrames, FieldData.myNbTimes, FieldData.myPrs, FieldData.myPrsType, visu_big_table.myStudy, FieldData.myTiming, VISU.Animation.PARALLEL, VISU.ColoredPrs3d_i.SetMinMaxController(), VISU.Animation.SUCCESSIVE, VISU.TCUTLINES, VISU.TCUTPLANES, VISU.TCUTSEGMENT, VISU.TDEFORMEDSHAPE, VISU.TDEFORMEDSHAPEANDSCALARMAP, VISU.TGAUSSPOINTS, VISU.TISOSURFACES, VISU.TPLOT3D, VISU.TSCALARMAP, VISU.TSCALARMAPONDEFORMEDSHAPE, VISU.TSTREAMLINES, and VISU.TVECTORS.
| void VISU_TimeAnimation.setViewer | ( | SVTK_ViewWindow * | theView | ) |
References batchmode_visu_view3d.myView.
| SVTK_ViewWindow* VISU_TimeAnimation.getViewer | ( | ) |
References batchmode_visu_view3d.myView.
| void VISU_TimeAnimation::clearView | ( | ) |
References _clearView().
| void VISU_TimeAnimation::clearData | ( | FieldData & | theData | ) |
References _clearData().
| void VISU_TimeAnimation.clearFieldData | ( | ) |
| void VISU_TimeAnimation::visibilityOff | ( | int | num_field, |
| int | num_frame | ||
| ) |
References _visibilityOff().
| void VISU_TimeAnimation::stopAnimation | ( | ) |
| void VISU_TimeAnimation::startAnimation | ( | ) |
References _startAnimation().
| void VISU_TimeAnimation::nextFrame | ( | ) |
References _nextFrame().
| void VISU_TimeAnimation::prevFrame | ( | ) |
References _prevFrame().
| void VISU_TimeAnimation::firstFrame | ( | ) |
References _firstFrame().
| void VISU_TimeAnimation::lastFrame | ( | ) |
References _lastFrame().
| void VISU_TimeAnimation::gotoFrame | ( | CORBA::Long | theFrame | ) |
References _gotoFrame().
| CORBA::Long VISU_TimeAnimation.getNbFields | ( | ) |
| CORBA::Long VISU_TimeAnimation::getNbFrames | ( | ) |
References VISU.Animation.PARALLEL.
| CORBA::Long VISU_TimeAnimation.getCurrentFrame | ( | ) |
| long VISU_TimeAnimation::getAbsoluteFrameNumber | ( | std::pair< int, long > | theFieldTimeStamp | ) |
References VISU.Animation.PARALLEL.
| std::pair< int, long > VISU_TimeAnimation::getRelativeFrameNumber | ( | long | theFrame | ) |
References VISU.Animation.PARALLEL.
| VISU::ColoredPrs3d_ptr VISU_TimeAnimation::getPresentation | ( | CORBA::Long | theField, |
| CORBA::Long | theFrame | ||
| ) |
| void VISU_TimeAnimation::setPresentationType | ( | CORBA::Long | theFieldNum, |
| VISU::VISUType | theType | ||
| ) |
| VISU::VISUType VISU_TimeAnimation::getPresentationType | ( | CORBA::Long | theFieldNum | ) |
References VISU.TNONE.
| void VISU_TimeAnimation::setSpeed | ( | CORBA::Long | theSpeed | ) |
| CORBA::Long VISU_TimeAnimation.getSpeed | ( | ) |
| CORBA::Boolean VISU_TimeAnimation.isProportional | ( | ) |
| void VISU_TimeAnimation.setAnimationRange | ( | CORBA::Double | theMin, |
| CORBA::Double | theMax | ||
| ) |
| CORBA::Double VISU_TimeAnimation.getMinRange | ( | ) |
| CORBA::Double VISU_TimeAnimation.getMaxRange | ( | ) |
| CORBA::Boolean VISU_TimeAnimation.isRangeDefined | ( | ) |
| void VISU_TimeAnimation::setAnimationSequence | ( | const char * | theSequence | ) |
| char * VISU_TimeAnimation::getAnimationSequence | ( | ) |
| CORBA::Boolean VISU_TimeAnimation::isSequenceDefined | ( | ) |
| bool VISU_TimeAnimation::getIndicesFromSequence | ( | QString | theSequence, |
| QList< long > & | theIndices | ||
| ) |
| void VISU_TimeAnimation::dumpTo | ( | const char * | thePath | ) |
| std::string VISU_TimeAnimation::setDumpFormat | ( | const char * | theFormat | ) |
| void VISU_TimeAnimation::setTimeStampFrequency | ( | CORBA::Long | theFrequency | ) |
| CORBA::Long VISU_TimeAnimation.getTimeStampFrequency | ( | ) |
| int VISU_TimeAnimation.getDumpMode | ( | ) | const |
| bool VISU_TimeAnimation::checkAVIMaker | ( | ) | const |
| QString VISU_TimeAnimation.getLastErrorMsg | ( | ) |
| CORBA::Boolean VISU_TimeAnimation.isCycling | ( | ) |
| CORBA::Boolean VISU_TimeAnimation.isCleaningMemoryAtEachFrame | ( | ) |
| CORBA::Double VISU_TimeAnimation.getMinTime | ( | ) |
| CORBA::Double VISU_TimeAnimation.getMaxTime | ( | ) |
| void VISU_TimeAnimation.setProportional | ( | CORBA::Boolean | theProp | ) |
| void VISU_TimeAnimation.setCycling | ( | CORBA::Boolean | theCycle | ) |
| void VISU_TimeAnimation.setCleaningMemoryAtEachFrame | ( | CORBA::Boolean | theCycle | ) |
| SALOMEDS::SObject_ptr VISU_TimeAnimation::publishInStudy | ( | ) |
| void VISU_TimeAnimation::restoreFromStudy | ( | SALOMEDS::SObject_ptr | theField | ) |
References _PTR(), and visu_big_table.myStudy.
| void VISU_TimeAnimation::restoreFromStudy | ( | _PTR(SObject) | theField | ) |
References _PTR(), batchmode_visu_table.aName, visu_apply_properties.aPrs, VISU.Storable.FindValue(), VISU.GetSObject(), VISU.Storable.GetStorableMap(), VISU.DeformedShapeAndScalarMap_i.myComment, VISU.GaussPoints_i.myComment, VISU.StreamLines_i.myComment, VISU.Vectors_i.myComment, VISU.DeformedShape_i.myComment, VISU.Plot3D_i.myComment, VISU.CutSegment_i.myComment, VISU.CutLines_i.myComment, VISU.CutPlanes_i.myComment, VISU.IsoSurfaces_i.myComment, VISU.ScalarMap_i.myComment, FieldData.myNbFrames, FieldData.myOffset, FieldData.myPrs, FieldData.myPrsType, visu_big_table.myStudy, VISU.TCUTLINES, VISU.TCUTPLANES, VISU.TCUTSEGMENT, VISU.TDEFORMEDSHAPE, VISU.TDEFORMEDSHAPEANDSCALARMAP, VISU.TGAUSSPOINTS, VISU.TISOSURFACES, VISU.TPLOT3D, VISU.TSCALARMAP, VISU.TSTREAMLINES, and VISU.TVECTORS.
| void VISU_TimeAnimation::saveAnimation | ( | ) |
References _PTR(), VISU.CreateAttributes(), FieldData.myPrs, visu_big_table.myStudy, VISU.NO_ICON, VISU.NO_IOR, and VISU.NO_PERFSITENT_REF.
| bool VISU_TimeAnimation.isSavedInStudy | ( | ) | const |
| VISU_TimeAnimation._PTR | ( | Study | ) | const |
References visu_big_table.myStudy.
| void VISU_TimeAnimation.setAnimationMode | ( | VISU::Animation::AnimationMode | theMode | ) |
| VISU::Animation::AnimationMode VISU_TimeAnimation.getAnimationMode | ( | ) |
| void VISU_TimeAnimation::ApplyProperties | ( | CORBA::Long | theFieldNum, |
| VISU::ColoredPrs3d_ptr | thePrs | ||
| ) | throw (SALOME::SALOME_Exception) |
| void VISU_TimeAnimation.setProportionalSlot | ( | bool | theProp | ) | [slot] |
| void VISU_TimeAnimation.setCyclingSlot | ( | bool | theCycle | ) | [slot] |
| void VISU_TimeAnimation.setCleaningMemoryAtEachFrameSlot | ( | bool | theCycle | ) | [slot] |
| void VISU_TimeAnimation.frameChanged | ( | long | theNewFrame, |
| double | theTime | ||
| ) | [signal] |
| void VISU_TimeAnimation.stopped | ( | ) | [signal] |
| void VISU_TimeAnimation::run | ( | ) | [protected] |
References _emitStopped(), MESSAGE, batchmode_visu_view3d.myView, and VISU.Animation.PARALLEL.
| QString VISU_TimeAnimation::GenerateName | ( | ) | [protected] |
References VISU.GenerateName().
| void VISU_TimeAnimation::onViewDeleted | ( | ) | [private, slot] |
References batchmode_visu_view3d.myView.
| VISU_TimeAnimation._PTR | ( | Study | ) | [private] |
QString VISU_TimeAnimation.myLastError [private] |
QList<FieldData> VISU_TimeAnimation.myFieldsLst [private] |
long VISU_TimeAnimation.myFrame [private] |
std::vector<long> VISU_TimeAnimation.myFieldsAbsFrames [private] |
int VISU_TimeAnimation.mySpeed [private] |
bool VISU_TimeAnimation.myProportional [private] |
bool VISU_TimeAnimation.myCycling [private] |
bool VISU_TimeAnimation.myCleaningMemoryAtEachFrame [private] |
VISU::DumpPath* VISU_TimeAnimation.myDumpPath [private] |
double VISU_TimeAnimation.myTimeMinVal [private] |
double VISU_TimeAnimation.myTimeMaxVal [private] |
double VISU_TimeAnimation.myTimeMin [private] |
double VISU_TimeAnimation.myTimeMax [private] |
QString VISU_TimeAnimation.mySequence [private] |
QString VISU_TimeAnimation.myDumpFormat [private] |
QString VISU_TimeAnimation.myAVIMaker [private] |
long VISU_TimeAnimation.myFileIndex [private] |
SVTK_ViewWindow* VISU_TimeAnimation.myView [private] |
int VISU_TimeAnimation.myDumpMode [private] |
int VISU_TimeAnimation.myTimeStampFrequency [private] |
QString VISU_TimeAnimation.myAnimEntry [private] |
int VISU_TimeAnimation::myNBAnimations = 0 [static, private] |