Gui: refactor SoDatumLabel::GLRender()
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -105,6 +105,15 @@ private:
|
||||
SbVec3f getLabelTextCenterDiameter(const SbVec3f&, const SbVec3f&);
|
||||
SbVec3f getLabelTextCenterAngle(const SbVec3f&);
|
||||
SbVec3f getLabelTextCenterArcLength(const SbVec3f&, const SbVec3f&, const SbVec3f&);
|
||||
bool hasDatumText() const;
|
||||
void getDimension(float scale, int& srcw, int& srch);
|
||||
void drawDistance(const SbVec3f* points, float scale, int srch, float& angle, SbVec3f& textOffset);
|
||||
void drawDistance(const SbVec3f* points);
|
||||
void drawRadiusOrDiameter(const SbVec3f* points, float& angle, SbVec3f& textOffset);
|
||||
void drawAngle(const SbVec3f* points, float& angle, SbVec3f& textOffset);
|
||||
void drawSymmetric(const SbVec3f* points);
|
||||
void drawArcLength(const SbVec3f* points, float& angle, SbVec3f& textOffset);
|
||||
void drawText(SoState *state, int srcw, int srch, float angle, const SbVec3f& textOffset);
|
||||
|
||||
private:
|
||||
void drawImage();
|
||||
|
||||
Reference in New Issue
Block a user