#include <vtkQtChartAxisCornerDomain.h>
Definition at line 39 of file vtkQtChartAxisCornerDomain.h.
Public Member Functions | |
vtkQtChartAxisCornerDomain () | |
vtkQtChartAxisCornerDomain (const vtkQtChartAxisCornerDomain &other) | |
~vtkQtChartAxisCornerDomain () | |
int | getNumberOfDomains () const |
Gets the number of domains. | |
const vtkQtChartSeriesDomain * | getDomain (int index) const |
Gets the domain for the given index. | |
vtkQtChartSeriesDomain * | getDomain (int index) |
Gets the domain for the given index. | |
const vtkQtChartSeriesDomain * | getDomain (const vtkQtChartAxisDomainPriority &xPriority, const vtkQtChartAxisDomainPriority &yPriority) const |
Gets the best domain match for the given priorities. | |
const vtkQtChartSeriesDomain * | getDomain (vtkQtChartAxis::AxisDomain xDomain, const vtkQtChartAxisDomainPriority &yPriority) const |
Gets the best domain match for the given type and priority. | |
const vtkQtChartSeriesDomain * | getDomain (const vtkQtChartAxisDomainPriority &xPriority, vtkQtChartAxis::AxisDomain yDomain) const |
Gets the best domain match for the given type and priority. | |
const vtkQtChartSeriesDomain * | getDomain (vtkQtChartAxis::AxisDomain xDomain, vtkQtChartAxis::AxisDomain yDomain, int *index=0) const |
Gets the best domain match for the given types. | |
bool | mergeDomain (const vtkQtChartSeriesDomain &domain, int *index=0) |
Merges the given domain with the current domains. | |
void | removeDomain (int index) |
Removes the domain at the specified index. | |
void | clear () |
Removes all the domains. | |
void | setHorizontalPreferences (bool padRange, bool expandToZero, bool addSpace) |
Sets the preferences for the horizontal axis. | |
void | setVerticalPreferences (bool padRange, bool expandToZero, bool addSpace) |
Sets the preferences for the vertical axis. | |
vtkQtChartAxisCornerDomain & | operator= (const vtkQtChartAxisCornerDomain &other) |
vtkQtChartAxisCornerDomain::vtkQtChartAxisCornerDomain | ( | ) |
vtkQtChartAxisCornerDomain::vtkQtChartAxisCornerDomain | ( | const vtkQtChartAxisCornerDomain & | other | ) |
vtkQtChartAxisCornerDomain::~vtkQtChartAxisCornerDomain | ( | ) |
int vtkQtChartAxisCornerDomain::getNumberOfDomains | ( | ) | const |
Gets the number of domains.
Compatible domains are merged together. The number of domains is the number of different types of domains added to the corner.
const vtkQtChartSeriesDomain* vtkQtChartAxisCornerDomain::getDomain | ( | int | index | ) | const |
Gets the domain for the given index.
index | The domain index. |
vtkQtChartSeriesDomain* vtkQtChartAxisCornerDomain::getDomain | ( | int | index | ) |
Gets the domain for the given index.
index | The domain index. |
const vtkQtChartSeriesDomain* vtkQtChartAxisCornerDomain::getDomain | ( | const vtkQtChartAxisDomainPriority & | xPriority, | |
const vtkQtChartAxisDomainPriority & | yPriority | |||
) | const |
Gets the best domain match for the given priorities.
xPriority | The x-axis priority. | |
yPriority | The y-axis priority. |
const vtkQtChartSeriesDomain* vtkQtChartAxisCornerDomain::getDomain | ( | vtkQtChartAxis::AxisDomain | xDomain, | |
const vtkQtChartAxisDomainPriority & | yPriority | |||
) | const |
Gets the best domain match for the given type and priority.
xDomain | The domain type for the x-axis. | |
yPriority | The y-axis priority. |
const vtkQtChartSeriesDomain* vtkQtChartAxisCornerDomain::getDomain | ( | const vtkQtChartAxisDomainPriority & | xPriority, | |
vtkQtChartAxis::AxisDomain | yDomain | |||
) | const |
Gets the best domain match for the given type and priority.
xPriority | The x-axis priority. | |
yDomain | The domain type for the y-axis. |
const vtkQtChartSeriesDomain* vtkQtChartAxisCornerDomain::getDomain | ( | vtkQtChartAxis::AxisDomain | xDomain, | |
vtkQtChartAxis::AxisDomain | yDomain, | |||
int * | index = 0 | |||
) | const |
Gets the best domain match for the given types.
xDomain | The domain type for the x-axis. | |
yDomain | The domain type for the y-axis. | |
index | Used to return the index of the returned domain. |
bool vtkQtChartAxisCornerDomain::mergeDomain | ( | const vtkQtChartSeriesDomain & | domain, | |
int * | index = 0 | |||
) |
Merges the given domain with the current domains.
If the domain is compatible with one of the current domains, it is merged. Otherwise, the domain is added to the list. The index can be used to get a pointer to the combined or newly created domain.
domain | The domain to add. | |
index | Used to return the index where the domain was added. |
void vtkQtChartAxisCornerDomain::removeDomain | ( | int | index | ) |
Removes the domain at the specified index.
index | The index to remove. |
void vtkQtChartAxisCornerDomain::clear | ( | ) |
Removes all the domains.
void vtkQtChartAxisCornerDomain::setHorizontalPreferences | ( | bool | padRange, | |
bool | expandToZero, | |||
bool | addSpace | |||
) |
Sets the preferences for the horizontal axis.
padRange | True if the range should be padded. | |
expandToZero | True if the range should be expanded to zero. | |
addSpace | True if space should be added to the end labels. |
void vtkQtChartAxisCornerDomain::setVerticalPreferences | ( | bool | padRange, | |
bool | expandToZero, | |||
bool | addSpace | |||
) |
Sets the preferences for the vertical axis.
padRange | True if the range should be padded. | |
expandToZero | True if the range should be expanded to zero. | |
addSpace | True if space should be added to the end labels. |
vtkQtChartAxisCornerDomain& vtkQtChartAxisCornerDomain::operator= | ( | const vtkQtChartAxisCornerDomain & | other | ) |