#include <vpcylinder.h>
Inheritance diagram for VPCylinder:
Public Member Functions | |
VPCylinder () | |
The default cylinder has height and radius = 1. All parts are visible. | |
VPCylinder (float fHi, float fRad) | |
VPCylinder (float fHi, float fRad, bool bS, bool bT, bool bB) | |
virtual void | ComputeBoundingBox () |
Computes the bounding box. | |
void | SetHeight (float h) |
void | SetRadius (float r) |
void | SetMaterial (const VPMaterial &mat) |
Material assignment. | |
void | ShowSide (bool yesno) |
void | ShowTop (bool yesno) |
void | ShowBottom (bool yesno) |
float | GetHeight () |
float | GetRadius () |
VPMaterial | GetMaterial () const |
Returns of copy of the cylinder's material. | |
bool | ShowSide () |
bool | ShowTop () |
bool | ShowBottom () |
Definition at line 18 of file vpcylinder.h.
|
The default cylinder has height and radius = 1. All parts are visible.
Definition at line 32 of file vpcylinder.cpp. |
|
Definition at line 37 of file vpcylinder.cpp. |
|
Definition at line 42 of file vpcylinder.cpp. |
|
Computes the bounding box.
Implements VPGraphicObj. Definition at line 51 of file vpcylinder.cpp. References VPGraphicObj::bBox, and VPBoundingBox::SetBoundingBox(). |
|
Definition at line 75 of file vpcylinder.cpp. |
|
Returns of copy of the cylinder's material.
Definition at line 40 of file vpcylinder.h. |
|
Definition at line 79 of file vpcylinder.cpp. |
|
Definition at line 55 of file vpcylinder.cpp. |
|
Material assignment.
Definition at line 33 of file vpcylinder.h. |
|
Definition at line 59 of file vpcylinder.cpp. |
|
Definition at line 91 of file vpcylinder.cpp. |
|
Definition at line 71 of file vpcylinder.cpp. |
|
Definition at line 83 of file vpcylinder.cpp. |
|
Definition at line 63 of file vpcylinder.cpp. |
|
Definition at line 87 of file vpcylinder.cpp. |
|
Definition at line 67 of file vpcylinder.cpp. |