You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
429 B
C++
12 lines
429 B
C++
#include "nmVTKViewState.h"
|
|
#include <vtkCamera.h>
|
|
|
|
nmVTKViewState::nmVTKViewState()
|
|
: m_bHasBounds(false), m_bHasRotationCenter(false), m_bMarkerVisible(false)
|
|
{
|
|
for(int nIndex = 0; nIndex < 6; ++nIndex) m_dBounds[nIndex] = 0.0;
|
|
for(int nIndex = 0; nIndex < 3; ++nIndex) m_dRotationCenter[nIndex] = 0.0;
|
|
}
|
|
nmVTKViewState::~nmVTKViewState() {}
|
|
bool nmVTKViewState::isValid() const { return m_pCamera != nullptr; }
|