Krita Source Code Documentation
Loading...
Searching...
No Matches
PerspectiveBasedAssistantHelper::CacheData Class Reference

#include <PerspectiveBasedAssistantHelper.h>

Public Types

enum  PerspectiveType { None , OneVp , TwoVps }
 
typedef enum PerspectiveBasedAssistantHelper::CacheData::PerspectiveType PerspectiveType
 

Public Attributes

QVector< qreal > distancesFromPoints
 
QLineF horizon
 
qreal maxDistanceFromPoint {0.0}
 
QPolygonF polygon
 
PerspectiveType type {None}
 
boost::optional< QPointF > vanishingPoint1 {boost::none}
 
boost::optional< QPointF > vanishingPoint2 {boost::none}
 

Detailed Description

Definition at line 27 of file PerspectiveBasedAssistantHelper.h.

Member Typedef Documentation

◆ PerspectiveType

Member Enumeration Documentation

◆ PerspectiveType

Member Data Documentation

◆ distancesFromPoints

QVector<qreal> PerspectiveBasedAssistantHelper::CacheData::distancesFromPoints

Definition at line 35 of file PerspectiveBasedAssistantHelper.h.

◆ horizon

QLineF PerspectiveBasedAssistantHelper::CacheData::horizon

Definition at line 38 of file PerspectiveBasedAssistantHelper.h.

◆ maxDistanceFromPoint

qreal PerspectiveBasedAssistantHelper::CacheData::maxDistanceFromPoint {0.0}

Definition at line 36 of file PerspectiveBasedAssistantHelper.h.

36{0.0};

◆ polygon

QPolygonF PerspectiveBasedAssistantHelper::CacheData::polygon

Definition at line 41 of file PerspectiveBasedAssistantHelper.h.

◆ type

PerspectiveType PerspectiveBasedAssistantHelper::CacheData::type {None}

Definition at line 51 of file PerspectiveBasedAssistantHelper.h.

51{None};

◆ vanishingPoint1

boost::optional<QPointF> PerspectiveBasedAssistantHelper::CacheData::vanishingPoint1 {boost::none}

Definition at line 31 of file PerspectiveBasedAssistantHelper.h.

31{boost::none};

◆ vanishingPoint2

boost::optional<QPointF> PerspectiveBasedAssistantHelper::CacheData::vanishingPoint2 {boost::none}

Definition at line 32 of file PerspectiveBasedAssistantHelper.h.

32{boost::none};

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