|
ATLAS Offline Software
|
Go to the documentation of this file.
19 #include <Inventor/nodes/SoSeparator.h>
20 #include <Inventor/nodes/SoTransform.h>
21 #include <Inventor/nodes/SoMaterial.h>
38 return sep&&
sep->getNumChildren()>1;
51 : m_d(
new Imp), m_coll(coll), m_visible(false)
98 sep =
new SoSeparator;
112 ensureInitSepAndTransform(theclass);
113 ensureAttach3DObjects(theclass);
118 save =
sep->enableNotify(
false);
123 sep->addChild(shape);
128 sep->enableNotify(
true);
160 std::ostringstream
s;
161 s <<
"0x" << std::hex <<
i;
162 return QString(
s.str().c_str()).toUpper();
170 &&
m_d->
sep->getNumChildren()>0
171 &&
m_d->
sep->getChild(0)->getTypeId().isDerivedFrom(SoTransform::getClassTypeId()));
174 static_cast<SoTransform*
>(
m_d->
sep->getChild(0))->translation.getValue().getValue(
x,
y,
z);
static QString unsignedToHex(unsigned)
VP1RawDataCollBase * m_coll
void ensureInitSepAndTransform(VP1RawDataHandleBase *theclass)
virtual SoNode * buildShape()=0
void ensureAttach3DObjects(VP1RawDataHandleBase *theclass)
virtual ~VP1RawDataHandleBase()
void registerTransformAndHandle(SoTransform *, VP1RawDataHandleBase *)
VP1RawDataHandleBase(VP1RawDataCollBase *)
def save(self, fileName="./columbo.out")
virtual SoTransform * buildTransform()=0
void updateVolumeOutlines(SoGroup *)
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
void rebuild3DObjects(VP1RawDataHandleBase *)
Eigen::Matrix< double, 3, 1 > Vector3D
void updateShownOutlines()
virtual Amg::Vector3D center()
VP1ExtraSepLayerHelper * sepHelper() const
void ensureDetach3DObjects(VP1RawDataHandleBase *theclass)
VP1RawDataCommonData * common() const