add geant4 scene and gcompose app
This commit is contained in:
@@ -102,7 +102,8 @@ void vtkDetectorChamber::SetTransform(vtkTransform *t) {
|
||||
for (int j = 0; j < 4; ++j)
|
||||
transform(i, j) = vmat->GetElement(i, j);
|
||||
this->GetContent()->SetMatrix(transform);
|
||||
|
||||
this->GetContent()->Updated(); // emit signal
|
||||
|
||||
this->Update();
|
||||
}
|
||||
|
||||
|
||||
@@ -72,8 +72,7 @@ void vtkContainerBox::Update() {
|
||||
for (int j = 0; j < 4; ++j)
|
||||
vmat->SetElement(i, j, transform(i, j));
|
||||
|
||||
std::cout << "transform: " << transform << std::endl;
|
||||
|
||||
// std::cout << "transform: " << transform << std::endl;
|
||||
// m_RelativeTransform->SetMatrix(vmat);
|
||||
// m_RelativeTransform->Update();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user