-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HYDRA-310 : Support wireframe and wire on shaded and support selectio…
…n highlight with the right colors (#118) * HYDRA-310 : Support wireframe and wire on shaded and support selection highlight with the right colors (lead and active) * HYDRA-310 : fix OSX Tests and Linux compile. * Fix tests. * Fix OSX Tests failing. * Attempt in fixing OSX tests. * Modifs from code review * Add comments * Remove ignore changes from the Selection class and add a BlockPrimRemovalPropagationSceneIndex * Clean flow viewport from maya related classes. * Fixes from code review part1 * Modifications from code review
- Loading branch information
1 parent
1aaddaa
commit 942adf4
Showing
56 changed files
with
2,181 additions
and
429 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// | ||
// Copyright 2024 Autodesk | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
#ifndef FLOW_VIEWPORT_WIREFRAME_COLOR_INTERFACE_H | ||
#define FLOW_VIEWPORT_WIREFRAME_COLOR_INTERFACE_H | ||
|
||
//Local headers | ||
#include "flowViewport/api.h" | ||
|
||
//Hydra headers | ||
#include <pxr/usd/sdf/path.h> | ||
#include <pxr/base/gf/vec4f.h> | ||
|
||
namespace FVP_NS_DEF { | ||
|
||
|
||
/// \class WireframeColorInterface | ||
/// An interface to get the wireframe color from a prim | ||
class WireframeColorInterface | ||
{ | ||
public: | ||
//Get the wireframe color of a primitive for selection highlighting | ||
virtual PXR_NS::GfVec4f getWireframeColor(const PXR_NS::SdfPath& primPath) const = 0; | ||
}; | ||
|
||
}//end of namespace FVP_NS_DEF | ||
|
||
#endif //FLOW_VIEWPORT_WIREFRAME_COLOR_INTERFACE_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.