cgma
|
#include <volumes.hpp>
Public Member Functions | |
SurfaceVolume (const Transform *transform_p=NULL) | |
virtual | ~SurfaceVolume () |
void | setTransform (const Transform *transform_p) |
virtual double | getFarthestExtentFromOrigin () const =0 |
virtual iBase_EntityHandle | define (bool positive, iGeom_Instance &igm, double world_size) |
Protected Member Functions | |
virtual iBase_EntityHandle | getHandle (bool positive, iGeom_Instance &igm, double world_size)=0 |
Protected Attributes | |
const Transform * | transform |
Definition at line 11 of file volumes.hpp.
SurfaceVolume::SurfaceVolume | ( | const Transform * | transform_p = NULL | ) | [inline] |
Definition at line 17 of file volumes.hpp.
: transform(transform_p) {}
virtual SurfaceVolume::~SurfaceVolume | ( | ) | [inline, virtual] |
Definition at line 20 of file volumes.hpp.
{}
iBase_EntityHandle SurfaceVolume::define | ( | bool | positive, |
iGeom_Instance & | igm, | ||
double | world_size | ||
) | [virtual] |
Definition at line 118 of file volumes.cpp.
{ iBase_EntityHandle handle = this->getHandle( positive, igm, world_size ); if( transform ){ handle = applyTransform( *transform, igm, handle ); } return handle; }
virtual double SurfaceVolume::getFarthestExtentFromOrigin | ( | ) | const [pure virtual] |
Implemented in HexVolume, RccVolume, RecVolume, RppVolume, BoxVolume, EllipsoidSurface, SphereSurface, TorusSurface, ConeSurface, CylinderSurface, and PlaneSurface.
virtual iBase_EntityHandle SurfaceVolume::getHandle | ( | bool | positive, |
iGeom_Instance & | igm, | ||
double | world_size | ||
) | [protected, pure virtual] |
Implemented in HexVolume, RccVolume, RecVolume, RppVolume, BoxVolume, EllipsoidSurface, SphereSurface, TorusSurface, ConeSurface, CylinderSurface, and PlaneSurface.
void SurfaceVolume::setTransform | ( | const Transform * | transform_p | ) | [inline] |
Definition at line 22 of file volumes.hpp.
{ transform = transform_p; }
const Transform* SurfaceVolume::transform [protected] |
Reimplemented in RccVolume, RecVolume, and BoxVolume.
Definition at line 14 of file volumes.hpp.