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

#include <GA_Breakpoint.h>

Public Member Functions

 GA_Breakpoint (const GA_Primitive *prim=0, int uidx=-1, int vidx=-1)
 
 GA_Breakpoint (const GA_Breakpoint &b)=default
 
 ~GA_Breakpoint ()
 
bool operator== (const GA_Breakpoint &b) const
 
bool isPrimary () const
 
int u () const
 
int v () const
 
int getU () const
 
int getV () const
 
void setU (int u)
 
void setV (int v)
 
const GA_PrimitivegetSpline () const
 
void setSpline (const GA_Primitive *p)
 
bool jsonSave (UT_JSONWriter &w, const GA_SaveMap &map) const
 
bool jsonLoad (UT_JSONParser &p, const GA_LoadMap &map)
 Load from a JSON stream. More...
 

Detailed Description

Definition at line 26 of file GA_Breakpoint.h.

Constructor & Destructor Documentation

GA_Breakpoint::GA_Breakpoint ( const GA_Primitive prim = 0,
int  uidx = -1,
int  vidx = -1 
)
inline

Definition at line 29 of file GA_Breakpoint.h.

GA_Breakpoint::GA_Breakpoint ( const GA_Breakpoint b)
default
GA_Breakpoint::~GA_Breakpoint ( )
inline

Definition at line 36 of file GA_Breakpoint.h.

Member Function Documentation

const GA_Primitive* GA_Breakpoint::getSpline ( ) const
inline

Definition at line 63 of file GA_Breakpoint.h.

int GA_Breakpoint::getU ( ) const
inline

Definition at line 54 of file GA_Breakpoint.h.

int GA_Breakpoint::getV ( ) const
inline

Definition at line 56 of file GA_Breakpoint.h.

bool GA_Breakpoint::isPrimary ( ) const
inline

Definition at line 46 of file GA_Breakpoint.h.

bool GA_Breakpoint::jsonLoad ( UT_JSONParser p,
const GA_LoadMap map 
)

Load from a JSON stream.

bool GA_Breakpoint::jsonSave ( UT_JSONWriter w,
const GA_SaveMap map 
) const

Save data to a JSON stream.

JSON Schema: GA_Breakpoint

{
"name" : "GA_Breakpoint",
"description" : "An tuple describing the breakpoint.
(prim_number, uindex, vindex)",
"type" : "array",
"items" : "integer",
"minitems" : 3,
"maxitems" : 3,
}
See Also
JSON_FileFormat
bool GA_Breakpoint::operator== ( const GA_Breakpoint b) const
inline

Definition at line 38 of file GA_Breakpoint.h.

void GA_Breakpoint::setSpline ( const GA_Primitive p)
inline

Definition at line 65 of file GA_Breakpoint.h.

void GA_Breakpoint::setU ( int  u)
inline

Definition at line 58 of file GA_Breakpoint.h.

void GA_Breakpoint::setV ( int  v)
inline

Definition at line 60 of file GA_Breakpoint.h.

int GA_Breakpoint::u ( ) const
inline

Definition at line 50 of file GA_Breakpoint.h.

int GA_Breakpoint::v ( ) const
inline

Definition at line 52 of file GA_Breakpoint.h.


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