HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_FacePointParser Class Referenceabstract

#include <SOP_FacePointParser.h>

+ Inheritance diagram for SOP_FacePointParser:

Public Types

enum  RefType { RefTypeNone = -1, RefTypePoint = 0, RefTypeBreakpoint = 1, RefTypeRelative = 2 }
 

Public Member Functions

 SOP_FacePointParser (const GU_Detail *gdp, UT_String &str)
 
 SOP_FacePointParser (const GU_Detail *gdp, const UT_StringHolder &str)
 
 ~SOP_FacePointParser () override
 
- Public Member Functions inherited from GOP_Parser
 GOP_Parser (const UT_String &str)
 
 GOP_Parser (const UT_StringHolder &str)
 
virtual ~GOP_Parser ()
 
virtual int doIt ()
 

Protected Member Functions

void handleError () override
 
virtual void resetPointList ()=0
 
virtual void addPoint (const UT_Vector4R &v, bool relative, bool use_w, const UT_Vector4R &last, RefType reftype=RefTypeNone, int pid=-1)=0
 
virtual void referencePoint (GA_Offset point)=0
 
- Protected Member Functions inherited from GOP_Parser
void startToken ()
 
void endToken ()
 
virtual void parseDispatcher ()
 
bool getInt (GA_Index &retval, unsigned state)
 
bool getInt (int &retval, unsigned state)
 
bool getFloat (float &retval, unsigned state)
 
bool getFloat (double &retval, unsigned state)
 
bool isChar (char c)
 
bool isSpace (char c)
 

Protected Attributes

int myErrorIndex
 
const GU_DetailmyRefGdp
 
- Protected Attributes inherited from GOP_Parser
UT_String myString
 
char * myTokBegin
 
char * myTokEnd
 
char * myTokLastGood
 
unsigned myCurrentState
 
int myReturnVal
 
char myTempChar
 

Detailed Description

Definition at line 31 of file SOP_FacePointParser.h.

Member Enumeration Documentation

Enumerator
RefTypeNone 
RefTypePoint 
RefTypeBreakpoint 
RefTypeRelative 

Definition at line 39 of file SOP_FacePointParser.h.

Constructor & Destructor Documentation

SOP_FacePointParser::SOP_FacePointParser ( const GU_Detail gdp,
UT_String str 
)
SOP_FacePointParser::SOP_FacePointParser ( const GU_Detail gdp,
const UT_StringHolder str 
)
SOP_FacePointParser::~SOP_FacePointParser ( )
inlineoverride

Definition at line 37 of file SOP_FacePointParser.h.

Member Function Documentation

virtual void SOP_FacePointParser::addPoint ( const UT_Vector4R v,
bool  relative,
bool  use_w,
const UT_Vector4R last,
RefType  reftype = RefTypeNone,
int  pid = -1 
)
protectedpure virtual

Implemented in SOP_PointPositionParser.

void SOP_FacePointParser::handleError ( )
overrideprotectedvirtual

Implements GOP_Parser.

Reimplemented in SOP_PointPositionParser.

virtual void SOP_FacePointParser::referencePoint ( GA_Offset  point)
protectedpure virtual

Implemented in SOP_PointPositionParser.

virtual void SOP_FacePointParser::resetPointList ( )
protectedpure virtual

Implemented in SOP_PointPositionParser.

Member Data Documentation

int SOP_FacePointParser::myErrorIndex
protected

Definition at line 62 of file SOP_FacePointParser.h.

const GU_Detail* SOP_FacePointParser::myRefGdp
protected

Definition at line 64 of file SOP_FacePointParser.h.


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