NX Open C++ Reference Guide
|
This class manages the paint brush utility for a facet body. More...
Public Member Functions | |
void | ClearThePaintPath () |
Clears the paint path Created in NX10.0.0. More... | |
std::vector< double > | GetPaintBrushColor () |
Returns the paint brush color. More... | |
void | PaintVertexColor (const NXOpen::Point3d &position) |
Paints facet body vertex color Created in NX10.0.0. More... | |
void | SetBodyBeingPainted (NXOpen::DisplayableObject *body) |
Sets facet body being painted. More... | |
void | SetFacetBeingPainted (NXOpen::Facet::FacetedBody *facet) |
Sets facet body being painted. More... | |
void | SetPaintBrushColor (const std::vector< double > &paintBrushColor) |
Sets the paint brush color Created in NX10.0.0. More... | |
void | SetTemporaryFacetDisplay (bool tempDisplay) |
Flag to use temporary facet display Created in NX10.0.0. More... | |
void | SetupPaintFacetBody () |
Setup the paint facet body Created in NX10.0.0. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. More... | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. More... | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
This class manages the paint brush utility for a facet body.
To create a new instance of this class, use NXOpen::Facet::FacetModelingCollection::CreatePaintBrushBuilder
Created in NX10.0.0.
void NXOpen::Facet::PaintBrushBuilder::ClearThePaintPath | ( | ) |
Clears the paint path
Created in NX10.0.0.
License requirements : None
std::vector<double> NXOpen::Facet::PaintBrushBuilder::GetPaintBrushColor | ( | ) |
Returns the paint brush color.
void NXOpen::Facet::PaintBrushBuilder::PaintVertexColor | ( | const NXOpen::Point3d & | position | ) |
Paints facet body vertex color
Created in NX10.0.0.
License requirements : None
position | Vertex position |
void NXOpen::Facet::PaintBrushBuilder::SetBodyBeingPainted | ( | NXOpen::DisplayableObject * | body | ) |
Sets facet body being painted.
Inputs to this command can be convergent objects.
Created in NX11.0.0.
License requirements : None
body | Body being painted. |
void NXOpen::Facet::PaintBrushBuilder::SetFacetBeingPainted | ( | NXOpen::Facet::FacetedBody * | facet | ) |
Sets facet body being painted.
Created in NX10.0.0.
License requirements : None
facet | Facet body being painted. |
void NXOpen::Facet::PaintBrushBuilder::SetPaintBrushColor | ( | const std::vector< double > & | paintBrushColor | ) |
Sets the paint brush color
Created in NX10.0.0.
License requirements : None
paintBrushColor | Array of 3 RGB values, each between 0 and 1 |
void NXOpen::Facet::PaintBrushBuilder::SetTemporaryFacetDisplay | ( | bool | tempDisplay | ) |
Flag to use temporary facet display
Created in NX10.0.0.
License requirements : None
tempDisplay | Temporary display flag |
void NXOpen::Facet::PaintBrushBuilder::SetupPaintFacetBody | ( | ) |
Setup the paint facet body
Created in NX10.0.0.
License requirements : None