TTK
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ttkOBJWriter Class Reference

ttkOBJWriter - Object File Format Writer More...

#include <ttkOBJWriter.h>

Inheritance diagram for ttkOBJWriter:
ttk::Debug ttk::BaseClass

Public Types

typedef vtkDataSetWriter Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (std::ostream &os, vtkIndent indent) override
 
virtual void SetFilename (const char *)
 
virtual char * GetFilename ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static ttkOBJWriterSafeDownCast (vtkObject *o)
 
static ttkOBJWriterNew ()
 

Protected Member Functions

 ttkOBJWriter ()
 
 ~ttkOBJWriter () override
 
int OpenFile ()
 
void WriteData () override
 
- 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)
 
 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)
 
- Protected 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)
 

Protected Attributes

char * Filename {}
 
std::ofstream Stream {}
 
- 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_
 

Additional Inherited Members

- Static Protected Attributes inherited from ttk::Debug
static COMMON_EXPORTS debug::LineMode lastLineMode = ttk::debug::LineMode::NEW
 

Detailed Description

ttkOBJWriter - Object File Format Writer

Author
Julien Tierny
Date
February 2018.julie.nosp@m.n.ti.nosp@m.erny@.nosp@m.lip6.nosp@m..fr

Writes an .off file into VTK format.

Definition at line 19 of file ttkOBJWriter.h.

Member Typedef Documentation

◆ Superclass

typedef vtkDataSetWriter ttkOBJWriter::Superclass

Definition at line 23 of file ttkOBJWriter.h.

Constructor & Destructor Documentation

◆ ttkOBJWriter()

ttkOBJWriter::ttkOBJWriter ( )
protected

Definition at line 23 of file ttkOBJWriter.cpp.

◆ ~ttkOBJWriter()

ttkOBJWriter::~ttkOBJWriter ( )
overrideprotecteddefault

Member Function Documentation

◆ GetClassName()

virtual const char * ttkOBJWriter::GetClassName ( )
virtual

◆ GetFilename()

virtual char * ttkOBJWriter::GetFilename ( )
virtual

◆ IsA()

virtual int ttkOBJWriter::IsA ( const char *  type)
virtual

◆ IsTypeOf()

static int ttkOBJWriter::IsTypeOf ( const char *  type)
static

◆ New()

static ttkOBJWriter * ttkOBJWriter::New ( )
static

◆ OpenFile()

int ttkOBJWriter::OpenFile ( )
protected

Definition at line 29 of file ttkOBJWriter.cpp.

◆ PrintSelf()

void ttkOBJWriter::PrintSelf ( std::ostream &  os,
vtkIndent  indent 
)
override

Definition at line 12 of file ttkOBJWriter.cpp.

◆ SafeDownCast()

static ttkOBJWriter * ttkOBJWriter::SafeDownCast ( vtkObject *  o)
static

◆ SetFilename()

virtual void ttkOBJWriter::SetFilename ( const char *  )
virtual

◆ WriteData()

void ttkOBJWriter::WriteData ( )
overrideprotected

Definition at line 42 of file ttkOBJWriter.cpp.

Member Data Documentation

◆ Filename

char* ttkOBJWriter::Filename {}
protected

Definition at line 41 of file ttkOBJWriter.h.

◆ Stream

std::ofstream ttkOBJWriter::Stream {}
protected

Definition at line 42 of file ttkOBJWriter.h.


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