CubbyFlow::SurfaceBuilderBase2< DerivedBuilder > Class Template Reference

Base class for 2-D surface builder. More...

#include <Core/Surface/Surface2.h>

Public Member Functions

DerivedBuilder & WithIsNormalFlipped (bool isNormalFlipped)
 Returns builder with flipped normal flag. More...
 
DerivedBuilder & WithTranslation (const Vector2D &translation)
 Returns builder with translation. More...
 
DerivedBuilder & WithOrientation (double orientation)
 Returns builder with orientation. More...
 
DerivedBuilder & WithTransform (const Transform2 &transform)
 Returns builder with transform. More...
 

Protected Attributes

bool m_isNormalFlipped = false
 
Transform2 m_transform
 

Detailed Description

template<typename DerivedBuilder>
class CubbyFlow::SurfaceBuilderBase2< DerivedBuilder >

Base class for 2-D surface builder.

Member Function Documentation

◆ WithIsNormalFlipped()

template<typename T >
T & CubbyFlow::SurfaceBuilderBase2< T >::WithIsNormalFlipped ( bool  isNormalFlipped)

Returns builder with flipped normal flag.

◆ WithOrientation()

template<typename T >
T & CubbyFlow::SurfaceBuilderBase2< T >::WithOrientation ( double  orientation)

Returns builder with orientation.

◆ WithTransform()

template<typename T >
T & CubbyFlow::SurfaceBuilderBase2< T >::WithTransform ( const Transform2 transform)

Returns builder with transform.

◆ WithTranslation()

template<typename T >
T & CubbyFlow::SurfaceBuilderBase2< T >::WithTranslation ( const Vector2D translation)

Returns builder with translation.

Member Data Documentation

◆ m_isNormalFlipped

template<typename DerivedBuilder>
bool CubbyFlow::SurfaceBuilderBase2< DerivedBuilder >::m_isNormalFlipped = false
protected

◆ m_transform

template<typename DerivedBuilder>
Transform2 CubbyFlow::SurfaceBuilderBase2< DerivedBuilder >::m_transform
protected

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