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

#include <GD_TrimRegion.h>

+ Inheritance diagram for GD_TrimRegion:

Public Member Functions

 GD_TrimRegion (int opencasual=0)
 
 ~GD_TrimRegion () override
 
virtual int64 getMemoryUsage (bool inclusive) const
 
void reverse () override
 
int isDirty () const
 
int isOpenCasual () const
 
int isValid () const
 
int getNum () const
 
const GD_TrimLoopgetLoop () const
 
GD_TrimLoopgetLoop (const UT_BoundingRect &brect, float tolerance=1e-4F, int doDomainClip=1)
 
int contains (const GD_Primitive &prim) const
 
int contains (const GA_PrimitiveGroup &group, int count_how_many=0) const
 
int remove (const GD_Primitive &prim)
 
int remove (const GA_PrimitiveGroup &group)
 
void merge (GA_PrimitiveGroup *group) const
 
int copy (GD_Detail &gdp, const GD_TrimRegion &src, int primoffset)
 
bool load (GD_Detail &gdp, UT_IStream &is)
 
int save (std::ostream &os, int binary) const
 
bool jsonLoad (GD_Detail &gdp, UT_JSONParser &p, const GA_LoadMap &map)
 
bool jsonSave (UT_JSONWriter &w, const GA_SaveMap &map) const
 

Protected Member Functions

void setNum (int num)
 
void initialize ()
 

Friends

class GD_Detail
 

Additional Inherited Members

Detailed Description

Definition at line 78 of file GD_TrimRegion.h.

Constructor & Destructor Documentation

GD_TrimRegion::GD_TrimRegion ( int  opencasual = 0)
GD_TrimRegion::~GD_TrimRegion ( )
override

Member Function Documentation

int GD_TrimRegion::contains ( const GD_Primitive prim) const
int GD_TrimRegion::contains ( const GA_PrimitiveGroup group,
int  count_how_many = 0 
) const
int GD_TrimRegion::copy ( GD_Detail gdp,
const GD_TrimRegion src,
int  primoffset 
)
const GD_TrimLoop* GD_TrimRegion::getLoop ( ) const
inline

Definition at line 99 of file GD_TrimRegion.h.

GD_TrimLoop* GD_TrimRegion::getLoop ( const UT_BoundingRect brect,
float  tolerance = 1e-4F,
int  doDomainClip = 1 
)
virtual int64 GD_TrimRegion::getMemoryUsage ( bool  inclusive) const
virtual
int GD_TrimRegion::getNum ( ) const
inline

Definition at line 95 of file GD_TrimRegion.h.

void GD_TrimRegion::initialize ( )
protected
int GD_TrimRegion::isDirty ( ) const
inline

Definition at line 90 of file GD_TrimRegion.h.

int GD_TrimRegion::isOpenCasual ( ) const
inline

Definition at line 91 of file GD_TrimRegion.h.

int GD_TrimRegion::isValid ( ) const
inline

Definition at line 92 of file GD_TrimRegion.h.

bool GD_TrimRegion::jsonLoad ( GD_Detail gdp,
UT_JSONParser p,
const GA_LoadMap map 
)

JSON IO

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

JSON IO

bool GD_TrimRegion::load ( GD_Detail gdp,
UT_IStream is 
)
void GD_TrimRegion::merge ( GA_PrimitiveGroup group) const
int GD_TrimRegion::remove ( const GD_Primitive prim)
int GD_TrimRegion::remove ( const GA_PrimitiveGroup group)
void GD_TrimRegion::reverse ( )
overridevirtual

Reimplemented from UT_LinkList.

int GD_TrimRegion::save ( std::ostream &  os,
int  binary 
) const
void GD_TrimRegion::setNum ( int  num)
inlineprotected

Definition at line 134 of file GD_TrimRegion.h.

Friends And Related Function Documentation

friend class GD_Detail
friend

Definition at line 142 of file GD_TrimRegion.h.


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