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

#include <GU_EdgeSlide.h>

Public Types

typedef std::pair< GA_Index,
GA_Index
Edge
 

Public Member Functions

 GU_EdgeSlide (GU_RayIntersect *templateGeoRayIntersect=nullptr)
 
bool setSlidePoints (const GU_Detail &geo, const UT_Array< Edge > &selection)
 
void moveSlidePoints (UT_Array< GA_Index > &indices, UT_Vector3Array &positions, const GU_Detail &geo, const UT_Vector3 &dir, const UT_Vector3 &orig, bool staticShift, UT_Map< GA_Index, GA_Index > *snapped=nullptr)
 
void setCurPosToInitPos ()
 
void clearSlidePoints ()
 
void getSlidePoints (UT_Array< GA_Index > &points, UT_Set< GA_Index > *invalid=nullptr) const
 
void getNeighbouringPoints (UT_Array< GA_Index > &points, bool left) const
 
void getSlidePointsPos (UT_Vector3Array &points) const
 
void getNeighbouringPointsPos (UT_Vector3Array &points, bool left) const
 
bool isEmpty () const
 
bool isLoop () const
 
bool isValid () const
 
bool isMovingLeft () const
 
GU_SlideMode getMode () const
 
void setMode (GU_SlideMode mode)
 
void setGrabEdge (GA_Index p0, GA_Index p1)
 
Edge getGrabEdge ()
 

Detailed Description

Definition at line 33 of file GU_EdgeSlide.h.

Member Typedef Documentation

typedef std::pair<GA_Index, GA_Index> GU_EdgeSlide::Edge

Definition at line 36 of file GU_EdgeSlide.h.

Constructor & Destructor Documentation

GU_EdgeSlide::GU_EdgeSlide ( GU_RayIntersect templateGeoRayIntersect = nullptr)
inline

Definition at line 39 of file GU_EdgeSlide.h.

Member Function Documentation

void GU_EdgeSlide::clearSlidePoints ( )
Edge GU_EdgeSlide::getGrabEdge ( )
inline

Definition at line 92 of file GU_EdgeSlide.h.

GU_SlideMode GU_EdgeSlide::getMode ( ) const
inline

Definition at line 89 of file GU_EdgeSlide.h.

void GU_EdgeSlide::getNeighbouringPoints ( UT_Array< GA_Index > &  points,
bool  left 
) const
void GU_EdgeSlide::getNeighbouringPointsPos ( UT_Vector3Array points,
bool  left 
) const
void GU_EdgeSlide::getSlidePoints ( UT_Array< GA_Index > &  points,
UT_Set< GA_Index > *  invalid = nullptr 
) const
void GU_EdgeSlide::getSlidePointsPos ( UT_Vector3Array points) const
bool GU_EdgeSlide::isEmpty ( ) const
inline

Definition at line 85 of file GU_EdgeSlide.h.

bool GU_EdgeSlide::isLoop ( ) const
inline

Definition at line 86 of file GU_EdgeSlide.h.

bool GU_EdgeSlide::isMovingLeft ( ) const
inline

Definition at line 88 of file GU_EdgeSlide.h.

bool GU_EdgeSlide::isValid ( void  ) const
inline

Definition at line 87 of file GU_EdgeSlide.h.

void GU_EdgeSlide::moveSlidePoints ( UT_Array< GA_Index > &  indices,
UT_Vector3Array positions,
const GU_Detail geo,
const UT_Vector3 dir,
const UT_Vector3 orig,
bool  staticShift,
UT_Map< GA_Index, GA_Index > *  snapped = nullptr 
)
void GU_EdgeSlide::setCurPosToInitPos ( )
void GU_EdgeSlide::setGrabEdge ( GA_Index  p0,
GA_Index  p1 
)
inline

Definition at line 91 of file GU_EdgeSlide.h.

void GU_EdgeSlide::setMode ( GU_SlideMode  mode)
inline

Definition at line 90 of file GU_EdgeSlide.h.

bool GU_EdgeSlide::setSlidePoints ( const GU_Detail geo,
const UT_Array< Edge > &  selection 
)

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