42 bool flatMode = this->
repo()->getMode()==
"flat";
43 bool parentVisible = this->
getParent()->isVisibleNode();
44 return parentVisible && flatMode;
49 return this->
repo()->getNode(
mData->getUid());
80 return Qt::CheckState(2);
82 return Qt::CheckState(0);
95 group->setProperties(
mData->getUid(), props);
100 return this->
getParent()->createPropertiesWidget();
113 return mData->getUid() +
"_volume";
121 return "data_volume";
138 return mData->getUid() +
"_slice2D";
146 return "data_slice2D";
163 return mData->getUid() +
"_slice3D";
171 return "data_slice3D";
virtual boost::shared_ptr< QWidget > createPropertiesWidget() const
boost::shared_ptr< TreeNode > TreeNodePtr
static DataViewProperties createSlice3D()
boost::shared_ptr< class ViewGroupData > ViewGroupDataPtr
virtual DataViewProperties getDefiningDataViewProperties() const =0
ShowSlice2DDataTreeNode(TreeRepositoryWeakPtr repo, DataPtr data)
virtual TreeNodePtr getParent() const
VisServicesPtr getServices() const
virtual QString getName() const
virtual QString getUid() const
boost::weak_ptr< class TreeRepository > TreeRepositoryWeakPtr
virtual QVariant getColor() const
virtual void setViewGroupVisibility(int index, bool value)
static DataViewProperties createSlice2D()
virtual QString getUid() const
virtual QVariant getViewGroupVisibility(int index) const
boost::shared_ptr< class Data > DataPtr
ShowSlice3DDataTreeNode(TreeRepositoryWeakPtr repo, DataPtr data)
virtual QIcon getIcon() const
virtual QString getType() const
virtual DataViewProperties getDefiningDataViewProperties() const
virtual QString getType() const
ShowDataTreeNodeBase(TreeRepositoryWeakPtr repo, DataPtr data)
virtual QString getUid() const
bool containsAnyFlagsIn(DataViewProperties required) const
virtual bool isVisibleNode() const
virtual QVariant getFont() const
virtual QString getName() const
static DataViewProperties createVolume3D()
virtual DataViewProperties getDefiningDataViewProperties() const
virtual QString getType() const
DataViewProperties removeFlagsIn(DataViewProperties rhs) const
DataViewProperties addFlagsIn(DataViewProperties rhs) const
virtual DataViewProperties getDefiningDataViewProperties() const
virtual QString getName() const
ShowVolumeDataTreeNode(TreeRepositoryWeakPtr repo, DataPtr data)
Namespace for all CustusX production code.