CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions
PlaneBuilder Class Reference

#include <PlaneBuilder.h>

Public Types

typedef Surface::PositionType PositionType
 
typedef
ReferenceCountingPointer
< BoundPlane
ReturnType
 
typedef Surface::RotationType RotationType
 

Public Member Functions

ReturnType plane (const PositionType &pos, const RotationType &rot) const
 
ReturnType plane (const PositionType &pos, const RotationType &rot, const Bounds &bounds) const
 

Detailed Description

This class is deprecated. Please use the static build() methods in BoundPlane.

Definition at line 13 of file PlaneBuilder.h.

Member Typedef Documentation

Definition at line 16 of file PlaneBuilder.h.

Definition at line 18 of file PlaneBuilder.h.

Definition at line 17 of file PlaneBuilder.h.

Member Function Documentation

ReturnType PlaneBuilder::plane ( const PositionType pos,
const RotationType rot 
) const
inline
ReturnType PlaneBuilder::plane ( const PositionType pos,
const RotationType rot,
const Bounds bounds 
) const
inline

Same as above, with bounds. The bounds are cloned, and a new copy is used in the plane, so you don't have to create them with "new", and if you do, don't forget to delete them.

Definition at line 30 of file PlaneBuilder.h.

31  {
32  return ReturnType( new BoundPlane( pos, rot, bounds));
33  }
ReferenceCountingPointer< BoundPlane > ReturnType
Definition: PlaneBuilder.h:18