TTK
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
vtkUserInterface< ttkModule > Class Template Reference

#include <ttkUserInterfaceBase.h>

Inheritance diagram for vtkUserInterface< ttkModule >:
ttkUserInterfaceBase ttkProgramBase ttk::ProgramBase ttk::Debug ttk::BaseClass

Public Member Functions

 vtkUserInterface ()
 
int run () override
 
- Public Member Functions inherited from ttkUserInterfaceBase
 ttkUserInterfaceBase ()
 
 ~ttkUserInterfaceBase () override
 
int exportScene (const std::string &fileName="output.wrl") const
 
ttkKeyHandlergetKeyHandler ()
 
int hideOutputs (const std::vector< int > &outputList)
 
int init (int &argc, char **argv) override
 
int refresh ()
 
int run () override
 
int setKeyHandler (ttkKeyHandler *handler)
 
int switchOutput (const int &outputId)
 
int switchTransparency ()
 
- Public Member Functions inherited from ttkProgramBase
 ttkProgramBase ()
 
 ~ttkProgramBase () override=default
 
int execute () override
 Set the arguments of your ttk module and execute it here.
 
vtkDataSet * getInput (const int &inputId)
 
int getNumberOfInputs ()
 
int run () override
 
int save () const override
 Save the output(s) of the TTK module.
 
virtual int setTTKmodule (vtkDataSetAlgorithm *ttkModule)
 
- Public Member Functions inherited from ttk::ProgramBase
 ProgramBase ()
 
 ~ProgramBase () override=default
 
virtual int init (int &argc, char **argv)
 
virtual int run ()
 
virtual int save () const =0
 Save the output(s) of the TTK module.
 
- Public Member Functions inherited from ttk::Debug
 Debug ()
 
 ~Debug () override
 
virtual int setDebugLevel (const int &debugLevel)
 
int setWrapper (const Wrapper *wrapper) override
 
int printMsg (const std::string &msg, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::vector< std::string > &msgs, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printErr (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
 
int printWrn (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const double &memory, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::vector< std::vector< std::string > > &rows, const debug::Priority &priority=debug::Priority::INFO, const bool hasHeader=true, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const
 
int printMsg (const debug::Separator &separator, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const
 
void setDebugMsgPrefix (const std::string &prefix)
 
- Public Member Functions inherited from ttk::BaseClass
 BaseClass ()
 
virtual ~BaseClass ()=default
 
int getThreadNumber () const
 
virtual int setThreadNumber (const int threadNumber)
 
virtual int setWrapper (const Wrapper *wrapper)
 

Public Attributes

vtkSmartPointer< ttkModule > ttkObject_
 
- Public Attributes inherited from ttk::ProgramBase
CommandLineParser parser_
 

Additional Inherited Members

- Protected Member Functions inherited from ttkUserInterfaceBase
int updateScalarFieldTexture ()
 
- Protected Member Functions inherited from ttkProgramBase
template<class vtkReaderClass >
int load (const std::string &fileName, std::vector< vtkSmartPointer< vtkReaderClass > > &readerList)
 
int load (const std::vector< std::string > &inputPaths) override
 Load a sequence of input data-sets.
 
template<class vtkWriterClass >
int save (const int &outputPortId) const
 
virtual int execute ()=0
 Execute your TTK module here.
 
virtual int load (const std::vector< std::string > &inputPaths)=0
 Load a sequence of input data-sets.
 
- Protected Member Functions inherited from ttk::Debug
int printMsgInternal (const std::string &msg, const std::string &right, const std::string &filler, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsgInternal (const std::string &msg, const debug::Priority &priority, const debug::LineMode &lineMode, std::ostream &stream=std::cout) const
 
int welcomeMsg (std::ostream &stream)
 
- Protected Attributes inherited from ttkUserInterfaceBase
bool hasTexture_
 
bool isUp_
 
bool repeat_
 
bool transparency_
 
bool fullscreen_
 
std::vector< bool > visibleOutputs_
 
std::vector< int > hiddenOutputs_
 
ttkKeyHandlerkeyHandler_
 
std::vector< vtkPolyData * > surfaces_
 
vtkSmartPointer< ttkCustomInteractorcustomInteractor_
 
std::vector< vtkSmartPointer< vtkActor > > mainActors_
 
std::vector< vtkSmartPointer< vtkDataSetSurfaceFilter > > boundaryFilters_
 
vtkSmartPointer< vtkPNGReader > pngReader_
 
std::vector< vtkSmartPointer< vtkPolyDataMapper > > boundaryMappers_
 
vtkSmartPointer< vtkRenderer > renderer_
 
vtkSmartPointer< vtkRenderWindow > renderWindow_
 
vtkSmartPointer< vtkRenderWindowInteractor > interactor_
 
vtkSmartPointer< vtkTexture > texture_
 
std::vector< vtkSmartPointer< ttkTextureMapFromField > > textureMapFromFields_
 
- Protected Attributes inherited from ttkProgramBase
std::vector< vtkDataSet * > inputs_
 
std::vector< vtkSmartPointer< vtkXMLImageDataReader > > imageDataReaders_
 
std::vector< vtkSmartPointer< vtkXMLPolyDataReader > > polyDataReaders_
 
std::vector< vtkSmartPointer< vtkXMLUnstructuredGridReader > > unstructuredGridReaders_
 
vtkDataSetAlgorithm * vtkWrapper_
 
- Protected Attributes inherited from ttk::ProgramBase
std::string outputPath_
 
DebugttkModule_
 
- Protected Attributes inherited from ttk::Debug
int debugLevel_
 
std::string debugMsgPrefix_
 
std::string debugMsgNamePrefix_
 
- Protected Attributes inherited from ttk::BaseClass
bool lastObject_
 
int threadNumber_
 
Wrapperwrapper_
 
- Static Protected Attributes inherited from ttk::Debug
static COMMON_EXPORTS debug::LineMode lastLineMode = ttk::debug::LineMode::NEW
 

Detailed Description

template<class ttkModule>
class vtkUserInterface< ttkModule >

Definition at line 125 of file ttkUserInterfaceBase.h.

Constructor & Destructor Documentation

◆ vtkUserInterface()

template<class ttkModule >
vtkUserInterface< ttkModule >::vtkUserInterface ( )
inline

Definition at line 128 of file ttkUserInterfaceBase.h.

Member Function Documentation

◆ run()

template<class ttkModule >
int vtkUserInterface< ttkModule >::run ( )
inlineoverridevirtual

Reimplemented from ttkUserInterfaceBase.

Definition at line 134 of file ttkUserInterfaceBase.h.

Member Data Documentation

◆ ttkObject_

template<class ttkModule >
vtkSmartPointer<ttkModule> vtkUserInterface< ttkModule >::ttkObject_

Definition at line 138 of file ttkUserInterfaceBase.h.


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