Rhino C++ API
8.13
|
#include <rhinoSdkGetCylinder.h>
Public Member Functions | |
CArgsRhinoGetCylinderEx () | |
CArgsRhinoGetCylinderEx (const CArgsRhinoGetCylinderEx &) | |
~CArgsRhinoGetCylinderEx () | |
CArgsRhinoGetCylinderEx & | operator= (const CArgsRhinoGetCylinderEx &) |
Public Member Functions inherited from CArgsRhinoGetCylinder | |
CArgsRhinoGetCylinder () | |
CArgsRhinoGetCylinder (const CArgsRhinoGetCylinder &) | |
~CArgsRhinoGetCylinder () | |
const wchar_t * | HeightPrompt () const |
CArgsRhinoGetCylinder & | operator= (const CArgsRhinoGetCylinder &) |
void | SetHeightPrompt (const wchar_t *prompt) |
Public Member Functions inherited from CArgsRhinoGetCircle | |
CArgsRhinoGetCircle () | |
CArgsRhinoGetCircle (const CArgsRhinoGetCircle &) | |
~CArgsRhinoGetCircle () | |
BOOL32 | AllowDeformable () const |
int | ArgsType () const |
return type of args class circle, cone, cylinder, sphere More... | |
int | AroundDirectionCount () const |
number of faces in the around direction More... | |
int | AroundDirectionMinCount () const |
const CRhinoCommandOptionName & | AroundMeshDensityDirectionPrompt () const |
prompt for number of faces in the around direction More... | |
int | ConeCylConstraint () const |
bool | ConeCylOptionAvailable () const |
double | DefaultSize () const |
BOOL32 | Deformable () const |
int | Degree () const |
const ON_wString & | DiameterPrompt () const |
std::function< void(const ON_Circle &)> | DynamicCircleCallback () const |
BOOL32 | DynamicDrawSphere () const |
void | EnableConeCylOption (bool bAvailable=true) |
void | EnableDynamicDrawSphere (BOOL32 bDrawSphere=TRUE) |
void | EnableVerticalCircleOption (BOOL32 bAvailable=TRUE) |
bool | GetCap () const |
eCircleResult | GetCircleType () |
CArgsRhinoGetCircle & | operator= (const CArgsRhinoGetCircle &) |
const ON_Plane & | Plane () const |
const ON_3dPoint & | Point0 () const |
const ON_3dPoint & | Point1 () const |
const ON_3dPoint & | Point2 () const |
int | PointCount () const |
const ON_wString & | Prompt0 () const |
const ON_wString & | Prompt1 () const |
const ON_wString & | Prompt2 () const |
bool | PromptForMeshDensity () const |
const ON_wString & | RadiusPrompt () const |
void | SetAllowDeformable (BOOL32 b=TRUE) |
void | SetAroundDirectionCount (int count) |
void | SetAroundDirectionMinCount (int count) |
void | SetAroundMeshDensityDirectionPrompt (const CRhinoCommandOptionName &prompt) |
void | SetCap (bool bCap=true) |
void | SetCircleType (eCircleResult mode) |
void | SetConeCylConstraint (int i=0) |
void | SetDefaultSize (double) |
Set the default size to use - diameter or radius depending on m_bUseDiameter. More... | |
void | SetDeformable (BOOL32 bDeformable=TRUE) |
void | SetDegree (int degree) |
void | SetDiameterPrompt (const wchar_t *) |
Set a custom prompt to use for getting the diameter. More... | |
void | SetDynamicCircleCallback (std::function< void(const ON_Circle &)> callback) |
void | SetPlane (const ON_Plane &) |
Set a plane. More... | |
void | SetPoint0 (const ON_3dPoint &) |
Set the first point to use instead of asking for one. More... | |
void | SetPoint1 (const ON_3dPoint &) |
Set the second point to use instead of asking for one. More... | |
void | SetPoint2 (const ON_3dPoint &point) |
Set the third point to use instead of asking for one. More... | |
void | SetPointCount (int count) |
void | SetPrompt0 (const wchar_t *) |
Set a custom prompt to use for getting the first (center) point. More... | |
void | SetPrompt1 (const wchar_t *) |
Set a custom prompt to use for getting the second point. More... | |
void | SetPrompt2 (const wchar_t *) |
Set a custom prompt to use for getting third point. More... | |
void | SetPromptForMeshDensity (bool bMeshDensity=true) |
void | SetRadiusPrompt (const wchar_t *) |
Set a custom prompt to use for getting the radius. More... | |
void | SetUseActiveLayerLinetype (bool on) |
When true the linetype of the active layer is used for dynamic drawing. More... | |
void | SetUseDefaultSize (BOOL32=TRUE) |
Use the default size when getting diameter/radius. More... | |
void | SetUseDiameterMode (BOOL32=TRUE) |
void | SetUsePlane (BOOL32=TRUE) |
Constrain the circle to a plane - Center/radius, 2point, 3point only. More... | |
void | SetUsePoint0 (BOOL32=TRUE) |
Use the first point and don't ask for one. More... | |
void | SetUsePoint1 (BOOL32=TRUE) |
Use the second point and don't ask for one. More... | |
void | SetVerticalCircle (BOOL32 bSelected=TRUE) |
void | SetVerticalDirectionCount (int count) |
void | SetVerticalDirectionMinCount (int count) |
void | SetVerticalMeshDensityDirectionPrompt (const CRhinoCommandOptionName &prompt) |
bool | UseActiveLayerLinetype () const |
BOOL32 | UseDefaultSize () const |
BOOL32 | UseDiameterMode () const |
BOOL32 | UsePlane () const |
BOOL32 | UsePoint0 () const |
BOOL32 | UsePoint1 () const |
BOOL32 | VerticalCircle () const |
BOOL32 | VerticalCircleOptionAvailable () const |
int | VerticalDirectionCount () const |
number of faces in the vertical direction More... | |
int | VerticalDirectionMinCount () const |
const CRhinoCommandOptionName & | VerticalMeshDensityDirectionPrompt () const |
prompt for number of faces in the vertical direction More... | |
Additional Inherited Members | |
Public Types inherited from CArgsRhinoGetCircle | |
enum | { circle_type, cylinder_type, cone_type, sphere_type, torus_type, sphere_type_ex, cylinder_type_ex, arc_type, mesh_sphere_type, cone_type_ex } |
enum | eCircleResult { nothing, center, twopt, threept, ttr, ttt, fitpoints, around, cancel, error } |
Results of main Circle Command function. More... | |
Protected Attributes inherited from CArgsRhinoGetCircle | |
BOOL32 | m_allow_deformable |
display deformable prompt or not More... | |
int | m_ArgsType |
bool | m_bCap = false |
[io] Used when RhinoGetCircle is called by a primitive solid command like cylinder or cone More... | |
bool | m_bConeCylAvailable |
[i] TRUE if "Vertical" option is available and applies to VerticalConeCyl More... | |
BOOL32 | m_bDynamicDrawSphere |
[i] More... | |
BOOL32 | m_bUseDefaultSize |
[i] Defaultsize is valid More... | |
BOOL32 | m_bUseDiameterMode |
[io] Get size in diameter mode instead of radius More... | |
BOOL32 | m_bUsePlane |
[i] Constrain the circle to a plane More... | |
BOOL32 | m_bUsePoint0 |
[i] Use first (center) instead of asking for point More... | |
BOOL32 | m_bUsePoint1 |
[i] Use second instead of asking for point More... | |
BOOL32 | m_bVerticalCircle |
[io] Make the circle axis parallel to the current construction plane More... | |
BOOL32 | m_bVerticalCircleAvailable |
[i] TRUE if "Vertical" option is available and applies to VerticalCircle More... | |
int | m_ConeCylConstraint |
[io] 0 = none, 1 = vertical, 2 = aroundcurve More... | |
double | m_defaultsize |
[i] if( m_bUseDefaultSize) radius or diameter (center/radius, ttr, AroundCurve only) More... | |
BOOL32 | m_deformable |
make circle deformable or not More... | |
int | m_degree |
deformable degree More... | |
std::function< void(const ON_Circle &)> | m_dynamicCircleCallback |
CRhinoCommandOptionName | m_mesh_density_around_direction_prompt |
int | m_mesh_density_AroundDirection |
int | m_mesh_density_MinAroundDirection |
int | m_mesh_density_MinVerticalDirection |
CRhinoCommandOptionName | m_mesh_density_vertical_direction_prompt |
int | m_mesh_density_VerticalDirection |
ON_Plane | m_plane |
[i] if( m_bUsePlane) constrain to this plane More... | |
ON_3dPoint | m_point0 |
[i] if( m_bHavePoint0) first point specified here (center/radius, 2pt, 3pt only) More... | |
ON_3dPoint | m_point1 |
[i] if( m_bHavePoint1) second point specified here (3pt only) More... | |
ON_3dPoint | m_point2 |
[i] if( m_bHavePoint2) second point specified here (3pt only) More... | |
int | m_point_count |
deformable cv count More... | |
ON_wString | m_prompt0 |
[i] Prompt for first or center point More... | |
ON_wString | m_prompt1 |
[i] Prompt for second point More... | |
ON_wString | m_prompt2 |
[i] Prompt for third point More... | |
ON_wString | m_promptdiameter |
[i] Prompt when getting size in diameter mode More... | |
bool | m_PromptForMeshDensity |
ON_wString | m_promptradius |
[i] Prompt when getting size in radius mode More... | |
eCircleResult | m_result |
[o] What mode was used More... | |
CArgsRhinoGetCylinderEx::CArgsRhinoGetCylinderEx | ( | ) |
CArgsRhinoGetCylinderEx::~CArgsRhinoGetCylinderEx | ( | ) |
CArgsRhinoGetCylinderEx::CArgsRhinoGetCylinderEx | ( | const CArgsRhinoGetCylinderEx & | ) |
CArgsRhinoGetCylinderEx& CArgsRhinoGetCylinderEx::operator= | ( | const CArgsRhinoGetCylinderEx & | ) |