Transform Class Reference

#include <Transform.hpp>

Inheritance diagram for Transform:

Inheritance graph
[legend]

List of all members.

Public Member Functions

const TransTypetype () const
virtual std::string povWrite () const =0
virtual TinyVector< 3, real_t > operator() (const TinyVector< 3 > &x) const =0
virtual TinyVector< 3, real_t > inverse (const TinyVector< 3 > &x) const =0
virtual ReferenceCounting
< Transform
getCopy () const =0
 Transform (const TransType &type)
 Transform (const Transform &t)
virtual ~Transform ()

Protected Attributes

const TransType __type


Detailed Description

Definition at line 49 of file Transform.hpp.


Constructor & Destructor Documentation

Transform::Transform ( const TransType type  )  [inline]

Constructor

Parameters:
type transformation type

Definition at line 102 of file Transform.hpp.

00103     : __type(type)
00104   {
00105     ;
00106   }

Transform::Transform ( const Transform t  )  [inline]

Copy constructor

Parameters:
t given Transform

Definition at line 113 of file Transform.hpp.

00114     : __type(t.__type)
00115   {
00116     ;
00117   }

virtual Transform::~Transform (  )  [inline, virtual]

Destructor

Definition at line 123 of file Transform.hpp.

00124   {
00125     ;
00126   }


Member Function Documentation

const TransType& Transform::type (  )  const [inline]

Read-only access to the type of the transformation.

Returns:
__type

Definition at line 60 of file Transform.hpp.

References __type.

00061   {
00062     return __type;
00063   }

virtual std::string Transform::povWrite (  )  const [pure virtual]

Writes the POVRay Transform to a string

Returns:
POVRay Transform string

Implemented in Rotation, Scale, TransformMatrix, and Translation.

virtual TinyVector<3,real_t> Transform::operator() ( const TinyVector< 3 > &  x  )  const [pure virtual]

Applies the transformation to a point

Parameters:
x given point
Returns:
$ T(x) $

virtual TinyVector<3,real_t> Transform::inverse ( const TinyVector< 3 > &  x  )  const [pure virtual]

Applies the inverse transformation to a point

Parameters:
x given point
Returns:
$ T^{-1}(x) $

virtual ReferenceCounting<Transform> Transform::getCopy (  )  const [pure virtual]

Gets a copy of the Transform

Returns:
deep copy of the Transform

Implemented in Rotation, Scale, TransformMatrix, and Translation.

Referenced by Shape::setTransformation().


Member Data Documentation

const TransType Transform::__type [protected]

Transformation type

Definition at line 52 of file Transform.hpp.

Referenced by type().


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

Generated on Wed Nov 19 00:16:32 2008 for FreeFEM3D (aka ff3d) by  doxygen 1.5.6