HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_PointPositionParser Class Reference

#include <SOP_FacePointParser.h>

+ Inheritance diagram for SOP_PointPositionParser:

Public Member Functions

 SOP_PointPositionParser (const GU_Detail *gdp, const UT_StringHolder &str)
 
 ~SOP_PointPositionParser () override
 
void pointList (UT_Vector3Array *ptarray)
 
- Public Member Functions inherited from SOP_FacePointParser
 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
 
void resetPointList () override
 
void referencePoint (GA_Offset point) override
 
void addPoint (const UT_Vector4R &pt, bool relative, bool use_w, const UT_Vector4R &last, SOP_FacePointParser::RefType reftype=RefTypeNone, int pid=-1) override
 
- 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

UT_Vector3ArraymyPointList
 
- Protected Attributes inherited from SOP_FacePointParser
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
 

Additional Inherited Members

- Public Types inherited from SOP_FacePointParser
enum  RefType { RefTypeNone = -1, RefTypePoint = 0, RefTypeBreakpoint = 1, RefTypeRelative = 2 }
 

Detailed Description

Definition at line 106 of file SOP_FacePointParser.h.

Constructor & Destructor Documentation

SOP_PointPositionParser::SOP_PointPositionParser ( const GU_Detail gdp,
const UT_StringHolder str 
)
inline

Definition at line 109 of file SOP_FacePointParser.h.

SOP_PointPositionParser::~SOP_PointPositionParser ( )
inlineoverride

Definition at line 112 of file SOP_FacePointParser.h.

Member Function Documentation

void SOP_PointPositionParser::addPoint ( const UT_Vector4R pt,
bool  relative,
bool  use_w,
const UT_Vector4R last,
SOP_FacePointParser::RefType  reftype = RefTypeNone,
int  pid = -1 
)
inlineoverrideprotectedvirtual

Implements SOP_FacePointParser.

Definition at line 138 of file SOP_FacePointParser.h.

void SOP_PointPositionParser::handleError ( )
inlineoverrideprotectedvirtual

Reimplemented from SOP_FacePointParser.

Definition at line 119 of file SOP_FacePointParser.h.

void SOP_PointPositionParser::pointList ( UT_Vector3Array ptarray)
inline

Definition at line 114 of file SOP_FacePointParser.h.

void SOP_PointPositionParser::referencePoint ( GA_Offset  point)
inlineoverrideprotectedvirtual

Implements SOP_FacePointParser.

Definition at line 133 of file SOP_FacePointParser.h.

void SOP_PointPositionParser::resetPointList ( )
inlineoverrideprotectedvirtual

Implements SOP_FacePointParser.

Definition at line 127 of file SOP_FacePointParser.h.

Member Data Documentation

UT_Vector3Array* SOP_PointPositionParser::myPointList
protected

Definition at line 163 of file SOP_FacePointParser.h.


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