- class QConeMesh¶
A conical mesh. More…
Synopsis¶
Properties¶
Methods¶
def
__init__()
def
bottomRadius()
def
hasTopEndcap()
def
length()
def
rings()
def
slices()
def
topRadius()
Slots¶
def
setLength()
def
setRings()
def
setSlices()
def
setTopRadius()
Signals¶
def
lengthChanged()
def
ringsChanged()
def
slicesChanged()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property bottomRadiusᅟ: float¶
Holds the bottom radius of the cone.
- Access functions:
- property hasBottomEndcapᅟ: bool¶
Determines if the cone bottom is capped or open.
- Access functions:
- property hasTopEndcapᅟ: bool¶
Determines if the cone top is capped or open.
- Access functions:
- property lengthᅟ: float¶
Holds the length of the cone.
- Access functions:
Signal
lengthChanged()
- property ringsᅟ: int¶
Holds the number of rings in the mesh.
- Access functions:
Signal
ringsChanged()
- property slicesᅟ: int¶
Holds the number of slices in the mesh.
- Access functions:
Signal
slicesChanged()
- property topRadiusᅟ: float¶
Holds the top radius of the cone.
- Access functions:
- __init__([parent=None])¶
- Parameters:
parent –
QNode
- bottomRadius()¶
- Return type:
float
See also
setBottomRadius()
Getter of property
bottomRadiusᅟ
.- bottomRadiusChanged(bottomRadius)¶
- Parameters:
bottomRadius – float
Notification signal of property
bottomRadiusᅟ
.- hasBottomEndcap()¶
- Return type:
bool
See also
setHasBottomEndcap()
Getter of property
hasBottomEndcapᅟ
.- hasBottomEndcapChanged(hasBottomEndcap)¶
- Parameters:
hasBottomEndcap – bool
Notification signal of property
hasBottomEndcapᅟ
.- hasTopEndcap()¶
- Return type:
bool
See also
setHasTopEndcap()
Getter of property
hasTopEndcapᅟ
.- hasTopEndcapChanged(hasTopEndcap)¶
- Parameters:
hasTopEndcap – bool
Notification signal of property
hasTopEndcapᅟ
.- length()¶
- Return type:
float
See also
setLength()
Getter of property
lengthᅟ
.- lengthChanged(length)¶
- Parameters:
length – float
Notification signal of property
lengthᅟ
.- rings()¶
- Return type:
int
See also
setRings()
Getter of property
ringsᅟ
.- ringsChanged(rings)¶
- Parameters:
rings – int
Notification signal of property
ringsᅟ
.- setBottomRadius(bottomRadius)¶
- Parameters:
bottomRadius – float
See also
bottomRadius()
Setter of property
bottomRadiusᅟ
.- setHasBottomEndcap(hasBottomEndcap)¶
- Parameters:
hasBottomEndcap – bool
See also
hasBottomEndcap()
Setter of property
hasBottomEndcapᅟ
.- setHasTopEndcap(hasTopEndcap)¶
- Parameters:
hasTopEndcap – bool
See also
hasTopEndcap()
Setter of property
hasTopEndcapᅟ
.- setLength(length)¶
- Parameters:
length – float
See also
length()
Setter of property
lengthᅟ
.- setRings(rings)¶
- Parameters:
rings – int
See also
rings()
Setter of property
ringsᅟ
.- setSlices(slices)¶
- Parameters:
slices – int
See also
slices()
Setter of property
slicesᅟ
.- setTopRadius(topRadius)¶
- Parameters:
topRadius – float
See also
topRadius()
Setter of property
topRadiusᅟ
.- slices()¶
- Return type:
int
See also
setSlices()
Getter of property
slicesᅟ
.- slicesChanged(slices)¶
- Parameters:
slices – int
Notification signal of property
slicesᅟ
.- topRadius()¶
- Return type:
float
See also
setTopRadius()
Getter of property
topRadiusᅟ
.- topRadiusChanged(topRadius)¶
- Parameters:
topRadius – float
Notification signal of property
topRadiusᅟ
.