cgma
SurfaceVolume Class Reference

#include <volumes.hpp>

Inheritance diagram for SurfaceVolume:
BoxVolume ConeSurface CylinderSurface EllipsoidSurface HexVolume PlaneSurface RccVolume RecVolume RppVolume SphereSurface TorusSurface

List of all members.

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 Transformtransform

Detailed Description

Definition at line 11 of file volumes.hpp.


Constructor & Destructor Documentation

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.

{}

Member Function Documentation

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 iBase_EntityHandle SurfaceVolume::getHandle ( bool  positive,
iGeom_Instance igm,
double  world_size 
) [protected, pure virtual]
void SurfaceVolume::setTransform ( const Transform transform_p) [inline]

Definition at line 22 of file volumes.hpp.

{ transform = transform_p; }

Member Data Documentation

const Transform* SurfaceVolume::transform [protected]

Reimplemented in RccVolume, RecVolume, and BoxVolume.

Definition at line 14 of file volumes.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines