HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 getSlidePointsSnaps (UT_Array< GA_Index > &snaps, 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 ()
 
GU_RayIntersectgetRayIntersect () const
 
void setRayIntersect (GU_RayIntersect *rayintersect)
 

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 40 of file GU_EdgeSlide.h.

Member Function Documentation

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

Definition at line 101 of file GU_EdgeSlide.h.

GU_SlideMode GU_EdgeSlide::getMode ( ) const
inline

Definition at line 97 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
GU_RayIntersect* GU_EdgeSlide::getRayIntersect ( ) const
inline

Definition at line 102 of file GU_EdgeSlide.h.

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

Definition at line 93 of file GU_EdgeSlide.h.

bool GU_EdgeSlide::isLoop ( ) const
inline

Definition at line 94 of file GU_EdgeSlide.h.

bool GU_EdgeSlide::isMovingLeft ( ) const
inline

Definition at line 96 of file GU_EdgeSlide.h.

bool GU_EdgeSlide::isValid ( void  ) const
inline

Definition at line 95 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 99 of file GU_EdgeSlide.h.

void GU_EdgeSlide::setMode ( GU_SlideMode  mode)
inline

Definition at line 98 of file GU_EdgeSlide.h.

void GU_EdgeSlide::setRayIntersect ( GU_RayIntersect rayintersect)
inline

Definition at line 103 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: