CustomObjectGrips Methods |
The CustomObjectGrips type exposes the following members.
Name | Description | |
---|---|---|
AddGrip | ||
Dispose | ||
Dispose(Boolean) | ||
Dragging |
Determines if grips are currently being dragged.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | (Overrides ObjectFinalize.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Grip | ||
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NeighborGrip | Get neighbors. | |
NewGeometry |
If the grips control just one object, then override NewGeometry(). When
NewGeometry() is called, return new geometry calculated from the current
grip locations. This happens once at the end of a grip drag.
| |
NurbsSurface |
If the grips control a NURBS surface, this returns a pointer to that
surface. You can look at but you must NEVER change this surface.
| |
NurbsSurfaceGrip |
If the grips are control points of a NURBS surface, then this gets the
index of the grip that controls the (i,j)-th CV.
| |
OnDraw |
Draws the grips. In your implementation, override this if you need to draw
dynamic elements and then call this base implementation to draw the grips themselves.
| |
OnReset |
Resets location of all grips to original spots and cleans up stuff that
was created by dynamic dragging. This is required when dragging is
canceled or in the Copy command when grips are "copied". The override
should clean up dynamic workspace stuff.
| |
OnResetMeshes |
Just before Rhino turns off object grips, it calls this function.
If grips have modified any display meshes, they must override
this function and restore the meshes to their original states.
| |
OnUpdateMesh |
Just before Rhino shades an object with grips on, it calls this method
to update the display meshes. Grips that modify surface or mesh objects
must override this function and modify the display meshes here.
| |
RegisterGripsEnabler | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) |