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

#include <CHOP_Handle.h>

Public Member Functions

 CHOP_Handle (CHOP_Node *dad, const char *name, int id, fpreal xoffset, fpreal yoffset=0, CHOP_HandleLook look=HANDLE_BOX, CHOP_HandleMotion motion=HANDLE_HORIZONTAL, int type_flag=DEFAULT_FLAGS)
 
 CHOP_Handle ()
 
 ~CHOP_Handle ()
 
unsigned operator== (const CHOP_Handle &v) const
 
CHOP_Handleoperator= (const CHOP_Handle &v)
 
void setColorOffset (int offset)
 
UT_Color getChopColor (const CL_Clip *clip=nullptr) const
 
CHOP_NodegetCHOP ()
 
const char * getName () const
 
unsigned int getId () const
 
fpreal getXoffset () const
 
fpreal getYoffset () const
 
CHOP_HandleLook getLook () const
 
CHOP_HandleMotion getMotion () const
 
int isLabelLeft () const
 
int isLabelTop () const
 
int isBar () const
 
int isWidthEnd () const
 
void setSubParent (int idx)
 
int getSubParent () const
 
int isSelected () const
 
void setSelected (int yesno)
 
int64 getMemoryUsage (bool inclusive) const
 

Detailed Description

Examples:
CHOP/CHOP_Stair.C, and CHOP/CHOP_Stair.h.

Definition at line 62 of file CHOP_Handle.h.

Constructor & Destructor Documentation

CHOP_Handle::CHOP_Handle ( CHOP_Node dad,
const char *  name,
int  id,
fpreal  xoffset,
fpreal  yoffset = 0,
CHOP_HandleLook  look = HANDLE_BOX,
CHOP_HandleMotion  motion = HANDLE_HORIZONTAL,
int  type_flag = DEFAULT_FLAGS 
)
CHOP_Handle::CHOP_Handle ( )
CHOP_Handle::~CHOP_Handle ( )

Member Function Documentation

CHOP_Node* CHOP_Handle::getCHOP ( )
inline

Definition at line 89 of file CHOP_Handle.h.

UT_Color CHOP_Handle::getChopColor ( const CL_Clip clip = nullptr) const
inline

Definition at line 86 of file CHOP_Handle.h.

unsigned int CHOP_Handle::getId ( ) const
inline
Examples:
CHOP/CHOP_Stair.C.

Definition at line 91 of file CHOP_Handle.h.

CHOP_HandleLook CHOP_Handle::getLook ( ) const
inline

Definition at line 94 of file CHOP_Handle.h.

int64 CHOP_Handle::getMemoryUsage ( bool  inclusive) const
CHOP_HandleMotion CHOP_Handle::getMotion ( ) const
inline

Definition at line 95 of file CHOP_Handle.h.

const char* CHOP_Handle::getName ( ) const
inline

Definition at line 90 of file CHOP_Handle.h.

int CHOP_Handle::getSubParent ( ) const
inline

Definition at line 112 of file CHOP_Handle.h.

fpreal CHOP_Handle::getXoffset ( ) const
inline

Definition at line 92 of file CHOP_Handle.h.

fpreal CHOP_Handle::getYoffset ( ) const
inline

Definition at line 93 of file CHOP_Handle.h.

int CHOP_Handle::isBar ( ) const
inline

Definition at line 103 of file CHOP_Handle.h.

int CHOP_Handle::isLabelLeft ( ) const
inline

Definition at line 97 of file CHOP_Handle.h.

int CHOP_Handle::isLabelTop ( ) const
inline

Definition at line 100 of file CHOP_Handle.h.

int CHOP_Handle::isSelected ( ) const
inline

Definition at line 115 of file CHOP_Handle.h.

int CHOP_Handle::isWidthEnd ( ) const
inline

Definition at line 106 of file CHOP_Handle.h.

CHOP_Handle& CHOP_Handle::operator= ( const CHOP_Handle v)
unsigned CHOP_Handle::operator== ( const CHOP_Handle v) const
void CHOP_Handle::setColorOffset ( int  offset)
inline

Definition at line 83 of file CHOP_Handle.h.

void CHOP_Handle::setSelected ( int  yesno)
inline

Definition at line 118 of file CHOP_Handle.h.

void CHOP_Handle::setSubParent ( int  idx)
inline

Definition at line 109 of file CHOP_Handle.h.


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