ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
vtkFileSequenceParser Class Reference

#include <vtkFileSequenceParser.h>

Inheritance diagram for vtkFileSequenceParser:
Collaboration diagram for vtkFileSequenceParser:

Public Member Functions

 vtkTypeMacro (vtkFileSequenceParser, vtkObject)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
bool ParseFileSequence (const char *file)
 
 vtkGetStringMacro (SequenceName)
 
 vtkGetMacro (SequenceIndex, int)
 

Static Public Member Functions

static vtkFileSequenceParserNew ()
 

Protected Member Functions

 vtkFileSequenceParser ()
 
 ~vtkFileSequenceParser () override
 
 vtkSetStringMacro (SequenceName)
 

Protected Attributes

vtksys::RegularExpression * reg_ex
 
vtksys::RegularExpression * reg_ex2
 
vtksys::RegularExpression * reg_ex3
 
vtksys::RegularExpression * reg_ex4
 
vtksys::RegularExpression * reg_ex5
 
vtksys::RegularExpression * reg_ex_last
 
int SequenceIndex
 
char * SequenceName
 

Detailed Description

Definition at line 17 of file vtkFileSequenceParser.h.

Constructor & Destructor Documentation

◆ vtkFileSequenceParser()

vtkFileSequenceParser::vtkFileSequenceParser ( )
protected

Definition at line 26 of file vtkFileSequenceParser.cxx.

◆ ~vtkFileSequenceParser()

vtkFileSequenceParser::~vtkFileSequenceParser ( )
overrideprotected

Definition at line 55 of file vtkFileSequenceParser.cxx.

References NULL, reg_ex, reg_ex2, reg_ex3, reg_ex4, reg_ex5, and reg_ex_last.

Member Function Documentation

◆ New()

static vtkFileSequenceParser* vtkFileSequenceParser::New ( )
static

◆ ParseFileSequence()

bool vtkFileSequenceParser::ParseFileSequence ( const char *  file)

Extract base file name sequence from the file. Returns true if a sequence is detected and sets SequenceName and SequenceIndex.

Definition at line 68 of file vtkFileSequenceParser.cxx.

References reg_ex, reg_ex2, reg_ex3, reg_ex4, reg_ex5, reg_ex_last, and SequenceIndex.

◆ PrintSelf()

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

Definition at line 125 of file vtkFileSequenceParser.cxx.

◆ vtkGetMacro()

vtkFileSequenceParser::vtkGetMacro ( SequenceIndex  ,
int   
)

◆ vtkGetStringMacro()

vtkFileSequenceParser::vtkGetStringMacro ( SequenceName  )

◆ vtkSetStringMacro()

vtkFileSequenceParser::vtkSetStringMacro ( SequenceName  )
protected

◆ vtkTypeMacro()

vtkFileSequenceParser::vtkTypeMacro ( vtkFileSequenceParser  ,
vtkObject   
)

Member Data Documentation

◆ reg_ex

vtksys::RegularExpression* vtkFileSequenceParser::reg_ex
protected

Definition at line 37 of file vtkFileSequenceParser.h.

Referenced by ParseFileSequence(), and ~vtkFileSequenceParser().

◆ reg_ex2

vtksys::RegularExpression* vtkFileSequenceParser::reg_ex2
protected

Definition at line 38 of file vtkFileSequenceParser.h.

Referenced by ParseFileSequence(), and ~vtkFileSequenceParser().

◆ reg_ex3

vtksys::RegularExpression* vtkFileSequenceParser::reg_ex3
protected

Definition at line 39 of file vtkFileSequenceParser.h.

Referenced by ParseFileSequence(), and ~vtkFileSequenceParser().

◆ reg_ex4

vtksys::RegularExpression* vtkFileSequenceParser::reg_ex4
protected

Definition at line 40 of file vtkFileSequenceParser.h.

Referenced by ParseFileSequence(), and ~vtkFileSequenceParser().

◆ reg_ex5

vtksys::RegularExpression* vtkFileSequenceParser::reg_ex5
protected

Definition at line 41 of file vtkFileSequenceParser.h.

Referenced by ParseFileSequence(), and ~vtkFileSequenceParser().

◆ reg_ex_last

vtksys::RegularExpression* vtkFileSequenceParser::reg_ex_last
protected

Definition at line 42 of file vtkFileSequenceParser.h.

Referenced by ParseFileSequence(), and ~vtkFileSequenceParser().

◆ SequenceIndex

int vtkFileSequenceParser::SequenceIndex
protected

Definition at line 47 of file vtkFileSequenceParser.h.

Referenced by ParseFileSequence().

◆ SequenceName

char* vtkFileSequenceParser::SequenceName
protected

Definition at line 48 of file vtkFileSequenceParser.h.


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