Rhino C++ API
8.10
|
#include <rhinoSdkGetEllipse.h>
Public Types | |
enum | eEllipseMode { center, centercorner, corner, diameter, fromfoci, aroundcurve } |
current Ellipse mode of RhinoGetEllipse functions More... | |
Public Member Functions | |
CArgsRhinoGetEllipse () | |
CArgsRhinoGetEllipse (const CArgsRhinoGetEllipse &) | |
~CArgsRhinoGetEllipse () | |
BOOL32 | AcceptNumber () const |
const double | Angle () const |
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... | |
bool | CapFaceStyle () const |
void | ClearPrompts (void) |
BOOL32 | Deformable () const |
BOOL32 | DeformablePointCount () const |
int | Dir () const |
const double | Eccentricity () const |
eEllipseMode | EllipseMode () const |
const ON_3dPoint & | FirstPoint () const |
const ON_wString & | FirstPrompt () const |
BOOL32 | MarkFoci () const |
const ON_3dVector & | Normal () const |
CArgsRhinoGetEllipse & | operator= (const CArgsRhinoGetEllipse &) |
bool | PromptForMeshDensity () const |
int | Quadrant () const |
const ON_3dPoint & | SecondPoint () const |
const ON_wString & | SecondPrompt () const |
void | SetAcceptNumber (BOOL32=TRUE) |
Set whether the last prompt accepts a number or not. Used in center_start_end. More... | |
void | SetAngle (double) |
The current Ellipse angle in center_start_angle. More... | |
void | SetAroundDirectionCount (int count) |
void | SetAroundDirectionMinCount (int count) |
void | SetAroundMeshDensityDirectionPrompt (const CRhinoCommandOptionName &) |
void | SetCapFaceStyle (bool bMakeQuadCaps=true) |
false == tris, true == quads More... | |
void | SetDeformable (BOOL32=TRUE) |
void | SetDeformablePointCount (int=12) |
void | SetDir (int) |
The current Ellipse direction in center_start_end. More... | |
void | SetEccentricity (double) |
The eccentricity of FromFoci ellipse. More... | |
void | SetEllipseMode (eEllipseMode=center) |
Set the Ellipse mode. More... | |
void | SetFirstPoint (const ON_3dPoint &) |
Set the first point to use instead of asking for one. More... | |
void | SetFirstPrompt (const wchar_t *) |
Set a custom prompt to use for getting the first point. More... | |
void | SetFirstPromptIfEmpty (const wchar_t *) |
void | SetMarkFoci (BOOL32=TRUE) |
Indicates the user wants the ellipse foci marked with point objects. More... | |
void | SetNormal (const ON_3dVector &) |
The current Ellipse normal in center_start_end. More... | |
void | SetPromptForMeshDensity (bool bMeshDensity=true) |
void | SetQuadrant (int) |
The current third point quadrant in center_start_end. More... | |
void | SetSecondPoint (const ON_3dPoint &) |
Set the second point to use instead of asking for one. More... | |
void | SetSecondPrompt (const wchar_t *) |
Set a custom prompt to use for getting the second point. More... | |
void | SetSecondPromptIfEmpty (const wchar_t *) |
void | SetShowDeformableOption (BOOL32=TRUE) |
void | SetThirdPoint (const ON_3dPoint &) |
Set the third point to use instead of asking for one. More... | |
void | SetThirdPrompt (const wchar_t *) |
Set a custom prompt to use for getting third point. More... | |
void | SetThirdPromptIfEmpty (const wchar_t *) |
void | SetUseActiveLayerLinetype (bool on) |
When true the linetype of the active layer is used for dynamic drawing. More... | |
void | SetUseThirdPoint (BOOL32=TRUE) |
void | SetVerticalDirectionCount (int count) |
void | SetVerticalDirectionMinCount (int count) |
void | SetVerticalMeshDensityDirectionPrompt (const CRhinoCommandOptionName &) |
BOOL32 | ShowDeformableOption () const |
const ON_3dPoint & | ThirdPoint () const |
const ON_wString & | ThirdPrompt () const |
bool | UseActiveLayerLinetype () const |
BOOL32 | UseFirstPoint () const |
BOOL32 | UseFirstPrompt () const |
BOOL32 | UseSecondPoint () const |
BOOL32 | UseSecondPrompt () const |
BOOL32 | UseThirdPoint () const |
BOOL32 | UseThirdPrompt () 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... | |
Public Attributes | |
ON_Plane | m_plane |
double | m_rx |
double | m_ry |
ON_3dVector | m_tangent |
[i] curve tangent in around curve mode More... | |
BOOL32 | m_tangent_mode |
true if curve tangent defined More... | |
Protected Attributes | |
double | m_angle |
[internal] the Ellipse angle, used in center_start_angle More... | |
BOOL32 | m_bAcceptNumber |
[i] if true, the last prompt accept number. Needed for center_start_end/angle More... | |
int | m_bDeformable |
[i/o] when set, the user wants a deformable ellipse More... | |
BOOL32 | m_bMarkFoci |
[i] when set, the user wants the ellipse foci to be marked with a point More... | |
BOOL32 | m_bShowDeformableOption |
[i] when set, the user is allowed to change the deformable option More... | |
BOOL32 | m_bUseFirstPoint |
[i] use m_FirstPoint instead of asking for point More... | |
BOOL32 | m_bUseFirstPrompt |
[i] use custom prompt m_FirstPrompt More... | |
BOOL32 | m_bUseSecondPoint |
[i] use m_SecondPoint instead of asking for point More... | |
BOOL32 | m_bUseSecondPrompt |
[i] use custom prompt m_SecondPrompt More... | |
BOOL32 | m_bUseThirdPoint |
[i] use m_ThirdPoint instead of asking for point More... | |
BOOL32 | m_bUseThirdPrompt |
[i] use custom prompt m_ThirdPrompt More... | |
int | m_deformable_point_count |
[i/o] defines the requested point count for deformable ellipse More... | |
int | m_dir |
[internal] previous Ellipse direction. Needed for center_start_end/angle More... | |
double | m_eccentricity |
[internal] eccentricity of FromFoci ellipse More... | |
ON_3dPoint | m_FirstPoint |
[i] if m_bHaveFirstPoint first point specified here More... | |
ON_wString | m_FirstPrompt |
[i] Custom prompt for first point More... | |
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 |
eEllipseMode | m_mode |
[internal] Current mode while drawing the Ellipse More... | |
ON_3dVector | m_normal |
[i] the Ellipse normal. Needed for center_start_end/angle More... | |
bool | m_PromptForMeshDensity |
int | m_quadrant |
[internal] previous quadrant for last point. Needed for center_start_end/angle More... | |
ON_3dPoint | m_SecondPoint |
[i] if m_bHaveSecondPoint second point specified here More... | |
ON_wString | m_SecondPrompt |
[i] Custom prompt for second point More... | |
ON_3dPoint | m_ThirdPoint |
[i] if m_bHaveThirdPoint third point specified here More... | |
ON_wString | m_ThirdPrompt |
[i] Custom prompt for third point More... | |
Copyright (c) 1993-2017 Robert McNeel & Associates. All rights reserved. Rhinoceros is a registered trademark of Robert McNeel & Associates.
THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF MERCHANTABILITY ARE HEREBY DISCLAIMED.
For complete Rhino SDK copyright information see http://www.rhino3d.com/developer.
CLASS CArgsRhinoGetEllipse
OVERVIEW TEXT Arguments for RhinoGetEllipse... functions
KEYWORDS
CArgsRhinoGetEllipse::CArgsRhinoGetEllipse | ( | ) |
CArgsRhinoGetEllipse::~CArgsRhinoGetEllipse | ( | ) |
CArgsRhinoGetEllipse::CArgsRhinoGetEllipse | ( | const CArgsRhinoGetEllipse & | ) |
BOOL32 CArgsRhinoGetEllipse::AcceptNumber | ( | ) | const |
const double CArgsRhinoGetEllipse::Angle | ( | ) | const |
int CArgsRhinoGetEllipse::AroundDirectionCount | ( | ) | const |
number of faces in the around direction
int CArgsRhinoGetEllipse::AroundDirectionMinCount | ( | ) | const |
const CRhinoCommandOptionName& CArgsRhinoGetEllipse::AroundMeshDensityDirectionPrompt | ( | ) | const |
prompt for number of faces in the around direction
bool CArgsRhinoGetEllipse::CapFaceStyle | ( | ) | const |
void CArgsRhinoGetEllipse::ClearPrompts | ( | void | ) |
BOOL32 CArgsRhinoGetEllipse::Deformable | ( | ) | const |
BOOL32 CArgsRhinoGetEllipse::DeformablePointCount | ( | ) | const |
int CArgsRhinoGetEllipse::Dir | ( | ) | const |
const double CArgsRhinoGetEllipse::Eccentricity | ( | ) | const |
eEllipseMode CArgsRhinoGetEllipse::EllipseMode | ( | ) | const |
const ON_3dPoint& CArgsRhinoGetEllipse::FirstPoint | ( | ) | const |
const ON_wString& CArgsRhinoGetEllipse::FirstPrompt | ( | ) | const |
BOOL32 CArgsRhinoGetEllipse::MarkFoci | ( | ) | const |
const ON_3dVector& CArgsRhinoGetEllipse::Normal | ( | ) | const |
CArgsRhinoGetEllipse& CArgsRhinoGetEllipse::operator= | ( | const CArgsRhinoGetEllipse & | ) |
bool CArgsRhinoGetEllipse::PromptForMeshDensity | ( | ) | const |
int CArgsRhinoGetEllipse::Quadrant | ( | ) | const |
const ON_3dPoint& CArgsRhinoGetEllipse::SecondPoint | ( | ) | const |
const ON_wString& CArgsRhinoGetEllipse::SecondPrompt | ( | ) | const |
void CArgsRhinoGetEllipse::SetAcceptNumber | ( | BOOL32 | = TRUE | ) |
Set whether the last prompt accepts a number or not. Used in center_start_end.
void CArgsRhinoGetEllipse::SetAngle | ( | double | ) |
The current Ellipse angle in center_start_angle.
void CArgsRhinoGetEllipse::SetAroundDirectionCount | ( | int | count | ) |
void CArgsRhinoGetEllipse::SetAroundDirectionMinCount | ( | int | count | ) |
void CArgsRhinoGetEllipse::SetAroundMeshDensityDirectionPrompt | ( | const CRhinoCommandOptionName & | ) |
void CArgsRhinoGetEllipse::SetCapFaceStyle | ( | bool | bMakeQuadCaps = true | ) |
false == tris, true == quads
void CArgsRhinoGetEllipse::SetDeformable | ( | BOOL32 | = TRUE | ) |
void CArgsRhinoGetEllipse::SetDeformablePointCount | ( | int | = 12 | ) |
void CArgsRhinoGetEllipse::SetDir | ( | int | ) |
The current Ellipse direction in center_start_end.
void CArgsRhinoGetEllipse::SetEccentricity | ( | double | ) |
The eccentricity of FromFoci ellipse.
void CArgsRhinoGetEllipse::SetEllipseMode | ( | eEllipseMode | = center | ) |
Set the Ellipse mode.
void CArgsRhinoGetEllipse::SetFirstPoint | ( | const ON_3dPoint & | ) |
Set the first point to use instead of asking for one.
void CArgsRhinoGetEllipse::SetFirstPrompt | ( | const wchar_t * | ) |
Set a custom prompt to use for getting the first point.
void CArgsRhinoGetEllipse::SetFirstPromptIfEmpty | ( | const wchar_t * | ) |
void CArgsRhinoGetEllipse::SetMarkFoci | ( | BOOL32 | = TRUE | ) |
Indicates the user wants the ellipse foci marked with point objects.
void CArgsRhinoGetEllipse::SetNormal | ( | const ON_3dVector & | ) |
The current Ellipse normal in center_start_end.
void CArgsRhinoGetEllipse::SetPromptForMeshDensity | ( | bool | bMeshDensity = true | ) |
Interface to allow primitive mesh creation to use RhinoGetPlane, RhinoGetBox, RhinoGetCircle etc.
void CArgsRhinoGetEllipse::SetQuadrant | ( | int | ) |
The current third point quadrant in center_start_end.
void CArgsRhinoGetEllipse::SetSecondPoint | ( | const ON_3dPoint & | ) |
Set the second point to use instead of asking for one.
void CArgsRhinoGetEllipse::SetSecondPrompt | ( | const wchar_t * | ) |
Set a custom prompt to use for getting the second point.
void CArgsRhinoGetEllipse::SetSecondPromptIfEmpty | ( | const wchar_t * | ) |
void CArgsRhinoGetEllipse::SetShowDeformableOption | ( | BOOL32 | = TRUE | ) |
void CArgsRhinoGetEllipse::SetThirdPoint | ( | const ON_3dPoint & | ) |
Set the third point to use instead of asking for one.
void CArgsRhinoGetEllipse::SetThirdPrompt | ( | const wchar_t * | ) |
Set a custom prompt to use for getting third point.
void CArgsRhinoGetEllipse::SetThirdPromptIfEmpty | ( | const wchar_t * | ) |
void CArgsRhinoGetEllipse::SetUseActiveLayerLinetype | ( | bool | on | ) |
When true the linetype of the active layer is used for dynamic drawing.
void CArgsRhinoGetEllipse::SetUseThirdPoint | ( | BOOL32 | = TRUE | ) |
void CArgsRhinoGetEllipse::SetVerticalDirectionCount | ( | int | count | ) |
void CArgsRhinoGetEllipse::SetVerticalDirectionMinCount | ( | int | count | ) |
void CArgsRhinoGetEllipse::SetVerticalMeshDensityDirectionPrompt | ( | const CRhinoCommandOptionName & | ) |
BOOL32 CArgsRhinoGetEllipse::ShowDeformableOption | ( | ) | const |
const ON_3dPoint& CArgsRhinoGetEllipse::ThirdPoint | ( | ) | const |
const ON_wString& CArgsRhinoGetEllipse::ThirdPrompt | ( | ) | const |
bool CArgsRhinoGetEllipse::UseActiveLayerLinetype | ( | ) | const |
BOOL32 CArgsRhinoGetEllipse::UseFirstPoint | ( | ) | const |
BOOL32 CArgsRhinoGetEllipse::UseFirstPrompt | ( | ) | const |
BOOL32 CArgsRhinoGetEllipse::UseSecondPoint | ( | ) | const |
BOOL32 CArgsRhinoGetEllipse::UseSecondPrompt | ( | ) | const |
BOOL32 CArgsRhinoGetEllipse::UseThirdPoint | ( | ) | const |
BOOL32 CArgsRhinoGetEllipse::UseThirdPrompt | ( | ) | const |
int CArgsRhinoGetEllipse::VerticalDirectionCount | ( | ) | const |
number of faces in the vertical direction
int CArgsRhinoGetEllipse::VerticalDirectionMinCount | ( | ) | const |
const CRhinoCommandOptionName& CArgsRhinoGetEllipse::VerticalMeshDensityDirectionPrompt | ( | ) | const |
prompt for number of faces in the vertical direction
|
protected |
[internal] the Ellipse angle, used in center_start_angle
|
protected |
[i] if true, the last prompt accept number. Needed for center_start_end/angle
|
protected |
[i/o] when set, the user wants a deformable ellipse
Fix for RH-56780 - Tim February 3, 2020 Converted m_bDeformable to a bitfield so we can add extra settings without changing the size of the class.
|
protected |
[i] when set, the user wants the ellipse foci to be marked with a point
|
protected |
[i] when set, the user is allowed to change the deformable option
|
protected |
[i] use m_FirstPoint instead of asking for point
|
protected |
[i] use custom prompt m_FirstPrompt
|
protected |
[i] use m_SecondPoint instead of asking for point
|
protected |
[i] use custom prompt m_SecondPrompt
|
protected |
[i] use m_ThirdPoint instead of asking for point
|
protected |
[i] use custom prompt m_ThirdPrompt
|
protected |
[i/o] defines the requested point count for deformable ellipse
|
protected |
[internal] previous Ellipse direction. Needed for center_start_end/angle
|
protected |
[internal] eccentricity of FromFoci ellipse
|
protected |
[i] if m_bHaveFirstPoint first point specified here
|
protected |
[i] Custom prompt for first point
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
[internal] Current mode while drawing the Ellipse
|
protected |
[i] the Ellipse normal. Needed for center_start_end/angle
ON_Plane CArgsRhinoGetEllipse::m_plane |
|
protected |
Interface to allow primitive mesh creation to use RhinoGetCylinder, RhinoGetCone, etc.
|
protected |
[internal] previous quadrant for last point. Needed for center_start_end/angle
double CArgsRhinoGetEllipse::m_rx |
double CArgsRhinoGetEllipse::m_ry |
|
protected |
[i] if m_bHaveSecondPoint second point specified here
|
protected |
[i] Custom prompt for second point
ON_3dVector CArgsRhinoGetEllipse::m_tangent |
[i] curve tangent in around curve mode
BOOL32 CArgsRhinoGetEllipse::m_tangent_mode |
true if curve tangent defined
|
protected |
[i] if m_bHaveThirdPoint third point specified here
|
protected |
[i] Custom prompt for third point