NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::Facet::PaintFacetBodyBuilder Class Reference

This class manages the color painting on a facet body. More...

Inheritance diagram for NXOpen::Facet::PaintFacetBodyBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Member Functions

NXOpen::FacetCollectorFacetCollector ()
 Returns a collector of facets on the facet bodies to be to be tested. More...
 
std::vector< double > GetPaintBrushColor ()
 Returns the paint brush color. More...
 
NXOpen::SelectDisplayableObjectInheritBodyColorPick ()
 Returns the inherit color pick. More...
 
NXOpen::Facet::SelectFacetedBodyInheritColorPick ()
 Returns the inherit color pick
More...
 
void PaintBodiesBackgroundColor (const std::vector< NXOpen::DisplayableObject * > &bodies)
 Paints facets background color. More...
 
NXOpen::Facet::PaintBrushBuilderPaintBrush ()
 Returns the paint brush
More...
 
NXOpen::ExpressionPaintBrushSize ()
 Returns the paint brush size
More...
 
void PaintFacetsBackGroundColor (const std::vector< NXOpen::Facet::FacetedBody * > &facets)
 Paints facets background color
More...
 
void PaintSelectedFacets ()
 Paints selected facets. More...
 
void SetPaintBrushColor (const std::vector< double > &paintBrushColor)
 Sets the paint brush color
Created in NX10.0.0. More...
 
void SetupBodyColorData (const std::vector< NXOpen::DisplayableObject * > &bodies)
 Setup color data. More...
 
void SetupColorData (const std::vector< NXOpen::Facet::FacetedBody * > &facets)
 Setup color data
More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 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::NXObjectGetObject ()
 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...
 

Detailed Description

This class manages the color painting on a facet body.


To create a new instance of this class, use NXOpen::Facet::FacetModelingCollection::CreatePaintFacetBodyBuilder
Default values.

Property Value

PaintBrushSize.Value (deprecated)

20.0 (millimeters part), 1.0 (inches part)


Created in NX10.0.0.

Member Function Documentation

NXOpen::FacetCollector* NXOpen::Facet::PaintFacetBodyBuilder::FacetCollector ( )

Returns a collector of facets on the facet bodies to be to be tested.


Created in NX12.0.0.

License requirements : None

std::vector<double> NXOpen::Facet::PaintFacetBodyBuilder::GetPaintBrushColor ( )

Returns the paint brush color.

Returns
Array of 3 RGB values, each between 0 and 1
Created in NX10.0.0.

License requirements : None
NXOpen::SelectDisplayableObject* NXOpen::Facet::PaintFacetBodyBuilder::InheritBodyColorPick ( )

Returns the inherit color pick.

Inputs to this command can be convergent objects.
Created in NX11.0.0.

License requirements : None

NXOpen::Facet::SelectFacetedBody* NXOpen::Facet::PaintFacetBodyBuilder::InheritColorPick ( )

Returns the inherit color pick

Deprecated:
Deprecated in NX11.0.0.

Use NXOpen::Facet::PaintFacetBodyBuilder::InheritBodyColorPick instead.


Created in NX10.0.0.

License requirements : None

void NXOpen::Facet::PaintFacetBodyBuilder::PaintBodiesBackgroundColor ( const std::vector< NXOpen::DisplayableObject * > &  bodies)

Paints facets background color.

Inputs to this command can be convergent objects.
Created in NX11.0.0.

License requirements : None

Parameters
bodiesBodies to be painted with background color
NXOpen::Facet::PaintBrushBuilder* NXOpen::Facet::PaintFacetBodyBuilder::PaintBrush ( )

Returns the paint brush

Deprecated:
Deprecated in NX12.0.0.

Use NXOpen::Facet::PaintFacetBodyBuilder::FacetCollector instead.


Created in NX10.0.0.

License requirements : None

NXOpen::Expression* NXOpen::Facet::PaintFacetBodyBuilder::PaintBrushSize ( )

Returns the paint brush size

Deprecated:
Deprecated in NX12.0.0.

Use NXOpen::Facet::PaintFacetBodyBuilder::FacetCollector instead.


Created in NX10.0.0.

License requirements : None

void NXOpen::Facet::PaintFacetBodyBuilder::PaintFacetsBackGroundColor ( const std::vector< NXOpen::Facet::FacetedBody * > &  facets)

Paints facets background color

Deprecated:
Deprecated in NX11.0.0.

Use NXOpen::Facet::PaintFacetBodyBuilder::PaintBodiesBackgroundColor instead.


Created in NX10.0.0.

License requirements : None

Parameters
facetsFacets to be painted with background color
void NXOpen::Facet::PaintFacetBodyBuilder::PaintSelectedFacets ( )

Paints selected facets.


Created in NX12.0.0.

License requirements : None

void NXOpen::Facet::PaintFacetBodyBuilder::SetPaintBrushColor ( const std::vector< double > &  paintBrushColor)

Sets the paint brush color
Created in NX10.0.0.



License requirements : None

Parameters
paintBrushColorArray of 3 RGB values, each between 0 and 1
void NXOpen::Facet::PaintFacetBodyBuilder::SetupBodyColorData ( const std::vector< NXOpen::DisplayableObject * > &  bodies)

Setup color data.

Inputs to this command can be convergent objects.
Created in NX11.0.0.

License requirements : None

Parameters
bodiesBodies that need color data for edit
void NXOpen::Facet::PaintFacetBodyBuilder::SetupColorData ( const std::vector< NXOpen::Facet::FacetedBody * > &  facets)

Setup color data

Deprecated:
Deprecated in NX11.0.0.

Use NXOpen::Facet::PaintFacetBodyBuilder::SetupBodyColorData instead.


Created in NX10.0.0.

License requirements : None

Parameters
facetsFacets that need color data for edit

The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.