Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.4
   Version 1.0.4dev
      Class Index
      File List
Publications


Hosted by Get Ion Beam Simulator at SourceForge.net. Fast, secure and Free Open Source software downloads

STLSolid Class Reference

STL solid More...

#include <stl_solid.hpp>

Inheritance diagram for STLSolid:
Solid

List of all members.

Public Member Functions

 STLSolid (const std::string &filename)
 Constructor for making a solid reading a STL-file.
virtual ~STLSolid ()
 Destructor.
virtual bool inside (const Vec3D &x) const
 Return if 3D point x in simulation space is inside solid.
class STLFileget_stl_file (void) const
 Return a pointer to the STL-file.
void debug_print (std::ostream &os) const
 Print debugging information to os.
void translate (const Vec3D &dx)
 Translate solid.
void scale (const Vec3D &sx)
 Scale solid.
void rotate_x (double a)
 Rotate solid around x-axis.
void rotate_y (double a)
 Rotate solid around y-axis.
void rotate_z (double a)
 Rotate solid around z-axis.
virtual void save (std::ostream &s) const
 Saves solid data to stream.

Detailed Description

STL solid


Constructor & Destructor Documentation

STLSolid::STLSolid ( const std::string &  filename  ) 

Constructor for making a solid reading a STL-file.

virtual STLSolid::~STLSolid (  )  [virtual]

Destructor.


Member Function Documentation

void STLSolid::debug_print ( std::ostream &  os  )  const [virtual]

Print debugging information to os.

Implements Solid.

class STLFile* STLSolid::get_stl_file ( void   )  const

Return a pointer to the STL-file.

virtual bool STLSolid::inside ( const Vec3D x  )  const [virtual]

Return if 3D point x in simulation space is inside solid.

Implements Solid.

void STLSolid::rotate_x ( double  a  )  [inline]

Rotate solid around x-axis.

void STLSolid::rotate_y ( double  a  )  [inline]

Rotate solid around y-axis.

void STLSolid::rotate_z ( double  a  )  [inline]

Rotate solid around z-axis.

virtual void STLSolid::save ( std::ostream &  s  )  const [virtual]

Saves solid data to stream.

Implements Solid.

void STLSolid::scale ( const Vec3D sx  )  [inline]

Scale solid.

void STLSolid::translate ( const Vec3D dx  )  [inline]

Translate solid.


The documentation for this class was generated from the following file:


Reference manual for Ion Beam Simulator 1.0.4dev
Generated by Doxygen 1.7.1 on Wed May 18 2011 23:03:54.