refactor: rename Puppet class to Prop3D across the codebase
This commit is contained in:
@@ -281,7 +281,7 @@ void VoxImage::RescaleShaderRange() {
|
||||
}
|
||||
|
||||
void VoxImage::SetRepresentation(Representation mode) {
|
||||
Puppet::SetRepresentation(mode); // Ensure base class data state is updated
|
||||
Prop3D::SetRepresentation(mode); // Ensure base class data state is updated
|
||||
|
||||
if (mode == Wireframe) {
|
||||
m_Actor->SetVisibility(0);
|
||||
@@ -292,14 +292,14 @@ void VoxImage::SetRepresentation(Representation mode) {
|
||||
m_OutlineActor->SetVisibility(1);
|
||||
m_OutlineActor->GetProperty()->SetRepresentationToWireframe();
|
||||
} else {
|
||||
// Other representations (Points, Surface, etc) are handled by basic Puppet
|
||||
// Other representations (Points, Surface, etc) are handled by basic Prop3D
|
||||
// behavior which affects the m_Asm parts.
|
||||
}
|
||||
}
|
||||
|
||||
void VoxImage::serialize_display(uLib::Archive::display_properties_archive & ar, const unsigned int version) {
|
||||
// Call base class to show Transform and Appearance properties
|
||||
// Puppet::serialize_display(ar, version);
|
||||
// Prop3D::serialize_display(ar, version);
|
||||
|
||||
// Use the member variables for volume rendering parameters
|
||||
ar & boost::serialization::make_hrp("Window", m_Window);
|
||||
@@ -335,7 +335,7 @@ void VoxImage::Update() {
|
||||
m_Outline->Update();
|
||||
|
||||
ConnectionBlock blocker(m_UpdateConnection);
|
||||
this->Puppet::Update();
|
||||
this->Prop3D::Update();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user