TTK
|
Interactions and rendering. More...
#include <ttkUserInterfaceBase.h>
Public Member Functions | |
ttkUserInterfaceBase () | |
~ttkUserInterfaceBase () override | |
int | exportScene (const std::string &fileName="output.wrl") const |
ttkKeyHandler * | getKeyHandler () |
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 | 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 | |
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) |
Protected Member Functions | |
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 |
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 | |
bool | hasTexture_ |
bool | isUp_ |
bool | repeat_ |
bool | transparency_ |
bool | fullscreen_ |
std::vector< bool > | visibleOutputs_ |
std::vector< int > | hiddenOutputs_ |
ttkKeyHandler * | keyHandler_ |
std::vector< vtkPolyData * > | surfaces_ |
vtkSmartPointer< ttkCustomInteractor > | customInteractor_ |
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_ |
Debug * | ttkModule_ |
Protected Attributes inherited from ttk::Debug | |
int | debugLevel_ |
std::string | debugMsgPrefix_ |
std::string | debugMsgNamePrefix_ |
Protected Attributes inherited from ttk::BaseClass | |
bool | lastObject_ |
int | threadNumber_ |
Wrapper * | wrapper_ |
Additional Inherited Members | |
Public Attributes inherited from ttk::ProgramBase | |
CommandLineParser | parser_ |
Static Protected Attributes inherited from ttk::Debug | |
static COMMON_EXPORTS debug::LineMode | lastLineMode = ttk::debug::LineMode::NEW |
ttkUserInterfaceBase::ttkUserInterfaceBase | ( | ) |
Definition at line 65 of file ttkUserInterfaceBase.cpp.
|
overridedefault |
int ttkUserInterfaceBase::exportScene | ( | const std::string & | fileName = "output.wrl" | ) | const |
Definition at line 91 of file ttkUserInterfaceBase.cpp.
|
inline |
Definition at line 68 of file ttkUserInterfaceBase.h.
|
inline |
Definition at line 72 of file ttkUserInterfaceBase.h.
|
overridevirtual |
Reimplemented from ttk::ProgramBase.
Definition at line 104 of file ttkUserInterfaceBase.cpp.
int ttkUserInterfaceBase::refresh | ( | ) |
Definition at line 113 of file ttkUserInterfaceBase.cpp.
|
overridevirtual |
Reimplemented from ttkProgramBase.
Reimplemented in vtkUserInterface< ttkModule >.
Definition at line 186 of file ttkUserInterfaceBase.cpp.
|
inline |
Definition at line 95 of file ttkUserInterfaceBase.h.
int ttkUserInterfaceBase::switchOutput | ( | const int & | outputId | ) |
Definition at line 228 of file ttkUserInterfaceBase.cpp.
int ttkUserInterfaceBase::switchTransparency | ( | ) |
Definition at line 252 of file ttkUserInterfaceBase.cpp.
|
protected |
Definition at line 270 of file ttkUserInterfaceBase.cpp.
|
protected |
Definition at line 112 of file ttkUserInterfaceBase.h.
|
protected |
Definition at line 114 of file ttkUserInterfaceBase.h.
|
protected |
Definition at line 110 of file ttkUserInterfaceBase.h.
|
protected |
Definition at line 105 of file ttkUserInterfaceBase.h.
|
protected |
Definition at line 105 of file ttkUserInterfaceBase.h.
|
protected |
Definition at line 107 of file ttkUserInterfaceBase.h.
|
protected |
Definition at line 117 of file ttkUserInterfaceBase.h.
|
protected |
Definition at line 105 of file ttkUserInterfaceBase.h.
|
protected |
Definition at line 108 of file ttkUserInterfaceBase.h.
|
protected |
Definition at line 111 of file ttkUserInterfaceBase.h.
|
protected |
Definition at line 113 of file ttkUserInterfaceBase.h.
|
protected |
Definition at line 115 of file ttkUserInterfaceBase.h.
|
protected |
Definition at line 116 of file ttkUserInterfaceBase.h.
|
protected |
Definition at line 105 of file ttkUserInterfaceBase.h.
|
protected |
Definition at line 109 of file ttkUserInterfaceBase.h.
|
protected |
Definition at line 118 of file ttkUserInterfaceBase.h.
|
protected |
Definition at line 119 of file ttkUserInterfaceBase.h.
|
protected |
Definition at line 105 of file ttkUserInterfaceBase.h.
|
protected |
Definition at line 106 of file ttkUserInterfaceBase.h.