#include <TGLPhysicalShape.h>
Inheritance diagram for TGLPhysicalShape:
Public Types | |
enum | EManip |
enum | EManip |
Public Member Functions | |
TGLPhysicalShape (UInt_t ID, const TGLLogicalShape &logicalShape, const TGLMatrix &transform, Bool_t invertedWind, const Float_t rgba[4]) | |
TGLPhysicalShape (UInt_t ID, const TGLLogicalShape &logicalShape, const double *transform, Bool_t invertedWind, const Float_t rgba[4]) | |
virtual | ~TGLPhysicalShape () |
void | AddReference (TGLPShapeRef *ref) |
void | RemoveReference (TGLPShapeRef *ref) |
UInt_t | ID () const |
const TGLBoundingBox & | BoundingBox () const |
virtual void | CalculateShapeLOD (TGLRnrCtx &rnrCtx, Float_t &pixSize, Short_t &shapeLOD) const |
virtual void | QuantizeShapeLOD (Short_t shapeLOD, Short_t combiLOD, Short_t &quantLOD) const |
void | SetupGLColors (TGLRnrCtx &rnrCtx, const Float_t *color=0) const |
virtual void | Draw (TGLRnrCtx &rnrCtx) const |
const TGLLogicalShape * | GetLogical () const |
const TGLPhysicalShape * | GetNextPhysical () const |
EManip | GetManip () const |
void | SetManip (EManip manip) |
void | Modified () |
Bool_t | IsModified () const |
Bool_t | IsSelected () const |
UChar_t | GetSelected () const |
void | Select (UChar_t select) |
const Float_t * | Color () const |
Bool_t | IsTransparent () const |
Bool_t | IsInvisible () const |
void | SetColor (const Float_t rgba[17]) |
void | SetColorOnFamily (const Float_t rgba[17]) |
void | SetDiffuseColor (const Float_t rgba[4]) |
void | SetDiffuseColor (const UChar_t rgba[4]) |
void | SetDiffuseColor (Color_t ci, UChar_t transparency) |
TGLVector3 | GetScale () const |
TGLVertex3 | GetTranslation () const |
void | SetTransform (const TGLMatrix &transform) |
void | SetTransform (const Double_t vals[16]) |
void | SetTranslation (const TGLVertex3 &translation) |
void | Translate (const TGLVector3 &vect) |
void | Scale (const TGLVector3 &scale) |
void | Rotate (const TGLVertex3 &pivot, const TGLVector3 &axis, Double_t angle) |
void | InvokeContextMenu (TContextMenu &menu, UInt_t x, UInt_t y) const |
TGLPhysicalShape (UInt_t ID, const TGLLogicalShape &logicalShape, const TGLMatrix &transform, Bool_t invertedWind, const Float_t rgba[4]) | |
TGLPhysicalShape (UInt_t ID, const TGLLogicalShape &logicalShape, const double *transform, Bool_t invertedWind, const Float_t rgba[4]) | |
virtual | ~TGLPhysicalShape () |
void | AddReference (TGLPShapeRef *ref) |
void | RemoveReference (TGLPShapeRef *ref) |
UInt_t | ID () const |
const TGLBoundingBox & | BoundingBox () const |
virtual void | CalculateShapeLOD (TGLRnrCtx &rnrCtx, Float_t &pixSize, Short_t &shapeLOD) const |
virtual void | QuantizeShapeLOD (Short_t shapeLOD, Short_t combiLOD, Short_t &quantLOD) const |
void | SetupGLColors (TGLRnrCtx &rnrCtx, const Float_t *color=0) const |
virtual void | Draw (TGLRnrCtx &rnrCtx) const |
const TGLLogicalShape * | GetLogical () const |
const TGLPhysicalShape * | GetNextPhysical () const |
EManip | GetManip () const |
void | SetManip (EManip manip) |
void | Modified () |
Bool_t | IsModified () const |
Bool_t | IsSelected () const |
UChar_t | GetSelected () const |
void | Select (UChar_t select) |
const Float_t * | Color () const |
Bool_t | IsTransparent () const |
Bool_t | IsInvisible () const |
void | SetColor (const Float_t rgba[17]) |
void | SetColorOnFamily (const Float_t rgba[17]) |
void | SetDiffuseColor (const Float_t rgba[4]) |
void | SetDiffuseColor (const UChar_t rgba[4]) |
void | SetDiffuseColor (Color_t ci, UChar_t transparency) |
TGLVector3 | GetScale () const |
TGLVertex3 | GetTranslation () const |
void | SetTransform (const TGLMatrix &transform) |
void | SetTransform (const Double_t vals[16]) |
void | SetTranslation (const TGLVertex3 &translation) |
void | Translate (const TGLVector3 &vect) |
void | Scale (const TGLVector3 &scale) |
void | Rotate (const TGLVertex3 &pivot, const TGLVector3 &axis, Double_t angle) |
void | InvokeContextMenu (TContextMenu &menu, UInt_t x, UInt_t y) const |
Private Member Functions | |
TGLPhysicalShape (const TGLPhysicalShape &) | |
TGLPhysicalShape & | operator= (const TGLPhysicalShape &) |
void | UpdateBoundingBox () |
permitted manipulation bitflags - see EManip | |
void | InitColor (const Float_t rgba[4]) |
TGLPhysicalShape (const TGLPhysicalShape &) | |
TGLPhysicalShape & | operator= (const TGLPhysicalShape &) |
void | UpdateBoundingBox () |
permitted manipulation bitflags - see EManip | |
void | InitColor (const Float_t rgba[4]) |
Private Attributes | |
const TGLLogicalShape * | fLogicalShape |
TGLPhysicalShape * | fNextPhysical |
the associated logical shape | |
TGLPShapeRef * | fFirstPSRef |
pointer to next replica | |
UInt_t | fID |
pointer to first reference | |
TGLMatrix | fTransform |
unique physical ID within containing scene | |
TGLBoundingBox | fBoundingBox |
transform (placement) of physical instance | |
Float_t | fColor [17] |
bounding box of the physical (transformed) | |
UChar_t | fSelected |
GL color array. | |
Bool_t | fInvertedWind |
selected state | |
Bool_t | fModified |
face winding TODO: can get directly from fTransform? | |
EManip | fManip |
has been modified - retain across scene rebuilds | |
const TGLLogicalShape * | fLogicalShape |
TGLPhysicalShape * | fNextPhysical |
the associated logical shape | |
TGLPShapeRef * | fFirstPSRef |
pointer to next replica | |
Friends | |
class | TGLLogicalShape |
Definition at line 33 of file TGLPhysicalShape.h.
Definition at line 43 of file TGLPhysicalShape.h.
Definition at line 43 of file TGLPhysicalShape.h.
TGLPhysicalShape::TGLPhysicalShape | ( | const TGLPhysicalShape & | ) | [private] |
TGLPhysicalShape::TGLPhysicalShape | ( | UInt_t | ID, | |
const TGLLogicalShape & | logicalShape, | |||
const TGLMatrix & | transform, | |||
Bool_t | invertedWind, | |||
const Float_t | rgba[4] | |||
) |
TGLPhysicalShape::TGLPhysicalShape | ( | UInt_t | ID, | |
const TGLLogicalShape & | logicalShape, | |||
const double * | transform, | |||
Bool_t | invertedWind, | |||
const Float_t | rgba[4] | |||
) |
Definition at line 91 of file TGLPhysicalShape.cxx.
References TGLLogicalShape::AddRef(), fLogicalShape, fTransform, InitColor(), TGLMatrix::Transpose3x3(), and UpdateBoundingBox().
TGLPhysicalShape::~TGLPhysicalShape | ( | ) | [virtual] |
Definition at line 124 of file TGLPhysicalShape.cxx.
References fFirstPSRef, fLogicalShape, TGLPShapeRef::SetPShape(), and TGLLogicalShape::SubRef().
TGLPhysicalShape::TGLPhysicalShape | ( | const TGLPhysicalShape & | ) | [private] |
TGLPhysicalShape::TGLPhysicalShape | ( | UInt_t | ID, | |
const TGLLogicalShape & | logicalShape, | |||
const TGLMatrix & | transform, | |||
Bool_t | invertedWind, | |||
const Float_t | rgba[4] | |||
) |
TGLPhysicalShape::TGLPhysicalShape | ( | UInt_t | ID, | |
const TGLLogicalShape & | logicalShape, | |||
const double * | transform, | |||
Bool_t | invertedWind, | |||
const Float_t | rgba[4] | |||
) |
virtual TGLPhysicalShape::~TGLPhysicalShape | ( | ) | [virtual] |
TGLPhysicalShape& TGLPhysicalShape::operator= | ( | const TGLPhysicalShape & | ) | [private] |
void TGLPhysicalShape::UpdateBoundingBox | ( | ) | [private] |
permitted manipulation bitflags - see EManip
Definition at line 193 of file TGLPhysicalShape.cxx.
References TGLLogicalShape::BoundingBox(), fBoundingBox, fLogicalShape, fTransform, TGLLogicalShape::GetScene(), TGLSceneBase::InvalidateBoundingBox(), TGLBoundingBox::Set(), and TGLBoundingBox::Transform().
Referenced by Rotate(), Scale(), SetTransform(), SetTranslation(), TGLPhysicalShape(), Translate(), and TGLLogicalShape::UpdateBoundingBoxesOfPhysicals().
void TGLPhysicalShape::InitColor | ( | const Float_t | rgba[4] | ) | [private] |
Definition at line 205 of file TGLPhysicalShape.cxx.
References fColor.
Referenced by TGLPhysicalShape().
void TGLPhysicalShape::AddReference | ( | TGLPShapeRef * | ref | ) |
Definition at line 139 of file TGLPhysicalShape.cxx.
References fFirstPSRef.
Referenced by TGLPShapeRef::SetPShape().
void TGLPhysicalShape::RemoveReference | ( | TGLPShapeRef * | ref | ) |
Definition at line 150 of file TGLPhysicalShape.cxx.
References Error, fFirstPSRef, TGLPShapeRef::fNextPSRef, kFALSE, and kTRUE.
Referenced by TGLPShapeRef::SetPShape().
UInt_t TGLPhysicalShape::ID | ( | ) | const [inline] |
Definition at line 88 of file TGLPhysicalShape.h.
References fID.
Referenced by TGLScene::AdoptPhysical(), TGLViewer::DoSecondarySelect(), and TGLLogicalShape::UnrefFirstPhysical().
const TGLBoundingBox& TGLPhysicalShape::BoundingBox | ( | ) | const [inline] |
Definition at line 89 of file TGLPhysicalShape.h.
References fBoundingBox.
Referenced by TGLScene::CalcBoundingBox(), CalculateShapeLOD(), TGLScene::ComparePhysicalDiagonals(), TGLScene::ComparePhysicalVolumes(), TGLRotateManip::Draw(), TGLScaleManip::Draw(), TGLTransManip::Draw(), TGLClipSet::GetClipState(), TGLRotateManip::HandleButton(), TGLScaleManip::HandleMotion(), TGLTransManip::HandleMotion(), TGLClipBox::PlaneSet(), TGLClipPlane::PlaneSet(), TGLManipSet::Render(), Rotate(), TGLClipPlane::Set(), TGLClipSet::SetClipState(), and TGLClipPlane::Setup().
void TGLPhysicalShape::CalculateShapeLOD | ( | TGLRnrCtx & | rnrCtx, | |
Float_t & | pixSize, | |||
Short_t & | shapeLOD | |||
) | const [virtual] |
Definition at line 395 of file TGLPhysicalShape.cxx.
References BoundingBox(), box(), camera, Error, fLogicalShape, i, TGLBoundingBox::kFaceHighX, TGLBoundingBox::kFaceHighY, TGLBoundingBox::kFaceHighZ, TGLBoundingBox::kFaceLowX, TGLBoundingBox::kFaceLowY, TGLBoundingBox::kFaceLowZ, TGLLogicalShape::kLODAxesAll, TGLLogicalShape::kLODAxesNone, TGLLogicalShape::kLODAxesX, TGLLogicalShape::kLODAxesY, TGLLogicalShape::kLODAxesZ, TGLRnrCtx::kLODHigh, TGLRnrCtx::kLODMed, TGLRnrCtx::kLODPixel, pow(), TGLRnrCtx::RefCamera(), and TGLLogicalShape::SupportedLODAxes().
void TGLPhysicalShape::QuantizeShapeLOD | ( | Short_t | shapeLOD, | |
Short_t | combiLOD, | |||
Short_t & | quantLOD | |||
) | const [virtual] |
Definition at line 474 of file TGLPhysicalShape.cxx.
References fLogicalShape, and TGLLogicalShape::QuantizeShapeLOD().
Definition at line 289 of file TGLPhysicalShape.cxx.
References TGLUtil::ColorAlpha(), TGLRnrCtx::ColorSet(), TGLRnrCtx::DrawPass(), fColor, GL_AMBIENT, GL_DIFFUSE, GL_EMISSION, GL_FRONT, GL_FRONT_AND_BACK, GL_SHININESS, GL_SPECULAR, glColor4fv(), glMaterialf(), glMaterialfv(), kFALSE, TGLRnrCtx::kPassFill, TGLRnrCtx::kPassOutlineFill, TGLRnrCtx::kPassOutlineLine, TGLRnrCtx::kPassWireFrame, and TGLColorSet::Outline().
Referenced by Draw(), TEvePolygonSetProjectedGL::DrawHighlight(), and TGLLogicalShape::DrawHighlight().
void TGLPhysicalShape::Draw | ( | TGLRnrCtx & | rnrCtx | ) | const [virtual] |
Definition at line 345 of file TGLPhysicalShape.cxx.
References TGLMatrix::CArr(), TGLLogicalShape::Draw(), TGLLogicalShape::DrawHighlight(), fColor, fInvertedWind, fLogicalShape, fTransform, gDebug, GL_CCW, GL_CW, GL_POINTS, glBegin(), glColor4fv(), glEnd(), glFrontFace(), glMultMatrixd(), glPopMatrix(), glPushMatrix(), glVertex3dv(), TGLRnrCtx::Highlight(), Info, TGLRnrCtx::IsDrawPassOutlineLine(), TGLRnrCtx::kLODPixel, TGLUtil::LockColor(), TGLRnrCtx::Selection(), SetupGLColors(), TGLRnrCtx::ShapeLOD(), and TGLUtil::UnlockColor().
Referenced by TGLViewer::DoSecondarySelect(), and TGLClip::Draw().
const TGLLogicalShape* TGLPhysicalShape::GetLogical | ( | ) | const [inline] |
Definition at line 97 of file TGLPhysicalShape.h.
References fLogicalShape.
Referenced by TGLViewer::DoSecondarySelect(), TStructViewerGUI::MouseOverSlot(), SplitGLView::OnMouseIdle(), SplitGLView::OnMouseOver(), TGLEventHandler::SelectForClicked(), TGLEventHandler::SelectForMouseOver(), TGLSAViewer::SelectionChanged(), TGLClipPlane::Setup(), TGLClipBox::Setup(), and TGLScene::TSceneInfo::UpdateDrawStats().
const TGLPhysicalShape* TGLPhysicalShape::GetNextPhysical | ( | ) | const [inline] |
EManip TGLPhysicalShape::GetManip | ( | ) | const [inline] |
Definition at line 101 of file TGLPhysicalShape.h.
References fManip.
Referenced by TGLRotateManip::Draw(), TGLScaleManip::Draw(), and TGLTransManip::Draw().
void TGLPhysicalShape::SetManip | ( | EManip | manip | ) | [inline] |
Definition at line 102 of file TGLPhysicalShape.h.
References fManip.
Referenced by TGLClipPlane::TGLClipPlane().
void TGLPhysicalShape::Modified | ( | ) |
Definition at line 179 of file TGLPhysicalShape.cxx.
References fFirstPSRef, fModified, and kTRUE.
Referenced by TGLClip::Modified(), Rotate(), Scale(), SetColor(), SetDiffuseColor(), SetTransform(), SetTranslation(), and Translate().
Bool_t TGLPhysicalShape::IsModified | ( | ) | const [inline] |
Bool_t TGLPhysicalShape::IsSelected | ( | ) | const [inline] |
UChar_t TGLPhysicalShape::GetSelected | ( | ) | const [inline] |
Definition at line 110 of file TGLPhysicalShape.h.
References fSelected.
Referenced by TEvePolygonSetProjectedGL::DrawHighlight(), and TGLLogicalShape::DrawHighlight().
void TGLPhysicalShape::Select | ( | UChar_t | select | ) | [inline] |
Definition at line 111 of file TGLPhysicalShape.h.
References fSelected.
Referenced by TEveSceneList::ProcessSceneChanges().
const Float_t* TGLPhysicalShape::Color | ( | ) | const [inline] |
Definition at line 114 of file TGLPhysicalShape.h.
References fColor.
Referenced by TGLLogicalShape::DrawHighlight(), and TGLPShapeObjEditor::SetModel().
Bool_t TGLPhysicalShape::IsTransparent | ( | ) | const [inline] |
Definition at line 115 of file TGLPhysicalShape.h.
References fColor.
Referenced by TGLScene::TSceneInfo::UpdateDrawStats().
Bool_t TGLPhysicalShape::IsInvisible | ( | ) | const [inline] |
void TGLPhysicalShape::SetColor | ( | const Float_t | rgba[17] | ) |
Definition at line 223 of file TGLPhysicalShape.cxx.
References fColor, i, and Modified().
Referenced by TGLPShapeObjEditor::DoColorButton(), and SetColorOnFamily().
void TGLPhysicalShape::SetColorOnFamily | ( | const Float_t | rgba[17] | ) |
Definition at line 238 of file TGLPhysicalShape.cxx.
References fLogicalShape, fNextPhysical, TGLLogicalShape::GetFirstPhysical(), and SetColor().
Referenced by TGLPShapeObjEditor::DoColorButton().
void TGLPhysicalShape::SetDiffuseColor | ( | const Float_t | rgba[4] | ) |
Definition at line 252 of file TGLPhysicalShape.cxx.
References fColor, i, and Modified().
Referenced by TEveSceneList::ProcessSceneChanges(), TGLScene::UpdatePhysical(), and TGLScene::UpdatePhysioLogical().
void TGLPhysicalShape::SetDiffuseColor | ( | const UChar_t | rgba[4] | ) |
Definition at line 272 of file TGLPhysicalShape.cxx.
References c, fColor, TROOT::GetColor(), gROOT, and Modified().
TGLVector3 TGLPhysicalShape::GetScale | ( | ) | const [inline] |
Definition at line 142 of file TGLPhysicalShape.h.
References fTransform, and TGLMatrix::GetScale().
Referenced by TGLScaleManip::HandleButton(), TGLClipSet::SetClipState(), and TGLPShapeObjEditor::SetModel().
TGLVertex3 TGLPhysicalShape::GetTranslation | ( | ) | const [inline] |
Definition at line 148 of file TGLPhysicalShape.h.
References fTransform, and TGLMatrix::GetTranslation().
Referenced by TGLPShapeObjEditor::SetModel().
void TGLPhysicalShape::SetTransform | ( | const TGLMatrix & | transform | ) | [inline] |
Definition at line 154 of file TGLPhysicalShape.h.
References fTransform, Modified(), transform, and UpdateBoundingBox().
Referenced by TEveSceneList::ProcessSceneChanges(), TGLClipSetSubEditor::ResetViewerClip(), TGLClipPlane::Set(), TGLClipPlane::Setup(), TGLScene::UpdatePhysical(), and TGLScene::UpdatePhysioLogical().
void TGLPhysicalShape::SetTransform | ( | const Double_t | vals[16] | ) | [inline] |
Definition at line 162 of file TGLPhysicalShape.h.
References fTransform, Modified(), TGLMatrix::Set(), and UpdateBoundingBox().
void TGLPhysicalShape::SetTranslation | ( | const TGLVertex3 & | translation | ) | [inline] |
Definition at line 170 of file TGLPhysicalShape.h.
References fTransform, Modified(), TGLMatrix::SetTranslation(), and UpdateBoundingBox().
Referenced by TGLPShapeObjEditor::DoGeoButton().
void TGLPhysicalShape::Translate | ( | const TGLVector3 & | vect | ) | [inline] |
Definition at line 178 of file TGLPhysicalShape.h.
References fTransform, Modified(), TGLMatrix::Translate(), and UpdateBoundingBox().
Referenced by TGLTransManip::HandleMotion(), Scale(), and TGLClipSet::SetClipState().
void TGLPhysicalShape::Scale | ( | const TGLVector3 & | scale | ) | [inline] |
Definition at line 186 of file TGLPhysicalShape.h.
References TGLBoundingBox::Center(), fBoundingBox, fTransform, Modified(), TGLMatrix::Scale(), Translate(), and UpdateBoundingBox().
Referenced by TGLPShapeObjEditor::DoGeoButton(), TGLScaleManip::HandleMotion(), and TGLClipSet::SetClipState().
void TGLPhysicalShape::Rotate | ( | const TGLVertex3 & | pivot, | |
const TGLVector3 & | axis, | |||
Double_t | angle | |||
) | [inline] |
Definition at line 198 of file TGLPhysicalShape.h.
References axis, BoundingBox(), c, TGLBoundingBox::Center(), fTransform, Modified(), TGLMatrix::Rotate(), and UpdateBoundingBox().
Referenced by TGLRotateManip::HandleMotion().
void TGLPhysicalShape::InvokeContextMenu | ( | TContextMenu & | menu, | |
UInt_t | x, | |||
UInt_t | y | |||
) | const |
Definition at line 483 of file TGLPhysicalShape.cxx.
References fLogicalShape, and TGLLogicalShape::InvokeContextMenu().
Referenced by TGLEventHandler::PopupContextMenu().
TGLPhysicalShape& TGLPhysicalShape::operator= | ( | const TGLPhysicalShape & | ) | [private] |
void TGLPhysicalShape::UpdateBoundingBox | ( | ) | [private] |
permitted manipulation bitflags - see EManip
void TGLPhysicalShape::InitColor | ( | const Float_t | rgba[4] | ) | [private] |
void TGLPhysicalShape::AddReference | ( | TGLPShapeRef * | ref | ) |
void TGLPhysicalShape::RemoveReference | ( | TGLPShapeRef * | ref | ) |
UInt_t TGLPhysicalShape::ID | ( | ) | const [inline] |
const TGLBoundingBox& TGLPhysicalShape::BoundingBox | ( | ) | const [inline] |
virtual void TGLPhysicalShape::CalculateShapeLOD | ( | TGLRnrCtx & | rnrCtx, | |
Float_t & | pixSize, | |||
Short_t & | shapeLOD | |||
) | const [virtual] |
virtual void TGLPhysicalShape::QuantizeShapeLOD | ( | Short_t | shapeLOD, | |
Short_t | combiLOD, | |||
Short_t & | quantLOD | |||
) | const [virtual] |
virtual void TGLPhysicalShape::Draw | ( | TGLRnrCtx & | rnrCtx | ) | const [virtual] |
const TGLLogicalShape* TGLPhysicalShape::GetLogical | ( | ) | const [inline] |
const TGLPhysicalShape* TGLPhysicalShape::GetNextPhysical | ( | ) | const [inline] |
EManip TGLPhysicalShape::GetManip | ( | ) | const [inline] |
void TGLPhysicalShape::SetManip | ( | EManip | manip | ) | [inline] |
void TGLPhysicalShape::Modified | ( | ) |
Bool_t TGLPhysicalShape::IsModified | ( | ) | const [inline] |
Bool_t TGLPhysicalShape::IsSelected | ( | ) | const [inline] |
UChar_t TGLPhysicalShape::GetSelected | ( | ) | const [inline] |
void TGLPhysicalShape::Select | ( | UChar_t | select | ) | [inline] |
const Float_t* TGLPhysicalShape::Color | ( | ) | const [inline] |
Bool_t TGLPhysicalShape::IsTransparent | ( | ) | const [inline] |
Bool_t TGLPhysicalShape::IsInvisible | ( | ) | const [inline] |
void TGLPhysicalShape::SetColor | ( | const Float_t | rgba[17] | ) |
void TGLPhysicalShape::SetColorOnFamily | ( | const Float_t | rgba[17] | ) |
void TGLPhysicalShape::SetDiffuseColor | ( | const Float_t | rgba[4] | ) |
void TGLPhysicalShape::SetDiffuseColor | ( | const UChar_t | rgba[4] | ) |
TGLVector3 TGLPhysicalShape::GetScale | ( | ) | const |
TGLVertex3 TGLPhysicalShape::GetTranslation | ( | ) | const |
void TGLPhysicalShape::SetTransform | ( | const TGLMatrix & | transform | ) |
void TGLPhysicalShape::SetTransform | ( | const Double_t | vals[16] | ) |
void TGLPhysicalShape::SetTranslation | ( | const TGLVertex3 & | translation | ) |
void TGLPhysicalShape::Translate | ( | const TGLVector3 & | vect | ) |
void TGLPhysicalShape::Scale | ( | const TGLVector3 & | scale | ) |
void TGLPhysicalShape::Rotate | ( | const TGLVertex3 & | pivot, | |
const TGLVector3 & | axis, | |||
Double_t | angle | |||
) |
void TGLPhysicalShape::InvokeContextMenu | ( | TContextMenu & | menu, | |
UInt_t | x, | |||
UInt_t | y | |||
) | const |
TGLLogicalShape [friend] |
Definition at line 35 of file TGLPhysicalShape.h.
const TGLLogicalShape* TGLPhysicalShape::fLogicalShape [private] |
Definition at line 59 of file TGLPhysicalShape.h.
Referenced by CalculateShapeLOD(), TGLLogicalShape::DestroyPhysicals(), Draw(), GetLogical(), InvokeContextMenu(), QuantizeShapeLOD(), SetColorOnFamily(), TGLPhysicalShape(), TGLLogicalShape::UnrefFirstPhysical(), UpdateBoundingBox(), and ~TGLPhysicalShape().
TGLPhysicalShape* TGLPhysicalShape::fNextPhysical [private] |
the associated logical shape
Definition at line 60 of file TGLPhysicalShape.h.
Referenced by TGLLogicalShape::AddRef(), TGLLogicalShape::DestroyPhysicals(), GetNextPhysical(), SetColorOnFamily(), TGLLogicalShape::SubRef(), TGLLogicalShape::UnrefFirstPhysical(), and TGLLogicalShape::UpdateBoundingBoxesOfPhysicals().
TGLPShapeRef* TGLPhysicalShape::fFirstPSRef [private] |
pointer to next replica
Definition at line 61 of file TGLPhysicalShape.h.
Referenced by AddReference(), Modified(), RemoveReference(), and ~TGLPhysicalShape().
UInt_t TGLPhysicalShape::fID [private] |
TGLMatrix TGLPhysicalShape::fTransform [private] |
unique physical ID within containing scene
Definition at line 64 of file TGLPhysicalShape.h.
Referenced by Draw(), GetScale(), GetTranslation(), Rotate(), Scale(), SetTransform(), SetTranslation(), TGLPhysicalShape(), Translate(), and UpdateBoundingBox().
TGLBoundingBox TGLPhysicalShape::fBoundingBox [private] |
transform (placement) of physical instance
Definition at line 65 of file TGLPhysicalShape.h.
Referenced by BoundingBox(), Scale(), and UpdateBoundingBox().
Float_t TGLPhysicalShape::fColor [private] |
bounding box of the physical (transformed)
Definition at line 66 of file TGLPhysicalShape.h.
Referenced by Color(), Draw(), InitColor(), IsInvisible(), IsTransparent(), SetColor(), SetDiffuseColor(), and SetupGLColors().
UChar_t TGLPhysicalShape::fSelected [private] |
GL color array.
Definition at line 67 of file TGLPhysicalShape.h.
Referenced by GetSelected(), IsSelected(), and Select().
Bool_t TGLPhysicalShape::fInvertedWind [private] |
Bool_t TGLPhysicalShape::fModified [private] |
face winding TODO: can get directly from fTransform?
Definition at line 69 of file TGLPhysicalShape.h.
Referenced by IsModified(), and Modified().
EManip TGLPhysicalShape::fManip [private] |
has been modified - retain across scene rebuilds
Definition at line 70 of file TGLPhysicalShape.h.
Referenced by GetManip(), and SetManip().
const TGLLogicalShape* TGLPhysicalShape::fLogicalShape [private] |
Definition at line 59 of file TGLPhysicalShape.h.
TGLPhysicalShape* TGLPhysicalShape::fNextPhysical [private] |
TGLPShapeRef* TGLPhysicalShape::fFirstPSRef [private] |